1 | #! /bin/sh |
1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.59 for libspf 1.0.0-p5. |
3 | # Generated by GNU Autoconf 2.61 for libspf 1.0.0-p5. |
4 | # |
4 | # |
5 | # Report bugs to <jcouzens@codeshare.ca>. |
5 | # Report bugs to <jcouzens@codeshare.ca>. |
6 | # |
6 | # |
7 | # Copyright (C) 2003 Free Software Foundation, Inc. |
7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
|
8 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
8 | # This configure script is free software; the Free Software Foundation |
9 | # This configure script is free software; the Free Software Foundation |
9 | # gives unlimited permission to copy, distribute and modify it. |
10 | # gives unlimited permission to copy, distribute and modify it. |
10 | ## --------------------- ## |
11 | ## --------------------- ## |
11 | ## M4sh Initialization. ## |
12 | ## M4sh Initialization. ## |
12 | ## --------------------- ## |
13 | ## --------------------- ## |
13 | |
14 | |
14 | # Be Bourne compatible |
15 | # Be more Bourne compatible |
|
|
16 | DUALCASE=1; export DUALCASE # for MKS sh |
15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
16 | emulate sh |
18 | emulate sh |
17 | NULLCMD=: |
19 | NULLCMD=: |
18 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
20 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
19 | # is contrary to our usage. Disable this feature. |
21 | # is contrary to our usage. Disable this feature. |
20 | alias -g '${1+"$@"}'='"$@"' |
22 | alias -g '${1+"$@"}'='"$@"' |
21 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
23 | setopt NO_GLOB_SUBST |
22 | set -o posix |
|
|
23 | fi |
|
|
24 | DUALCASE=1; export DUALCASE # for MKS sh |
|
|
25 | |
|
|
26 | # Support unset when possible. |
|
|
27 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
28 | as_unset=unset |
|
|
29 | else |
|
|
30 | as_unset=false |
|
|
31 | fi |
|
|
32 | |
|
|
33 | |
|
|
34 | # Work around bugs in pre-3.0 UWIN ksh. |
|
|
35 | $as_unset ENV MAIL MAILPATH |
|
|
36 | PS1='$ ' |
|
|
37 | PS2='> ' |
|
|
38 | PS4='+ ' |
|
|
39 | |
|
|
40 | # NLS nuisances. |
|
|
41 | for as_var in \ |
|
|
42 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
|
43 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
|
44 | LC_TELEPHONE LC_TIME |
|
|
45 | do |
|
|
46 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
|
47 | eval $as_var=C; export $as_var |
|
|
48 | else |
24 | else |
49 | $as_unset $as_var |
25 | case `(set -o) 2>/dev/null` in |
50 | fi |
26 | *posix*) set -o posix ;; |
51 | done |
27 | esac |
52 | |
28 | |
53 | # Required to use basename. |
|
|
54 | if expr a : '\(a\)' >/dev/null 2>&1; then |
|
|
55 | as_expr=expr |
|
|
56 | else |
|
|
57 | as_expr=false |
|
|
58 | fi |
29 | fi |
59 | |
30 | |
60 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
|
|
61 | as_basename=basename |
|
|
62 | else |
|
|
63 | as_basename=false |
|
|
64 | fi |
|
|
65 | |
31 | |
66 | |
32 | |
67 | # Name of the executable. |
|
|
68 | as_me=`$as_basename "$0" || |
|
|
69 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
|
70 | X"$0" : 'X\(//\)$' \| \ |
|
|
71 | X"$0" : 'X\(/\)$' \| \ |
|
|
72 | . : '\(.\)' 2>/dev/null || |
|
|
73 | echo X/"$0" | |
|
|
74 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
|
|
75 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
|
|
76 | /^X\/\(\/\).*/{ s//\1/; q; } |
|
|
77 | s/.*/./; q'` |
|
|
78 | |
33 | |
79 | |
34 | # PATH needs CR |
80 | # PATH needs CR, and LINENO needs CR and PATH. |
|
|
81 | # Avoid depending upon Character Ranges. |
35 | # Avoid depending upon Character Ranges. |
82 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
36 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
83 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
37 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
84 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
38 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
85 | as_cr_digits='0123456789' |
39 | as_cr_digits='0123456789' |
… | |
… | |
96 | PATH_SEPARATOR=: |
50 | PATH_SEPARATOR=: |
97 | fi |
51 | fi |
98 | rm -f conf$$.sh |
52 | rm -f conf$$.sh |
99 | fi |
53 | fi |
100 | |
54 | |
|
|
55 | # Support unset when possible. |
|
|
56 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
57 | as_unset=unset |
|
|
58 | else |
|
|
59 | as_unset=false |
|
|
60 | fi |
101 | |
61 | |
102 | as_lineno_1=$LINENO |
62 | |
103 | as_lineno_2=$LINENO |
63 | # IFS |
104 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
64 | # We need space, tab and new line, in precisely that order. Quoting is |
105 | test "x$as_lineno_1" != "x$as_lineno_2" && |
65 | # there to prevent editors from complaining about space-tab. |
106 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
66 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
|
67 | # splitting by setting IFS to empty value.) |
|
|
68 | as_nl=' |
|
|
69 | ' |
|
|
70 | IFS=" "" $as_nl" |
|
|
71 | |
107 | # Find who we are. Look in the path if we contain no path at all |
72 | # Find who we are. Look in the path if we contain no directory separator. |
108 | # relative or not. |
|
|
109 | case $0 in |
73 | case $0 in |
110 | *[\\/]* ) as_myself=$0 ;; |
74 | *[\\/]* ) as_myself=$0 ;; |
111 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
75 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
112 | for as_dir in $PATH |
76 | for as_dir in $PATH |
113 | do |
77 | do |
114 | IFS=$as_save_IFS |
78 | IFS=$as_save_IFS |
115 | test -z "$as_dir" && as_dir=. |
79 | test -z "$as_dir" && as_dir=. |
116 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
80 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
117 | done |
81 | done |
|
|
82 | IFS=$as_save_IFS |
118 | |
83 | |
119 | ;; |
84 | ;; |
120 | esac |
85 | esac |
121 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
86 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
122 | # in which case we are not to be found in the path. |
87 | # in which case we are not to be found in the path. |
123 | if test "x$as_myself" = x; then |
88 | if test "x$as_myself" = x; then |
124 | as_myself=$0 |
89 | as_myself=$0 |
|
|
90 | fi |
|
|
91 | if test ! -f "$as_myself"; then |
|
|
92 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
|
93 | { (exit 1); exit 1; } |
|
|
94 | fi |
|
|
95 | |
|
|
96 | # Work around bugs in pre-3.0 UWIN ksh. |
|
|
97 | for as_var in ENV MAIL MAILPATH |
|
|
98 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
|
99 | done |
|
|
100 | PS1='$ ' |
|
|
101 | PS2='> ' |
|
|
102 | PS4='+ ' |
|
|
103 | |
|
|
104 | # NLS nuisances. |
|
|
105 | for as_var in \ |
|
|
106 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
|
107 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
|
108 | LC_TELEPHONE LC_TIME |
|
|
109 | do |
|
|
110 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
|
111 | eval $as_var=C; export $as_var |
|
|
112 | else |
|
|
113 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
125 | fi |
114 | fi |
126 | if test ! -f "$as_myself"; then |
115 | done |
127 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
116 | |
128 | { (exit 1); exit 1; }; } |
117 | # Required to use basename. |
129 | fi |
118 | if expr a : '\(a\)' >/dev/null 2>&1 && |
130 | case $CONFIG_SHELL in |
119 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
131 | '') |
120 | as_expr=expr |
|
|
121 | else |
|
|
122 | as_expr=false |
|
|
123 | fi |
|
|
124 | |
|
|
125 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
|
126 | as_basename=basename |
|
|
127 | else |
|
|
128 | as_basename=false |
|
|
129 | fi |
|
|
130 | |
|
|
131 | |
|
|
132 | # Name of the executable. |
|
|
133 | as_me=`$as_basename -- "$0" || |
|
|
134 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
|
135 | X"$0" : 'X\(//\)$' \| \ |
|
|
136 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
|
137 | echo X/"$0" | |
|
|
138 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
|
139 | s//\1/ |
|
|
140 | q |
|
|
141 | } |
|
|
142 | /^X\/\(\/\/\)$/{ |
|
|
143 | s//\1/ |
|
|
144 | q |
|
|
145 | } |
|
|
146 | /^X\/\(\/\).*/{ |
|
|
147 | s//\1/ |
|
|
148 | q |
|
|
149 | } |
|
|
150 | s/.*/./; q'` |
|
|
151 | |
|
|
152 | # CDPATH. |
|
|
153 | $as_unset CDPATH |
|
|
154 | |
|
|
155 | |
|
|
156 | if test "x$CONFIG_SHELL" = x; then |
|
|
157 | if (eval ":") 2>/dev/null; then |
|
|
158 | as_have_required=yes |
|
|
159 | else |
|
|
160 | as_have_required=no |
|
|
161 | fi |
|
|
162 | |
|
|
163 | if test $as_have_required = yes && (eval ": |
|
|
164 | (as_func_return () { |
|
|
165 | (exit \$1) |
|
|
166 | } |
|
|
167 | as_func_success () { |
|
|
168 | as_func_return 0 |
|
|
169 | } |
|
|
170 | as_func_failure () { |
|
|
171 | as_func_return 1 |
|
|
172 | } |
|
|
173 | as_func_ret_success () { |
|
|
174 | return 0 |
|
|
175 | } |
|
|
176 | as_func_ret_failure () { |
|
|
177 | return 1 |
|
|
178 | } |
|
|
179 | |
|
|
180 | exitcode=0 |
|
|
181 | if as_func_success; then |
|
|
182 | : |
|
|
183 | else |
|
|
184 | exitcode=1 |
|
|
185 | echo as_func_success failed. |
|
|
186 | fi |
|
|
187 | |
|
|
188 | if as_func_failure; then |
|
|
189 | exitcode=1 |
|
|
190 | echo as_func_failure succeeded. |
|
|
191 | fi |
|
|
192 | |
|
|
193 | if as_func_ret_success; then |
|
|
194 | : |
|
|
195 | else |
|
|
196 | exitcode=1 |
|
|
197 | echo as_func_ret_success failed. |
|
|
198 | fi |
|
|
199 | |
|
|
200 | if as_func_ret_failure; then |
|
|
201 | exitcode=1 |
|
|
202 | echo as_func_ret_failure succeeded. |
|
|
203 | fi |
|
|
204 | |
|
|
205 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
|
206 | : |
|
|
207 | else |
|
|
208 | exitcode=1 |
|
|
209 | echo positional parameters were not saved. |
|
|
210 | fi |
|
|
211 | |
|
|
212 | test \$exitcode = 0) || { (exit 1); exit 1; } |
|
|
213 | |
|
|
214 | ( |
|
|
215 | as_lineno_1=\$LINENO |
|
|
216 | as_lineno_2=\$LINENO |
|
|
217 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
|
|
218 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
|
|
219 | ") 2> /dev/null; then |
|
|
220 | : |
|
|
221 | else |
|
|
222 | as_candidate_shells= |
132 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
223 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
133 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
224 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
134 | do |
225 | do |
135 | IFS=$as_save_IFS |
226 | IFS=$as_save_IFS |
136 | test -z "$as_dir" && as_dir=. |
227 | test -z "$as_dir" && as_dir=. |
137 | for as_base in sh bash ksh sh5; do |
|
|
138 | case $as_dir in |
228 | case $as_dir in |
139 | /*) |
229 | /*) |
140 | if ("$as_dir/$as_base" -c ' |
230 | for as_base in sh bash ksh sh5; do |
|
|
231 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
|
|
232 | done;; |
|
|
233 | esac |
|
|
234 | done |
|
|
235 | IFS=$as_save_IFS |
|
|
236 | |
|
|
237 | |
|
|
238 | for as_shell in $as_candidate_shells $SHELL; do |
|
|
239 | # Try only shells that exist, to save several forks. |
|
|
240 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
|
241 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
|
|
242 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
|
243 | emulate sh |
|
|
244 | NULLCMD=: |
|
|
245 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
|
246 | # is contrary to our usage. Disable this feature. |
|
|
247 | alias -g '${1+"$@"}'='"$@"' |
|
|
248 | setopt NO_GLOB_SUBST |
|
|
249 | else |
|
|
250 | case `(set -o) 2>/dev/null` in |
|
|
251 | *posix*) set -o posix ;; |
|
|
252 | esac |
|
|
253 | |
|
|
254 | fi |
|
|
255 | |
|
|
256 | |
|
|
257 | : |
|
|
258 | _ASEOF |
|
|
259 | }; then |
|
|
260 | CONFIG_SHELL=$as_shell |
|
|
261 | as_have_required=yes |
|
|
262 | if { "$as_shell" 2> /dev/null <<\_ASEOF |
|
|
263 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
|
264 | emulate sh |
|
|
265 | NULLCMD=: |
|
|
266 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
|
267 | # is contrary to our usage. Disable this feature. |
|
|
268 | alias -g '${1+"$@"}'='"$@"' |
|
|
269 | setopt NO_GLOB_SUBST |
|
|
270 | else |
|
|
271 | case `(set -o) 2>/dev/null` in |
|
|
272 | *posix*) set -o posix ;; |
|
|
273 | esac |
|
|
274 | |
|
|
275 | fi |
|
|
276 | |
|
|
277 | |
|
|
278 | : |
|
|
279 | (as_func_return () { |
|
|
280 | (exit $1) |
|
|
281 | } |
|
|
282 | as_func_success () { |
|
|
283 | as_func_return 0 |
|
|
284 | } |
|
|
285 | as_func_failure () { |
|
|
286 | as_func_return 1 |
|
|
287 | } |
|
|
288 | as_func_ret_success () { |
|
|
289 | return 0 |
|
|
290 | } |
|
|
291 | as_func_ret_failure () { |
|
|
292 | return 1 |
|
|
293 | } |
|
|
294 | |
|
|
295 | exitcode=0 |
|
|
296 | if as_func_success; then |
|
|
297 | : |
|
|
298 | else |
|
|
299 | exitcode=1 |
|
|
300 | echo as_func_success failed. |
|
|
301 | fi |
|
|
302 | |
|
|
303 | if as_func_failure; then |
|
|
304 | exitcode=1 |
|
|
305 | echo as_func_failure succeeded. |
|
|
306 | fi |
|
|
307 | |
|
|
308 | if as_func_ret_success; then |
|
|
309 | : |
|
|
310 | else |
|
|
311 | exitcode=1 |
|
|
312 | echo as_func_ret_success failed. |
|
|
313 | fi |
|
|
314 | |
|
|
315 | if as_func_ret_failure; then |
|
|
316 | exitcode=1 |
|
|
317 | echo as_func_ret_failure succeeded. |
|
|
318 | fi |
|
|
319 | |
|
|
320 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
|
|
321 | : |
|
|
322 | else |
|
|
323 | exitcode=1 |
|
|
324 | echo positional parameters were not saved. |
|
|
325 | fi |
|
|
326 | |
|
|
327 | test $exitcode = 0) || { (exit 1); exit 1; } |
|
|
328 | |
|
|
329 | ( |
141 | as_lineno_1=$LINENO |
330 | as_lineno_1=$LINENO |
142 | as_lineno_2=$LINENO |
331 | as_lineno_2=$LINENO |
143 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
|
144 | test "x$as_lineno_1" != "x$as_lineno_2" && |
332 | test "x$as_lineno_1" != "x$as_lineno_2" && |
145 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
333 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
146 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
334 | |
147 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
335 | _ASEOF |
148 | CONFIG_SHELL=$as_dir/$as_base |
336 | }; then |
149 | export CONFIG_SHELL |
337 | break |
150 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
338 | fi |
151 | fi;; |
339 | |
152 | esac |
340 | fi |
|
|
341 | |
|
|
342 | done |
|
|
343 | |
|
|
344 | if test "x$CONFIG_SHELL" != x; then |
|
|
345 | for as_var in BASH_ENV ENV |
|
|
346 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
153 | done |
347 | done |
154 | done |
348 | export CONFIG_SHELL |
155 | ;; |
349 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
156 | esac |
350 | fi |
|
|
351 | |
|
|
352 | |
|
|
353 | if test $as_have_required = no; then |
|
|
354 | echo This script requires a shell more modern than all the |
|
|
355 | echo shells that I found on your system. Please install a |
|
|
356 | echo modern shell, or manually run the script under such a |
|
|
357 | echo shell if you do have one. |
|
|
358 | { (exit 1); exit 1; } |
|
|
359 | fi |
|
|
360 | |
|
|
361 | |
|
|
362 | fi |
|
|
363 | |
|
|
364 | fi |
|
|
365 | |
|
|
366 | |
|
|
367 | |
|
|
368 | (eval "as_func_return () { |
|
|
369 | (exit \$1) |
|
|
370 | } |
|
|
371 | as_func_success () { |
|
|
372 | as_func_return 0 |
|
|
373 | } |
|
|
374 | as_func_failure () { |
|
|
375 | as_func_return 1 |
|
|
376 | } |
|
|
377 | as_func_ret_success () { |
|
|
378 | return 0 |
|
|
379 | } |
|
|
380 | as_func_ret_failure () { |
|
|
381 | return 1 |
|
|
382 | } |
|
|
383 | |
|
|
384 | exitcode=0 |
|
|
385 | if as_func_success; then |
|
|
386 | : |
|
|
387 | else |
|
|
388 | exitcode=1 |
|
|
389 | echo as_func_success failed. |
|
|
390 | fi |
|
|
391 | |
|
|
392 | if as_func_failure; then |
|
|
393 | exitcode=1 |
|
|
394 | echo as_func_failure succeeded. |
|
|
395 | fi |
|
|
396 | |
|
|
397 | if as_func_ret_success; then |
|
|
398 | : |
|
|
399 | else |
|
|
400 | exitcode=1 |
|
|
401 | echo as_func_ret_success failed. |
|
|
402 | fi |
|
|
403 | |
|
|
404 | if as_func_ret_failure; then |
|
|
405 | exitcode=1 |
|
|
406 | echo as_func_ret_failure succeeded. |
|
|
407 | fi |
|
|
408 | |
|
|
409 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
|
410 | : |
|
|
411 | else |
|
|
412 | exitcode=1 |
|
|
413 | echo positional parameters were not saved. |
|
|
414 | fi |
|
|
415 | |
|
|
416 | test \$exitcode = 0") || { |
|
|
417 | echo No shell found that supports shell functions. |
|
|
418 | echo Please tell autoconf@gnu.org about your system, |
|
|
419 | echo including any error possibly output before this |
|
|
420 | echo message |
|
|
421 | } |
|
|
422 | |
|
|
423 | |
|
|
424 | |
|
|
425 | as_lineno_1=$LINENO |
|
|
426 | as_lineno_2=$LINENO |
|
|
427 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|
|
428 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
157 | |
429 | |
158 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
430 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
159 | # uniformly replaced by the line number. The first 'sed' inserts a |
431 | # uniformly replaced by the line number. The first 'sed' inserts a |
160 | # line-number line before each line; the second 'sed' does the real |
432 | # line-number line after each line using $LINENO; the second 'sed' |
161 | # work. The second script uses 'N' to pair each line-number line |
433 | # does the real work. The second script uses 'N' to pair each |
162 | # with the numbered line, and appends trailing '-' during |
434 | # line-number line with the line containing $LINENO, and appends |
163 | # substitution so that $LINENO is not a special case at line end. |
435 | # trailing '-' during substitution so that $LINENO is not a special |
|
|
436 | # case at line end. |
164 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
437 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
165 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
438 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|
|
439 | # E. McMahon (1931-1989) for sed's syntax. :-) |
|
|
440 | sed -n ' |
|
|
441 | p |
|
|
442 | /[$]LINENO/= |
166 | sed '=' <$as_myself | |
443 | ' <$as_myself | |
167 | sed ' |
444 | sed ' |
|
|
445 | s/[$]LINENO.*/&-/ |
|
|
446 | t lineno |
|
|
447 | b |
|
|
448 | :lineno |
168 | N |
449 | N |
169 | s,$,-, |
|
|
170 | : loop |
450 | :loop |
171 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
451 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
172 | t loop |
452 | t loop |
173 | s,-$,, |
453 | s/-\n.*// |
174 | s,^['$as_cr_digits']*\n,, |
|
|
175 | ' >$as_me.lineno && |
454 | ' >$as_me.lineno && |
176 | chmod +x $as_me.lineno || |
455 | chmod +x "$as_me.lineno" || |
177 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
456 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
178 | { (exit 1); exit 1; }; } |
457 | { (exit 1); exit 1; }; } |
179 | |
458 | |
180 | # Don't try to exec as it changes $[0], causing all sort of problems |
459 | # Don't try to exec as it changes $[0], causing all sort of problems |
181 | # (the dirname of $[0] is not the place where we might find the |
460 | # (the dirname of $[0] is not the place where we might find the |
182 | # original and so on. Autoconf is especially sensible to this). |
461 | # original and so on. Autoconf is especially sensitive to this). |
183 | . ./$as_me.lineno |
462 | . "./$as_me.lineno" |
184 | # Exit status is that of the last command. |
463 | # Exit status is that of the last command. |
185 | exit |
464 | exit |
186 | } |
465 | } |
187 | |
466 | |
188 | |
467 | |
189 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
468 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
190 | *c*,-n*) ECHO_N= ECHO_C=' |
469 | as_dirname=dirname |
191 | ' ECHO_T=' ' ;; |
470 | else |
192 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
471 | as_dirname=false |
193 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
472 | fi |
|
|
473 | |
|
|
474 | ECHO_C= ECHO_N= ECHO_T= |
|
|
475 | case `echo -n x` in |
|
|
476 | -n*) |
|
|
477 | case `echo 'x\c'` in |
|
|
478 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
|
479 | *) ECHO_C='\c';; |
|
|
480 | esac;; |
|
|
481 | *) |
|
|
482 | ECHO_N='-n';; |
194 | esac |
483 | esac |
195 | |
484 | |
196 | if expr a : '\(a\)' >/dev/null 2>&1; then |
485 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|
|
486 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
197 | as_expr=expr |
487 | as_expr=expr |
198 | else |
488 | else |
199 | as_expr=false |
489 | as_expr=false |
200 | fi |
490 | fi |
201 | |
491 | |
202 | rm -f conf$$ conf$$.exe conf$$.file |
492 | rm -f conf$$ conf$$.exe conf$$.file |
|
|
493 | if test -d conf$$.dir; then |
|
|
494 | rm -f conf$$.dir/conf$$.file |
|
|
495 | else |
|
|
496 | rm -f conf$$.dir |
|
|
497 | mkdir conf$$.dir |
|
|
498 | fi |
203 | echo >conf$$.file |
499 | echo >conf$$.file |
204 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
500 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
205 | # We could just check for DJGPP; but this test a) works b) is more generic |
501 | as_ln_s='ln -s' |
206 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
502 | # ... but there are two gotchas: |
207 | if test -f conf$$.exe; then |
503 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
208 | # Don't use ln at all; we don't have any links |
504 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
|
505 | # In both cases, we have to default to `cp -p'. |
|
|
506 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
209 | as_ln_s='cp -p' |
507 | as_ln_s='cp -p' |
210 | else |
|
|
211 | as_ln_s='ln -s' |
|
|
212 | fi |
|
|
213 | elif ln conf$$.file conf$$ 2>/dev/null; then |
508 | elif ln conf$$.file conf$$ 2>/dev/null; then |
214 | as_ln_s=ln |
509 | as_ln_s=ln |
215 | else |
510 | else |
216 | as_ln_s='cp -p' |
511 | as_ln_s='cp -p' |
217 | fi |
512 | fi |
218 | rm -f conf$$ conf$$.exe conf$$.file |
513 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
|
514 | rmdir conf$$.dir 2>/dev/null |
219 | |
515 | |
220 | if mkdir -p . 2>/dev/null; then |
516 | if mkdir -p . 2>/dev/null; then |
221 | as_mkdir_p=: |
517 | as_mkdir_p=: |
222 | else |
518 | else |
223 | test -d ./-p && rmdir ./-p |
519 | test -d ./-p && rmdir ./-p |
224 | as_mkdir_p=false |
520 | as_mkdir_p=false |
225 | fi |
521 | fi |
226 | |
522 | |
|
|
523 | if test -x / >/dev/null 2>&1; then |
|
|
524 | as_test_x='test -x' |
|
|
525 | else |
|
|
526 | if ls -dL / >/dev/null 2>&1; then |
|
|
527 | as_ls_L_option=L |
|
|
528 | else |
|
|
529 | as_ls_L_option= |
|
|
530 | fi |
|
|
531 | as_test_x=' |
|
|
532 | eval sh -c '\'' |
|
|
533 | if test -d "$1"; then |
|
|
534 | test -d "$1/."; |
|
|
535 | else |
|
|
536 | case $1 in |
|
|
537 | -*)set "./$1";; |
|
|
538 | esac; |
|
|
539 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
|
540 | ???[sx]*):;;*)false;;esac;fi |
|
|
541 | '\'' sh |
|
|
542 | ' |
|
|
543 | fi |
227 | as_executable_p="test -f" |
544 | as_executable_p=$as_test_x |
228 | |
545 | |
229 | # Sed expression to map a string onto a valid CPP name. |
546 | # Sed expression to map a string onto a valid CPP name. |
230 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
547 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
231 | |
548 | |
232 | # Sed expression to map a string onto a valid variable name. |
549 | # Sed expression to map a string onto a valid variable name. |
233 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
550 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
234 | |
551 | |
235 | |
|
|
236 | # IFS |
|
|
237 | # We need space, tab and new line, in precisely that order. |
|
|
238 | as_nl=' |
|
|
239 | ' |
|
|
240 | IFS=" $as_nl" |
|
|
241 | |
|
|
242 | # CDPATH. |
|
|
243 | $as_unset CDPATH |
|
|
244 | |
552 | |
245 | |
553 | |
246 | |
554 | |
247 | # Check that we are running under the correct shell. |
555 | # Check that we are running under the correct shell. |
248 | SHELL=${CONFIG_SHELL-/bin/sh} |
556 | SHELL=${CONFIG_SHELL-/bin/sh} |
… | |
… | |
278 | exit 0 |
586 | exit 0 |
279 | fi |
587 | fi |
280 | |
588 | |
281 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
589 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
282 | # if CDPATH is set. |
590 | # if CDPATH is set. |
283 | if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
591 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
284 | |
592 | |
285 | if test -z "$ECHO"; then |
593 | if test -z "$ECHO"; then |
286 | if test "X${echo_test_string+set}" != Xset; then |
594 | if test "X${echo_test_string+set}" != Xset; then |
287 | # find a string as large as possible, as long as the shell can cope with it |
595 | # find a string as large as possible, as long as the shell can cope with it |
288 | for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
596 | for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
289 | # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
597 | # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
290 | if (echo_test_string="`eval $cmd`") 2>/dev/null && |
598 | if (echo_test_string=`eval $cmd`) 2>/dev/null && |
291 | echo_test_string="`eval $cmd`" && |
599 | echo_test_string=`eval $cmd` && |
292 | (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null |
600 | (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null |
293 | then |
601 | then |
294 | break |
602 | break |
295 | fi |
603 | fi |
296 | done |
604 | done |
… | |
… | |
395 | |
703 | |
396 | tagnames=${tagnames+${tagnames},}CXX |
704 | tagnames=${tagnames+${tagnames},}CXX |
397 | |
705 | |
398 | tagnames=${tagnames+${tagnames},}F77 |
706 | tagnames=${tagnames+${tagnames},}F77 |
399 | |
707 | |
|
|
708 | exec 7<&0 </dev/null 6>&1 |
|
|
709 | |
400 | # Name of the host. |
710 | # Name of the host. |
401 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
711 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
402 | # so uname gets run too. |
712 | # so uname gets run too. |
403 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
713 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
404 | |
714 | |
405 | exec 6>&1 |
|
|
406 | |
|
|
407 | # |
715 | # |
408 | # Initializations. |
716 | # Initializations. |
409 | # |
717 | # |
410 | ac_default_prefix=/usr/local |
718 | ac_default_prefix=/usr/local |
|
|
719 | ac_clean_files= |
411 | ac_config_libobj_dir=. |
720 | ac_config_libobj_dir=. |
|
|
721 | LIBOBJS= |
412 | cross_compiling=no |
722 | cross_compiling=no |
413 | subdirs= |
723 | subdirs= |
414 | MFLAGS= |
724 | MFLAGS= |
415 | MAKEFLAGS= |
725 | MAKEFLAGS= |
416 | SHELL=${CONFIG_SHELL-/bin/sh} |
726 | SHELL=${CONFIG_SHELL-/bin/sh} |
417 | |
|
|
418 | # Maximum number of lines to put in a shell here document. |
|
|
419 | # This variable seems obsolete. It should probably be removed, and |
|
|
420 | # only ac_max_sed_lines should be used. |
|
|
421 | : ${ac_max_here_lines=38} |
|
|
422 | |
727 | |
423 | # Identity of this package. |
728 | # Identity of this package. |
424 | PACKAGE_NAME='libspf' |
729 | PACKAGE_NAME='libspf' |
425 | PACKAGE_TARNAME='libspf' |
730 | PACKAGE_TARNAME='libspf' |
426 | PACKAGE_VERSION='1.0.0-p5' |
731 | PACKAGE_VERSION='1.0.0-p5' |
… | |
… | |
428 | PACKAGE_BUGREPORT='jcouzens@codeshare.ca' |
733 | PACKAGE_BUGREPORT='jcouzens@codeshare.ca' |
429 | |
734 | |
430 | # Factoring default headers for most tests. |
735 | # Factoring default headers for most tests. |
431 | ac_includes_default="\ |
736 | ac_includes_default="\ |
432 | #include <stdio.h> |
737 | #include <stdio.h> |
433 | #if HAVE_SYS_TYPES_H |
738 | #ifdef HAVE_SYS_TYPES_H |
434 | # include <sys/types.h> |
739 | # include <sys/types.h> |
435 | #endif |
740 | #endif |
436 | #if HAVE_SYS_STAT_H |
741 | #ifdef HAVE_SYS_STAT_H |
437 | # include <sys/stat.h> |
742 | # include <sys/stat.h> |
438 | #endif |
743 | #endif |
439 | #if STDC_HEADERS |
744 | #ifdef STDC_HEADERS |
440 | # include <stdlib.h> |
745 | # include <stdlib.h> |
441 | # include <stddef.h> |
746 | # include <stddef.h> |
442 | #else |
747 | #else |
443 | # if HAVE_STDLIB_H |
748 | # ifdef HAVE_STDLIB_H |
444 | # include <stdlib.h> |
749 | # include <stdlib.h> |
445 | # endif |
750 | # endif |
446 | #endif |
751 | #endif |
447 | #if HAVE_STRING_H |
752 | #ifdef HAVE_STRING_H |
448 | # if !STDC_HEADERS && HAVE_MEMORY_H |
753 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
449 | # include <memory.h> |
754 | # include <memory.h> |
450 | # endif |
755 | # endif |
451 | # include <string.h> |
756 | # include <string.h> |
452 | #endif |
757 | #endif |
453 | #if HAVE_STRINGS_H |
758 | #ifdef HAVE_STRINGS_H |
454 | # include <strings.h> |
759 | # include <strings.h> |
455 | #endif |
760 | #endif |
456 | #if HAVE_INTTYPES_H |
761 | #ifdef HAVE_INTTYPES_H |
457 | # include <inttypes.h> |
762 | # include <inttypes.h> |
458 | #else |
|
|
459 | # if HAVE_STDINT_H |
|
|
460 | # include <stdint.h> |
|
|
461 | # endif |
|
|
462 | #endif |
763 | #endif |
|
|
764 | #ifdef HAVE_STDINT_H |
|
|
765 | # include <stdint.h> |
|
|
766 | #endif |
463 | #if HAVE_UNISTD_H |
767 | #ifdef HAVE_UNISTD_H |
464 | # include <unistd.h> |
768 | # include <unistd.h> |
465 | #endif" |
769 | #endif" |
466 | |
770 | |
467 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE LN_S RANLIB ac_ct_RANLIB CPP GCC_TRUE GCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP ECHO AR ac_ct_AR CXX CXXFLAGS ac_ct_CXX CXXDEPMODE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL enable_shared enable_static LIBTOOL_DEPS LIBSPF_MAJOR_VERSION LIBSPF_MINOR_VERSION LIBSPF_MICRO_VERSION LIBSPF_VERSION LIBSPF_INTERFACE_AGE LIBSPF_BINARY_AGE LT_RELEASE LT_CURRENT LT_REVISION LT_AGE UNSIGNED_INT_ARG LIBOBJS __BEGIN_DECLS __END_DECLS LIBSPF_RESOLV_LIB LIBSPF_PTHREADS_LIB LIBSPF_BUILD_DIRS LTLIBOBJS' |
771 | ac_subst_vars='SHELL |
|
|
772 | PATH_SEPARATOR |
|
|
773 | PACKAGE_NAME |
|
|
774 | PACKAGE_TARNAME |
|
|
775 | PACKAGE_VERSION |
|
|
776 | PACKAGE_STRING |
|
|
777 | PACKAGE_BUGREPORT |
|
|
778 | exec_prefix |
|
|
779 | prefix |
|
|
780 | program_transform_name |
|
|
781 | bindir |
|
|
782 | sbindir |
|
|
783 | libexecdir |
|
|
784 | datarootdir |
|
|
785 | datadir |
|
|
786 | sysconfdir |
|
|
787 | sharedstatedir |
|
|
788 | localstatedir |
|
|
789 | includedir |
|
|
790 | oldincludedir |
|
|
791 | docdir |
|
|
792 | infodir |
|
|
793 | htmldir |
|
|
794 | dvidir |
|
|
795 | pdfdir |
|
|
796 | psdir |
|
|
797 | libdir |
|
|
798 | localedir |
|
|
799 | mandir |
|
|
800 | DEFS |
|
|
801 | ECHO_C |
|
|
802 | ECHO_N |
|
|
803 | ECHO_T |
|
|
804 | LIBS |
|
|
805 | build_alias |
|
|
806 | host_alias |
|
|
807 | target_alias |
|
|
808 | INSTALL_PROGRAM |
|
|
809 | INSTALL_SCRIPT |
|
|
810 | INSTALL_DATA |
|
|
811 | PACKAGE |
|
|
812 | VERSION |
|
|
813 | ACLOCAL |
|
|
814 | AUTOCONF |
|
|
815 | AUTOMAKE |
|
|
816 | AUTOHEADER |
|
|
817 | MAKEINFO |
|
|
818 | AMTAR |
|
|
819 | install_sh |
|
|
820 | STRIP |
|
|
821 | INSTALL_STRIP_PROGRAM |
|
|
822 | AWK |
|
|
823 | SET_MAKE |
|
|
824 | CC |
|
|
825 | CFLAGS |
|
|
826 | LDFLAGS |
|
|
827 | CPPFLAGS |
|
|
828 | ac_ct_CC |
|
|
829 | EXEEXT |
|
|
830 | OBJEXT |
|
|
831 | DEPDIR |
|
|
832 | am__include |
|
|
833 | am__quote |
|
|
834 | AMDEP_TRUE |
|
|
835 | AMDEP_FALSE |
|
|
836 | AMDEPBACKSLASH |
|
|
837 | CCDEPMODE |
|
|
838 | LN_S |
|
|
839 | RANLIB |
|
|
840 | CPP |
|
|
841 | GCC_TRUE |
|
|
842 | GCC_FALSE |
|
|
843 | build |
|
|
844 | build_cpu |
|
|
845 | build_vendor |
|
|
846 | build_os |
|
|
847 | host |
|
|
848 | host_cpu |
|
|
849 | host_vendor |
|
|
850 | host_os |
|
|
851 | GREP |
|
|
852 | EGREP |
|
|
853 | ECHO |
|
|
854 | AR |
|
|
855 | CXX |
|
|
856 | CXXFLAGS |
|
|
857 | ac_ct_CXX |
|
|
858 | CXXDEPMODE |
|
|
859 | CXXCPP |
|
|
860 | F77 |
|
|
861 | FFLAGS |
|
|
862 | ac_ct_F77 |
|
|
863 | LIBTOOL |
|
|
864 | enable_shared |
|
|
865 | enable_static |
|
|
866 | LIBTOOL_DEPS |
|
|
867 | LIBSPF_MAJOR_VERSION |
|
|
868 | LIBSPF_MINOR_VERSION |
|
|
869 | LIBSPF_MICRO_VERSION |
|
|
870 | LIBSPF_VERSION |
|
|
871 | LIBSPF_INTERFACE_AGE |
|
|
872 | LIBSPF_BINARY_AGE |
|
|
873 | LT_RELEASE |
|
|
874 | LT_CURRENT |
|
|
875 | LT_REVISION |
|
|
876 | LT_AGE |
|
|
877 | UNSIGNED_INT_ARG |
|
|
878 | LIBOBJS |
|
|
879 | __BEGIN_DECLS |
|
|
880 | __END_DECLS |
|
|
881 | LIBSPF_RESOLV_LIB |
|
|
882 | LIBSPF_PTHREADS_LIB |
|
|
883 | LIBSPF_BUILD_DIRS |
|
|
884 | LTLIBOBJS' |
468 | ac_subst_files='__BEGIN_DECLS_INCL __END_DECLS_INCL' |
885 | ac_subst_files='__BEGIN_DECLS_INCL |
|
|
886 | __END_DECLS_INCL' |
|
|
887 | ac_precious_vars='build_alias |
|
|
888 | host_alias |
|
|
889 | target_alias |
|
|
890 | CC |
|
|
891 | CFLAGS |
|
|
892 | LDFLAGS |
|
|
893 | LIBS |
|
|
894 | CPPFLAGS |
|
|
895 | CPP |
|
|
896 | CXX |
|
|
897 | CXXFLAGS |
|
|
898 | CCC |
|
|
899 | CXXCPP |
|
|
900 | F77 |
|
|
901 | FFLAGS' |
|
|
902 | |
469 | |
903 | |
470 | # Initialize some variables set by options. |
904 | # Initialize some variables set by options. |
471 | ac_init_help= |
905 | ac_init_help= |
472 | ac_init_version=false |
906 | ac_init_version=false |
473 | # The variables have the same names as the options, with |
907 | # The variables have the same names as the options, with |
… | |
… | |
490 | # Installation directory options. |
924 | # Installation directory options. |
491 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
925 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
492 | # and all the variables that are supposed to be based on exec_prefix |
926 | # and all the variables that are supposed to be based on exec_prefix |
493 | # by default will actually change. |
927 | # by default will actually change. |
494 | # Use braces instead of parens because sh, perl, etc. also accept them. |
928 | # Use braces instead of parens because sh, perl, etc. also accept them. |
|
|
929 | # (The list follows the same order as the GNU Coding Standards.) |
495 | bindir='${exec_prefix}/bin' |
930 | bindir='${exec_prefix}/bin' |
496 | sbindir='${exec_prefix}/sbin' |
931 | sbindir='${exec_prefix}/sbin' |
497 | libexecdir='${exec_prefix}/libexec' |
932 | libexecdir='${exec_prefix}/libexec' |
498 | datadir='${prefix}/share' |
933 | datarootdir='${prefix}/share' |
|
|
934 | datadir='${datarootdir}' |
499 | sysconfdir='${prefix}/etc' |
935 | sysconfdir='${prefix}/etc' |
500 | sharedstatedir='${prefix}/com' |
936 | sharedstatedir='${prefix}/com' |
501 | localstatedir='${prefix}/var' |
937 | localstatedir='${prefix}/var' |
502 | libdir='${exec_prefix}/lib' |
|
|
503 | includedir='${prefix}/include' |
938 | includedir='${prefix}/include' |
504 | oldincludedir='/usr/include' |
939 | oldincludedir='/usr/include' |
|
|
940 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
505 | infodir='${prefix}/info' |
941 | infodir='${datarootdir}/info' |
506 | mandir='${prefix}/man' |
942 | htmldir='${docdir}' |
|
|
943 | dvidir='${docdir}' |
|
|
944 | pdfdir='${docdir}' |
|
|
945 | psdir='${docdir}' |
|
|
946 | libdir='${exec_prefix}/lib' |
|
|
947 | localedir='${datarootdir}/locale' |
|
|
948 | mandir='${datarootdir}/man' |
507 | |
949 | |
508 | ac_prev= |
950 | ac_prev= |
|
|
951 | ac_dashdash= |
509 | for ac_option |
952 | for ac_option |
510 | do |
953 | do |
511 | # If the previous option needs an argument, assign it. |
954 | # If the previous option needs an argument, assign it. |
512 | if test -n "$ac_prev"; then |
955 | if test -n "$ac_prev"; then |
513 | eval "$ac_prev=\$ac_option" |
956 | eval $ac_prev=\$ac_option |
514 | ac_prev= |
957 | ac_prev= |
515 | continue |
958 | continue |
516 | fi |
959 | fi |
517 | |
960 | |
|
|
961 | case $ac_option in |
518 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
962 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
|
963 | *) ac_optarg=yes ;; |
|
|
964 | esac |
519 | |
965 | |
520 | # Accept the important Cygnus configure options, so we can diagnose typos. |
966 | # Accept the important Cygnus configure options, so we can diagnose typos. |
521 | |
967 | |
522 | case $ac_option in |
968 | case $ac_dashdash$ac_option in |
|
|
969 | --) |
|
|
970 | ac_dashdash=yes ;; |
523 | |
971 | |
524 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
972 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
525 | ac_prev=bindir ;; |
973 | ac_prev=bindir ;; |
526 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
974 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
527 | bindir=$ac_optarg ;; |
975 | bindir=$ac_optarg ;; |
… | |
… | |
539 | cache_file=$ac_optarg ;; |
987 | cache_file=$ac_optarg ;; |
540 | |
988 | |
541 | --config-cache | -C) |
989 | --config-cache | -C) |
542 | cache_file=config.cache ;; |
990 | cache_file=config.cache ;; |
543 | |
991 | |
544 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
992 | -datadir | --datadir | --datadi | --datad) |
545 | ac_prev=datadir ;; |
993 | ac_prev=datadir ;; |
546 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
994 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
547 | | --da=*) |
|
|
548 | datadir=$ac_optarg ;; |
995 | datadir=$ac_optarg ;; |
|
|
996 | |
|
|
997 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|
|
998 | | --dataroo | --dataro | --datar) |
|
|
999 | ac_prev=datarootdir ;; |
|
|
1000 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
|
1001 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
|
1002 | datarootdir=$ac_optarg ;; |
549 | |
1003 | |
550 | -disable-* | --disable-*) |
1004 | -disable-* | --disable-*) |
551 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1005 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
552 | # Reject names that are not valid shell variable names. |
1006 | # Reject names that are not valid shell variable names. |
553 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
1007 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
554 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
1008 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
555 | { (exit 1); exit 1; }; } |
1009 | { (exit 1); exit 1; }; } |
556 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
1010 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
557 | eval "enable_$ac_feature=no" ;; |
1011 | eval enable_$ac_feature=no ;; |
|
|
1012 | |
|
|
1013 | -docdir | --docdir | --docdi | --doc | --do) |
|
|
1014 | ac_prev=docdir ;; |
|
|
1015 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
|
1016 | docdir=$ac_optarg ;; |
|
|
1017 | |
|
|
1018 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
|
1019 | ac_prev=dvidir ;; |
|
|
1020 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
|
1021 | dvidir=$ac_optarg ;; |
558 | |
1022 | |
559 | -enable-* | --enable-*) |
1023 | -enable-* | --enable-*) |
560 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1024 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
561 | # Reject names that are not valid shell variable names. |
1025 | # Reject names that are not valid shell variable names. |
562 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
1026 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
563 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
1027 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
564 | { (exit 1); exit 1; }; } |
1028 | { (exit 1); exit 1; }; } |
565 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
1029 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
566 | case $ac_option in |
|
|
567 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
|
|
568 | *) ac_optarg=yes ;; |
|
|
569 | esac |
|
|
570 | eval "enable_$ac_feature='$ac_optarg'" ;; |
1030 | eval enable_$ac_feature=\$ac_optarg ;; |
571 | |
1031 | |
572 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
1032 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
573 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
1033 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
574 | | --exec | --exe | --ex) |
1034 | | --exec | --exe | --ex) |
575 | ac_prev=exec_prefix ;; |
1035 | ac_prev=exec_prefix ;; |
… | |
… | |
592 | -host | --host | --hos | --ho) |
1052 | -host | --host | --hos | --ho) |
593 | ac_prev=host_alias ;; |
1053 | ac_prev=host_alias ;; |
594 | -host=* | --host=* | --hos=* | --ho=*) |
1054 | -host=* | --host=* | --hos=* | --ho=*) |
595 | host_alias=$ac_optarg ;; |
1055 | host_alias=$ac_optarg ;; |
596 | |
1056 | |
|
|
1057 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|
|
1058 | ac_prev=htmldir ;; |
|
|
1059 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
|
1060 | | --ht=*) |
|
|
1061 | htmldir=$ac_optarg ;; |
|
|
1062 | |
597 | -includedir | --includedir | --includedi | --included | --include \ |
1063 | -includedir | --includedir | --includedi | --included | --include \ |
598 | | --includ | --inclu | --incl | --inc) |
1064 | | --includ | --inclu | --incl | --inc) |
599 | ac_prev=includedir ;; |
1065 | ac_prev=includedir ;; |
600 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
1066 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
601 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
1067 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
… | |
… | |
616 | ac_prev=libexecdir ;; |
1082 | ac_prev=libexecdir ;; |
617 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
1083 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
618 | | --libexe=* | --libex=* | --libe=*) |
1084 | | --libexe=* | --libex=* | --libe=*) |
619 | libexecdir=$ac_optarg ;; |
1085 | libexecdir=$ac_optarg ;; |
620 | |
1086 | |
|
|
1087 | -localedir | --localedir | --localedi | --localed | --locale) |
|
|
1088 | ac_prev=localedir ;; |
|
|
1089 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
|
1090 | localedir=$ac_optarg ;; |
|
|
1091 | |
621 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
1092 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
622 | | --localstate | --localstat | --localsta | --localst \ |
1093 | | --localstate | --localstat | --localsta | --localst | --locals) |
623 | | --locals | --local | --loca | --loc | --lo) |
|
|
624 | ac_prev=localstatedir ;; |
1094 | ac_prev=localstatedir ;; |
625 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
1095 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
626 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
1096 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
627 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
|
|
628 | localstatedir=$ac_optarg ;; |
1097 | localstatedir=$ac_optarg ;; |
629 | |
1098 | |
630 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
1099 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
631 | ac_prev=mandir ;; |
1100 | ac_prev=mandir ;; |
632 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
1101 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
… | |
… | |
687 | | --program-transfo=* | --program-transf=* \ |
1156 | | --program-transfo=* | --program-transf=* \ |
688 | | --program-trans=* | --program-tran=* \ |
1157 | | --program-trans=* | --program-tran=* \ |
689 | | --progr-tra=* | --program-tr=* | --program-t=*) |
1158 | | --progr-tra=* | --program-tr=* | --program-t=*) |
690 | program_transform_name=$ac_optarg ;; |
1159 | program_transform_name=$ac_optarg ;; |
691 | |
1160 | |
|
|
1161 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|
|
1162 | ac_prev=pdfdir ;; |
|
|
1163 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
|
1164 | pdfdir=$ac_optarg ;; |
|
|
1165 | |
|
|
1166 | -psdir | --psdir | --psdi | --psd | --ps) |
|
|
1167 | ac_prev=psdir ;; |
|
|
1168 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
|
1169 | psdir=$ac_optarg ;; |
|
|
1170 | |
692 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1171 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
693 | | -silent | --silent | --silen | --sile | --sil) |
1172 | | -silent | --silent | --silen | --sile | --sil) |
694 | silent=yes ;; |
1173 | silent=yes ;; |
695 | |
1174 | |
696 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1175 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
… | |
… | |
739 | ac_init_version=: ;; |
1218 | ac_init_version=: ;; |
740 | |
1219 | |
741 | -with-* | --with-*) |
1220 | -with-* | --with-*) |
742 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1221 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
743 | # Reject names that are not valid shell variable names. |
1222 | # Reject names that are not valid shell variable names. |
744 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
1223 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
745 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1224 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
746 | { (exit 1); exit 1; }; } |
1225 | { (exit 1); exit 1; }; } |
747 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
1226 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
748 | case $ac_option in |
|
|
749 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
|
|
750 | *) ac_optarg=yes ;; |
|
|
751 | esac |
|
|
752 | eval "with_$ac_package='$ac_optarg'" ;; |
1227 | eval with_$ac_package=\$ac_optarg ;; |
753 | |
1228 | |
754 | -without-* | --without-*) |
1229 | -without-* | --without-*) |
755 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1230 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
756 | # Reject names that are not valid shell variable names. |
1231 | # Reject names that are not valid shell variable names. |
757 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
1232 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
758 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1233 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
759 | { (exit 1); exit 1; }; } |
1234 | { (exit 1); exit 1; }; } |
760 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
1235 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
761 | eval "with_$ac_package=no" ;; |
1236 | eval with_$ac_package=no ;; |
762 | |
1237 | |
763 | --x) |
1238 | --x) |
764 | # Obsolete; use --with-x. |
1239 | # Obsolete; use --with-x. |
765 | with_x=yes ;; |
1240 | with_x=yes ;; |
766 | |
1241 | |
… | |
… | |
787 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1262 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
788 | # Reject names that are not valid shell variable names. |
1263 | # Reject names that are not valid shell variable names. |
789 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1264 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
790 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1265 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
791 | { (exit 1); exit 1; }; } |
1266 | { (exit 1); exit 1; }; } |
792 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
|
|
793 | eval "$ac_envvar='$ac_optarg'" |
1267 | eval $ac_envvar=\$ac_optarg |
794 | export $ac_envvar ;; |
1268 | export $ac_envvar ;; |
795 | |
1269 | |
796 | *) |
1270 | *) |
797 | # FIXME: should be removed in autoconf 3.0. |
1271 | # FIXME: should be removed in autoconf 3.0. |
798 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1272 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
… | |
… | |
808 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1282 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
809 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
1283 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
810 | { (exit 1); exit 1; }; } |
1284 | { (exit 1); exit 1; }; } |
811 | fi |
1285 | fi |
812 | |
1286 | |
813 | # Be sure to have absolute paths. |
1287 | # Be sure to have absolute directory names. |
814 | for ac_var in exec_prefix prefix |
1288 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
|
1289 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
|
1290 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
|
1291 | libdir localedir mandir |
815 | do |
1292 | do |
816 | eval ac_val=$`echo $ac_var` |
1293 | eval ac_val=\$$ac_var |
817 | case $ac_val in |
1294 | case $ac_val in |
818 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
1295 | [\\/$]* | ?:[\\/]* ) continue;; |
819 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1296 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
820 | { (exit 1); exit 1; }; };; |
|
|
821 | esac |
1297 | esac |
822 | done |
|
|
823 | |
|
|
824 | # Be sure to have absolute paths. |
|
|
825 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
|
|
826 | localstatedir libdir includedir oldincludedir infodir mandir |
|
|
827 | do |
|
|
828 | eval ac_val=$`echo $ac_var` |
|
|
829 | case $ac_val in |
|
|
830 | [\\/$]* | ?:[\\/]* ) ;; |
|
|
831 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1298 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
832 | { (exit 1); exit 1; }; };; |
1299 | { (exit 1); exit 1; }; } |
833 | esac |
|
|
834 | done |
1300 | done |
835 | |
1301 | |
836 | # There might be people who depend on the old broken behavior: `$host' |
1302 | # There might be people who depend on the old broken behavior: `$host' |
837 | # used to hold the argument of --host etc. |
1303 | # used to hold the argument of --host etc. |
838 | # FIXME: To remove some day. |
1304 | # FIXME: To remove some day. |
… | |
… | |
855 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1321 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
856 | |
1322 | |
857 | test "$silent" = yes && exec 6>/dev/null |
1323 | test "$silent" = yes && exec 6>/dev/null |
858 | |
1324 | |
859 | |
1325 | |
|
|
1326 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
|
|
1327 | ac_ls_di=`ls -di .` && |
|
|
1328 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
|
1329 | { echo "$as_me: error: Working directory cannot be determined" >&2 |
|
|
1330 | { (exit 1); exit 1; }; } |
|
|
1331 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
|
1332 | { echo "$as_me: error: pwd does not report name of working directory" >&2 |
|
|
1333 | { (exit 1); exit 1; }; } |
|
|
1334 | |
|
|
1335 | |
860 | # Find the source files, if location was not specified. |
1336 | # Find the source files, if location was not specified. |
861 | if test -z "$srcdir"; then |
1337 | if test -z "$srcdir"; then |
862 | ac_srcdir_defaulted=yes |
1338 | ac_srcdir_defaulted=yes |
863 | # Try the directory containing this script, then its parent. |
1339 | # Try the directory containing this script, then the parent directory. |
864 | ac_confdir=`(dirname "$0") 2>/dev/null || |
1340 | ac_confdir=`$as_dirname -- "$0" || |
865 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1341 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
866 | X"$0" : 'X\(//\)[^/]' \| \ |
1342 | X"$0" : 'X\(//\)[^/]' \| \ |
867 | X"$0" : 'X\(//\)$' \| \ |
1343 | X"$0" : 'X\(//\)$' \| \ |
868 | X"$0" : 'X\(/\)' \| \ |
1344 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
869 | . : '\(.\)' 2>/dev/null || |
|
|
870 | echo X"$0" | |
1345 | echo X"$0" | |
871 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
1346 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
872 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
1347 | s//\1/ |
873 | /^X\(\/\/\)$/{ s//\1/; q; } |
1348 | q |
874 | /^X\(\/\).*/{ s//\1/; q; } |
1349 | } |
|
|
1350 | /^X\(\/\/\)[^/].*/{ |
|
|
1351 | s//\1/ |
|
|
1352 | q |
|
|
1353 | } |
|
|
1354 | /^X\(\/\/\)$/{ |
|
|
1355 | s//\1/ |
|
|
1356 | q |
|
|
1357 | } |
|
|
1358 | /^X\(\/\).*/{ |
|
|
1359 | s//\1/ |
|
|
1360 | q |
|
|
1361 | } |
875 | s/.*/./; q'` |
1362 | s/.*/./; q'` |
876 | srcdir=$ac_confdir |
1363 | srcdir=$ac_confdir |
877 | if test ! -r $srcdir/$ac_unique_file; then |
1364 | if test ! -r "$srcdir/$ac_unique_file"; then |
878 | srcdir=.. |
1365 | srcdir=.. |
879 | fi |
1366 | fi |
880 | else |
1367 | else |
881 | ac_srcdir_defaulted=no |
1368 | ac_srcdir_defaulted=no |
882 | fi |
1369 | fi |
883 | if test ! -r $srcdir/$ac_unique_file; then |
1370 | if test ! -r "$srcdir/$ac_unique_file"; then |
884 | if test "$ac_srcdir_defaulted" = yes; then |
1371 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
885 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
1372 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
886 | { (exit 1); exit 1; }; } |
1373 | { (exit 1); exit 1; }; } |
887 | else |
1374 | fi |
888 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1375 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
|
1376 | ac_abs_confdir=`( |
|
|
1377 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
889 | { (exit 1); exit 1; }; } |
1378 | { (exit 1); exit 1; }; } |
890 | fi |
1379 | pwd)` |
|
|
1380 | # When building in place, set srcdir=. |
|
|
1381 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
|
1382 | srcdir=. |
891 | fi |
1383 | fi |
892 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
1384 | # Remove unnecessary trailing slashes from srcdir. |
893 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
1385 | # Double slashes in file names in object file debugging info |
894 | { (exit 1); exit 1; }; } |
1386 | # mess up M-x gdb in Emacs. |
895 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
1387 | case $srcdir in |
896 | ac_env_build_alias_set=${build_alias+set} |
1388 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
897 | ac_env_build_alias_value=$build_alias |
1389 | esac |
898 | ac_cv_env_build_alias_set=${build_alias+set} |
1390 | for ac_var in $ac_precious_vars; do |
899 | ac_cv_env_build_alias_value=$build_alias |
1391 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
900 | ac_env_host_alias_set=${host_alias+set} |
1392 | eval ac_env_${ac_var}_value=\$${ac_var} |
901 | ac_env_host_alias_value=$host_alias |
1393 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
902 | ac_cv_env_host_alias_set=${host_alias+set} |
1394 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
903 | ac_cv_env_host_alias_value=$host_alias |
1395 | done |
904 | ac_env_target_alias_set=${target_alias+set} |
|
|
905 | ac_env_target_alias_value=$target_alias |
|
|
906 | ac_cv_env_target_alias_set=${target_alias+set} |
|
|
907 | ac_cv_env_target_alias_value=$target_alias |
|
|
908 | ac_env_CC_set=${CC+set} |
|
|
909 | ac_env_CC_value=$CC |
|
|
910 | ac_cv_env_CC_set=${CC+set} |
|
|
911 | ac_cv_env_CC_value=$CC |
|
|
912 | ac_env_CFLAGS_set=${CFLAGS+set} |
|
|
913 | ac_env_CFLAGS_value=$CFLAGS |
|
|
914 | ac_cv_env_CFLAGS_set=${CFLAGS+set} |
|
|
915 | ac_cv_env_CFLAGS_value=$CFLAGS |
|
|
916 | ac_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
917 | ac_env_LDFLAGS_value=$LDFLAGS |
|
|
918 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
919 | ac_cv_env_LDFLAGS_value=$LDFLAGS |
|
|
920 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
921 | ac_env_CPPFLAGS_value=$CPPFLAGS |
|
|
922 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
923 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
|
|
924 | ac_env_CPP_set=${CPP+set} |
|
|
925 | ac_env_CPP_value=$CPP |
|
|
926 | ac_cv_env_CPP_set=${CPP+set} |
|
|
927 | ac_cv_env_CPP_value=$CPP |
|
|
928 | ac_env_CXX_set=${CXX+set} |
|
|
929 | ac_env_CXX_value=$CXX |
|
|
930 | ac_cv_env_CXX_set=${CXX+set} |
|
|
931 | ac_cv_env_CXX_value=$CXX |
|
|
932 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
|
|
933 | ac_env_CXXFLAGS_value=$CXXFLAGS |
|
|
934 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
|
|
935 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
|
|
936 | ac_env_CXXCPP_set=${CXXCPP+set} |
|
|
937 | ac_env_CXXCPP_value=$CXXCPP |
|
|
938 | ac_cv_env_CXXCPP_set=${CXXCPP+set} |
|
|
939 | ac_cv_env_CXXCPP_value=$CXXCPP |
|
|
940 | ac_env_F77_set=${F77+set} |
|
|
941 | ac_env_F77_value=$F77 |
|
|
942 | ac_cv_env_F77_set=${F77+set} |
|
|
943 | ac_cv_env_F77_value=$F77 |
|
|
944 | ac_env_FFLAGS_set=${FFLAGS+set} |
|
|
945 | ac_env_FFLAGS_value=$FFLAGS |
|
|
946 | ac_cv_env_FFLAGS_set=${FFLAGS+set} |
|
|
947 | ac_cv_env_FFLAGS_value=$FFLAGS |
|
|
948 | |
1396 | |
949 | # |
1397 | # |
950 | # Report the --help message. |
1398 | # Report the --help message. |
951 | # |
1399 | # |
952 | if test "$ac_init_help" = "long"; then |
1400 | if test "$ac_init_help" = "long"; then |
… | |
… | |
971 | --cache-file=FILE cache test results in FILE [disabled] |
1419 | --cache-file=FILE cache test results in FILE [disabled] |
972 | -C, --config-cache alias for \`--cache-file=config.cache' |
1420 | -C, --config-cache alias for \`--cache-file=config.cache' |
973 | -n, --no-create do not create output files |
1421 | -n, --no-create do not create output files |
974 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1422 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
975 | |
1423 | |
976 | _ACEOF |
|
|
977 | |
|
|
978 | cat <<_ACEOF |
|
|
979 | Installation directories: |
1424 | Installation directories: |
980 | --prefix=PREFIX install architecture-independent files in PREFIX |
1425 | --prefix=PREFIX install architecture-independent files in PREFIX |
981 | [$ac_default_prefix] |
1426 | [$ac_default_prefix] |
982 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1427 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
983 | [PREFIX] |
1428 | [PREFIX] |
… | |
… | |
991 | |
1436 | |
992 | Fine tuning of the installation directories: |
1437 | Fine tuning of the installation directories: |
993 | --bindir=DIR user executables [EPREFIX/bin] |
1438 | --bindir=DIR user executables [EPREFIX/bin] |
994 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1439 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
995 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1440 | --libexecdir=DIR program executables [EPREFIX/libexec] |
996 | --datadir=DIR read-only architecture-independent data [PREFIX/share] |
|
|
997 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1441 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
998 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1442 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
999 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1443 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1000 | --libdir=DIR object code libraries [EPREFIX/lib] |
1444 | --libdir=DIR object code libraries [EPREFIX/lib] |
1001 | --includedir=DIR C header files [PREFIX/include] |
1445 | --includedir=DIR C header files [PREFIX/include] |
1002 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1446 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
|
1447 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|
|
1448 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1003 | --infodir=DIR info documentation [PREFIX/info] |
1449 | --infodir=DIR info documentation [DATAROOTDIR/info] |
|
|
1450 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1004 | --mandir=DIR man documentation [PREFIX/man] |
1451 | --mandir=DIR man documentation [DATAROOTDIR/man] |
|
|
1452 | --docdir=DIR documentation root [DATAROOTDIR/doc/libspf] |
|
|
1453 | --htmldir=DIR html documentation [DOCDIR] |
|
|
1454 | --dvidir=DIR dvi documentation [DOCDIR] |
|
|
1455 | --pdfdir=DIR pdf documentation [DOCDIR] |
|
|
1456 | --psdir=DIR ps documentation [DOCDIR] |
1005 | _ACEOF |
1457 | _ACEOF |
1006 | |
1458 | |
1007 | cat <<\_ACEOF |
1459 | cat <<\_ACEOF |
1008 | |
1460 | |
1009 | Program names: |
1461 | Program names: |
… | |
… | |
1026 | Optional Features: |
1478 | Optional Features: |
1027 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1479 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1028 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1480 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1029 | --disable-dependency-tracking Speeds up one-time builds |
1481 | --disable-dependency-tracking Speeds up one-time builds |
1030 | --enable-dependency-tracking Do not reject slow dependency extractors |
1482 | --enable-dependency-tracking Do not reject slow dependency extractors |
1031 | --enable-shared[=PKGS] |
1483 | --enable-shared[=PKGS] build shared libraries [default=yes] |
1032 | build shared libraries [default=yes] |
1484 | --enable-static[=PKGS] build static libraries [default=yes] |
1033 | --enable-static[=PKGS] |
|
|
1034 | build static libraries [default=yes] |
|
|
1035 | --enable-fast-install[=PKGS] |
1485 | --enable-fast-install[=PKGS] |
1036 | optimize for fast installation [default=yes] |
1486 | optimize for fast installation [default=yes] |
1037 | --disable-libtool-lock avoid locking (might break parallel builds) |
1487 | --disable-libtool-lock avoid locking (might break parallel builds) |
1038 | --enable-libbind Link libbind instead of libresolv (default=no) |
1488 | --enable-libbind Link libbind instead of libresolv (default=no) |
1039 | --enable-debug Enables debug option (default=no) |
1489 | --enable-debug Enables debug option (default=no) |
… | |
… | |
1051 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1501 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1052 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1502 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1053 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1503 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1054 | --with-pic try to use only PIC/non-PIC objects [default=use |
1504 | --with-pic try to use only PIC/non-PIC objects [default=use |
1055 | both] |
1505 | both] |
1056 | --with-tags[=TAGS] |
1506 | --with-tags[=TAGS] include additional configurations [automatic] |
1057 | include additional configurations [automatic] |
|
|
1058 | |
1507 | |
1059 | Some influential environment variables: |
1508 | Some influential environment variables: |
1060 | CC C compiler command |
1509 | CC C compiler command |
1061 | CFLAGS C compiler flags |
1510 | CFLAGS C compiler flags |
1062 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1511 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1063 | nonstandard directory <lib dir> |
1512 | nonstandard directory <lib dir> |
|
|
1513 | LIBS libraries to pass to the linker, e.g. -l<library> |
1064 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
1514 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1065 | headers in a nonstandard directory <include dir> |
1515 | you have headers in a nonstandard directory <include dir> |
1066 | CPP C preprocessor |
1516 | CPP C preprocessor |
1067 | CXX C++ compiler command |
1517 | CXX C++ compiler command |
1068 | CXXFLAGS C++ compiler flags |
1518 | CXXFLAGS C++ compiler flags |
1069 | CXXCPP C++ preprocessor |
1519 | CXXCPP C++ preprocessor |
1070 | F77 Fortran 77 compiler command |
1520 | F77 Fortran 77 compiler command |
… | |
… | |
1073 | Use these variables to override the choices made by `configure' or to help |
1523 | Use these variables to override the choices made by `configure' or to help |
1074 | it to find libraries and programs with nonstandard names/locations. |
1524 | it to find libraries and programs with nonstandard names/locations. |
1075 | |
1525 | |
1076 | Report bugs to <jcouzens@codeshare.ca>. |
1526 | Report bugs to <jcouzens@codeshare.ca>. |
1077 | _ACEOF |
1527 | _ACEOF |
|
|
1528 | ac_status=$? |
1078 | fi |
1529 | fi |
1079 | |
1530 | |
1080 | if test "$ac_init_help" = "recursive"; then |
1531 | if test "$ac_init_help" = "recursive"; then |
1081 | # If there are subdirs, report their specific --help. |
1532 | # If there are subdirs, report their specific --help. |
1082 | ac_popdir=`pwd` |
|
|
1083 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1533 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1084 | test -d $ac_dir || continue |
1534 | test -d "$ac_dir" || continue |
1085 | ac_builddir=. |
1535 | ac_builddir=. |
1086 | |
1536 | |
1087 | if test "$ac_dir" != .; then |
1537 | case "$ac_dir" in |
|
|
1538 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
|
1539 | *) |
1088 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1540 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1089 | # A "../" for each directory in $ac_dir_suffix. |
1541 | # A ".." for each directory in $ac_dir_suffix. |
1090 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
1542 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
1091 | else |
1543 | case $ac_top_builddir_sub in |
1092 | ac_dir_suffix= ac_top_builddir= |
1544 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1093 | fi |
1545 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
|
1546 | esac ;; |
|
|
1547 | esac |
|
|
1548 | ac_abs_top_builddir=$ac_pwd |
|
|
1549 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
|
1550 | # for backward compatibility: |
|
|
1551 | ac_top_builddir=$ac_top_build_prefix |
1094 | |
1552 | |
1095 | case $srcdir in |
1553 | case $srcdir in |
1096 | .) # No --srcdir option. We are building in place. |
1554 | .) # We are building in place. |
1097 | ac_srcdir=. |
1555 | ac_srcdir=. |
1098 | if test -z "$ac_top_builddir"; then |
1556 | ac_top_srcdir=$ac_top_builddir_sub |
1099 | ac_top_srcdir=. |
1557 | ac_abs_top_srcdir=$ac_pwd ;; |
1100 | else |
|
|
1101 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
|
1102 | fi ;; |
|
|
1103 | [\\/]* | ?:[\\/]* ) # Absolute path. |
1558 | [\\/]* | ?:[\\/]* ) # Absolute name. |
1104 | ac_srcdir=$srcdir$ac_dir_suffix; |
1559 | ac_srcdir=$srcdir$ac_dir_suffix; |
1105 | ac_top_srcdir=$srcdir ;; |
1560 | ac_top_srcdir=$srcdir |
|
|
1561 | ac_abs_top_srcdir=$srcdir ;; |
1106 | *) # Relative path. |
1562 | *) # Relative name. |
1107 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
1563 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1108 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
1564 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
|
1565 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1109 | esac |
1566 | esac |
|
|
1567 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1110 | |
1568 | |
1111 | # Do not use `cd foo && pwd` to compute absolute paths, because |
1569 | cd "$ac_dir" || { ac_status=$?; continue; } |
1112 | # the directories may not exist. |
1570 | # Check for guested configure. |
1113 | case `pwd` in |
|
|
1114 | .) ac_abs_builddir="$ac_dir";; |
|
|
1115 | *) |
|
|
1116 | case "$ac_dir" in |
|
|
1117 | .) ac_abs_builddir=`pwd`;; |
|
|
1118 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
|
1119 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
|
1120 | esac;; |
|
|
1121 | esac |
|
|
1122 | case $ac_abs_builddir in |
|
|
1123 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
1124 | *) |
|
|
1125 | case ${ac_top_builddir}. in |
|
|
1126 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
|
1127 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
1128 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
|
1129 | esac;; |
|
|
1130 | esac |
|
|
1131 | case $ac_abs_builddir in |
|
|
1132 | .) ac_abs_srcdir=$ac_srcdir;; |
|
|
1133 | *) |
|
|
1134 | case $ac_srcdir in |
|
|
1135 | .) ac_abs_srcdir=$ac_abs_builddir;; |
|
|
1136 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
|
1137 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
|
1138 | esac;; |
|
|
1139 | esac |
|
|
1140 | case $ac_abs_builddir in |
|
|
1141 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
1142 | *) |
|
|
1143 | case $ac_top_srcdir in |
|
|
1144 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
|
1145 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
1146 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
|
1147 | esac;; |
|
|
1148 | esac |
|
|
1149 | |
|
|
1150 | cd $ac_dir |
|
|
1151 | # Check for guested configure; otherwise get Cygnus style configure. |
|
|
1152 | if test -f $ac_srcdir/configure.gnu; then |
1571 | if test -f "$ac_srcdir/configure.gnu"; then |
1153 | echo |
1572 | echo && |
1154 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
1573 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1155 | elif test -f $ac_srcdir/configure; then |
1574 | elif test -f "$ac_srcdir/configure"; then |
1156 | echo |
1575 | echo && |
1157 | $SHELL $ac_srcdir/configure --help=recursive |
1576 | $SHELL "$ac_srcdir/configure" --help=recursive |
1158 | elif test -f $ac_srcdir/configure.ac || |
|
|
1159 | test -f $ac_srcdir/configure.in; then |
|
|
1160 | echo |
|
|
1161 | $ac_configure --help |
|
|
1162 | else |
1577 | else |
1163 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1578 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1164 | fi |
1579 | fi || ac_status=$? |
1165 | cd $ac_popdir |
1580 | cd "$ac_pwd" || { ac_status=$?; break; } |
1166 | done |
1581 | done |
1167 | fi |
1582 | fi |
1168 | |
1583 | |
1169 | test -n "$ac_init_help" && exit 0 |
1584 | test -n "$ac_init_help" && exit $ac_status |
1170 | if $ac_init_version; then |
1585 | if $ac_init_version; then |
1171 | cat <<\_ACEOF |
1586 | cat <<\_ACEOF |
1172 | libspf configure 1.0.0-p5 |
1587 | libspf configure 1.0.0-p5 |
1173 | generated by GNU Autoconf 2.59 |
1588 | generated by GNU Autoconf 2.61 |
1174 | |
1589 | |
1175 | Copyright (C) 2003 Free Software Foundation, Inc. |
1590 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
|
1591 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
1176 | This configure script is free software; the Free Software Foundation |
1592 | This configure script is free software; the Free Software Foundation |
1177 | gives unlimited permission to copy, distribute and modify it. |
1593 | gives unlimited permission to copy, distribute and modify it. |
1178 | _ACEOF |
1594 | _ACEOF |
1179 | exit 0 |
1595 | exit |
1180 | fi |
1596 | fi |
1181 | exec 5>config.log |
1597 | cat >config.log <<_ACEOF |
1182 | cat >&5 <<_ACEOF |
|
|
1183 | This file contains any messages produced by compilers while |
1598 | This file contains any messages produced by compilers while |
1184 | running configure, to aid debugging if configure makes a mistake. |
1599 | running configure, to aid debugging if configure makes a mistake. |
1185 | |
1600 | |
1186 | It was created by libspf $as_me 1.0.0-p5, which was |
1601 | It was created by libspf $as_me 1.0.0-p5, which was |
1187 | generated by GNU Autoconf 2.59. Invocation command line was |
1602 | generated by GNU Autoconf 2.61. Invocation command line was |
1188 | |
1603 | |
1189 | $ $0 $@ |
1604 | $ $0 $@ |
1190 | |
1605 | |
1191 | _ACEOF |
1606 | _ACEOF |
|
|
1607 | exec 5>>config.log |
1192 | { |
1608 | { |
1193 | cat <<_ASUNAME |
1609 | cat <<_ASUNAME |
1194 | ## --------- ## |
1610 | ## --------- ## |
1195 | ## Platform. ## |
1611 | ## Platform. ## |
1196 | ## --------- ## |
1612 | ## --------- ## |
… | |
… | |
1205 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1621 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1206 | |
1622 | |
1207 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1623 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1208 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1624 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1209 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1625 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1210 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
1626 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1211 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1627 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1212 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1628 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1213 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1629 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1214 | |
1630 | |
1215 | _ASUNAME |
1631 | _ASUNAME |
… | |
… | |
1219 | do |
1635 | do |
1220 | IFS=$as_save_IFS |
1636 | IFS=$as_save_IFS |
1221 | test -z "$as_dir" && as_dir=. |
1637 | test -z "$as_dir" && as_dir=. |
1222 | echo "PATH: $as_dir" |
1638 | echo "PATH: $as_dir" |
1223 | done |
1639 | done |
|
|
1640 | IFS=$as_save_IFS |
1224 | |
1641 | |
1225 | } >&5 |
1642 | } >&5 |
1226 | |
1643 | |
1227 | cat >&5 <<_ACEOF |
1644 | cat >&5 <<_ACEOF |
1228 | |
1645 | |
… | |
… | |
1240 | # Also quote any args containing shell meta-characters. |
1657 | # Also quote any args containing shell meta-characters. |
1241 | # Make two passes to allow for proper duplicate-argument suppression. |
1658 | # Make two passes to allow for proper duplicate-argument suppression. |
1242 | ac_configure_args= |
1659 | ac_configure_args= |
1243 | ac_configure_args0= |
1660 | ac_configure_args0= |
1244 | ac_configure_args1= |
1661 | ac_configure_args1= |
1245 | ac_sep= |
|
|
1246 | ac_must_keep_next=false |
1662 | ac_must_keep_next=false |
1247 | for ac_pass in 1 2 |
1663 | for ac_pass in 1 2 |
1248 | do |
1664 | do |
1249 | for ac_arg |
1665 | for ac_arg |
1250 | do |
1666 | do |
1251 | case $ac_arg in |
1667 | case $ac_arg in |
1252 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1668 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1253 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1669 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1254 | | -silent | --silent | --silen | --sile | --sil) |
1670 | | -silent | --silent | --silen | --sile | --sil) |
1255 | continue ;; |
1671 | continue ;; |
1256 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1672 | *\'*) |
1257 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1673 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1258 | esac |
1674 | esac |
1259 | case $ac_pass in |
1675 | case $ac_pass in |
1260 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1676 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1261 | 2) |
1677 | 2) |
… | |
… | |
1273 | esac |
1689 | esac |
1274 | ;; |
1690 | ;; |
1275 | -* ) ac_must_keep_next=true ;; |
1691 | -* ) ac_must_keep_next=true ;; |
1276 | esac |
1692 | esac |
1277 | fi |
1693 | fi |
1278 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1694 | ac_configure_args="$ac_configure_args '$ac_arg'" |
1279 | # Get rid of the leading space. |
|
|
1280 | ac_sep=" " |
|
|
1281 | ;; |
1695 | ;; |
1282 | esac |
1696 | esac |
1283 | done |
1697 | done |
1284 | done |
1698 | done |
1285 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1699 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1286 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1700 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1287 | |
1701 | |
1288 | # When interrupted or exit'd, cleanup temporary files, and complete |
1702 | # When interrupted or exit'd, cleanup temporary files, and complete |
1289 | # config.log. We remove comments because anyway the quotes in there |
1703 | # config.log. We remove comments because anyway the quotes in there |
1290 | # would cause problems or look ugly. |
1704 | # would cause problems or look ugly. |
1291 | # WARNING: Be sure not to use single quotes in there, as some shells, |
1705 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
1292 | # such as our DU 5.0 friend, will then `close' the trap. |
1706 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1293 | trap 'exit_status=$? |
1707 | trap 'exit_status=$? |
1294 | # Save into config.log some information that might help in debugging. |
1708 | # Save into config.log some information that might help in debugging. |
1295 | { |
1709 | { |
1296 | echo |
1710 | echo |
1297 | |
1711 | |
… | |
… | |
1300 | ## Cache variables. ## |
1714 | ## Cache variables. ## |
1301 | ## ---------------- ## |
1715 | ## ---------------- ## |
1302 | _ASBOX |
1716 | _ASBOX |
1303 | echo |
1717 | echo |
1304 | # The following way of writing the cache mishandles newlines in values, |
1718 | # The following way of writing the cache mishandles newlines in values, |
1305 | { |
1719 | ( |
|
|
1720 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
|
1721 | eval ac_val=\$$ac_var |
|
|
1722 | case $ac_val in #( |
|
|
1723 | *${as_nl}*) |
|
|
1724 | case $ac_var in #( |
|
|
1725 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
|
|
1726 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
|
|
1727 | esac |
|
|
1728 | case $ac_var in #( |
|
|
1729 | _ | IFS | as_nl) ;; #( |
|
|
1730 | *) $as_unset $ac_var ;; |
|
|
1731 | esac ;; |
|
|
1732 | esac |
|
|
1733 | done |
1306 | (set) 2>&1 | |
1734 | (set) 2>&1 | |
1307 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1735 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1308 | *ac_space=\ *) |
1736 | *${as_nl}ac_space=\ *) |
1309 | sed -n \ |
1737 | sed -n \ |
1310 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1738 | "s/'\''/'\''\\\\'\'''\''/g; |
1311 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1739 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1312 | ;; |
1740 | ;; #( |
1313 | *) |
1741 | *) |
1314 | sed -n \ |
1742 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1315 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
|
|
1316 | ;; |
1743 | ;; |
1317 | esac; |
1744 | esac | |
1318 | } |
1745 | sort |
|
|
1746 | ) |
1319 | echo |
1747 | echo |
1320 | |
1748 | |
1321 | cat <<\_ASBOX |
1749 | cat <<\_ASBOX |
1322 | ## ----------------- ## |
1750 | ## ----------------- ## |
1323 | ## Output variables. ## |
1751 | ## Output variables. ## |
1324 | ## ----------------- ## |
1752 | ## ----------------- ## |
1325 | _ASBOX |
1753 | _ASBOX |
1326 | echo |
1754 | echo |
1327 | for ac_var in $ac_subst_vars |
1755 | for ac_var in $ac_subst_vars |
1328 | do |
1756 | do |
1329 | eval ac_val=$`echo $ac_var` |
1757 | eval ac_val=\$$ac_var |
|
|
1758 | case $ac_val in |
|
|
1759 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
|
1760 | esac |
1330 | echo "$ac_var='"'"'$ac_val'"'"'" |
1761 | echo "$ac_var='\''$ac_val'\''" |
1331 | done | sort |
1762 | done | sort |
1332 | echo |
1763 | echo |
1333 | |
1764 | |
1334 | if test -n "$ac_subst_files"; then |
1765 | if test -n "$ac_subst_files"; then |
1335 | cat <<\_ASBOX |
1766 | cat <<\_ASBOX |
1336 | ## ------------- ## |
1767 | ## ------------------- ## |
1337 | ## Output files. ## |
1768 | ## File substitutions. ## |
1338 | ## ------------- ## |
1769 | ## ------------------- ## |
1339 | _ASBOX |
1770 | _ASBOX |
1340 | echo |
1771 | echo |
1341 | for ac_var in $ac_subst_files |
1772 | for ac_var in $ac_subst_files |
1342 | do |
1773 | do |
1343 | eval ac_val=$`echo $ac_var` |
1774 | eval ac_val=\$$ac_var |
|
|
1775 | case $ac_val in |
|
|
1776 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
|
1777 | esac |
1344 | echo "$ac_var='"'"'$ac_val'"'"'" |
1778 | echo "$ac_var='\''$ac_val'\''" |
1345 | done | sort |
1779 | done | sort |
1346 | echo |
1780 | echo |
1347 | fi |
1781 | fi |
1348 | |
1782 | |
1349 | if test -s confdefs.h; then |
1783 | if test -s confdefs.h; then |
… | |
… | |
1351 | ## ----------- ## |
1785 | ## ----------- ## |
1352 | ## confdefs.h. ## |
1786 | ## confdefs.h. ## |
1353 | ## ----------- ## |
1787 | ## ----------- ## |
1354 | _ASBOX |
1788 | _ASBOX |
1355 | echo |
1789 | echo |
1356 | sed "/^$/d" confdefs.h | sort |
1790 | cat confdefs.h |
1357 | echo |
1791 | echo |
1358 | fi |
1792 | fi |
1359 | test "$ac_signal" != 0 && |
1793 | test "$ac_signal" != 0 && |
1360 | echo "$as_me: caught signal $ac_signal" |
1794 | echo "$as_me: caught signal $ac_signal" |
1361 | echo "$as_me: exit $exit_status" |
1795 | echo "$as_me: exit $exit_status" |
1362 | } >&5 |
1796 | } >&5 |
1363 | rm -f core *.core && |
1797 | rm -f core *.core core.conftest.* && |
1364 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1798 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1365 | exit $exit_status |
1799 | exit $exit_status |
1366 | ' 0 |
1800 | ' 0 |
1367 | for ac_signal in 1 2 13 15; do |
1801 | for ac_signal in 1 2 13 15; do |
1368 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1802 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1369 | done |
1803 | done |
1370 | ac_signal=0 |
1804 | ac_signal=0 |
1371 | |
1805 | |
1372 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1806 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1373 | rm -rf conftest* confdefs.h |
1807 | rm -f -r conftest* confdefs.h |
1374 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
|
|
1375 | echo >confdefs.h |
|
|
1376 | |
1808 | |
1377 | # Predefined preprocessor variables. |
1809 | # Predefined preprocessor variables. |
1378 | |
1810 | |
1379 | cat >>confdefs.h <<_ACEOF |
1811 | cat >>confdefs.h <<_ACEOF |
1380 | #define PACKAGE_NAME "$PACKAGE_NAME" |
1812 | #define PACKAGE_NAME "$PACKAGE_NAME" |
… | |
… | |
1401 | _ACEOF |
1833 | _ACEOF |
1402 | |
1834 | |
1403 | |
1835 | |
1404 | # Let the site file select an alternate cache file if it wants to. |
1836 | # Let the site file select an alternate cache file if it wants to. |
1405 | # Prefer explicitly selected file to automatically selected ones. |
1837 | # Prefer explicitly selected file to automatically selected ones. |
1406 | if test -z "$CONFIG_SITE"; then |
1838 | if test -n "$CONFIG_SITE"; then |
|
|
1839 | set x "$CONFIG_SITE" |
1407 | if test "x$prefix" != xNONE; then |
1840 | elif test "x$prefix" != xNONE; then |
1408 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
1841 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
1409 | else |
1842 | else |
1410 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
1843 | set x "$ac_default_prefix/share/config.site" \ |
1411 | fi |
1844 | "$ac_default_prefix/etc/config.site" |
1412 | fi |
1845 | fi |
1413 | for ac_site_file in $CONFIG_SITE; do |
1846 | shift |
|
|
1847 | for ac_site_file |
|
|
1848 | do |
1414 | if test -r "$ac_site_file"; then |
1849 | if test -r "$ac_site_file"; then |
1415 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1850 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1416 | echo "$as_me: loading site script $ac_site_file" >&6;} |
1851 | echo "$as_me: loading site script $ac_site_file" >&6;} |
1417 | sed 's/^/| /' "$ac_site_file" >&5 |
1852 | sed 's/^/| /' "$ac_site_file" >&5 |
1418 | . "$ac_site_file" |
1853 | . "$ac_site_file" |
… | |
… | |
1424 | # files actually), so we avoid doing that. |
1859 | # files actually), so we avoid doing that. |
1425 | if test -f "$cache_file"; then |
1860 | if test -f "$cache_file"; then |
1426 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1861 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1427 | echo "$as_me: loading cache $cache_file" >&6;} |
1862 | echo "$as_me: loading cache $cache_file" >&6;} |
1428 | case $cache_file in |
1863 | case $cache_file in |
1429 | [\\/]* | ?:[\\/]* ) . $cache_file;; |
1864 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1430 | *) . ./$cache_file;; |
1865 | *) . "./$cache_file";; |
1431 | esac |
1866 | esac |
1432 | fi |
1867 | fi |
1433 | else |
1868 | else |
1434 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1869 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1435 | echo "$as_me: creating cache $cache_file" >&6;} |
1870 | echo "$as_me: creating cache $cache_file" >&6;} |
… | |
… | |
1437 | fi |
1872 | fi |
1438 | |
1873 | |
1439 | # Check that the precious variables saved in the cache have kept the same |
1874 | # Check that the precious variables saved in the cache have kept the same |
1440 | # value. |
1875 | # value. |
1441 | ac_cache_corrupted=false |
1876 | ac_cache_corrupted=false |
1442 | for ac_var in `(set) 2>&1 | |
1877 | for ac_var in $ac_precious_vars; do |
1443 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
|
|
1444 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1878 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1445 | eval ac_new_set=\$ac_env_${ac_var}_set |
1879 | eval ac_new_set=\$ac_env_${ac_var}_set |
1446 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1880 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1447 | eval ac_new_val="\$ac_env_${ac_var}_value" |
1881 | eval ac_new_val=\$ac_env_${ac_var}_value |
1448 | case $ac_old_set,$ac_new_set in |
1882 | case $ac_old_set,$ac_new_set in |
1449 | set,) |
1883 | set,) |
1450 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1884 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1451 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1885 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1452 | ac_cache_corrupted=: ;; |
1886 | ac_cache_corrupted=: ;; |
… | |
… | |
1467 | fi;; |
1901 | fi;; |
1468 | esac |
1902 | esac |
1469 | # Pass precious variables to config.status. |
1903 | # Pass precious variables to config.status. |
1470 | if test "$ac_new_set" = set; then |
1904 | if test "$ac_new_set" = set; then |
1471 | case $ac_new_val in |
1905 | case $ac_new_val in |
1472 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
|
|
1473 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1906 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1474 | *) ac_arg=$ac_var=$ac_new_val ;; |
1907 | *) ac_arg=$ac_var=$ac_new_val ;; |
1475 | esac |
1908 | esac |
1476 | case " $ac_configure_args " in |
1909 | case " $ac_configure_args " in |
1477 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1910 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1478 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1911 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
… | |
… | |
1485 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1918 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1486 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1919 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1487 | { (exit 1); exit 1; }; } |
1920 | { (exit 1); exit 1; }; } |
1488 | fi |
1921 | fi |
1489 | |
1922 | |
|
|
1923 | |
|
|
1924 | |
|
|
1925 | |
|
|
1926 | |
|
|
1927 | |
|
|
1928 | |
|
|
1929 | |
|
|
1930 | |
|
|
1931 | |
|
|
1932 | |
|
|
1933 | |
|
|
1934 | |
|
|
1935 | |
|
|
1936 | |
|
|
1937 | |
|
|
1938 | |
|
|
1939 | |
|
|
1940 | |
|
|
1941 | |
|
|
1942 | |
|
|
1943 | |
|
|
1944 | |
|
|
1945 | |
|
|
1946 | |
1490 | ac_ext=c |
1947 | ac_ext=c |
1491 | ac_cpp='$CPP $CPPFLAGS' |
1948 | ac_cpp='$CPP $CPPFLAGS' |
1492 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1949 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1493 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1950 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1494 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1951 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1495 | |
1952 | |
1496 | |
1953 | |
1497 | |
|
|
1498 | |
|
|
1499 | |
|
|
1500 | |
|
|
1501 | |
|
|
1502 | |
|
|
1503 | |
|
|
1504 | |
|
|
1505 | |
|
|
1506 | |
|
|
1507 | |
|
|
1508 | |
|
|
1509 | |
|
|
1510 | |
|
|
1511 | |
|
|
1512 | |
|
|
1513 | |
|
|
1514 | |
|
|
1515 | |
|
|
1516 | |
|
|
1517 | |
|
|
1518 | |
|
|
1519 | |
|
|
1520 | |
|
|
1521 | |
|
|
1522 | ac_aux_dir= |
1954 | ac_aux_dir= |
1523 | for ac_dir in build_tools $srcdir/build_tools; do |
1955 | for ac_dir in build_tools "$srcdir"/build_tools; do |
1524 | if test -f $ac_dir/install-sh; then |
1956 | if test -f "$ac_dir/install-sh"; then |
1525 | ac_aux_dir=$ac_dir |
1957 | ac_aux_dir=$ac_dir |
1526 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1958 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1527 | break |
1959 | break |
1528 | elif test -f $ac_dir/install.sh; then |
1960 | elif test -f "$ac_dir/install.sh"; then |
1529 | ac_aux_dir=$ac_dir |
1961 | ac_aux_dir=$ac_dir |
1530 | ac_install_sh="$ac_aux_dir/install.sh -c" |
1962 | ac_install_sh="$ac_aux_dir/install.sh -c" |
1531 | break |
1963 | break |
1532 | elif test -f $ac_dir/shtool; then |
1964 | elif test -f "$ac_dir/shtool"; then |
1533 | ac_aux_dir=$ac_dir |
1965 | ac_aux_dir=$ac_dir |
1534 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1966 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1535 | break |
1967 | break |
1536 | fi |
1968 | fi |
1537 | done |
1969 | done |
1538 | if test -z "$ac_aux_dir"; then |
1970 | if test -z "$ac_aux_dir"; then |
1539 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build_tools $srcdir/build_tools" >&5 |
1971 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build_tools \"$srcdir\"/build_tools" >&5 |
1540 | echo "$as_me: error: cannot find install-sh or install.sh in build_tools $srcdir/build_tools" >&2;} |
1972 | echo "$as_me: error: cannot find install-sh or install.sh in build_tools \"$srcdir\"/build_tools" >&2;} |
1541 | { (exit 1); exit 1; }; } |
1973 | { (exit 1); exit 1; }; } |
1542 | fi |
1974 | fi |
|
|
1975 | |
|
|
1976 | # These three variables are undocumented and unsupported, |
|
|
1977 | # and are intended to be withdrawn in a future Autoconf release. |
|
|
1978 | # They can cause serious problems if a builder's source tree is in a directory |
|
|
1979 | # whose full name contains unusual characters. |
1543 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1980 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
1544 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1981 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
1545 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1982 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
|
1983 | |
1546 | |
1984 | |
1547 | am__api_version="1.6" |
1985 | am__api_version="1.6" |
1548 | # Find a good install program. We prefer a C program (faster), |
1986 | # Find a good install program. We prefer a C program (faster), |
1549 | # so one script is as good as another. But avoid the broken or |
1987 | # so one script is as good as another. But avoid the broken or |
1550 | # incompatible versions: |
1988 | # incompatible versions: |
… | |
… | |
1556 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1994 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1557 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1995 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1558 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1996 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1559 | # OS/2's system install, which has a completely different semantic |
1997 | # OS/2's system install, which has a completely different semantic |
1560 | # ./install, which can be erroneously created by make from ./install.sh. |
1998 | # ./install, which can be erroneously created by make from ./install.sh. |
1561 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1999 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1562 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
2000 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
1563 | if test -z "$INSTALL"; then |
2001 | if test -z "$INSTALL"; then |
1564 | if test "${ac_cv_path_install+set}" = set; then |
2002 | if test "${ac_cv_path_install+set}" = set; then |
1565 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2003 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1566 | else |
2004 | else |
1567 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2005 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
… | |
… | |
1579 | # OSF1 and SCO ODT 3.0 have their own names for install. |
2017 | # OSF1 and SCO ODT 3.0 have their own names for install. |
1580 | # Don't use installbsd from OSF since it installs stuff as root |
2018 | # Don't use installbsd from OSF since it installs stuff as root |
1581 | # by default. |
2019 | # by default. |
1582 | for ac_prog in ginstall scoinst install; do |
2020 | for ac_prog in ginstall scoinst install; do |
1583 | for ac_exec_ext in '' $ac_executable_extensions; do |
2021 | for ac_exec_ext in '' $ac_executable_extensions; do |
1584 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2022 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
1585 | if test $ac_prog = install && |
2023 | if test $ac_prog = install && |
1586 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2024 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1587 | # AIX install. It has an incompatible calling convention. |
2025 | # AIX install. It has an incompatible calling convention. |
1588 | : |
2026 | : |
1589 | elif test $ac_prog = install && |
2027 | elif test $ac_prog = install && |
… | |
… | |
1598 | done |
2036 | done |
1599 | done |
2037 | done |
1600 | ;; |
2038 | ;; |
1601 | esac |
2039 | esac |
1602 | done |
2040 | done |
|
|
2041 | IFS=$as_save_IFS |
1603 | |
2042 | |
1604 | |
2043 | |
1605 | fi |
2044 | fi |
1606 | if test "${ac_cv_path_install+set}" = set; then |
2045 | if test "${ac_cv_path_install+set}" = set; then |
1607 | INSTALL=$ac_cv_path_install |
2046 | INSTALL=$ac_cv_path_install |
1608 | else |
2047 | else |
1609 | # As a last resort, use the slow shell script. We don't cache a |
2048 | # As a last resort, use the slow shell script. Don't cache a |
1610 | # path for INSTALL within a source directory, because that will |
2049 | # value for INSTALL within a source directory, because that will |
1611 | # break other packages using the cache if that directory is |
2050 | # break other packages using the cache if that directory is |
1612 | # removed, or if the path is relative. |
2051 | # removed, or if the value is a relative name. |
1613 | INSTALL=$ac_install_sh |
2052 | INSTALL=$ac_install_sh |
1614 | fi |
2053 | fi |
1615 | fi |
2054 | fi |
1616 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2055 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
1617 | echo "${ECHO_T}$INSTALL" >&6 |
2056 | echo "${ECHO_T}$INSTALL" >&6; } |
1618 | |
2057 | |
1619 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2058 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1620 | # It thinks the first close brace ends the variable substitution. |
2059 | # It thinks the first close brace ends the variable substitution. |
1621 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2060 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1622 | |
2061 | |
1623 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2062 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1624 | |
2063 | |
1625 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2064 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1626 | |
2065 | |
1627 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
2066 | { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
1628 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
2067 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } |
1629 | # Just in case |
2068 | # Just in case |
1630 | sleep 1 |
2069 | sleep 1 |
1631 | echo timestamp > conftest.file |
2070 | echo timestamp > conftest.file |
1632 | # Do `set' in a subshell so we don't clobber the current shell's |
2071 | # Do `set' in a subshell so we don't clobber the current shell's |
1633 | # arguments. Must try -L first in case configure is actually a |
2072 | # arguments. Must try -L first in case configure is actually a |
… | |
… | |
1665 | Check your system clock" >&5 |
2104 | Check your system clock" >&5 |
1666 | echo "$as_me: error: newly created file is older than distributed files! |
2105 | echo "$as_me: error: newly created file is older than distributed files! |
1667 | Check your system clock" >&2;} |
2106 | Check your system clock" >&2;} |
1668 | { (exit 1); exit 1; }; } |
2107 | { (exit 1); exit 1; }; } |
1669 | fi |
2108 | fi |
1670 | echo "$as_me:$LINENO: result: yes" >&5 |
2109 | { echo "$as_me:$LINENO: result: yes" >&5 |
1671 | echo "${ECHO_T}yes" >&6 |
2110 | echo "${ECHO_T}yes" >&6; } |
1672 | test "$program_prefix" != NONE && |
2111 | test "$program_prefix" != NONE && |
1673 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
2112 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1674 | # Use a double $ so make ignores it. |
2113 | # Use a double $ so make ignores it. |
1675 | test "$program_suffix" != NONE && |
2114 | test "$program_suffix" != NONE && |
1676 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
2115 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
1677 | # Double any \ or $. echo might interpret backslashes. |
2116 | # Double any \ or $. echo might interpret backslashes. |
1678 | # By default was `s,x,x', remove it if useless. |
2117 | # By default was `s,x,x', remove it if useless. |
1679 | cat <<\_ACEOF >conftest.sed |
2118 | cat <<\_ACEOF >conftest.sed |
1680 | s/[\\$]/&&/g;s/;s,x,x,$// |
2119 | s/[\\$]/&&/g;s/;s,x,x,$// |
1681 | _ACEOF |
2120 | _ACEOF |
1682 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
2121 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
1683 | rm conftest.sed |
2122 | rm -f conftest.sed |
1684 | |
2123 | |
1685 | |
2124 | |
1686 | # expand $ac_aux_dir to an absolute path |
2125 | # expand $ac_aux_dir to an absolute path |
1687 | am_aux_dir=`cd $ac_aux_dir && pwd` |
2126 | am_aux_dir=`cd $ac_aux_dir && pwd` |
1688 | |
2127 | |
… | |
… | |
1698 | |
2137 | |
1699 | for ac_prog in gawk mawk nawk awk |
2138 | for ac_prog in gawk mawk nawk awk |
1700 | do |
2139 | do |
1701 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2140 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
1702 | set dummy $ac_prog; ac_word=$2 |
2141 | set dummy $ac_prog; ac_word=$2 |
1703 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2142 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1704 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2143 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1705 | if test "${ac_cv_prog_AWK+set}" = set; then |
2144 | if test "${ac_cv_prog_AWK+set}" = set; then |
1706 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2145 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1707 | else |
2146 | else |
1708 | if test -n "$AWK"; then |
2147 | if test -n "$AWK"; then |
1709 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2148 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
… | |
… | |
1712 | for as_dir in $PATH |
2151 | for as_dir in $PATH |
1713 | do |
2152 | do |
1714 | IFS=$as_save_IFS |
2153 | IFS=$as_save_IFS |
1715 | test -z "$as_dir" && as_dir=. |
2154 | test -z "$as_dir" && as_dir=. |
1716 | for ac_exec_ext in '' $ac_executable_extensions; do |
2155 | for ac_exec_ext in '' $ac_executable_extensions; do |
1717 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2156 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1718 | ac_cv_prog_AWK="$ac_prog" |
2157 | ac_cv_prog_AWK="$ac_prog" |
1719 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2158 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1720 | break 2 |
2159 | break 2 |
1721 | fi |
2160 | fi |
1722 | done |
2161 | done |
1723 | done |
2162 | done |
|
|
2163 | IFS=$as_save_IFS |
1724 | |
2164 | |
1725 | fi |
2165 | fi |
1726 | fi |
2166 | fi |
1727 | AWK=$ac_cv_prog_AWK |
2167 | AWK=$ac_cv_prog_AWK |
1728 | if test -n "$AWK"; then |
2168 | if test -n "$AWK"; then |
1729 | echo "$as_me:$LINENO: result: $AWK" >&5 |
2169 | { echo "$as_me:$LINENO: result: $AWK" >&5 |
1730 | echo "${ECHO_T}$AWK" >&6 |
2170 | echo "${ECHO_T}$AWK" >&6; } |
1731 | else |
2171 | else |
1732 | echo "$as_me:$LINENO: result: no" >&5 |
2172 | { echo "$as_me:$LINENO: result: no" >&5 |
1733 | echo "${ECHO_T}no" >&6 |
2173 | echo "${ECHO_T}no" >&6; } |
1734 | fi |
2174 | fi |
|
|
2175 | |
1735 | |
2176 | |
1736 | test -n "$AWK" && break |
2177 | test -n "$AWK" && break |
1737 | done |
2178 | done |
1738 | |
2179 | |
1739 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2180 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1740 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
2181 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
1741 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
2182 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
1742 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
2183 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
1743 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2184 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1744 | else |
2185 | else |
1745 | cat >conftest.make <<\_ACEOF |
2186 | cat >conftest.make <<\_ACEOF |
|
|
2187 | SHELL = /bin/sh |
1746 | all: |
2188 | all: |
1747 | @echo 'ac_maketemp="$(MAKE)"' |
2189 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
1748 | _ACEOF |
2190 | _ACEOF |
1749 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2191 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1750 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
2192 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
1751 | if test -n "$ac_maketemp"; then |
2193 | *@@@%%%=?*=@@@%%%*) |
1752 | eval ac_cv_prog_make_${ac_make}_set=yes |
2194 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
1753 | else |
2195 | *) |
1754 | eval ac_cv_prog_make_${ac_make}_set=no |
2196 | eval ac_cv_prog_make_${ac_make}_set=no;; |
1755 | fi |
2197 | esac |
1756 | rm -f conftest.make |
2198 | rm -f conftest.make |
1757 | fi |
2199 | fi |
1758 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
2200 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
1759 | echo "$as_me:$LINENO: result: yes" >&5 |
2201 | { echo "$as_me:$LINENO: result: yes" >&5 |
1760 | echo "${ECHO_T}yes" >&6 |
2202 | echo "${ECHO_T}yes" >&6; } |
1761 | SET_MAKE= |
2203 | SET_MAKE= |
1762 | else |
2204 | else |
1763 | echo "$as_me:$LINENO: result: no" >&5 |
2205 | { echo "$as_me:$LINENO: result: no" >&5 |
1764 | echo "${ECHO_T}no" >&6 |
2206 | echo "${ECHO_T}no" >&6; } |
1765 | SET_MAKE="MAKE=${MAKE-make}" |
2207 | SET_MAKE="MAKE=${MAKE-make}" |
1766 | fi |
2208 | fi |
1767 | |
2209 | |
1768 | # test to see if srcdir already configured |
2210 | # test to see if srcdir already configured |
1769 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
2211 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
… | |
… | |
1805 | # will honor the `STRIP' environment variable to overrule this program. |
2247 | # will honor the `STRIP' environment variable to overrule this program. |
1806 | if test "$cross_compiling" != no; then |
2248 | if test "$cross_compiling" != no; then |
1807 | if test -n "$ac_tool_prefix"; then |
2249 | if test -n "$ac_tool_prefix"; then |
1808 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2250 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
1809 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2251 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
1810 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2252 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1811 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2253 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1812 | if test "${ac_cv_prog_STRIP+set}" = set; then |
2254 | if test "${ac_cv_prog_STRIP+set}" = set; then |
1813 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2255 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1814 | else |
2256 | else |
1815 | if test -n "$STRIP"; then |
2257 | if test -n "$STRIP"; then |
1816 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2258 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
… | |
… | |
1819 | for as_dir in $PATH |
2261 | for as_dir in $PATH |
1820 | do |
2262 | do |
1821 | IFS=$as_save_IFS |
2263 | IFS=$as_save_IFS |
1822 | test -z "$as_dir" && as_dir=. |
2264 | test -z "$as_dir" && as_dir=. |
1823 | for ac_exec_ext in '' $ac_executable_extensions; do |
2265 | for ac_exec_ext in '' $ac_executable_extensions; do |
1824 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2266 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1825 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2267 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
1826 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2268 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1827 | break 2 |
2269 | break 2 |
1828 | fi |
2270 | fi |
1829 | done |
2271 | done |
1830 | done |
2272 | done |
|
|
2273 | IFS=$as_save_IFS |
1831 | |
2274 | |
1832 | fi |
2275 | fi |
1833 | fi |
2276 | fi |
1834 | STRIP=$ac_cv_prog_STRIP |
2277 | STRIP=$ac_cv_prog_STRIP |
1835 | if test -n "$STRIP"; then |
2278 | if test -n "$STRIP"; then |
1836 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
2279 | { echo "$as_me:$LINENO: result: $STRIP" >&5 |
1837 | echo "${ECHO_T}$STRIP" >&6 |
2280 | echo "${ECHO_T}$STRIP" >&6; } |
1838 | else |
2281 | else |
1839 | echo "$as_me:$LINENO: result: no" >&5 |
2282 | { echo "$as_me:$LINENO: result: no" >&5 |
1840 | echo "${ECHO_T}no" >&6 |
2283 | echo "${ECHO_T}no" >&6; } |
1841 | fi |
2284 | fi |
|
|
2285 | |
1842 | |
2286 | |
1843 | fi |
2287 | fi |
1844 | if test -z "$ac_cv_prog_STRIP"; then |
2288 | if test -z "$ac_cv_prog_STRIP"; then |
1845 | ac_ct_STRIP=$STRIP |
2289 | ac_ct_STRIP=$STRIP |
1846 | # Extract the first word of "strip", so it can be a program name with args. |
2290 | # Extract the first word of "strip", so it can be a program name with args. |
1847 | set dummy strip; ac_word=$2 |
2291 | set dummy strip; ac_word=$2 |
1848 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2292 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1849 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2293 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1850 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
2294 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
1851 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2295 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1852 | else |
2296 | else |
1853 | if test -n "$ac_ct_STRIP"; then |
2297 | if test -n "$ac_ct_STRIP"; then |
1854 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2298 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
… | |
… | |
1857 | for as_dir in $PATH |
2301 | for as_dir in $PATH |
1858 | do |
2302 | do |
1859 | IFS=$as_save_IFS |
2303 | IFS=$as_save_IFS |
1860 | test -z "$as_dir" && as_dir=. |
2304 | test -z "$as_dir" && as_dir=. |
1861 | for ac_exec_ext in '' $ac_executable_extensions; do |
2305 | for ac_exec_ext in '' $ac_executable_extensions; do |
1862 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2306 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1863 | ac_cv_prog_ac_ct_STRIP="strip" |
2307 | ac_cv_prog_ac_ct_STRIP="strip" |
1864 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2308 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1865 | break 2 |
2309 | break 2 |
1866 | fi |
2310 | fi |
1867 | done |
2311 | done |
1868 | done |
2312 | done |
|
|
2313 | IFS=$as_save_IFS |
1869 | |
2314 | |
1870 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
|
|
1871 | fi |
2315 | fi |
1872 | fi |
2316 | fi |
1873 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
2317 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
1874 | if test -n "$ac_ct_STRIP"; then |
2318 | if test -n "$ac_ct_STRIP"; then |
1875 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
2319 | { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
1876 | echo "${ECHO_T}$ac_ct_STRIP" >&6 |
2320 | echo "${ECHO_T}$ac_ct_STRIP" >&6; } |
1877 | else |
2321 | else |
1878 | echo "$as_me:$LINENO: result: no" >&5 |
2322 | { echo "$as_me:$LINENO: result: no" >&5 |
1879 | echo "${ECHO_T}no" >&6 |
2323 | echo "${ECHO_T}no" >&6; } |
1880 | fi |
2324 | fi |
1881 | |
2325 | |
|
|
2326 | if test "x$ac_ct_STRIP" = x; then |
|
|
2327 | STRIP=":" |
|
|
2328 | else |
|
|
2329 | case $cross_compiling:$ac_tool_warned in |
|
|
2330 | yes:) |
|
|
2331 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2332 | whose name does not start with the host triplet. If you think this |
|
|
2333 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
2334 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2335 | whose name does not start with the host triplet. If you think this |
|
|
2336 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
2337 | ac_tool_warned=yes ;; |
|
|
2338 | esac |
1882 | STRIP=$ac_ct_STRIP |
2339 | STRIP=$ac_ct_STRIP |
|
|
2340 | fi |
1883 | else |
2341 | else |
1884 | STRIP="$ac_cv_prog_STRIP" |
2342 | STRIP="$ac_cv_prog_STRIP" |
1885 | fi |
2343 | fi |
1886 | |
2344 | |
1887 | fi |
2345 | fi |
… | |
… | |
1900 | # Required programs |
2358 | # Required programs |
1901 | #------------------------------------------------------------------------------- |
2359 | #------------------------------------------------------------------------------- |
1902 | |
2360 | |
1903 | # Add the stamp file to the list of files AC keeps track of, |
2361 | # Add the stamp file to the list of files AC keeps track of, |
1904 | # along with our hook. |
2362 | # along with our hook. |
1905 | ac_config_headers="$ac_config_headers config.h" |
2363 | ac_config_headers="$ac_config_headers config.h" |
1906 | |
2364 | |
1907 | |
2365 | |
1908 | |
2366 | |
1909 | #AC_CONFIG_SRCDIR([src/libspf/main.c]) |
2367 | #AC_CONFIG_SRCDIR([src/libspf/main.c]) |
1910 | |
2368 | |
… | |
… | |
1914 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2372 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1915 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2373 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1916 | if test -n "$ac_tool_prefix"; then |
2374 | if test -n "$ac_tool_prefix"; then |
1917 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2375 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1918 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2376 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1919 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2377 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1920 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2378 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1921 | if test "${ac_cv_prog_CC+set}" = set; then |
2379 | if test "${ac_cv_prog_CC+set}" = set; then |
1922 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2380 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1923 | else |
2381 | else |
1924 | if test -n "$CC"; then |
2382 | if test -n "$CC"; then |
1925 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2383 | ac_cv_prog_CC="$CC" # Let the user override the test. |
… | |
… | |
1928 | for as_dir in $PATH |
2386 | for as_dir in $PATH |
1929 | do |
2387 | do |
1930 | IFS=$as_save_IFS |
2388 | IFS=$as_save_IFS |
1931 | test -z "$as_dir" && as_dir=. |
2389 | test -z "$as_dir" && as_dir=. |
1932 | for ac_exec_ext in '' $ac_executable_extensions; do |
2390 | for ac_exec_ext in '' $ac_executable_extensions; do |
1933 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2391 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1934 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2392 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1935 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2393 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1936 | break 2 |
2394 | break 2 |
1937 | fi |
2395 | fi |
1938 | done |
2396 | done |
1939 | done |
2397 | done |
|
|
2398 | IFS=$as_save_IFS |
1940 | |
2399 | |
1941 | fi |
2400 | fi |
1942 | fi |
2401 | fi |
1943 | CC=$ac_cv_prog_CC |
2402 | CC=$ac_cv_prog_CC |
1944 | if test -n "$CC"; then |
2403 | if test -n "$CC"; then |
1945 | echo "$as_me:$LINENO: result: $CC" >&5 |
2404 | { echo "$as_me:$LINENO: result: $CC" >&5 |
1946 | echo "${ECHO_T}$CC" >&6 |
2405 | echo "${ECHO_T}$CC" >&6; } |
1947 | else |
2406 | else |
1948 | echo "$as_me:$LINENO: result: no" >&5 |
2407 | { echo "$as_me:$LINENO: result: no" >&5 |
1949 | echo "${ECHO_T}no" >&6 |
2408 | echo "${ECHO_T}no" >&6; } |
1950 | fi |
2409 | fi |
|
|
2410 | |
1951 | |
2411 | |
1952 | fi |
2412 | fi |
1953 | if test -z "$ac_cv_prog_CC"; then |
2413 | if test -z "$ac_cv_prog_CC"; then |
1954 | ac_ct_CC=$CC |
2414 | ac_ct_CC=$CC |
1955 | # Extract the first word of "gcc", so it can be a program name with args. |
2415 | # Extract the first word of "gcc", so it can be a program name with args. |
1956 | set dummy gcc; ac_word=$2 |
2416 | set dummy gcc; ac_word=$2 |
1957 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2417 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1958 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2418 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1959 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2419 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1960 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2420 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1961 | else |
2421 | else |
1962 | if test -n "$ac_ct_CC"; then |
2422 | if test -n "$ac_ct_CC"; then |
1963 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2423 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
… | |
… | |
1966 | for as_dir in $PATH |
2426 | for as_dir in $PATH |
1967 | do |
2427 | do |
1968 | IFS=$as_save_IFS |
2428 | IFS=$as_save_IFS |
1969 | test -z "$as_dir" && as_dir=. |
2429 | test -z "$as_dir" && as_dir=. |
1970 | for ac_exec_ext in '' $ac_executable_extensions; do |
2430 | for ac_exec_ext in '' $ac_executable_extensions; do |
1971 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2431 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1972 | ac_cv_prog_ac_ct_CC="gcc" |
2432 | ac_cv_prog_ac_ct_CC="gcc" |
1973 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2433 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1974 | break 2 |
2434 | break 2 |
1975 | fi |
2435 | fi |
1976 | done |
2436 | done |
1977 | done |
2437 | done |
|
|
2438 | IFS=$as_save_IFS |
1978 | |
2439 | |
1979 | fi |
2440 | fi |
1980 | fi |
2441 | fi |
1981 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2442 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1982 | if test -n "$ac_ct_CC"; then |
2443 | if test -n "$ac_ct_CC"; then |
1983 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2444 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1984 | echo "${ECHO_T}$ac_ct_CC" >&6 |
2445 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
1985 | else |
2446 | else |
1986 | echo "$as_me:$LINENO: result: no" >&5 |
2447 | { echo "$as_me:$LINENO: result: no" >&5 |
1987 | echo "${ECHO_T}no" >&6 |
2448 | echo "${ECHO_T}no" >&6; } |
1988 | fi |
2449 | fi |
1989 | |
2450 | |
|
|
2451 | if test "x$ac_ct_CC" = x; then |
|
|
2452 | CC="" |
|
|
2453 | else |
|
|
2454 | case $cross_compiling:$ac_tool_warned in |
|
|
2455 | yes:) |
|
|
2456 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2457 | whose name does not start with the host triplet. If you think this |
|
|
2458 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
2459 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2460 | whose name does not start with the host triplet. If you think this |
|
|
2461 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
2462 | ac_tool_warned=yes ;; |
|
|
2463 | esac |
1990 | CC=$ac_ct_CC |
2464 | CC=$ac_ct_CC |
|
|
2465 | fi |
1991 | else |
2466 | else |
1992 | CC="$ac_cv_prog_CC" |
2467 | CC="$ac_cv_prog_CC" |
1993 | fi |
2468 | fi |
1994 | |
2469 | |
1995 | if test -z "$CC"; then |
2470 | if test -z "$CC"; then |
1996 | if test -n "$ac_tool_prefix"; then |
2471 | if test -n "$ac_tool_prefix"; then |
1997 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2472 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1998 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2473 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1999 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2474 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2000 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2475 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2001 | if test "${ac_cv_prog_CC+set}" = set; then |
2476 | if test "${ac_cv_prog_CC+set}" = set; then |
2002 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2477 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2003 | else |
2478 | else |
2004 | if test -n "$CC"; then |
2479 | if test -n "$CC"; then |
2005 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2480 | ac_cv_prog_CC="$CC" # Let the user override the test. |
… | |
… | |
2008 | for as_dir in $PATH |
2483 | for as_dir in $PATH |
2009 | do |
2484 | do |
2010 | IFS=$as_save_IFS |
2485 | IFS=$as_save_IFS |
2011 | test -z "$as_dir" && as_dir=. |
2486 | test -z "$as_dir" && as_dir=. |
2012 | for ac_exec_ext in '' $ac_executable_extensions; do |
2487 | for ac_exec_ext in '' $ac_executable_extensions; do |
2013 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2488 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2014 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2489 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2015 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2490 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2016 | break 2 |
2491 | break 2 |
2017 | fi |
2492 | fi |
2018 | done |
2493 | done |
2019 | done |
2494 | done |
|
|
2495 | IFS=$as_save_IFS |
2020 | |
2496 | |
2021 | fi |
2497 | fi |
2022 | fi |
2498 | fi |
2023 | CC=$ac_cv_prog_CC |
2499 | CC=$ac_cv_prog_CC |
2024 | if test -n "$CC"; then |
2500 | if test -n "$CC"; then |
2025 | echo "$as_me:$LINENO: result: $CC" >&5 |
2501 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2026 | echo "${ECHO_T}$CC" >&6 |
2502 | echo "${ECHO_T}$CC" >&6; } |
2027 | else |
2503 | else |
2028 | echo "$as_me:$LINENO: result: no" >&5 |
2504 | { echo "$as_me:$LINENO: result: no" >&5 |
2029 | echo "${ECHO_T}no" >&6 |
2505 | echo "${ECHO_T}no" >&6; } |
2030 | fi |
2506 | fi |
2031 | |
2507 | |
2032 | fi |
2508 | |
2033 | if test -z "$ac_cv_prog_CC"; then |
|
|
2034 | ac_ct_CC=$CC |
|
|
2035 | # Extract the first word of "cc", so it can be a program name with args. |
|
|
2036 | set dummy cc; ac_word=$2 |
|
|
2037 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
2038 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
2039 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
2040 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2041 | else |
|
|
2042 | if test -n "$ac_ct_CC"; then |
|
|
2043 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
2044 | else |
|
|
2045 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2046 | for as_dir in $PATH |
|
|
2047 | do |
|
|
2048 | IFS=$as_save_IFS |
|
|
2049 | test -z "$as_dir" && as_dir=. |
|
|
2050 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2051 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
2052 | ac_cv_prog_ac_ct_CC="cc" |
|
|
2053 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
2054 | break 2 |
|
|
2055 | fi |
2509 | fi |
2056 | done |
|
|
2057 | done |
|
|
2058 | |
|
|
2059 | fi |
|
|
2060 | fi |
|
|
2061 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
2062 | if test -n "$ac_ct_CC"; then |
|
|
2063 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
2064 | echo "${ECHO_T}$ac_ct_CC" >&6 |
|
|
2065 | else |
|
|
2066 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
2067 | echo "${ECHO_T}no" >&6 |
|
|
2068 | fi |
|
|
2069 | |
|
|
2070 | CC=$ac_ct_CC |
|
|
2071 | else |
|
|
2072 | CC="$ac_cv_prog_CC" |
|
|
2073 | fi |
|
|
2074 | |
|
|
2075 | fi |
2510 | fi |
2076 | if test -z "$CC"; then |
2511 | if test -z "$CC"; then |
2077 | # Extract the first word of "cc", so it can be a program name with args. |
2512 | # Extract the first word of "cc", so it can be a program name with args. |
2078 | set dummy cc; ac_word=$2 |
2513 | set dummy cc; ac_word=$2 |
2079 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2514 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2080 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2515 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2081 | if test "${ac_cv_prog_CC+set}" = set; then |
2516 | if test "${ac_cv_prog_CC+set}" = set; then |
2082 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2517 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2083 | else |
2518 | else |
2084 | if test -n "$CC"; then |
2519 | if test -n "$CC"; then |
2085 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2520 | ac_cv_prog_CC="$CC" # Let the user override the test. |
… | |
… | |
2089 | for as_dir in $PATH |
2524 | for as_dir in $PATH |
2090 | do |
2525 | do |
2091 | IFS=$as_save_IFS |
2526 | IFS=$as_save_IFS |
2092 | test -z "$as_dir" && as_dir=. |
2527 | test -z "$as_dir" && as_dir=. |
2093 | for ac_exec_ext in '' $ac_executable_extensions; do |
2528 | for ac_exec_ext in '' $ac_executable_extensions; do |
2094 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2529 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2095 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2530 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2096 | ac_prog_rejected=yes |
2531 | ac_prog_rejected=yes |
2097 | continue |
2532 | continue |
2098 | fi |
2533 | fi |
2099 | ac_cv_prog_CC="cc" |
2534 | ac_cv_prog_CC="cc" |
2100 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2535 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2101 | break 2 |
2536 | break 2 |
2102 | fi |
2537 | fi |
2103 | done |
2538 | done |
2104 | done |
2539 | done |
|
|
2540 | IFS=$as_save_IFS |
2105 | |
2541 | |
2106 | if test $ac_prog_rejected = yes; then |
2542 | if test $ac_prog_rejected = yes; then |
2107 | # We found a bogon in the path, so make sure we never use it. |
2543 | # We found a bogon in the path, so make sure we never use it. |
2108 | set dummy $ac_cv_prog_CC |
2544 | set dummy $ac_cv_prog_CC |
2109 | shift |
2545 | shift |
… | |
… | |
2117 | fi |
2553 | fi |
2118 | fi |
2554 | fi |
2119 | fi |
2555 | fi |
2120 | CC=$ac_cv_prog_CC |
2556 | CC=$ac_cv_prog_CC |
2121 | if test -n "$CC"; then |
2557 | if test -n "$CC"; then |
2122 | echo "$as_me:$LINENO: result: $CC" >&5 |
2558 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2123 | echo "${ECHO_T}$CC" >&6 |
2559 | echo "${ECHO_T}$CC" >&6; } |
2124 | else |
2560 | else |
2125 | echo "$as_me:$LINENO: result: no" >&5 |
2561 | { echo "$as_me:$LINENO: result: no" >&5 |
2126 | echo "${ECHO_T}no" >&6 |
2562 | echo "${ECHO_T}no" >&6; } |
2127 | fi |
2563 | fi |
|
|
2564 | |
2128 | |
2565 | |
2129 | fi |
2566 | fi |
2130 | if test -z "$CC"; then |
2567 | if test -z "$CC"; then |
2131 | if test -n "$ac_tool_prefix"; then |
2568 | if test -n "$ac_tool_prefix"; then |
2132 | for ac_prog in cl |
2569 | for ac_prog in cl.exe |
2133 | do |
2570 | do |
2134 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2571 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2135 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2572 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2136 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2573 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2137 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2574 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2138 | if test "${ac_cv_prog_CC+set}" = set; then |
2575 | if test "${ac_cv_prog_CC+set}" = set; then |
2139 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2576 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2140 | else |
2577 | else |
2141 | if test -n "$CC"; then |
2578 | if test -n "$CC"; then |
2142 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2579 | ac_cv_prog_CC="$CC" # Let the user override the test. |
… | |
… | |
2145 | for as_dir in $PATH |
2582 | for as_dir in $PATH |
2146 | do |
2583 | do |
2147 | IFS=$as_save_IFS |
2584 | IFS=$as_save_IFS |
2148 | test -z "$as_dir" && as_dir=. |
2585 | test -z "$as_dir" && as_dir=. |
2149 | for ac_exec_ext in '' $ac_executable_extensions; do |
2586 | for ac_exec_ext in '' $ac_executable_extensions; do |
2150 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2587 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2151 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2588 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2152 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2589 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2153 | break 2 |
2590 | break 2 |
2154 | fi |
2591 | fi |
2155 | done |
2592 | done |
2156 | done |
2593 | done |
|
|
2594 | IFS=$as_save_IFS |
2157 | |
2595 | |
2158 | fi |
2596 | fi |
2159 | fi |
2597 | fi |
2160 | CC=$ac_cv_prog_CC |
2598 | CC=$ac_cv_prog_CC |
2161 | if test -n "$CC"; then |
2599 | if test -n "$CC"; then |
2162 | echo "$as_me:$LINENO: result: $CC" >&5 |
2600 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2163 | echo "${ECHO_T}$CC" >&6 |
2601 | echo "${ECHO_T}$CC" >&6; } |
2164 | else |
2602 | else |
2165 | echo "$as_me:$LINENO: result: no" >&5 |
2603 | { echo "$as_me:$LINENO: result: no" >&5 |
2166 | echo "${ECHO_T}no" >&6 |
2604 | echo "${ECHO_T}no" >&6; } |
2167 | fi |
2605 | fi |
|
|
2606 | |
2168 | |
2607 | |
2169 | test -n "$CC" && break |
2608 | test -n "$CC" && break |
2170 | done |
2609 | done |
2171 | fi |
2610 | fi |
2172 | if test -z "$CC"; then |
2611 | if test -z "$CC"; then |
2173 | ac_ct_CC=$CC |
2612 | ac_ct_CC=$CC |
2174 | for ac_prog in cl |
2613 | for ac_prog in cl.exe |
2175 | do |
2614 | do |
2176 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2615 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2177 | set dummy $ac_prog; ac_word=$2 |
2616 | set dummy $ac_prog; ac_word=$2 |
2178 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2617 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2179 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2618 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2180 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2619 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2181 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2620 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2182 | else |
2621 | else |
2183 | if test -n "$ac_ct_CC"; then |
2622 | if test -n "$ac_ct_CC"; then |
2184 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2623 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
… | |
… | |
2187 | for as_dir in $PATH |
2626 | for as_dir in $PATH |
2188 | do |
2627 | do |
2189 | IFS=$as_save_IFS |
2628 | IFS=$as_save_IFS |
2190 | test -z "$as_dir" && as_dir=. |
2629 | test -z "$as_dir" && as_dir=. |
2191 | for ac_exec_ext in '' $ac_executable_extensions; do |
2630 | for ac_exec_ext in '' $ac_executable_extensions; do |
2192 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2631 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2193 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2632 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2194 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2633 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2195 | break 2 |
2634 | break 2 |
2196 | fi |
2635 | fi |
2197 | done |
2636 | done |
2198 | done |
2637 | done |
|
|
2638 | IFS=$as_save_IFS |
2199 | |
2639 | |
2200 | fi |
2640 | fi |
2201 | fi |
2641 | fi |
2202 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2642 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2203 | if test -n "$ac_ct_CC"; then |
2643 | if test -n "$ac_ct_CC"; then |
2204 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2644 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2205 | echo "${ECHO_T}$ac_ct_CC" >&6 |
2645 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
2206 | else |
2646 | else |
2207 | echo "$as_me:$LINENO: result: no" >&5 |
2647 | { echo "$as_me:$LINENO: result: no" >&5 |
2208 | echo "${ECHO_T}no" >&6 |
2648 | echo "${ECHO_T}no" >&6; } |
2209 | fi |
2649 | fi |
|
|
2650 | |
2210 | |
2651 | |
2211 | test -n "$ac_ct_CC" && break |
2652 | test -n "$ac_ct_CC" && break |
2212 | done |
2653 | done |
2213 | |
2654 | |
|
|
2655 | if test "x$ac_ct_CC" = x; then |
|
|
2656 | CC="" |
|
|
2657 | else |
|
|
2658 | case $cross_compiling:$ac_tool_warned in |
|
|
2659 | yes:) |
|
|
2660 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2661 | whose name does not start with the host triplet. If you think this |
|
|
2662 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
2663 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2664 | whose name does not start with the host triplet. If you think this |
|
|
2665 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
2666 | ac_tool_warned=yes ;; |
|
|
2667 | esac |
2214 | CC=$ac_ct_CC |
2668 | CC=$ac_ct_CC |
|
|
2669 | fi |
2215 | fi |
2670 | fi |
2216 | |
2671 | |
2217 | fi |
2672 | fi |
2218 | |
2673 | |
2219 | |
2674 | |
… | |
… | |
2222 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
2677 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
2223 | See \`config.log' for more details." >&2;} |
2678 | See \`config.log' for more details." >&2;} |
2224 | { (exit 1); exit 1; }; } |
2679 | { (exit 1); exit 1; }; } |
2225 | |
2680 | |
2226 | # Provide some information about the compiler. |
2681 | # Provide some information about the compiler. |
2227 | echo "$as_me:$LINENO:" \ |
|
|
2228 | "checking for C compiler version" >&5 |
2682 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2229 | ac_compiler=`set X $ac_compile; echo $2` |
2683 | ac_compiler=`set X $ac_compile; echo $2` |
2230 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2684 | { (ac_try="$ac_compiler --version >&5" |
|
|
2685 | case "(($ac_try" in |
|
|
2686 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2687 | *) ac_try_echo=$ac_try;; |
|
|
2688 | esac |
|
|
2689 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2231 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
2690 | (eval "$ac_compiler --version >&5") 2>&5 |
2232 | ac_status=$? |
2691 | ac_status=$? |
2233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2692 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2234 | (exit $ac_status); } |
2693 | (exit $ac_status); } |
2235 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2694 | { (ac_try="$ac_compiler -v >&5" |
|
|
2695 | case "(($ac_try" in |
|
|
2696 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2697 | *) ac_try_echo=$ac_try;; |
|
|
2698 | esac |
|
|
2699 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2236 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
2700 | (eval "$ac_compiler -v >&5") 2>&5 |
2237 | ac_status=$? |
2701 | ac_status=$? |
2238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2702 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2239 | (exit $ac_status); } |
2703 | (exit $ac_status); } |
2240 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2704 | { (ac_try="$ac_compiler -V >&5" |
|
|
2705 | case "(($ac_try" in |
|
|
2706 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2707 | *) ac_try_echo=$ac_try;; |
|
|
2708 | esac |
|
|
2709 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2241 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
2710 | (eval "$ac_compiler -V >&5") 2>&5 |
2242 | ac_status=$? |
2711 | ac_status=$? |
2243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2712 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2244 | (exit $ac_status); } |
2713 | (exit $ac_status); } |
2245 | |
2714 | |
2246 | cat >conftest.$ac_ext <<_ACEOF |
2715 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
2261 | ac_clean_files_save=$ac_clean_files |
2730 | ac_clean_files_save=$ac_clean_files |
2262 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2731 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2263 | # Try to create an executable without -o first, disregard a.out. |
2732 | # Try to create an executable without -o first, disregard a.out. |
2264 | # It will help us diagnose broken compilers, and finding out an intuition |
2733 | # It will help us diagnose broken compilers, and finding out an intuition |
2265 | # of exeext. |
2734 | # of exeext. |
2266 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2735 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2267 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
2736 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
2268 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2737 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
|
2738 | # |
|
|
2739 | # List of possible output files, starting from the most likely. |
|
|
2740 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
|
|
2741 | # only as a last resort. b.out is created by i960 compilers. |
|
|
2742 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
|
|
2743 | # |
|
|
2744 | # The IRIX 6 linker writes into existing files which may not be |
|
|
2745 | # executable, retaining their permissions. Remove them first so a |
|
|
2746 | # subsequent execution test works. |
|
|
2747 | ac_rmfiles= |
|
|
2748 | for ac_file in $ac_files |
|
|
2749 | do |
|
|
2750 | case $ac_file in |
|
|
2751 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
|
|
2752 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
|
2753 | esac |
|
|
2754 | done |
|
|
2755 | rm -f $ac_rmfiles |
|
|
2756 | |
|
|
2757 | if { (ac_try="$ac_link_default" |
|
|
2758 | case "(($ac_try" in |
|
|
2759 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2760 | *) ac_try_echo=$ac_try;; |
|
|
2761 | esac |
2269 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2762 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2270 | (eval $ac_link_default) 2>&5 |
2763 | (eval "$ac_link_default") 2>&5 |
2271 | ac_status=$? |
2764 | ac_status=$? |
2272 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2273 | (exit $ac_status); }; then |
2766 | (exit $ac_status); }; then |
2274 | # Find the output, starting from the most likely. This scheme is |
2767 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2275 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
2768 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2276 | # resort. |
2769 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2277 | |
2770 | # so that the user can short-circuit this test for compilers unknown to |
2278 | # Be careful to initialize this variable, since it used to be cached. |
2771 | # Autoconf. |
2279 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
2772 | for ac_file in $ac_files '' |
2280 | ac_cv_exeext= |
|
|
2281 | # b.out is created by i960 compilers. |
|
|
2282 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
|
|
2283 | do |
2773 | do |
2284 | test -f "$ac_file" || continue |
2774 | test -f "$ac_file" || continue |
2285 | case $ac_file in |
2775 | case $ac_file in |
2286 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2776 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
2287 | ;; |
|
|
2288 | conftest.$ac_ext ) |
|
|
2289 | # This is the source file. |
|
|
2290 | ;; |
2777 | ;; |
2291 | [ab].out ) |
2778 | [ab].out ) |
2292 | # We found the default executable, but exeext='' is most |
2779 | # We found the default executable, but exeext='' is most |
2293 | # certainly right. |
2780 | # certainly right. |
2294 | break;; |
2781 | break;; |
2295 | *.* ) |
2782 | *.* ) |
|
|
2783 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
|
|
2784 | then :; else |
2296 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2785 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2297 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
2786 | fi |
2298 | # but it would be cool to find out if it's true. Does anybody |
2787 | # We set ac_cv_exeext here because the later test for it is not |
2299 | # maintain Libtool? --akim. |
2788 | # safe: cross compilers may not add the suffix if given an `-o' |
2300 | export ac_cv_exeext |
2789 | # argument, so we may need to know it at that point already. |
|
|
2790 | # Even if this section looks crufty: it has the advantage of |
|
|
2791 | # actually working. |
2301 | break;; |
2792 | break;; |
2302 | * ) |
2793 | * ) |
2303 | break;; |
2794 | break;; |
2304 | esac |
2795 | esac |
2305 | done |
2796 | done |
|
|
2797 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
|
|
2798 | |
2306 | else |
2799 | else |
|
|
2800 | ac_file='' |
|
|
2801 | fi |
|
|
2802 | |
|
|
2803 | { echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
|
2804 | echo "${ECHO_T}$ac_file" >&6; } |
|
|
2805 | if test -z "$ac_file"; then |
2307 | echo "$as_me: failed program was:" >&5 |
2806 | echo "$as_me: failed program was:" >&5 |
2308 | sed 's/^/| /' conftest.$ac_ext >&5 |
2807 | sed 's/^/| /' conftest.$ac_ext >&5 |
2309 | |
2808 | |
2310 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2809 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2311 | See \`config.log' for more details." >&5 |
2810 | See \`config.log' for more details." >&5 |
… | |
… | |
2313 | See \`config.log' for more details." >&2;} |
2812 | See \`config.log' for more details." >&2;} |
2314 | { (exit 77); exit 77; }; } |
2813 | { (exit 77); exit 77; }; } |
2315 | fi |
2814 | fi |
2316 | |
2815 | |
2317 | ac_exeext=$ac_cv_exeext |
2816 | ac_exeext=$ac_cv_exeext |
2318 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
|
2319 | echo "${ECHO_T}$ac_file" >&6 |
|
|
2320 | |
2817 | |
2321 | # Check the compiler produces executables we can run. If not, either |
2818 | # Check that the compiler produces executables we can run. If not, either |
2322 | # the compiler is broken, or we cross compile. |
2819 | # the compiler is broken, or we cross compile. |
2323 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2820 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2324 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
2821 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
2325 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2822 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2326 | # If not cross compiling, check that we can run a simple program. |
2823 | # If not cross compiling, check that we can run a simple program. |
2327 | if test "$cross_compiling" != yes; then |
2824 | if test "$cross_compiling" != yes; then |
2328 | if { ac_try='./$ac_file' |
2825 | if { ac_try='./$ac_file' |
|
|
2826 | { (case "(($ac_try" in |
|
|
2827 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2828 | *) ac_try_echo=$ac_try;; |
|
|
2829 | esac |
2329 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2830 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2330 | (eval $ac_try) 2>&5 |
2831 | (eval "$ac_try") 2>&5 |
2331 | ac_status=$? |
2832 | ac_status=$? |
2332 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2833 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2333 | (exit $ac_status); }; }; then |
2834 | (exit $ac_status); }; }; then |
2334 | cross_compiling=no |
2835 | cross_compiling=no |
2335 | else |
2836 | else |
… | |
… | |
2344 | See \`config.log' for more details." >&2;} |
2845 | See \`config.log' for more details." >&2;} |
2345 | { (exit 1); exit 1; }; } |
2846 | { (exit 1); exit 1; }; } |
2346 | fi |
2847 | fi |
2347 | fi |
2848 | fi |
2348 | fi |
2849 | fi |
2349 | echo "$as_me:$LINENO: result: yes" >&5 |
2850 | { echo "$as_me:$LINENO: result: yes" >&5 |
2350 | echo "${ECHO_T}yes" >&6 |
2851 | echo "${ECHO_T}yes" >&6; } |
2351 | |
2852 | |
2352 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2853 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2353 | ac_clean_files=$ac_clean_files_save |
2854 | ac_clean_files=$ac_clean_files_save |
2354 | # Check the compiler produces executables we can run. If not, either |
2855 | # Check that the compiler produces executables we can run. If not, either |
2355 | # the compiler is broken, or we cross compile. |
2856 | # the compiler is broken, or we cross compile. |
2356 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2857 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2357 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
2858 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
2358 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2859 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2359 | echo "${ECHO_T}$cross_compiling" >&6 |
2860 | echo "${ECHO_T}$cross_compiling" >&6; } |
2360 | |
2861 | |
2361 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2862 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2362 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
2863 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
|
|
2864 | if { (ac_try="$ac_link" |
|
|
2865 | case "(($ac_try" in |
|
|
2866 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2867 | *) ac_try_echo=$ac_try;; |
|
|
2868 | esac |
2363 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2869 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2364 | (eval $ac_link) 2>&5 |
2870 | (eval "$ac_link") 2>&5 |
2365 | ac_status=$? |
2871 | ac_status=$? |
2366 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2872 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2367 | (exit $ac_status); }; then |
2873 | (exit $ac_status); }; then |
2368 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2874 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2369 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2875 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2370 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
2876 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
2371 | # `rm'. |
2877 | # `rm'. |
2372 | for ac_file in conftest.exe conftest conftest.*; do |
2878 | for ac_file in conftest.exe conftest conftest.*; do |
2373 | test -f "$ac_file" || continue |
2879 | test -f "$ac_file" || continue |
2374 | case $ac_file in |
2880 | case $ac_file in |
2375 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2881 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2376 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2882 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2377 | export ac_cv_exeext |
|
|
2378 | break;; |
2883 | break;; |
2379 | * ) break;; |
2884 | * ) break;; |
2380 | esac |
2885 | esac |
2381 | done |
2886 | done |
2382 | else |
2887 | else |
… | |
… | |
2386 | See \`config.log' for more details." >&2;} |
2891 | See \`config.log' for more details." >&2;} |
2387 | { (exit 1); exit 1; }; } |
2892 | { (exit 1); exit 1; }; } |
2388 | fi |
2893 | fi |
2389 | |
2894 | |
2390 | rm -f conftest$ac_cv_exeext |
2895 | rm -f conftest$ac_cv_exeext |
2391 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2896 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2392 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
2897 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
2393 | |
2898 | |
2394 | rm -f conftest.$ac_ext |
2899 | rm -f conftest.$ac_ext |
2395 | EXEEXT=$ac_cv_exeext |
2900 | EXEEXT=$ac_cv_exeext |
2396 | ac_exeext=$EXEEXT |
2901 | ac_exeext=$EXEEXT |
2397 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2902 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2398 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
2903 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
2399 | if test "${ac_cv_objext+set}" = set; then |
2904 | if test "${ac_cv_objext+set}" = set; then |
2400 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2905 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2401 | else |
2906 | else |
2402 | cat >conftest.$ac_ext <<_ACEOF |
2907 | cat >conftest.$ac_ext <<_ACEOF |
2403 | /* confdefs.h. */ |
2908 | /* confdefs.h. */ |
… | |
… | |
2413 | ; |
2918 | ; |
2414 | return 0; |
2919 | return 0; |
2415 | } |
2920 | } |
2416 | _ACEOF |
2921 | _ACEOF |
2417 | rm -f conftest.o conftest.obj |
2922 | rm -f conftest.o conftest.obj |
|
|
2923 | if { (ac_try="$ac_compile" |
|
|
2924 | case "(($ac_try" in |
|
|
2925 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2926 | *) ac_try_echo=$ac_try;; |
|
|
2927 | esac |
2418 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2928 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2419 | (eval $ac_compile) 2>&5 |
2929 | (eval "$ac_compile") 2>&5 |
2420 | ac_status=$? |
2930 | ac_status=$? |
2421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2422 | (exit $ac_status); }; then |
2932 | (exit $ac_status); }; then |
2423 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
2933 | for ac_file in conftest.o conftest.obj conftest.*; do |
|
|
2934 | test -f "$ac_file" || continue; |
2424 | case $ac_file in |
2935 | case $ac_file in |
2425 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
2936 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
2426 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2937 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2427 | break;; |
2938 | break;; |
2428 | esac |
2939 | esac |
2429 | done |
2940 | done |
2430 | else |
2941 | else |
… | |
… | |
2438 | { (exit 1); exit 1; }; } |
2949 | { (exit 1); exit 1; }; } |
2439 | fi |
2950 | fi |
2440 | |
2951 | |
2441 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2952 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2442 | fi |
2953 | fi |
2443 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2954 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2444 | echo "${ECHO_T}$ac_cv_objext" >&6 |
2955 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
2445 | OBJEXT=$ac_cv_objext |
2956 | OBJEXT=$ac_cv_objext |
2446 | ac_objext=$OBJEXT |
2957 | ac_objext=$OBJEXT |
2447 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2958 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2448 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2959 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
2449 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2960 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2450 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2961 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2451 | else |
2962 | else |
2452 | cat >conftest.$ac_ext <<_ACEOF |
2963 | cat >conftest.$ac_ext <<_ACEOF |
2453 | /* confdefs.h. */ |
2964 | /* confdefs.h. */ |
… | |
… | |
2466 | ; |
2977 | ; |
2467 | return 0; |
2978 | return 0; |
2468 | } |
2979 | } |
2469 | _ACEOF |
2980 | _ACEOF |
2470 | rm -f conftest.$ac_objext |
2981 | rm -f conftest.$ac_objext |
|
|
2982 | if { (ac_try="$ac_compile" |
|
|
2983 | case "(($ac_try" in |
|
|
2984 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2985 | *) ac_try_echo=$ac_try;; |
|
|
2986 | esac |
2471 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2987 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2472 | (eval $ac_compile) 2>conftest.er1 |
2988 | (eval "$ac_compile") 2>conftest.er1 |
2473 | ac_status=$? |
2989 | ac_status=$? |
2474 | grep -v '^ *+' conftest.er1 >conftest.err |
2990 | grep -v '^ *+' conftest.er1 >conftest.err |
2475 | rm -f conftest.er1 |
2991 | rm -f conftest.er1 |
2476 | cat conftest.err >&5 |
2992 | cat conftest.err >&5 |
2477 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2478 | (exit $ac_status); } && |
2994 | (exit $ac_status); } && { |
2479 | { ac_try='test -z "$ac_c_werror_flag" |
2995 | test -z "$ac_c_werror_flag" || |
2480 | || test ! -s conftest.err' |
2996 | test ! -s conftest.err |
2481 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2997 | } && test -s conftest.$ac_objext; then |
2482 | (eval $ac_try) 2>&5 |
|
|
2483 | ac_status=$? |
|
|
2484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2485 | (exit $ac_status); }; } && |
|
|
2486 | { ac_try='test -s conftest.$ac_objext' |
|
|
2487 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2488 | (eval $ac_try) 2>&5 |
|
|
2489 | ac_status=$? |
|
|
2490 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2491 | (exit $ac_status); }; }; then |
|
|
2492 | ac_compiler_gnu=yes |
2998 | ac_compiler_gnu=yes |
2493 | else |
2999 | else |
2494 | echo "$as_me: failed program was:" >&5 |
3000 | echo "$as_me: failed program was:" >&5 |
2495 | sed 's/^/| /' conftest.$ac_ext >&5 |
3001 | sed 's/^/| /' conftest.$ac_ext >&5 |
2496 | |
3002 | |
2497 | ac_compiler_gnu=no |
3003 | ac_compiler_gnu=no |
2498 | fi |
3004 | fi |
|
|
3005 | |
2499 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3006 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2500 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3007 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2501 | |
3008 | |
2502 | fi |
3009 | fi |
2503 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3010 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2504 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
3011 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
2505 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
3012 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
2506 | ac_test_CFLAGS=${CFLAGS+set} |
3013 | ac_test_CFLAGS=${CFLAGS+set} |
2507 | ac_save_CFLAGS=$CFLAGS |
3014 | ac_save_CFLAGS=$CFLAGS |
2508 | CFLAGS="-g" |
|
|
2509 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3015 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2510 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
3016 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
2511 | if test "${ac_cv_prog_cc_g+set}" = set; then |
3017 | if test "${ac_cv_prog_cc_g+set}" = set; then |
2512 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3018 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2513 | else |
3019 | else |
|
|
3020 | ac_save_c_werror_flag=$ac_c_werror_flag |
|
|
3021 | ac_c_werror_flag=yes |
|
|
3022 | ac_cv_prog_cc_g=no |
|
|
3023 | CFLAGS="-g" |
2514 | cat >conftest.$ac_ext <<_ACEOF |
3024 | cat >conftest.$ac_ext <<_ACEOF |
2515 | /* confdefs.h. */ |
3025 | /* confdefs.h. */ |
2516 | _ACEOF |
3026 | _ACEOF |
2517 | cat confdefs.h >>conftest.$ac_ext |
3027 | cat confdefs.h >>conftest.$ac_ext |
2518 | cat >>conftest.$ac_ext <<_ACEOF |
3028 | cat >>conftest.$ac_ext <<_ACEOF |
2519 | /* end confdefs.h. */ |
3029 | /* end confdefs.h. */ |
… | |
… | |
2525 | ; |
3035 | ; |
2526 | return 0; |
3036 | return 0; |
2527 | } |
3037 | } |
2528 | _ACEOF |
3038 | _ACEOF |
2529 | rm -f conftest.$ac_objext |
3039 | rm -f conftest.$ac_objext |
|
|
3040 | if { (ac_try="$ac_compile" |
|
|
3041 | case "(($ac_try" in |
|
|
3042 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3043 | *) ac_try_echo=$ac_try;; |
|
|
3044 | esac |
2530 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3045 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2531 | (eval $ac_compile) 2>conftest.er1 |
3046 | (eval "$ac_compile") 2>conftest.er1 |
2532 | ac_status=$? |
3047 | ac_status=$? |
2533 | grep -v '^ *+' conftest.er1 >conftest.err |
3048 | grep -v '^ *+' conftest.er1 >conftest.err |
2534 | rm -f conftest.er1 |
3049 | rm -f conftest.er1 |
2535 | cat conftest.err >&5 |
3050 | cat conftest.err >&5 |
2536 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2537 | (exit $ac_status); } && |
3052 | (exit $ac_status); } && { |
2538 | { ac_try='test -z "$ac_c_werror_flag" |
3053 | test -z "$ac_c_werror_flag" || |
2539 | || test ! -s conftest.err' |
3054 | test ! -s conftest.err |
2540 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3055 | } && test -s conftest.$ac_objext; then |
2541 | (eval $ac_try) 2>&5 |
|
|
2542 | ac_status=$? |
|
|
2543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2544 | (exit $ac_status); }; } && |
|
|
2545 | { ac_try='test -s conftest.$ac_objext' |
|
|
2546 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2547 | (eval $ac_try) 2>&5 |
|
|
2548 | ac_status=$? |
|
|
2549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2550 | (exit $ac_status); }; }; then |
|
|
2551 | ac_cv_prog_cc_g=yes |
3056 | ac_cv_prog_cc_g=yes |
2552 | else |
3057 | else |
2553 | echo "$as_me: failed program was:" >&5 |
3058 | echo "$as_me: failed program was:" >&5 |
2554 | sed 's/^/| /' conftest.$ac_ext >&5 |
3059 | sed 's/^/| /' conftest.$ac_ext >&5 |
2555 | |
3060 | |
|
|
3061 | CFLAGS="" |
|
|
3062 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3063 | /* confdefs.h. */ |
|
|
3064 | _ACEOF |
|
|
3065 | cat confdefs.h >>conftest.$ac_ext |
|
|
3066 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3067 | /* end confdefs.h. */ |
|
|
3068 | |
|
|
3069 | int |
|
|
3070 | main () |
|
|
3071 | { |
|
|
3072 | |
|
|
3073 | ; |
|
|
3074 | return 0; |
|
|
3075 | } |
|
|
3076 | _ACEOF |
|
|
3077 | rm -f conftest.$ac_objext |
|
|
3078 | if { (ac_try="$ac_compile" |
|
|
3079 | case "(($ac_try" in |
|
|
3080 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3081 | *) ac_try_echo=$ac_try;; |
|
|
3082 | esac |
|
|
3083 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3084 | (eval "$ac_compile") 2>conftest.er1 |
|
|
3085 | ac_status=$? |
|
|
3086 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3087 | rm -f conftest.er1 |
|
|
3088 | cat conftest.err >&5 |
|
|
3089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3090 | (exit $ac_status); } && { |
|
|
3091 | test -z "$ac_c_werror_flag" || |
|
|
3092 | test ! -s conftest.err |
|
|
3093 | } && test -s conftest.$ac_objext; then |
|
|
3094 | : |
|
|
3095 | else |
|
|
3096 | echo "$as_me: failed program was:" >&5 |
|
|
3097 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3098 | |
|
|
3099 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
3100 | CFLAGS="-g" |
|
|
3101 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3102 | /* confdefs.h. */ |
|
|
3103 | _ACEOF |
|
|
3104 | cat confdefs.h >>conftest.$ac_ext |
|
|
3105 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3106 | /* end confdefs.h. */ |
|
|
3107 | |
|
|
3108 | int |
|
|
3109 | main () |
|
|
3110 | { |
|
|
3111 | |
|
|
3112 | ; |
|
|
3113 | return 0; |
|
|
3114 | } |
|
|
3115 | _ACEOF |
|
|
3116 | rm -f conftest.$ac_objext |
|
|
3117 | if { (ac_try="$ac_compile" |
|
|
3118 | case "(($ac_try" in |
|
|
3119 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3120 | *) ac_try_echo=$ac_try;; |
|
|
3121 | esac |
|
|
3122 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3123 | (eval "$ac_compile") 2>conftest.er1 |
|
|
3124 | ac_status=$? |
|
|
3125 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3126 | rm -f conftest.er1 |
|
|
3127 | cat conftest.err >&5 |
|
|
3128 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3129 | (exit $ac_status); } && { |
|
|
3130 | test -z "$ac_c_werror_flag" || |
|
|
3131 | test ! -s conftest.err |
|
|
3132 | } && test -s conftest.$ac_objext; then |
2556 | ac_cv_prog_cc_g=no |
3133 | ac_cv_prog_cc_g=yes |
|
|
3134 | else |
|
|
3135 | echo "$as_me: failed program was:" >&5 |
|
|
3136 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3137 | |
|
|
3138 | |
2557 | fi |
3139 | fi |
|
|
3140 | |
2558 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3141 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2559 | fi |
3142 | fi |
|
|
3143 | |
|
|
3144 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3145 | fi |
|
|
3146 | |
|
|
3147 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3148 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
3149 | fi |
2560 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3150 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2561 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
3151 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
2562 | if test "$ac_test_CFLAGS" = set; then |
3152 | if test "$ac_test_CFLAGS" = set; then |
2563 | CFLAGS=$ac_save_CFLAGS |
3153 | CFLAGS=$ac_save_CFLAGS |
2564 | elif test $ac_cv_prog_cc_g = yes; then |
3154 | elif test $ac_cv_prog_cc_g = yes; then |
2565 | if test "$GCC" = yes; then |
3155 | if test "$GCC" = yes; then |
2566 | CFLAGS="-g -O2" |
3156 | CFLAGS="-g -O2" |
… | |
… | |
2572 | CFLAGS="-O2" |
3162 | CFLAGS="-O2" |
2573 | else |
3163 | else |
2574 | CFLAGS= |
3164 | CFLAGS= |
2575 | fi |
3165 | fi |
2576 | fi |
3166 | fi |
2577 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
3167 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
2578 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
3168 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
2579 | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
3169 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
2580 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3170 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2581 | else |
3171 | else |
2582 | ac_cv_prog_cc_stdc=no |
3172 | ac_cv_prog_cc_c89=no |
2583 | ac_save_CC=$CC |
3173 | ac_save_CC=$CC |
2584 | cat >conftest.$ac_ext <<_ACEOF |
3174 | cat >conftest.$ac_ext <<_ACEOF |
2585 | /* confdefs.h. */ |
3175 | /* confdefs.h. */ |
2586 | _ACEOF |
3176 | _ACEOF |
2587 | cat confdefs.h >>conftest.$ac_ext |
3177 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
2611 | } |
3201 | } |
2612 | |
3202 | |
2613 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
3203 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2614 | function prototypes and stuff, but not '\xHH' hex character constants. |
3204 | function prototypes and stuff, but not '\xHH' hex character constants. |
2615 | These don't provoke an error unfortunately, instead are silently treated |
3205 | These don't provoke an error unfortunately, instead are silently treated |
2616 | as 'x'. The following induces an error, until -std1 is added to get |
3206 | as 'x'. The following induces an error, until -std is added to get |
2617 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
3207 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2618 | array size at least. It's necessary to write '\x00'==0 to get something |
3208 | array size at least. It's necessary to write '\x00'==0 to get something |
2619 | that's true only with -std1. */ |
3209 | that's true only with -std. */ |
2620 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
3210 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
3211 | |
|
|
3212 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
|
3213 | inside strings and character constants. */ |
|
|
3214 | #define FOO(x) 'x' |
|
|
3215 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
2621 | |
3216 | |
2622 | int test (int i, double x); |
3217 | int test (int i, double x); |
2623 | struct s1 {int (*f) (int a);}; |
3218 | struct s1 {int (*f) (int a);}; |
2624 | struct s2 {int (*f) (double a);}; |
3219 | struct s2 {int (*f) (double a);}; |
2625 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
3220 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
… | |
… | |
2631 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
3226 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2632 | ; |
3227 | ; |
2633 | return 0; |
3228 | return 0; |
2634 | } |
3229 | } |
2635 | _ACEOF |
3230 | _ACEOF |
2636 | # Don't try gcc -ansi; that turns off useful extensions and |
3231 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2637 | # breaks some systems' header files. |
3232 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2638 | # AIX -qlanglvl=ansi |
|
|
2639 | # Ultrix and OSF/1 -std1 |
|
|
2640 | # HP-UX 10.20 and later -Ae |
|
|
2641 | # HP-UX older versions -Aa -D_HPUX_SOURCE |
|
|
2642 | # SVR4 -Xc -D__EXTENSIONS__ |
|
|
2643 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
|
2644 | do |
3233 | do |
2645 | CC="$ac_save_CC $ac_arg" |
3234 | CC="$ac_save_CC $ac_arg" |
2646 | rm -f conftest.$ac_objext |
3235 | rm -f conftest.$ac_objext |
|
|
3236 | if { (ac_try="$ac_compile" |
|
|
3237 | case "(($ac_try" in |
|
|
3238 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3239 | *) ac_try_echo=$ac_try;; |
|
|
3240 | esac |
2647 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3241 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2648 | (eval $ac_compile) 2>conftest.er1 |
3242 | (eval "$ac_compile") 2>conftest.er1 |
2649 | ac_status=$? |
3243 | ac_status=$? |
2650 | grep -v '^ *+' conftest.er1 >conftest.err |
3244 | grep -v '^ *+' conftest.er1 >conftest.err |
2651 | rm -f conftest.er1 |
3245 | rm -f conftest.er1 |
2652 | cat conftest.err >&5 |
3246 | cat conftest.err >&5 |
2653 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3247 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2654 | (exit $ac_status); } && |
3248 | (exit $ac_status); } && { |
2655 | { ac_try='test -z "$ac_c_werror_flag" |
3249 | test -z "$ac_c_werror_flag" || |
2656 | || test ! -s conftest.err' |
3250 | test ! -s conftest.err |
2657 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3251 | } && test -s conftest.$ac_objext; then |
2658 | (eval $ac_try) 2>&5 |
|
|
2659 | ac_status=$? |
|
|
2660 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2661 | (exit $ac_status); }; } && |
|
|
2662 | { ac_try='test -s conftest.$ac_objext' |
|
|
2663 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2664 | (eval $ac_try) 2>&5 |
|
|
2665 | ac_status=$? |
|
|
2666 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2667 | (exit $ac_status); }; }; then |
|
|
2668 | ac_cv_prog_cc_stdc=$ac_arg |
3252 | ac_cv_prog_cc_c89=$ac_arg |
2669 | break |
|
|
2670 | else |
3253 | else |
2671 | echo "$as_me: failed program was:" >&5 |
3254 | echo "$as_me: failed program was:" >&5 |
2672 | sed 's/^/| /' conftest.$ac_ext >&5 |
3255 | sed 's/^/| /' conftest.$ac_ext >&5 |
2673 | |
3256 | |
|
|
3257 | |
2674 | fi |
3258 | fi |
|
|
3259 | |
2675 | rm -f conftest.err conftest.$ac_objext |
3260 | rm -f core conftest.err conftest.$ac_objext |
|
|
3261 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
2676 | done |
3262 | done |
2677 | rm -f conftest.$ac_ext conftest.$ac_objext |
3263 | rm -f conftest.$ac_ext |
2678 | CC=$ac_save_CC |
3264 | CC=$ac_save_CC |
2679 | |
3265 | |
2680 | fi |
3266 | fi |
2681 | |
3267 | # AC_CACHE_VAL |
2682 | case "x$ac_cv_prog_cc_stdc" in |
3268 | case "x$ac_cv_prog_cc_c89" in |
2683 | x|xno) |
3269 | x) |
2684 | echo "$as_me:$LINENO: result: none needed" >&5 |
3270 | { echo "$as_me:$LINENO: result: none needed" >&5 |
2685 | echo "${ECHO_T}none needed" >&6 ;; |
3271 | echo "${ECHO_T}none needed" >&6; } ;; |
|
|
3272 | xno) |
|
|
3273 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
|
|
3274 | echo "${ECHO_T}unsupported" >&6; } ;; |
2686 | *) |
3275 | *) |
|
|
3276 | CC="$CC $ac_cv_prog_cc_c89" |
2687 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
3277 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
2688 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
3278 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
2689 | CC="$CC $ac_cv_prog_cc_stdc" ;; |
|
|
2690 | esac |
3279 | esac |
2691 | |
3280 | |
2692 | # Some people use a C++ compiler to compile C. Since we use `exit', |
|
|
2693 | # in C++ we need to declare it. In case someone uses the same compiler |
|
|
2694 | # for both compiling C and C++ we need to have the C++ compiler decide |
|
|
2695 | # the declaration of exit, since it's the most demanding environment. |
|
|
2696 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2697 | #ifndef __cplusplus |
|
|
2698 | choke me |
|
|
2699 | #endif |
|
|
2700 | _ACEOF |
|
|
2701 | rm -f conftest.$ac_objext |
|
|
2702 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2703 | (eval $ac_compile) 2>conftest.er1 |
|
|
2704 | ac_status=$? |
|
|
2705 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2706 | rm -f conftest.er1 |
|
|
2707 | cat conftest.err >&5 |
|
|
2708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2709 | (exit $ac_status); } && |
|
|
2710 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
2711 | || test ! -s conftest.err' |
|
|
2712 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2713 | (eval $ac_try) 2>&5 |
|
|
2714 | ac_status=$? |
|
|
2715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2716 | (exit $ac_status); }; } && |
|
|
2717 | { ac_try='test -s conftest.$ac_objext' |
|
|
2718 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2719 | (eval $ac_try) 2>&5 |
|
|
2720 | ac_status=$? |
|
|
2721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2722 | (exit $ac_status); }; }; then |
|
|
2723 | for ac_declaration in \ |
|
|
2724 | '' \ |
|
|
2725 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
|
|
2726 | 'extern "C" void std::exit (int); using std::exit;' \ |
|
|
2727 | 'extern "C" void exit (int) throw ();' \ |
|
|
2728 | 'extern "C" void exit (int);' \ |
|
|
2729 | 'void exit (int);' |
|
|
2730 | do |
|
|
2731 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2732 | /* confdefs.h. */ |
|
|
2733 | _ACEOF |
|
|
2734 | cat confdefs.h >>conftest.$ac_ext |
|
|
2735 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2736 | /* end confdefs.h. */ |
|
|
2737 | $ac_declaration |
|
|
2738 | #include <stdlib.h> |
|
|
2739 | int |
|
|
2740 | main () |
|
|
2741 | { |
|
|
2742 | exit (42); |
|
|
2743 | ; |
|
|
2744 | return 0; |
|
|
2745 | } |
|
|
2746 | _ACEOF |
|
|
2747 | rm -f conftest.$ac_objext |
|
|
2748 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2749 | (eval $ac_compile) 2>conftest.er1 |
|
|
2750 | ac_status=$? |
|
|
2751 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2752 | rm -f conftest.er1 |
|
|
2753 | cat conftest.err >&5 |
|
|
2754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2755 | (exit $ac_status); } && |
|
|
2756 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
2757 | || test ! -s conftest.err' |
|
|
2758 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2759 | (eval $ac_try) 2>&5 |
|
|
2760 | ac_status=$? |
|
|
2761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2762 | (exit $ac_status); }; } && |
|
|
2763 | { ac_try='test -s conftest.$ac_objext' |
|
|
2764 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2765 | (eval $ac_try) 2>&5 |
|
|
2766 | ac_status=$? |
|
|
2767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2768 | (exit $ac_status); }; }; then |
|
|
2769 | : |
|
|
2770 | else |
|
|
2771 | echo "$as_me: failed program was:" >&5 |
|
|
2772 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2773 | |
3281 | |
2774 | continue |
|
|
2775 | fi |
|
|
2776 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2777 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2778 | /* confdefs.h. */ |
|
|
2779 | _ACEOF |
|
|
2780 | cat confdefs.h >>conftest.$ac_ext |
|
|
2781 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2782 | /* end confdefs.h. */ |
|
|
2783 | $ac_declaration |
|
|
2784 | int |
|
|
2785 | main () |
|
|
2786 | { |
|
|
2787 | exit (42); |
|
|
2788 | ; |
|
|
2789 | return 0; |
|
|
2790 | } |
|
|
2791 | _ACEOF |
|
|
2792 | rm -f conftest.$ac_objext |
|
|
2793 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2794 | (eval $ac_compile) 2>conftest.er1 |
|
|
2795 | ac_status=$? |
|
|
2796 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2797 | rm -f conftest.er1 |
|
|
2798 | cat conftest.err >&5 |
|
|
2799 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2800 | (exit $ac_status); } && |
|
|
2801 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
2802 | || test ! -s conftest.err' |
|
|
2803 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2804 | (eval $ac_try) 2>&5 |
|
|
2805 | ac_status=$? |
|
|
2806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2807 | (exit $ac_status); }; } && |
|
|
2808 | { ac_try='test -s conftest.$ac_objext' |
|
|
2809 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2810 | (eval $ac_try) 2>&5 |
|
|
2811 | ac_status=$? |
|
|
2812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2813 | (exit $ac_status); }; }; then |
|
|
2814 | break |
|
|
2815 | else |
|
|
2816 | echo "$as_me: failed program was:" >&5 |
|
|
2817 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2818 | |
|
|
2819 | fi |
|
|
2820 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2821 | done |
|
|
2822 | rm -f conftest* |
|
|
2823 | if test -n "$ac_declaration"; then |
|
|
2824 | echo '#ifdef __cplusplus' >>confdefs.h |
|
|
2825 | echo $ac_declaration >>confdefs.h |
|
|
2826 | echo '#endif' >>confdefs.h |
|
|
2827 | fi |
|
|
2828 | |
|
|
2829 | else |
|
|
2830 | echo "$as_me: failed program was:" >&5 |
|
|
2831 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2832 | |
|
|
2833 | fi |
|
|
2834 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2835 | ac_ext=c |
3282 | ac_ext=c |
2836 | ac_cpp='$CPP $CPPFLAGS' |
3283 | ac_cpp='$CPP $CPPFLAGS' |
2837 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3284 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2838 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3285 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2839 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3286 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
2846 | DEPDIR=_deps |
3293 | DEPDIR=_deps |
2847 | fi |
3294 | fi |
2848 | rmdir .deps 2>/dev/null |
3295 | rmdir .deps 2>/dev/null |
2849 | |
3296 | |
2850 | |
3297 | |
2851 | ac_config_commands="$ac_config_commands depfiles" |
3298 | ac_config_commands="$ac_config_commands depfiles" |
2852 | |
3299 | |
2853 | |
3300 | |
2854 | am_make=${MAKE-make} |
3301 | am_make=${MAKE-make} |
2855 | cat > confinc << 'END' |
3302 | cat > confinc << 'END' |
2856 | doit: |
3303 | doit: |
2857 | @echo done |
3304 | @echo done |
2858 | END |
3305 | END |
2859 | # If we don't find an include directive, just comment out the code. |
3306 | # If we don't find an include directive, just comment out the code. |
2860 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
3307 | { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
2861 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
3308 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } |
2862 | am__include="#" |
3309 | am__include="#" |
2863 | am__quote= |
3310 | am__quote= |
2864 | _am_result=none |
3311 | _am_result=none |
2865 | # First try GNU make style include. |
3312 | # First try GNU make style include. |
2866 | echo "include confinc" > confmf |
3313 | echo "include confinc" > confmf |
… | |
… | |
2883 | _am_result=BSD |
3330 | _am_result=BSD |
2884 | fi |
3331 | fi |
2885 | fi |
3332 | fi |
2886 | |
3333 | |
2887 | |
3334 | |
2888 | echo "$as_me:$LINENO: result: $_am_result" >&5 |
3335 | { echo "$as_me:$LINENO: result: $_am_result" >&5 |
2889 | echo "${ECHO_T}$_am_result" >&6 |
3336 | echo "${ECHO_T}$_am_result" >&6; } |
2890 | rm -f confinc confmf |
3337 | rm -f confinc confmf |
2891 | |
3338 | |
2892 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
3339 | # Check whether --enable-dependency-tracking was given. |
2893 | if test "${enable_dependency_tracking+set}" = set; then |
3340 | if test "${enable_dependency_tracking+set}" = set; then |
2894 | enableval="$enable_dependency_tracking" |
3341 | enableval=$enable_dependency_tracking; |
2895 | |
|
|
2896 | fi; |
3342 | fi |
|
|
3343 | |
2897 | if test "x$enable_dependency_tracking" != xno; then |
3344 | if test "x$enable_dependency_tracking" != xno; then |
2898 | am_depcomp="$ac_aux_dir/depcomp" |
3345 | am_depcomp="$ac_aux_dir/depcomp" |
2899 | AMDEPBACKSLASH='\' |
3346 | AMDEPBACKSLASH='\' |
2900 | fi |
3347 | fi |
2901 | |
3348 | |
… | |
… | |
2911 | |
3358 | |
2912 | |
3359 | |
2913 | |
3360 | |
2914 | depcc="$CC" am_compiler_list= |
3361 | depcc="$CC" am_compiler_list= |
2915 | |
3362 | |
2916 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
3363 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
2917 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
3364 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
2918 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
3365 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
2919 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3366 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2920 | else |
3367 | else |
2921 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3368 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
2922 | # We make a subdir and do the tests there. Otherwise we can end up |
3369 | # We make a subdir and do the tests there. Otherwise we can end up |
… | |
… | |
2973 | else |
3420 | else |
2974 | am_cv_CC_dependencies_compiler_type=none |
3421 | am_cv_CC_dependencies_compiler_type=none |
2975 | fi |
3422 | fi |
2976 | |
3423 | |
2977 | fi |
3424 | fi |
2978 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3425 | { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
2979 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
3426 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } |
2980 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3427 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
2981 | |
3428 | |
2982 | |
3429 | |
2983 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
3430 | { echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
2984 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
3431 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } |
2985 | LN_S=$as_ln_s |
3432 | LN_S=$as_ln_s |
2986 | if test "$LN_S" = "ln -s"; then |
3433 | if test "$LN_S" = "ln -s"; then |
2987 | echo "$as_me:$LINENO: result: yes" >&5 |
3434 | { echo "$as_me:$LINENO: result: yes" >&5 |
2988 | echo "${ECHO_T}yes" >&6 |
3435 | echo "${ECHO_T}yes" >&6; } |
2989 | else |
3436 | else |
2990 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
3437 | { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
2991 | echo "${ECHO_T}no, using $LN_S" >&6 |
3438 | echo "${ECHO_T}no, using $LN_S" >&6; } |
2992 | fi |
3439 | fi |
2993 | |
3440 | |
2994 | if test -n "$ac_tool_prefix"; then |
3441 | if test -n "$ac_tool_prefix"; then |
2995 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
3442 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
2996 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
3443 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
2997 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3444 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2998 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3445 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2999 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
3446 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
3000 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3447 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3001 | else |
3448 | else |
3002 | if test -n "$RANLIB"; then |
3449 | if test -n "$RANLIB"; then |
3003 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3450 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
… | |
… | |
3006 | for as_dir in $PATH |
3453 | for as_dir in $PATH |
3007 | do |
3454 | do |
3008 | IFS=$as_save_IFS |
3455 | IFS=$as_save_IFS |
3009 | test -z "$as_dir" && as_dir=. |
3456 | test -z "$as_dir" && as_dir=. |
3010 | for ac_exec_ext in '' $ac_executable_extensions; do |
3457 | for ac_exec_ext in '' $ac_executable_extensions; do |
3011 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3458 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3012 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3459 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3013 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3460 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3014 | break 2 |
3461 | break 2 |
3015 | fi |
3462 | fi |
3016 | done |
3463 | done |
3017 | done |
3464 | done |
|
|
3465 | IFS=$as_save_IFS |
3018 | |
3466 | |
3019 | fi |
3467 | fi |
3020 | fi |
3468 | fi |
3021 | RANLIB=$ac_cv_prog_RANLIB |
3469 | RANLIB=$ac_cv_prog_RANLIB |
3022 | if test -n "$RANLIB"; then |
3470 | if test -n "$RANLIB"; then |
3023 | echo "$as_me:$LINENO: result: $RANLIB" >&5 |
3471 | { echo "$as_me:$LINENO: result: $RANLIB" >&5 |
3024 | echo "${ECHO_T}$RANLIB" >&6 |
3472 | echo "${ECHO_T}$RANLIB" >&6; } |
3025 | else |
3473 | else |
3026 | echo "$as_me:$LINENO: result: no" >&5 |
3474 | { echo "$as_me:$LINENO: result: no" >&5 |
3027 | echo "${ECHO_T}no" >&6 |
3475 | echo "${ECHO_T}no" >&6; } |
3028 | fi |
3476 | fi |
|
|
3477 | |
3029 | |
3478 | |
3030 | fi |
3479 | fi |
3031 | if test -z "$ac_cv_prog_RANLIB"; then |
3480 | if test -z "$ac_cv_prog_RANLIB"; then |
3032 | ac_ct_RANLIB=$RANLIB |
3481 | ac_ct_RANLIB=$RANLIB |
3033 | # Extract the first word of "ranlib", so it can be a program name with args. |
3482 | # Extract the first word of "ranlib", so it can be a program name with args. |
3034 | set dummy ranlib; ac_word=$2 |
3483 | set dummy ranlib; ac_word=$2 |
3035 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3484 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3036 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3485 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3037 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
3486 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
3038 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3487 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3039 | else |
3488 | else |
3040 | if test -n "$ac_ct_RANLIB"; then |
3489 | if test -n "$ac_ct_RANLIB"; then |
3041 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
3490 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
… | |
… | |
3044 | for as_dir in $PATH |
3493 | for as_dir in $PATH |
3045 | do |
3494 | do |
3046 | IFS=$as_save_IFS |
3495 | IFS=$as_save_IFS |
3047 | test -z "$as_dir" && as_dir=. |
3496 | test -z "$as_dir" && as_dir=. |
3048 | for ac_exec_ext in '' $ac_executable_extensions; do |
3497 | for ac_exec_ext in '' $ac_executable_extensions; do |
3049 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3498 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3050 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
3499 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
3051 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3500 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3052 | break 2 |
3501 | break 2 |
3053 | fi |
3502 | fi |
3054 | done |
3503 | done |
3055 | done |
3504 | done |
|
|
3505 | IFS=$as_save_IFS |
3056 | |
3506 | |
3057 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
|
|
3058 | fi |
3507 | fi |
3059 | fi |
3508 | fi |
3060 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
3509 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
3061 | if test -n "$ac_ct_RANLIB"; then |
3510 | if test -n "$ac_ct_RANLIB"; then |
3062 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
3511 | { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
3063 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
3512 | echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
3064 | else |
3513 | else |
3065 | echo "$as_me:$LINENO: result: no" >&5 |
3514 | { echo "$as_me:$LINENO: result: no" >&5 |
3066 | echo "${ECHO_T}no" >&6 |
3515 | echo "${ECHO_T}no" >&6; } |
3067 | fi |
3516 | fi |
3068 | |
3517 | |
|
|
3518 | if test "x$ac_ct_RANLIB" = x; then |
|
|
3519 | RANLIB=":" |
|
|
3520 | else |
|
|
3521 | case $cross_compiling:$ac_tool_warned in |
|
|
3522 | yes:) |
|
|
3523 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
3524 | whose name does not start with the host triplet. If you think this |
|
|
3525 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
3526 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
3527 | whose name does not start with the host triplet. If you think this |
|
|
3528 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
3529 | ac_tool_warned=yes ;; |
|
|
3530 | esac |
3069 | RANLIB=$ac_ct_RANLIB |
3531 | RANLIB=$ac_ct_RANLIB |
|
|
3532 | fi |
3070 | else |
3533 | else |
3071 | RANLIB="$ac_cv_prog_RANLIB" |
3534 | RANLIB="$ac_cv_prog_RANLIB" |
3072 | fi |
3535 | fi |
3073 | |
3536 | |
3074 | #AC_ARG_PROGRAM |
3537 | #AC_ARG_PROGRAM |
3075 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3538 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3076 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
3539 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
3077 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
3540 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
3078 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
3541 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
3079 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3542 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3080 | else |
3543 | else |
3081 | cat >conftest.make <<\_ACEOF |
3544 | cat >conftest.make <<\_ACEOF |
|
|
3545 | SHELL = /bin/sh |
3082 | all: |
3546 | all: |
3083 | @echo 'ac_maketemp="$(MAKE)"' |
3547 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
3084 | _ACEOF |
3548 | _ACEOF |
3085 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
3549 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
3086 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
3550 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
3087 | if test -n "$ac_maketemp"; then |
3551 | *@@@%%%=?*=@@@%%%*) |
3088 | eval ac_cv_prog_make_${ac_make}_set=yes |
3552 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
3089 | else |
3553 | *) |
3090 | eval ac_cv_prog_make_${ac_make}_set=no |
3554 | eval ac_cv_prog_make_${ac_make}_set=no;; |
3091 | fi |
3555 | esac |
3092 | rm -f conftest.make |
3556 | rm -f conftest.make |
3093 | fi |
3557 | fi |
3094 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
3558 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
3095 | echo "$as_me:$LINENO: result: yes" >&5 |
3559 | { echo "$as_me:$LINENO: result: yes" >&5 |
3096 | echo "${ECHO_T}yes" >&6 |
3560 | echo "${ECHO_T}yes" >&6; } |
3097 | SET_MAKE= |
3561 | SET_MAKE= |
3098 | else |
3562 | else |
3099 | echo "$as_me:$LINENO: result: no" >&5 |
3563 | { echo "$as_me:$LINENO: result: no" >&5 |
3100 | echo "${ECHO_T}no" >&6 |
3564 | echo "${ECHO_T}no" >&6; } |
3101 | SET_MAKE="MAKE=${MAKE-make}" |
3565 | SET_MAKE="MAKE=${MAKE-make}" |
3102 | fi |
3566 | fi |
3103 | |
3567 | |
3104 | ac_ext=c |
3568 | ac_ext=c |
3105 | ac_cpp='$CPP $CPPFLAGS' |
3569 | ac_cpp='$CPP $CPPFLAGS' |
3106 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3570 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3107 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3571 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3108 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3572 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3109 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3573 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3110 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
3574 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
3111 | # On Suns, sometimes $CPP names a directory. |
3575 | # On Suns, sometimes $CPP names a directory. |
3112 | if test -n "$CPP" && test -d "$CPP"; then |
3576 | if test -n "$CPP" && test -d "$CPP"; then |
3113 | CPP= |
3577 | CPP= |
3114 | fi |
3578 | fi |
3115 | if test -z "$CPP"; then |
3579 | if test -z "$CPP"; then |
… | |
… | |
3139 | #else |
3603 | #else |
3140 | # include <assert.h> |
3604 | # include <assert.h> |
3141 | #endif |
3605 | #endif |
3142 | Syntax error |
3606 | Syntax error |
3143 | _ACEOF |
3607 | _ACEOF |
3144 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3608 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
3609 | case "(($ac_try" in |
|
|
3610 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3611 | *) ac_try_echo=$ac_try;; |
|
|
3612 | esac |
|
|
3613 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3145 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3614 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3146 | ac_status=$? |
3615 | ac_status=$? |
3147 | grep -v '^ *+' conftest.er1 >conftest.err |
3616 | grep -v '^ *+' conftest.er1 >conftest.err |
3148 | rm -f conftest.er1 |
3617 | rm -f conftest.er1 |
3149 | cat conftest.err >&5 |
3618 | cat conftest.err >&5 |
3150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3151 | (exit $ac_status); } >/dev/null; then |
3620 | (exit $ac_status); } >/dev/null && { |
|
|
3621 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3152 | if test -s conftest.err; then |
3622 | test ! -s conftest.err |
3153 | ac_cpp_err=$ac_c_preproc_warn_flag |
3623 | }; then |
3154 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
3155 | else |
|
|
3156 | ac_cpp_err= |
|
|
3157 | fi |
|
|
3158 | else |
|
|
3159 | ac_cpp_err=yes |
|
|
3160 | fi |
|
|
3161 | if test -z "$ac_cpp_err"; then |
|
|
3162 | : |
3624 | : |
3163 | else |
3625 | else |
3164 | echo "$as_me: failed program was:" >&5 |
3626 | echo "$as_me: failed program was:" >&5 |
3165 | sed 's/^/| /' conftest.$ac_ext >&5 |
3627 | sed 's/^/| /' conftest.$ac_ext >&5 |
3166 | |
3628 | |
3167 | # Broken: fails on valid input. |
3629 | # Broken: fails on valid input. |
3168 | continue |
3630 | continue |
3169 | fi |
3631 | fi |
|
|
3632 | |
3170 | rm -f conftest.err conftest.$ac_ext |
3633 | rm -f conftest.err conftest.$ac_ext |
3171 | |
3634 | |
3172 | # OK, works on sane cases. Now check whether non-existent headers |
3635 | # OK, works on sane cases. Now check whether nonexistent headers |
3173 | # can be detected and how. |
3636 | # can be detected and how. |
3174 | cat >conftest.$ac_ext <<_ACEOF |
3637 | cat >conftest.$ac_ext <<_ACEOF |
3175 | /* confdefs.h. */ |
3638 | /* confdefs.h. */ |
3176 | _ACEOF |
3639 | _ACEOF |
3177 | cat confdefs.h >>conftest.$ac_ext |
3640 | cat confdefs.h >>conftest.$ac_ext |
3178 | cat >>conftest.$ac_ext <<_ACEOF |
3641 | cat >>conftest.$ac_ext <<_ACEOF |
3179 | /* end confdefs.h. */ |
3642 | /* end confdefs.h. */ |
3180 | #include <ac_nonexistent.h> |
3643 | #include <ac_nonexistent.h> |
3181 | _ACEOF |
3644 | _ACEOF |
3182 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3645 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
3646 | case "(($ac_try" in |
|
|
3647 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3648 | *) ac_try_echo=$ac_try;; |
|
|
3649 | esac |
|
|
3650 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3183 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3651 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3184 | ac_status=$? |
3652 | ac_status=$? |
3185 | grep -v '^ *+' conftest.er1 >conftest.err |
3653 | grep -v '^ *+' conftest.er1 >conftest.err |
3186 | rm -f conftest.er1 |
3654 | rm -f conftest.er1 |
3187 | cat conftest.err >&5 |
3655 | cat conftest.err >&5 |
3188 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3189 | (exit $ac_status); } >/dev/null; then |
3657 | (exit $ac_status); } >/dev/null && { |
|
|
3658 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3190 | if test -s conftest.err; then |
3659 | test ! -s conftest.err |
3191 | ac_cpp_err=$ac_c_preproc_warn_flag |
3660 | }; then |
3192 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
3193 | else |
|
|
3194 | ac_cpp_err= |
|
|
3195 | fi |
|
|
3196 | else |
|
|
3197 | ac_cpp_err=yes |
|
|
3198 | fi |
|
|
3199 | if test -z "$ac_cpp_err"; then |
|
|
3200 | # Broken: success on invalid input. |
3661 | # Broken: success on invalid input. |
3201 | continue |
3662 | continue |
3202 | else |
3663 | else |
3203 | echo "$as_me: failed program was:" >&5 |
3664 | echo "$as_me: failed program was:" >&5 |
3204 | sed 's/^/| /' conftest.$ac_ext >&5 |
3665 | sed 's/^/| /' conftest.$ac_ext >&5 |
3205 | |
3666 | |
3206 | # Passes both tests. |
3667 | # Passes both tests. |
3207 | ac_preproc_ok=: |
3668 | ac_preproc_ok=: |
3208 | break |
3669 | break |
3209 | fi |
3670 | fi |
|
|
3671 | |
3210 | rm -f conftest.err conftest.$ac_ext |
3672 | rm -f conftest.err conftest.$ac_ext |
3211 | |
3673 | |
3212 | done |
3674 | done |
3213 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3675 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3214 | rm -f conftest.err conftest.$ac_ext |
3676 | rm -f conftest.err conftest.$ac_ext |
… | |
… | |
3222 | fi |
3684 | fi |
3223 | CPP=$ac_cv_prog_CPP |
3685 | CPP=$ac_cv_prog_CPP |
3224 | else |
3686 | else |
3225 | ac_cv_prog_CPP=$CPP |
3687 | ac_cv_prog_CPP=$CPP |
3226 | fi |
3688 | fi |
3227 | echo "$as_me:$LINENO: result: $CPP" >&5 |
3689 | { echo "$as_me:$LINENO: result: $CPP" >&5 |
3228 | echo "${ECHO_T}$CPP" >&6 |
3690 | echo "${ECHO_T}$CPP" >&6; } |
3229 | ac_preproc_ok=false |
3691 | ac_preproc_ok=false |
3230 | for ac_c_preproc_warn_flag in '' yes |
3692 | for ac_c_preproc_warn_flag in '' yes |
3231 | do |
3693 | do |
3232 | # Use a header file that comes with gcc, so configuring glibc |
3694 | # Use a header file that comes with gcc, so configuring glibc |
3233 | # with a fresh cross-compiler works. |
3695 | # with a fresh cross-compiler works. |
… | |
… | |
3246 | #else |
3708 | #else |
3247 | # include <assert.h> |
3709 | # include <assert.h> |
3248 | #endif |
3710 | #endif |
3249 | Syntax error |
3711 | Syntax error |
3250 | _ACEOF |
3712 | _ACEOF |
3251 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3713 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
3714 | case "(($ac_try" in |
|
|
3715 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3716 | *) ac_try_echo=$ac_try;; |
|
|
3717 | esac |
|
|
3718 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3252 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3719 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3253 | ac_status=$? |
3720 | ac_status=$? |
3254 | grep -v '^ *+' conftest.er1 >conftest.err |
3721 | grep -v '^ *+' conftest.er1 >conftest.err |
3255 | rm -f conftest.er1 |
3722 | rm -f conftest.er1 |
3256 | cat conftest.err >&5 |
3723 | cat conftest.err >&5 |
3257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3724 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3258 | (exit $ac_status); } >/dev/null; then |
3725 | (exit $ac_status); } >/dev/null && { |
|
|
3726 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3259 | if test -s conftest.err; then |
3727 | test ! -s conftest.err |
3260 | ac_cpp_err=$ac_c_preproc_warn_flag |
3728 | }; then |
3261 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
3262 | else |
|
|
3263 | ac_cpp_err= |
|
|
3264 | fi |
|
|
3265 | else |
|
|
3266 | ac_cpp_err=yes |
|
|
3267 | fi |
|
|
3268 | if test -z "$ac_cpp_err"; then |
|
|
3269 | : |
3729 | : |
3270 | else |
3730 | else |
3271 | echo "$as_me: failed program was:" >&5 |
3731 | echo "$as_me: failed program was:" >&5 |
3272 | sed 's/^/| /' conftest.$ac_ext >&5 |
3732 | sed 's/^/| /' conftest.$ac_ext >&5 |
3273 | |
3733 | |
3274 | # Broken: fails on valid input. |
3734 | # Broken: fails on valid input. |
3275 | continue |
3735 | continue |
3276 | fi |
3736 | fi |
|
|
3737 | |
3277 | rm -f conftest.err conftest.$ac_ext |
3738 | rm -f conftest.err conftest.$ac_ext |
3278 | |
3739 | |
3279 | # OK, works on sane cases. Now check whether non-existent headers |
3740 | # OK, works on sane cases. Now check whether nonexistent headers |
3280 | # can be detected and how. |
3741 | # can be detected and how. |
3281 | cat >conftest.$ac_ext <<_ACEOF |
3742 | cat >conftest.$ac_ext <<_ACEOF |
3282 | /* confdefs.h. */ |
3743 | /* confdefs.h. */ |
3283 | _ACEOF |
3744 | _ACEOF |
3284 | cat confdefs.h >>conftest.$ac_ext |
3745 | cat confdefs.h >>conftest.$ac_ext |
3285 | cat >>conftest.$ac_ext <<_ACEOF |
3746 | cat >>conftest.$ac_ext <<_ACEOF |
3286 | /* end confdefs.h. */ |
3747 | /* end confdefs.h. */ |
3287 | #include <ac_nonexistent.h> |
3748 | #include <ac_nonexistent.h> |
3288 | _ACEOF |
3749 | _ACEOF |
3289 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3750 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
3751 | case "(($ac_try" in |
|
|
3752 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3753 | *) ac_try_echo=$ac_try;; |
|
|
3754 | esac |
|
|
3755 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3290 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3756 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3291 | ac_status=$? |
3757 | ac_status=$? |
3292 | grep -v '^ *+' conftest.er1 >conftest.err |
3758 | grep -v '^ *+' conftest.er1 >conftest.err |
3293 | rm -f conftest.er1 |
3759 | rm -f conftest.er1 |
3294 | cat conftest.err >&5 |
3760 | cat conftest.err >&5 |
3295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3296 | (exit $ac_status); } >/dev/null; then |
3762 | (exit $ac_status); } >/dev/null && { |
|
|
3763 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3297 | if test -s conftest.err; then |
3764 | test ! -s conftest.err |
3298 | ac_cpp_err=$ac_c_preproc_warn_flag |
3765 | }; then |
3299 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
3300 | else |
|
|
3301 | ac_cpp_err= |
|
|
3302 | fi |
|
|
3303 | else |
|
|
3304 | ac_cpp_err=yes |
|
|
3305 | fi |
|
|
3306 | if test -z "$ac_cpp_err"; then |
|
|
3307 | # Broken: success on invalid input. |
3766 | # Broken: success on invalid input. |
3308 | continue |
3767 | continue |
3309 | else |
3768 | else |
3310 | echo "$as_me: failed program was:" >&5 |
3769 | echo "$as_me: failed program was:" >&5 |
3311 | sed 's/^/| /' conftest.$ac_ext >&5 |
3770 | sed 's/^/| /' conftest.$ac_ext >&5 |
3312 | |
3771 | |
3313 | # Passes both tests. |
3772 | # Passes both tests. |
3314 | ac_preproc_ok=: |
3773 | ac_preproc_ok=: |
3315 | break |
3774 | break |
3316 | fi |
3775 | fi |
|
|
3776 | |
3317 | rm -f conftest.err conftest.$ac_ext |
3777 | rm -f conftest.err conftest.$ac_ext |
3318 | |
3778 | |
3319 | done |
3779 | done |
3320 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3780 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3321 | rm -f conftest.err conftest.$ac_ext |
3781 | rm -f conftest.err conftest.$ac_ext |
… | |
… | |
3346 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3806 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3347 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3807 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3348 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3808 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3349 | # OS/2's system install, which has a completely different semantic |
3809 | # OS/2's system install, which has a completely different semantic |
3350 | # ./install, which can be erroneously created by make from ./install.sh. |
3810 | # ./install, which can be erroneously created by make from ./install.sh. |
3351 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
3811 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
3352 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
3812 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
3353 | if test -z "$INSTALL"; then |
3813 | if test -z "$INSTALL"; then |
3354 | if test "${ac_cv_path_install+set}" = set; then |
3814 | if test "${ac_cv_path_install+set}" = set; then |
3355 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3815 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3356 | else |
3816 | else |
3357 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3817 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
… | |
… | |
3369 | # OSF1 and SCO ODT 3.0 have their own names for install. |
3829 | # OSF1 and SCO ODT 3.0 have their own names for install. |
3370 | # Don't use installbsd from OSF since it installs stuff as root |
3830 | # Don't use installbsd from OSF since it installs stuff as root |
3371 | # by default. |
3831 | # by default. |
3372 | for ac_prog in ginstall scoinst install; do |
3832 | for ac_prog in ginstall scoinst install; do |
3373 | for ac_exec_ext in '' $ac_executable_extensions; do |
3833 | for ac_exec_ext in '' $ac_executable_extensions; do |
3374 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
3834 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
3375 | if test $ac_prog = install && |
3835 | if test $ac_prog = install && |
3376 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3836 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3377 | # AIX install. It has an incompatible calling convention. |
3837 | # AIX install. It has an incompatible calling convention. |
3378 | : |
3838 | : |
3379 | elif test $ac_prog = install && |
3839 | elif test $ac_prog = install && |
… | |
… | |
3388 | done |
3848 | done |
3389 | done |
3849 | done |
3390 | ;; |
3850 | ;; |
3391 | esac |
3851 | esac |
3392 | done |
3852 | done |
|
|
3853 | IFS=$as_save_IFS |
3393 | |
3854 | |
3394 | |
3855 | |
3395 | fi |
3856 | fi |
3396 | if test "${ac_cv_path_install+set}" = set; then |
3857 | if test "${ac_cv_path_install+set}" = set; then |
3397 | INSTALL=$ac_cv_path_install |
3858 | INSTALL=$ac_cv_path_install |
3398 | else |
3859 | else |
3399 | # As a last resort, use the slow shell script. We don't cache a |
3860 | # As a last resort, use the slow shell script. Don't cache a |
3400 | # path for INSTALL within a source directory, because that will |
3861 | # value for INSTALL within a source directory, because that will |
3401 | # break other packages using the cache if that directory is |
3862 | # break other packages using the cache if that directory is |
3402 | # removed, or if the path is relative. |
3863 | # removed, or if the value is a relative name. |
3403 | INSTALL=$ac_install_sh |
3864 | INSTALL=$ac_install_sh |
3404 | fi |
3865 | fi |
3405 | fi |
3866 | fi |
3406 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3867 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3407 | echo "${ECHO_T}$INSTALL" >&6 |
3868 | echo "${ECHO_T}$INSTALL" >&6; } |
3408 | |
3869 | |
3409 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3870 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3410 | # It thinks the first close brace ends the variable substitution. |
3871 | # It thinks the first close brace ends the variable substitution. |
3411 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3872 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3412 | |
3873 | |
… | |
… | |
3431 | |
3892 | |
3432 | #------------------------------------------------------------------------------- |
3893 | #------------------------------------------------------------------------------- |
3433 | # LIBTOOL |
3894 | # LIBTOOL |
3434 | #------------------------------------------------------------------------------- |
3895 | #------------------------------------------------------------------------------- |
3435 | |
3896 | |
3436 | # Check whether --enable-shared or --disable-shared was given. |
3897 | # Check whether --enable-shared was given. |
3437 | if test "${enable_shared+set}" = set; then |
3898 | if test "${enable_shared+set}" = set; then |
3438 | enableval="$enable_shared" |
3899 | enableval=$enable_shared; p=${PACKAGE-default} |
3439 | p=${PACKAGE-default} |
|
|
3440 | case $enableval in |
3900 | case $enableval in |
3441 | yes) enable_shared=yes ;; |
3901 | yes) enable_shared=yes ;; |
3442 | no) enable_shared=no ;; |
3902 | no) enable_shared=no ;; |
3443 | *) |
3903 | *) |
3444 | enable_shared=no |
3904 | enable_shared=no |
… | |
… | |
3453 | IFS="$lt_save_ifs" |
3913 | IFS="$lt_save_ifs" |
3454 | ;; |
3914 | ;; |
3455 | esac |
3915 | esac |
3456 | else |
3916 | else |
3457 | enable_shared=yes |
3917 | enable_shared=yes |
3458 | fi; |
3918 | fi |
3459 | |
3919 | |
|
|
3920 | |
3460 | # Check whether --enable-static or --disable-static was given. |
3921 | # Check whether --enable-static was given. |
3461 | if test "${enable_static+set}" = set; then |
3922 | if test "${enable_static+set}" = set; then |
3462 | enableval="$enable_static" |
3923 | enableval=$enable_static; p=${PACKAGE-default} |
3463 | p=${PACKAGE-default} |
|
|
3464 | case $enableval in |
3924 | case $enableval in |
3465 | yes) enable_static=yes ;; |
3925 | yes) enable_static=yes ;; |
3466 | no) enable_static=no ;; |
3926 | no) enable_static=no ;; |
3467 | *) |
3927 | *) |
3468 | enable_static=no |
3928 | enable_static=no |
… | |
… | |
3477 | IFS="$lt_save_ifs" |
3937 | IFS="$lt_save_ifs" |
3478 | ;; |
3938 | ;; |
3479 | esac |
3939 | esac |
3480 | else |
3940 | else |
3481 | enable_static=yes |
3941 | enable_static=yes |
3482 | fi; |
3942 | fi |
3483 | |
3943 | |
|
|
3944 | |
3484 | # Check whether --enable-fast-install or --disable-fast-install was given. |
3945 | # Check whether --enable-fast-install was given. |
3485 | if test "${enable_fast_install+set}" = set; then |
3946 | if test "${enable_fast_install+set}" = set; then |
3486 | enableval="$enable_fast_install" |
3947 | enableval=$enable_fast_install; p=${PACKAGE-default} |
3487 | p=${PACKAGE-default} |
|
|
3488 | case $enableval in |
3948 | case $enableval in |
3489 | yes) enable_fast_install=yes ;; |
3949 | yes) enable_fast_install=yes ;; |
3490 | no) enable_fast_install=no ;; |
3950 | no) enable_fast_install=no ;; |
3491 | *) |
3951 | *) |
3492 | enable_fast_install=no |
3952 | enable_fast_install=no |
… | |
… | |
3501 | IFS="$lt_save_ifs" |
3961 | IFS="$lt_save_ifs" |
3502 | ;; |
3962 | ;; |
3503 | esac |
3963 | esac |
3504 | else |
3964 | else |
3505 | enable_fast_install=yes |
3965 | enable_fast_install=yes |
3506 | fi; |
3966 | fi |
|
|
3967 | |
3507 | |
3968 | |
3508 | # Make sure we can run config.sub. |
3969 | # Make sure we can run config.sub. |
3509 | $ac_config_sub sun4 >/dev/null 2>&1 || |
3970 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3510 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
3971 | { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
3511 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
3972 | echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
3512 | { (exit 1); exit 1; }; } |
3973 | { (exit 1); exit 1; }; } |
3513 | |
3974 | |
3514 | echo "$as_me:$LINENO: checking build system type" >&5 |
3975 | { echo "$as_me:$LINENO: checking build system type" >&5 |
3515 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
3976 | echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
3516 | if test "${ac_cv_build+set}" = set; then |
3977 | if test "${ac_cv_build+set}" = set; then |
3517 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3978 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3518 | else |
3979 | else |
3519 | ac_cv_build_alias=$build_alias |
3980 | ac_build_alias=$build_alias |
3520 | test -z "$ac_cv_build_alias" && |
3981 | test "x$ac_build_alias" = x && |
3521 | ac_cv_build_alias=`$ac_config_guess` |
3982 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3522 | test -z "$ac_cv_build_alias" && |
3983 | test "x$ac_build_alias" = x && |
3523 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
3984 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
3524 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
3985 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
3525 | { (exit 1); exit 1; }; } |
3986 | { (exit 1); exit 1; }; } |
3526 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
3987 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3527 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
3988 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
3528 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
3989 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
3529 | { (exit 1); exit 1; }; } |
3990 | { (exit 1); exit 1; }; } |
3530 | |
3991 | |
3531 | fi |
3992 | fi |
3532 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
3993 | { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
3533 | echo "${ECHO_T}$ac_cv_build" >&6 |
3994 | echo "${ECHO_T}$ac_cv_build" >&6; } |
|
|
3995 | case $ac_cv_build in |
|
|
3996 | *-*-*) ;; |
|
|
3997 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
|
|
3998 | echo "$as_me: error: invalid value of canonical build" >&2;} |
|
|
3999 | { (exit 1); exit 1; }; };; |
|
|
4000 | esac |
3534 | build=$ac_cv_build |
4001 | build=$ac_cv_build |
3535 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
4002 | ac_save_IFS=$IFS; IFS='-' |
3536 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
4003 | set x $ac_cv_build |
3537 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
4004 | shift |
|
|
4005 | build_cpu=$1 |
|
|
4006 | build_vendor=$2 |
|
|
4007 | shift; shift |
|
|
4008 | # Remember, the first character of IFS is used to create $*, |
|
|
4009 | # except with old shells: |
|
|
4010 | build_os=$* |
|
|
4011 | IFS=$ac_save_IFS |
|
|
4012 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
3538 | |
4013 | |
3539 | |
4014 | |
3540 | echo "$as_me:$LINENO: checking host system type" >&5 |
4015 | { echo "$as_me:$LINENO: checking host system type" >&5 |
3541 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
4016 | echo $ECHO_N "checking host system type... $ECHO_C" >&6; } |
3542 | if test "${ac_cv_host+set}" = set; then |
4017 | if test "${ac_cv_host+set}" = set; then |
3543 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4018 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3544 | else |
4019 | else |
3545 | ac_cv_host_alias=$host_alias |
4020 | if test "x$host_alias" = x; then |
3546 | test -z "$ac_cv_host_alias" && |
|
|
3547 | ac_cv_host_alias=$ac_cv_build_alias |
4021 | ac_cv_host=$ac_cv_build |
|
|
4022 | else |
3548 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
4023 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3549 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
4024 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
3550 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
4025 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
3551 | { (exit 1); exit 1; }; } |
4026 | { (exit 1); exit 1; }; } |
3552 | |
|
|
3553 | fi |
4027 | fi |
|
|
4028 | |
|
|
4029 | fi |
3554 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
4030 | { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
3555 | echo "${ECHO_T}$ac_cv_host" >&6 |
4031 | echo "${ECHO_T}$ac_cv_host" >&6; } |
|
|
4032 | case $ac_cv_host in |
|
|
4033 | *-*-*) ;; |
|
|
4034 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
|
|
4035 | echo "$as_me: error: invalid value of canonical host" >&2;} |
|
|
4036 | { (exit 1); exit 1; }; };; |
|
|
4037 | esac |
3556 | host=$ac_cv_host |
4038 | host=$ac_cv_host |
3557 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
4039 | ac_save_IFS=$IFS; IFS='-' |
3558 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
4040 | set x $ac_cv_host |
3559 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
4041 | shift |
|
|
4042 | host_cpu=$1 |
|
|
4043 | host_vendor=$2 |
|
|
4044 | shift; shift |
|
|
4045 | # Remember, the first character of IFS is used to create $*, |
|
|
4046 | # except with old shells: |
|
|
4047 | host_os=$* |
|
|
4048 | IFS=$ac_save_IFS |
|
|
4049 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
3560 | |
4050 | |
3561 | |
4051 | |
3562 | echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
4052 | { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
3563 | echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 |
4053 | echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } |
3564 | if test "${lt_cv_path_SED+set}" = set; then |
4054 | if test "${lt_cv_path_SED+set}" = set; then |
3565 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4055 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3566 | else |
4056 | else |
3567 | # Loop through the user's path and test for sed and gsed. |
4057 | # Loop through the user's path and test for sed and gsed. |
3568 | # Then use that list of sed's as ones to test for truncation. |
4058 | # Then use that list of sed's as ones to test for truncation. |
… | |
… | |
3582 | lt_ac_max=0 |
4072 | lt_ac_max=0 |
3583 | lt_ac_count=0 |
4073 | lt_ac_count=0 |
3584 | # Add /usr/xpg4/bin/sed as it is typically found on Solaris |
4074 | # Add /usr/xpg4/bin/sed as it is typically found on Solaris |
3585 | # along with /bin/sed that truncates output. |
4075 | # along with /bin/sed that truncates output. |
3586 | for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
4076 | for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
3587 | test ! -f $lt_ac_sed && break |
4077 | test ! -f $lt_ac_sed && continue |
3588 | cat /dev/null > conftest.in |
4078 | cat /dev/null > conftest.in |
3589 | lt_ac_count=0 |
4079 | lt_ac_count=0 |
3590 | echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
4080 | echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
3591 | # Check for GNU sed and select it if it is found. |
4081 | # Check for GNU sed and select it if it is found. |
3592 | if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then |
4082 | if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then |
… | |
… | |
3607 | lt_ac_max=$lt_ac_count |
4097 | lt_ac_max=$lt_ac_count |
3608 | lt_cv_path_SED=$lt_ac_sed |
4098 | lt_cv_path_SED=$lt_ac_sed |
3609 | fi |
4099 | fi |
3610 | done |
4100 | done |
3611 | done |
4101 | done |
|
|
4102 | |
|
|
4103 | fi |
|
|
4104 | |
3612 | SED=$lt_cv_path_SED |
4105 | SED=$lt_cv_path_SED |
3613 | |
|
|
3614 | fi |
|
|
3615 | |
|
|
3616 | echo "$as_me:$LINENO: result: $SED" >&5 |
4106 | { echo "$as_me:$LINENO: result: $SED" >&5 |
3617 | echo "${ECHO_T}$SED" >&6 |
4107 | echo "${ECHO_T}$SED" >&6; } |
3618 | |
4108 | |
3619 | echo "$as_me:$LINENO: checking for egrep" >&5 |
4109 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
3620 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
4110 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
3621 | if test "${ac_cv_prog_egrep+set}" = set; then |
4111 | if test "${ac_cv_path_GREP+set}" = set; then |
3622 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4112 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3623 | else |
4113 | else |
3624 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
4114 | # Extract the first word of "grep ggrep" to use in msg output |
3625 | then ac_cv_prog_egrep='grep -E' |
4115 | if test -z "$GREP"; then |
3626 | else ac_cv_prog_egrep='egrep' |
4116 | set dummy grep ggrep; ac_prog_name=$2 |
|
|
4117 | if test "${ac_cv_path_GREP+set}" = set; then |
|
|
4118 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4119 | else |
|
|
4120 | ac_path_GREP_found=false |
|
|
4121 | # Loop through the user's path and test for each of PROGNAME-LIST |
|
|
4122 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4123 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
|
4124 | do |
|
|
4125 | IFS=$as_save_IFS |
|
|
4126 | test -z "$as_dir" && as_dir=. |
|
|
4127 | for ac_prog in grep ggrep; do |
|
|
4128 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4129 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
|
4130 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
|
4131 | # Check for GNU ac_path_GREP and select it if it is found. |
|
|
4132 | # Check for GNU $ac_path_GREP |
|
|
4133 | case `"$ac_path_GREP" --version 2>&1` in |
|
|
4134 | *GNU*) |
|
|
4135 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
|
4136 | *) |
|
|
4137 | ac_count=0 |
|
|
4138 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
|
|
4139 | while : |
|
|
4140 | do |
|
|
4141 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
|
4142 | mv "conftest.tmp" "conftest.in" |
|
|
4143 | cp "conftest.in" "conftest.nl" |
|
|
4144 | echo 'GREP' >> "conftest.nl" |
|
|
4145 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
|
4146 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
|
4147 | ac_count=`expr $ac_count + 1` |
|
|
4148 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
|
4149 | # Best one so far, save it but keep looking for a better one |
|
|
4150 | ac_cv_path_GREP="$ac_path_GREP" |
|
|
4151 | ac_path_GREP_max=$ac_count |
3627 | fi |
4152 | fi |
|
|
4153 | # 10*(2^10) chars as input seems more than enough |
|
|
4154 | test $ac_count -gt 10 && break |
|
|
4155 | done |
|
|
4156 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
|
4157 | esac |
|
|
4158 | |
|
|
4159 | |
|
|
4160 | $ac_path_GREP_found && break 3 |
|
|
4161 | done |
|
|
4162 | done |
|
|
4163 | |
|
|
4164 | done |
|
|
4165 | IFS=$as_save_IFS |
|
|
4166 | |
|
|
4167 | |
3628 | fi |
4168 | fi |
|
|
4169 | |
|
|
4170 | GREP="$ac_cv_path_GREP" |
|
|
4171 | if test -z "$GREP"; then |
|
|
4172 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
|
4173 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
|
4174 | { (exit 1); exit 1; }; } |
|
|
4175 | fi |
|
|
4176 | |
|
|
4177 | else |
|
|
4178 | ac_cv_path_GREP=$GREP |
|
|
4179 | fi |
|
|
4180 | |
|
|
4181 | |
|
|
4182 | fi |
3629 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
4183 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
3630 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
4184 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
3631 | EGREP=$ac_cv_prog_egrep |
4185 | GREP="$ac_cv_path_GREP" |
3632 | |
4186 | |
3633 | |
4187 | |
|
|
4188 | { echo "$as_me:$LINENO: checking for egrep" >&5 |
|
|
4189 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
|
|
4190 | if test "${ac_cv_path_EGREP+set}" = set; then |
|
|
4191 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4192 | else |
|
|
4193 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
|
4194 | then ac_cv_path_EGREP="$GREP -E" |
|
|
4195 | else |
|
|
4196 | # Extract the first word of "egrep" to use in msg output |
|
|
4197 | if test -z "$EGREP"; then |
|
|
4198 | set dummy egrep; ac_prog_name=$2 |
|
|
4199 | if test "${ac_cv_path_EGREP+set}" = set; then |
|
|
4200 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4201 | else |
|
|
4202 | ac_path_EGREP_found=false |
|
|
4203 | # Loop through the user's path and test for each of PROGNAME-LIST |
|
|
4204 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4205 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
|
4206 | do |
|
|
4207 | IFS=$as_save_IFS |
|
|
4208 | test -z "$as_dir" && as_dir=. |
|
|
4209 | for ac_prog in egrep; do |
|
|
4210 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4211 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
|
4212 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
|
4213 | # Check for GNU ac_path_EGREP and select it if it is found. |
|
|
4214 | # Check for GNU $ac_path_EGREP |
|
|
4215 | case `"$ac_path_EGREP" --version 2>&1` in |
|
|
4216 | *GNU*) |
|
|
4217 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
|
4218 | *) |
|
|
4219 | ac_count=0 |
|
|
4220 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
|
|
4221 | while : |
|
|
4222 | do |
|
|
4223 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
|
4224 | mv "conftest.tmp" "conftest.in" |
|
|
4225 | cp "conftest.in" "conftest.nl" |
|
|
4226 | echo 'EGREP' >> "conftest.nl" |
|
|
4227 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
|
4228 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
|
4229 | ac_count=`expr $ac_count + 1` |
|
|
4230 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
|
4231 | # Best one so far, save it but keep looking for a better one |
|
|
4232 | ac_cv_path_EGREP="$ac_path_EGREP" |
|
|
4233 | ac_path_EGREP_max=$ac_count |
|
|
4234 | fi |
|
|
4235 | # 10*(2^10) chars as input seems more than enough |
|
|
4236 | test $ac_count -gt 10 && break |
|
|
4237 | done |
|
|
4238 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
|
4239 | esac |
3634 | |
4240 | |
|
|
4241 | |
|
|
4242 | $ac_path_EGREP_found && break 3 |
|
|
4243 | done |
|
|
4244 | done |
|
|
4245 | |
|
|
4246 | done |
|
|
4247 | IFS=$as_save_IFS |
|
|
4248 | |
|
|
4249 | |
|
|
4250 | fi |
|
|
4251 | |
|
|
4252 | EGREP="$ac_cv_path_EGREP" |
|
|
4253 | if test -z "$EGREP"; then |
|
|
4254 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
|
4255 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
|
4256 | { (exit 1); exit 1; }; } |
|
|
4257 | fi |
|
|
4258 | |
|
|
4259 | else |
|
|
4260 | ac_cv_path_EGREP=$EGREP |
|
|
4261 | fi |
|
|
4262 | |
|
|
4263 | |
|
|
4264 | fi |
|
|
4265 | fi |
|
|
4266 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
|
|
4267 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
|
|
4268 | EGREP="$ac_cv_path_EGREP" |
|
|
4269 | |
|
|
4270 | |
|
|
4271 | |
3635 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
4272 | # Check whether --with-gnu-ld was given. |
3636 | if test "${with_gnu_ld+set}" = set; then |
4273 | if test "${with_gnu_ld+set}" = set; then |
3637 | withval="$with_gnu_ld" |
|
|
3638 | test "$withval" = no || with_gnu_ld=yes |
4274 | withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
3639 | else |
4275 | else |
3640 | with_gnu_ld=no |
4276 | with_gnu_ld=no |
3641 | fi; |
4277 | fi |
|
|
4278 | |
3642 | ac_prog=ld |
4279 | ac_prog=ld |
3643 | if test "$GCC" = yes; then |
4280 | if test "$GCC" = yes; then |
3644 | # Check if gcc -print-prog-name=ld gives a path. |
4281 | # Check if gcc -print-prog-name=ld gives a path. |
3645 | echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
4282 | { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
3646 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 |
4283 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } |
3647 | case $host in |
4284 | case $host in |
3648 | *-*-mingw*) |
4285 | *-*-mingw*) |
3649 | # gcc leaves a trailing carriage return which upsets mingw |
4286 | # gcc leaves a trailing carriage return which upsets mingw |
3650 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
4287 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
3651 | *) |
4288 | *) |
… | |
… | |
3670 | # If it is relative, then search for the first ld in PATH. |
4307 | # If it is relative, then search for the first ld in PATH. |
3671 | with_gnu_ld=unknown |
4308 | with_gnu_ld=unknown |
3672 | ;; |
4309 | ;; |
3673 | esac |
4310 | esac |
3674 | elif test "$with_gnu_ld" = yes; then |
4311 | elif test "$with_gnu_ld" = yes; then |
3675 | echo "$as_me:$LINENO: checking for GNU ld" >&5 |
4312 | { echo "$as_me:$LINENO: checking for GNU ld" >&5 |
3676 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
4313 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } |
3677 | else |
4314 | else |
3678 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
4315 | { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
3679 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
4316 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } |
3680 | fi |
4317 | fi |
3681 | if test "${lt_cv_path_LD+set}" = set; then |
4318 | if test "${lt_cv_path_LD+set}" = set; then |
3682 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4319 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3683 | else |
4320 | else |
3684 | if test -z "$LD"; then |
4321 | if test -z "$LD"; then |
… | |
… | |
3687 | IFS="$lt_save_ifs" |
4324 | IFS="$lt_save_ifs" |
3688 | test -z "$ac_dir" && ac_dir=. |
4325 | test -z "$ac_dir" && ac_dir=. |
3689 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
4326 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
3690 | lt_cv_path_LD="$ac_dir/$ac_prog" |
4327 | lt_cv_path_LD="$ac_dir/$ac_prog" |
3691 | # Check to see if the program is GNU ld. I'd rather use --version, |
4328 | # Check to see if the program is GNU ld. I'd rather use --version, |
3692 | # but apparently some GNU ld's only accept -v. |
4329 | # but apparently some variants of GNU ld only accept -v. |
3693 | # Break only if it was the GNU/non-GNU ld that we prefer. |
4330 | # Break only if it was the GNU/non-GNU ld that we prefer. |
3694 | case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
4331 | case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
3695 | *GNU* | *'with BFD'*) |
4332 | *GNU* | *'with BFD'*) |
3696 | test "$with_gnu_ld" != no && break |
4333 | test "$with_gnu_ld" != no && break |
3697 | ;; |
4334 | ;; |
… | |
… | |
3707 | fi |
4344 | fi |
3708 | fi |
4345 | fi |
3709 | |
4346 | |
3710 | LD="$lt_cv_path_LD" |
4347 | LD="$lt_cv_path_LD" |
3711 | if test -n "$LD"; then |
4348 | if test -n "$LD"; then |
3712 | echo "$as_me:$LINENO: result: $LD" >&5 |
4349 | { echo "$as_me:$LINENO: result: $LD" >&5 |
3713 | echo "${ECHO_T}$LD" >&6 |
4350 | echo "${ECHO_T}$LD" >&6; } |
3714 | else |
4351 | else |
3715 | echo "$as_me:$LINENO: result: no" >&5 |
4352 | { echo "$as_me:$LINENO: result: no" >&5 |
3716 | echo "${ECHO_T}no" >&6 |
4353 | echo "${ECHO_T}no" >&6; } |
3717 | fi |
4354 | fi |
3718 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
4355 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
3719 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
4356 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
3720 | { (exit 1); exit 1; }; } |
4357 | { (exit 1); exit 1; }; } |
3721 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
4358 | { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
3722 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 |
4359 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } |
3723 | if test "${lt_cv_prog_gnu_ld+set}" = set; then |
4360 | if test "${lt_cv_prog_gnu_ld+set}" = set; then |
3724 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4361 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3725 | else |
4362 | else |
3726 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
4363 | # I'd rather use --version here, but apparently some GNU lds only accept -v. |
3727 | case `$LD -v 2>&1 </dev/null` in |
4364 | case `$LD -v 2>&1 </dev/null` in |
3728 | *GNU* | *'with BFD'*) |
4365 | *GNU* | *'with BFD'*) |
3729 | lt_cv_prog_gnu_ld=yes |
4366 | lt_cv_prog_gnu_ld=yes |
3730 | ;; |
4367 | ;; |
3731 | *) |
4368 | *) |
3732 | lt_cv_prog_gnu_ld=no |
4369 | lt_cv_prog_gnu_ld=no |
3733 | ;; |
4370 | ;; |
3734 | esac |
4371 | esac |
3735 | fi |
4372 | fi |
3736 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
4373 | { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
3737 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 |
4374 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } |
3738 | with_gnu_ld=$lt_cv_prog_gnu_ld |
4375 | with_gnu_ld=$lt_cv_prog_gnu_ld |
3739 | |
4376 | |
3740 | |
4377 | |
3741 | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
4378 | { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
3742 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 |
4379 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } |
3743 | if test "${lt_cv_ld_reload_flag+set}" = set; then |
4380 | if test "${lt_cv_ld_reload_flag+set}" = set; then |
3744 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4381 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3745 | else |
4382 | else |
3746 | lt_cv_ld_reload_flag='-r' |
4383 | lt_cv_ld_reload_flag='-r' |
3747 | fi |
4384 | fi |
3748 | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
4385 | { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
3749 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 |
4386 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } |
3750 | reload_flag=$lt_cv_ld_reload_flag |
4387 | reload_flag=$lt_cv_ld_reload_flag |
3751 | case $reload_flag in |
4388 | case $reload_flag in |
3752 | "" | " "*) ;; |
4389 | "" | " "*) ;; |
3753 | *) reload_flag=" $reload_flag" ;; |
4390 | *) reload_flag=" $reload_flag" ;; |
3754 | esac |
4391 | esac |
3755 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
4392 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
|
4393 | case $host_os in |
|
|
4394 | darwin*) |
|
|
4395 | if test "$GCC" = yes; then |
|
|
4396 | reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
|
|
4397 | else |
|
|
4398 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
|
4399 | fi |
|
|
4400 | ;; |
|
|
4401 | esac |
3756 | |
4402 | |
3757 | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
4403 | { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
3758 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
4404 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } |
3759 | if test "${lt_cv_path_NM+set}" = set; then |
4405 | if test "${lt_cv_path_NM+set}" = set; then |
3760 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4406 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3761 | else |
4407 | else |
3762 | if test -n "$NM"; then |
4408 | if test -n "$NM"; then |
3763 | # Let the user override the test. |
4409 | # Let the user override the test. |
3764 | lt_cv_path_NM="$NM" |
4410 | lt_cv_path_NM="$NM" |
3765 | else |
4411 | else |
|
|
4412 | lt_nm_to_check="${ac_tool_prefix}nm" |
|
|
4413 | if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
|
|
4414 | lt_nm_to_check="$lt_nm_to_check nm" |
|
|
4415 | fi |
|
|
4416 | for lt_tmp_nm in $lt_nm_to_check; do |
3766 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
4417 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
3767 | for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do |
4418 | for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
3768 | IFS="$lt_save_ifs" |
4419 | IFS="$lt_save_ifs" |
3769 | test -z "$ac_dir" && ac_dir=. |
4420 | test -z "$ac_dir" && ac_dir=. |
3770 | tmp_nm="$ac_dir/${ac_tool_prefix}nm" |
4421 | tmp_nm="$ac_dir/$lt_tmp_nm" |
3771 | if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
4422 | if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
3772 | # Check to see if the nm accepts a BSD-compat flag. |
4423 | # Check to see if the nm accepts a BSD-compat flag. |
3773 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: |
4424 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: |
3774 | # nm: unknown option "B" ignored |
4425 | # nm: unknown option "B" ignored |
3775 | # Tru64's nm complains that /dev/null is an invalid object file |
4426 | # Tru64's nm complains that /dev/null is an invalid object file |
3776 | case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
|
|
3777 | */dev/null* | *'Invalid file or object type'*) |
|
|
3778 | lt_cv_path_NM="$tmp_nm -B" |
|
|
3779 | break |
|
|
3780 | ;; |
|
|
3781 | *) |
|
|
3782 | case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
4427 | case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
3783 | */dev/null*) |
4428 | */dev/null* | *'Invalid file or object type'*) |
3784 | lt_cv_path_NM="$tmp_nm -p" |
4429 | lt_cv_path_NM="$tmp_nm -B" |
3785 | break |
4430 | break |
3786 | ;; |
4431 | ;; |
3787 | *) |
4432 | *) |
|
|
4433 | case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
|
|
4434 | */dev/null*) |
|
|
4435 | lt_cv_path_NM="$tmp_nm -p" |
|
|
4436 | break |
|
|
4437 | ;; |
|
|
4438 | *) |
3788 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
4439 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
3789 | continue # so that we can try to find one that supports BSD flags |
4440 | continue # so that we can try to find one that supports BSD flags |
|
|
4441 | ;; |
|
|
4442 | esac |
3790 | ;; |
4443 | ;; |
3791 | esac |
4444 | esac |
3792 | esac |
|
|
3793 | fi |
4445 | fi |
|
|
4446 | done |
|
|
4447 | IFS="$lt_save_ifs" |
3794 | done |
4448 | done |
3795 | IFS="$lt_save_ifs" |
|
|
3796 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
4449 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
3797 | fi |
4450 | fi |
3798 | fi |
4451 | fi |
3799 | echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 |
4452 | { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 |
3800 | echo "${ECHO_T}$lt_cv_path_NM" >&6 |
4453 | echo "${ECHO_T}$lt_cv_path_NM" >&6; } |
3801 | NM="$lt_cv_path_NM" |
4454 | NM="$lt_cv_path_NM" |
3802 | |
4455 | |
3803 | echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 |
4456 | { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 |
3804 | echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 |
4457 | echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; } |
3805 | if test "${lt_cv_deplibs_check_method+set}" = set; then |
4458 | if test "${lt_cv_deplibs_check_method+set}" = set; then |
3806 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4459 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3807 | else |
4460 | else |
3808 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
4461 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
3809 | lt_cv_file_magic_test_file= |
4462 | lt_cv_file_magic_test_file= |
… | |
… | |
3826 | |
4479 | |
3827 | beos*) |
4480 | beos*) |
3828 | lt_cv_deplibs_check_method=pass_all |
4481 | lt_cv_deplibs_check_method=pass_all |
3829 | ;; |
4482 | ;; |
3830 | |
4483 | |
3831 | bsdi4*) |
4484 | bsdi[45]*) |
3832 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
4485 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
3833 | lt_cv_file_magic_cmd='/usr/bin/file -L' |
4486 | lt_cv_file_magic_cmd='/usr/bin/file -L' |
3834 | lt_cv_file_magic_test_file=/shlib/libc.so |
4487 | lt_cv_file_magic_test_file=/shlib/libc.so |
3835 | ;; |
4488 | ;; |
3836 | |
4489 | |
3837 | cygwin*) |
4490 | cygwin*) |
3838 | # win32_libid is a shell function defined in ltmain.sh |
4491 | # func_win32_libid is a shell function defined in ltmain.sh |
3839 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
4492 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
3840 | lt_cv_file_magic_cmd='win32_libid' |
4493 | lt_cv_file_magic_cmd='func_win32_libid' |
3841 | ;; |
4494 | ;; |
3842 | |
4495 | |
3843 | mingw* | pw32*) |
4496 | mingw* | pw32*) |
3844 | # Base MSYS/MinGW do not provide the 'file' command needed by |
4497 | # Base MSYS/MinGW do not provide the 'file' command needed by |
3845 | # win32_libid shell function, so use a weaker test based on 'objdump'. |
4498 | # func_win32_libid shell function, so use a weaker test based on 'objdump'. |
3846 | lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
4499 | lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
3847 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
4500 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
3848 | ;; |
4501 | ;; |
3849 | |
4502 | |
3850 | darwin* | rhapsody*) |
4503 | darwin* | rhapsody*) |
3851 | lt_cv_deplibs_check_method=pass_all |
4504 | lt_cv_deplibs_check_method=pass_all |
3852 | ;; |
4505 | ;; |
3853 | |
4506 | |
3854 | freebsd* | kfreebsd*-gnu) |
4507 | freebsd* | dragonfly*) |
3855 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
4508 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
3856 | case $host_cpu in |
4509 | case $host_cpu in |
3857 | i*86 ) |
4510 | i*86 ) |
3858 | # Not sure whether the presence of OpenBSD here was a mistake. |
4511 | # Not sure whether the presence of OpenBSD here was a mistake. |
3859 | # Let's accept both of them until this is cleared up. |
4512 | # Let's accept both of them until this is cleared up. |
3860 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' |
4513 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
3861 | lt_cv_file_magic_cmd=/usr/bin/file |
4514 | lt_cv_file_magic_cmd=/usr/bin/file |
3862 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
4515 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
3863 | ;; |
4516 | ;; |
3864 | esac |
4517 | esac |
3865 | else |
4518 | else |
… | |
… | |
3871 | lt_cv_deplibs_check_method=pass_all |
4524 | lt_cv_deplibs_check_method=pass_all |
3872 | ;; |
4525 | ;; |
3873 | |
4526 | |
3874 | hpux10.20* | hpux11*) |
4527 | hpux10.20* | hpux11*) |
3875 | lt_cv_file_magic_cmd=/usr/bin/file |
4528 | lt_cv_file_magic_cmd=/usr/bin/file |
3876 | case "$host_cpu" in |
4529 | case $host_cpu in |
3877 | ia64*) |
4530 | ia64*) |
3878 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
4531 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
3879 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
4532 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
3880 | ;; |
4533 | ;; |
3881 | hppa*64*) |
4534 | hppa*64*) |
… | |
… | |
3887 | lt_cv_file_magic_test_file=/usr/lib/libc.sl |
4540 | lt_cv_file_magic_test_file=/usr/lib/libc.sl |
3888 | ;; |
4541 | ;; |
3889 | esac |
4542 | esac |
3890 | ;; |
4543 | ;; |
3891 | |
4544 | |
|
|
4545 | interix3*) |
|
|
4546 | # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
|
|
4547 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
|
|
4548 | ;; |
|
|
4549 | |
3892 | irix5* | irix6* | nonstopux*) |
4550 | irix5* | irix6* | nonstopux*) |
3893 | case $LD in |
4551 | case $LD in |
3894 | *-32|*"-32 ") libmagic=32-bit;; |
4552 | *-32|*"-32 ") libmagic=32-bit;; |
3895 | *-n32|*"-n32 ") libmagic=N32;; |
4553 | *-n32|*"-n32 ") libmagic=N32;; |
3896 | *-64|*"-64 ") libmagic=64-bit;; |
4554 | *-64|*"-64 ") libmagic=64-bit;; |
… | |
… | |
3898 | esac |
4556 | esac |
3899 | lt_cv_deplibs_check_method=pass_all |
4557 | lt_cv_deplibs_check_method=pass_all |
3900 | ;; |
4558 | ;; |
3901 | |
4559 | |
3902 | # This must be Linux ELF. |
4560 | # This must be Linux ELF. |
3903 | linux*) |
4561 | linux* | k*bsd*-gnu) |
3904 | case $host_cpu in |
|
|
3905 | alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*) |
|
|
3906 | lt_cv_deplibs_check_method=pass_all ;; |
|
|
3907 | *) |
|
|
3908 | # glibc up to 2.1.1 does not perform some relocations on ARM |
|
|
3909 | # this will be overridden with pass_all, but let us keep it just in case |
|
|
3910 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; |
|
|
3911 | esac |
|
|
3912 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` |
|
|
3913 | lt_cv_deplibs_check_method=pass_all |
4562 | lt_cv_deplibs_check_method=pass_all |
3914 | ;; |
4563 | ;; |
3915 | |
4564 | |
3916 | netbsd*) |
4565 | netbsd* | netbsdelf*-gnu) |
3917 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
4566 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
3918 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
4567 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
3919 | else |
4568 | else |
3920 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
4569 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
3921 | fi |
4570 | fi |
… | |
… | |
3930 | nto-qnx*) |
4579 | nto-qnx*) |
3931 | lt_cv_deplibs_check_method=unknown |
4580 | lt_cv_deplibs_check_method=unknown |
3932 | ;; |
4581 | ;; |
3933 | |
4582 | |
3934 | openbsd*) |
4583 | openbsd*) |
3935 | lt_cv_file_magic_cmd=/usr/bin/file |
|
|
3936 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
|
|
3937 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
4584 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
3938 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' |
4585 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
3939 | else |
4586 | else |
3940 | lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' |
4587 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
3941 | fi |
4588 | fi |
3942 | ;; |
4589 | ;; |
3943 | |
4590 | |
3944 | osf3* | osf4* | osf5*) |
4591 | osf3* | osf4* | osf5*) |
3945 | lt_cv_deplibs_check_method=pass_all |
4592 | lt_cv_deplibs_check_method=pass_all |
3946 | ;; |
4593 | ;; |
3947 | |
4594 | |
3948 | sco3.2v5*) |
|
|
3949 | lt_cv_deplibs_check_method=pass_all |
|
|
3950 | ;; |
|
|
3951 | |
|
|
3952 | solaris*) |
4595 | solaris*) |
3953 | lt_cv_deplibs_check_method=pass_all |
4596 | lt_cv_deplibs_check_method=pass_all |
3954 | ;; |
4597 | ;; |
3955 | |
4598 | |
3956 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
4599 | sysv4 | sysv4.3*) |
3957 | case $host_vendor in |
4600 | case $host_vendor in |
3958 | motorola) |
4601 | motorola) |
3959 | 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]' |
4602 | 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]' |
3960 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
4603 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
3961 | ;; |
4604 | ;; |
… | |
… | |
3972 | lt_cv_file_magic_test_file=/lib/libc.so |
4615 | lt_cv_file_magic_test_file=/lib/libc.so |
3973 | ;; |
4616 | ;; |
3974 | siemens) |
4617 | siemens) |
3975 | lt_cv_deplibs_check_method=pass_all |
4618 | lt_cv_deplibs_check_method=pass_all |
3976 | ;; |
4619 | ;; |
|
|
4620 | pc) |
|
|
4621 | lt_cv_deplibs_check_method=pass_all |
|
|
4622 | ;; |
3977 | esac |
4623 | esac |
3978 | ;; |
4624 | ;; |
3979 | |
4625 | |
3980 | sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) |
4626 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
3981 | lt_cv_deplibs_check_method=pass_all |
4627 | lt_cv_deplibs_check_method=pass_all |
3982 | ;; |
4628 | ;; |
3983 | esac |
4629 | esac |
3984 | |
4630 | |
3985 | fi |
4631 | fi |
3986 | echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
4632 | { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
3987 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 |
4633 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } |
3988 | file_magic_cmd=$lt_cv_file_magic_cmd |
4634 | file_magic_cmd=$lt_cv_file_magic_cmd |
3989 | deplibs_check_method=$lt_cv_deplibs_check_method |
4635 | deplibs_check_method=$lt_cv_deplibs_check_method |
3990 | test -z "$deplibs_check_method" && deplibs_check_method=unknown |
4636 | test -z "$deplibs_check_method" && deplibs_check_method=unknown |
3991 | |
4637 | |
3992 | |
4638 | |
3993 | |
4639 | |
3994 | |
4640 | |
3995 | # If no C compiler was specified, use CC. |
4641 | # If no C compiler was specified, use CC. |
3996 | LTCC=${LTCC-"$CC"} |
4642 | LTCC=${LTCC-"$CC"} |
3997 | |
4643 | |
|
|
4644 | # If no C compiler flags were specified, use CFLAGS. |
|
|
4645 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
4646 | |
3998 | # Allow CC to be a program name with arguments. |
4647 | # Allow CC to be a program name with arguments. |
3999 | compiler=$CC |
4648 | compiler=$CC |
4000 | |
4649 | |
4001 | |
4650 | |
4002 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
4651 | # Check whether --enable-libtool-lock was given. |
4003 | if test "${enable_libtool_lock+set}" = set; then |
4652 | if test "${enable_libtool_lock+set}" = set; then |
4004 | enableval="$enable_libtool_lock" |
4653 | enableval=$enable_libtool_lock; |
4005 | |
|
|
4006 | fi; |
4654 | fi |
|
|
4655 | |
4007 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
4656 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
4008 | |
4657 | |
4009 | # Some flags need to be propagated to the compiler or linker for good |
4658 | # Some flags need to be propagated to the compiler or linker for good |
4010 | # libtool support. |
4659 | # libtool support. |
4011 | case $host in |
4660 | case $host in |
… | |
… | |
4028 | fi |
4677 | fi |
4029 | rm -rf conftest* |
4678 | rm -rf conftest* |
4030 | ;; |
4679 | ;; |
4031 | *-*-irix6*) |
4680 | *-*-irix6*) |
4032 | # Find out which ABI we are using. |
4681 | # Find out which ABI we are using. |
4033 | echo '#line 4033 "configure"' > conftest.$ac_ext |
4682 | echo '#line 4682 "configure"' > conftest.$ac_ext |
4034 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4683 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4035 | (eval $ac_compile) 2>&5 |
4684 | (eval $ac_compile) 2>&5 |
4036 | ac_status=$? |
4685 | ac_status=$? |
4037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4038 | (exit $ac_status); }; then |
4687 | (exit $ac_status); }; then |
… | |
… | |
4071 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4720 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4072 | (eval $ac_compile) 2>&5 |
4721 | (eval $ac_compile) 2>&5 |
4073 | ac_status=$? |
4722 | ac_status=$? |
4074 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4723 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4075 | (exit $ac_status); }; then |
4724 | (exit $ac_status); }; then |
4076 | case "`/usr/bin/file conftest.o`" in |
4725 | case `/usr/bin/file conftest.o` in |
4077 | *32-bit*) |
4726 | *32-bit*) |
4078 | case $host in |
4727 | case $host in |
4079 | x86_64-*linux*) |
4728 | x86_64-*linux*) |
4080 | LD="${LD-ld} -m elf_i386" |
4729 | LD="${LD-ld} -m elf_i386" |
4081 | ;; |
4730 | ;; |
… | |
… | |
4113 | |
4762 | |
4114 | *-*-sco3.2v5*) |
4763 | *-*-sco3.2v5*) |
4115 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
4764 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
4116 | SAVE_CFLAGS="$CFLAGS" |
4765 | SAVE_CFLAGS="$CFLAGS" |
4117 | CFLAGS="$CFLAGS -belf" |
4766 | CFLAGS="$CFLAGS -belf" |
4118 | echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
4767 | { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
4119 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 |
4768 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } |
4120 | if test "${lt_cv_cc_needs_belf+set}" = set; then |
4769 | if test "${lt_cv_cc_needs_belf+set}" = set; then |
4121 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4770 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4122 | else |
4771 | else |
4123 | ac_ext=c |
4772 | ac_ext=c |
4124 | ac_cpp='$CPP $CPPFLAGS' |
4773 | ac_cpp='$CPP $CPPFLAGS' |
… | |
… | |
4140 | ; |
4789 | ; |
4141 | return 0; |
4790 | return 0; |
4142 | } |
4791 | } |
4143 | _ACEOF |
4792 | _ACEOF |
4144 | rm -f conftest.$ac_objext conftest$ac_exeext |
4793 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
4794 | if { (ac_try="$ac_link" |
|
|
4795 | case "(($ac_try" in |
|
|
4796 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4797 | *) ac_try_echo=$ac_try;; |
|
|
4798 | esac |
4145 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4799 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4146 | (eval $ac_link) 2>conftest.er1 |
4800 | (eval "$ac_link") 2>conftest.er1 |
4147 | ac_status=$? |
4801 | ac_status=$? |
4148 | grep -v '^ *+' conftest.er1 >conftest.err |
4802 | grep -v '^ *+' conftest.er1 >conftest.err |
4149 | rm -f conftest.er1 |
4803 | rm -f conftest.er1 |
4150 | cat conftest.err >&5 |
4804 | cat conftest.err >&5 |
4151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4805 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4152 | (exit $ac_status); } && |
4806 | (exit $ac_status); } && { |
4153 | { ac_try='test -z "$ac_c_werror_flag" |
4807 | test -z "$ac_c_werror_flag" || |
4154 | || test ! -s conftest.err' |
4808 | test ! -s conftest.err |
4155 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4809 | } && test -s conftest$ac_exeext && |
4156 | (eval $ac_try) 2>&5 |
4810 | $as_test_x conftest$ac_exeext; then |
4157 | ac_status=$? |
|
|
4158 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4159 | (exit $ac_status); }; } && |
|
|
4160 | { ac_try='test -s conftest$ac_exeext' |
|
|
4161 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4162 | (eval $ac_try) 2>&5 |
|
|
4163 | ac_status=$? |
|
|
4164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4165 | (exit $ac_status); }; }; then |
|
|
4166 | lt_cv_cc_needs_belf=yes |
4811 | lt_cv_cc_needs_belf=yes |
4167 | else |
4812 | else |
4168 | echo "$as_me: failed program was:" >&5 |
4813 | echo "$as_me: failed program was:" >&5 |
4169 | sed 's/^/| /' conftest.$ac_ext >&5 |
4814 | sed 's/^/| /' conftest.$ac_ext >&5 |
4170 | |
4815 | |
4171 | lt_cv_cc_needs_belf=no |
4816 | lt_cv_cc_needs_belf=no |
4172 | fi |
4817 | fi |
4173 | rm -f conftest.err conftest.$ac_objext \ |
4818 | |
|
|
4819 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4174 | conftest$ac_exeext conftest.$ac_ext |
4820 | conftest$ac_exeext conftest.$ac_ext |
4175 | ac_ext=c |
4821 | ac_ext=c |
4176 | ac_cpp='$CPP $CPPFLAGS' |
4822 | ac_cpp='$CPP $CPPFLAGS' |
4177 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4823 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4178 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4824 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4179 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4825 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4180 | |
4826 | |
4181 | fi |
4827 | fi |
4182 | echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
4828 | { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
4183 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 |
4829 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } |
4184 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
4830 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
4185 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
4831 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
4186 | CFLAGS="$SAVE_CFLAGS" |
4832 | CFLAGS="$SAVE_CFLAGS" |
4187 | fi |
4833 | fi |
4188 | ;; |
4834 | ;; |
|
|
4835 | sparc*-*solaris*) |
|
|
4836 | # Find out which ABI we are using. |
|
|
4837 | echo 'int i;' > conftest.$ac_ext |
|
|
4838 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
4839 | (eval $ac_compile) 2>&5 |
|
|
4840 | ac_status=$? |
|
|
4841 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4842 | (exit $ac_status); }; then |
|
|
4843 | case `/usr/bin/file conftest.o` in |
|
|
4844 | *64-bit*) |
|
|
4845 | case $lt_cv_prog_gnu_ld in |
|
|
4846 | yes*) LD="${LD-ld} -m elf64_sparc" ;; |
|
|
4847 | *) LD="${LD-ld} -64" ;; |
|
|
4848 | esac |
|
|
4849 | ;; |
|
|
4850 | esac |
|
|
4851 | fi |
|
|
4852 | rm -rf conftest* |
|
|
4853 | ;; |
|
|
4854 | |
4189 | |
4855 | |
4190 | esac |
4856 | esac |
4191 | |
4857 | |
4192 | need_locks="$enable_libtool_lock" |
4858 | need_locks="$enable_libtool_lock" |
4193 | |
4859 | |
4194 | |
4860 | |
4195 | |
4861 | |
4196 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4862 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4197 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
4863 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
4198 | if test "${ac_cv_header_stdc+set}" = set; then |
4864 | if test "${ac_cv_header_stdc+set}" = set; then |
4199 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4865 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4200 | else |
4866 | else |
4201 | cat >conftest.$ac_ext <<_ACEOF |
4867 | cat >conftest.$ac_ext <<_ACEOF |
4202 | /* confdefs.h. */ |
4868 | /* confdefs.h. */ |
… | |
… | |
4216 | ; |
4882 | ; |
4217 | return 0; |
4883 | return 0; |
4218 | } |
4884 | } |
4219 | _ACEOF |
4885 | _ACEOF |
4220 | rm -f conftest.$ac_objext |
4886 | rm -f conftest.$ac_objext |
|
|
4887 | if { (ac_try="$ac_compile" |
|
|
4888 | case "(($ac_try" in |
|
|
4889 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4890 | *) ac_try_echo=$ac_try;; |
|
|
4891 | esac |
4221 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4892 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4222 | (eval $ac_compile) 2>conftest.er1 |
4893 | (eval "$ac_compile") 2>conftest.er1 |
4223 | ac_status=$? |
4894 | ac_status=$? |
4224 | grep -v '^ *+' conftest.er1 >conftest.err |
4895 | grep -v '^ *+' conftest.er1 >conftest.err |
4225 | rm -f conftest.er1 |
4896 | rm -f conftest.er1 |
4226 | cat conftest.err >&5 |
4897 | cat conftest.err >&5 |
4227 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4898 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4228 | (exit $ac_status); } && |
4899 | (exit $ac_status); } && { |
4229 | { ac_try='test -z "$ac_c_werror_flag" |
4900 | test -z "$ac_c_werror_flag" || |
4230 | || test ! -s conftest.err' |
4901 | test ! -s conftest.err |
4231 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4902 | } && test -s conftest.$ac_objext; then |
4232 | (eval $ac_try) 2>&5 |
|
|
4233 | ac_status=$? |
|
|
4234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4235 | (exit $ac_status); }; } && |
|
|
4236 | { ac_try='test -s conftest.$ac_objext' |
|
|
4237 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4238 | (eval $ac_try) 2>&5 |
|
|
4239 | ac_status=$? |
|
|
4240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4241 | (exit $ac_status); }; }; then |
|
|
4242 | ac_cv_header_stdc=yes |
4903 | ac_cv_header_stdc=yes |
4243 | else |
4904 | else |
4244 | echo "$as_me: failed program was:" >&5 |
4905 | echo "$as_me: failed program was:" >&5 |
4245 | sed 's/^/| /' conftest.$ac_ext >&5 |
4906 | sed 's/^/| /' conftest.$ac_ext >&5 |
4246 | |
4907 | |
4247 | ac_cv_header_stdc=no |
4908 | ac_cv_header_stdc=no |
4248 | fi |
4909 | fi |
|
|
4910 | |
4249 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4911 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4250 | |
4912 | |
4251 | if test $ac_cv_header_stdc = yes; then |
4913 | if test $ac_cv_header_stdc = yes; then |
4252 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4914 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4253 | cat >conftest.$ac_ext <<_ACEOF |
4915 | cat >conftest.$ac_ext <<_ACEOF |
4254 | /* confdefs.h. */ |
4916 | /* confdefs.h. */ |
… | |
… | |
4300 | _ACEOF |
4962 | _ACEOF |
4301 | cat confdefs.h >>conftest.$ac_ext |
4963 | cat confdefs.h >>conftest.$ac_ext |
4302 | cat >>conftest.$ac_ext <<_ACEOF |
4964 | cat >>conftest.$ac_ext <<_ACEOF |
4303 | /* end confdefs.h. */ |
4965 | /* end confdefs.h. */ |
4304 | #include <ctype.h> |
4966 | #include <ctype.h> |
|
|
4967 | #include <stdlib.h> |
4305 | #if ((' ' & 0x0FF) == 0x020) |
4968 | #if ((' ' & 0x0FF) == 0x020) |
4306 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4969 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4307 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4970 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4308 | #else |
4971 | #else |
4309 | # define ISLOWER(c) \ |
4972 | # define ISLOWER(c) \ |
… | |
… | |
4319 | { |
4982 | { |
4320 | int i; |
4983 | int i; |
4321 | for (i = 0; i < 256; i++) |
4984 | for (i = 0; i < 256; i++) |
4322 | if (XOR (islower (i), ISLOWER (i)) |
4985 | if (XOR (islower (i), ISLOWER (i)) |
4323 | || toupper (i) != TOUPPER (i)) |
4986 | || toupper (i) != TOUPPER (i)) |
4324 | exit(2); |
4987 | return 2; |
4325 | exit (0); |
4988 | return 0; |
4326 | } |
4989 | } |
4327 | _ACEOF |
4990 | _ACEOF |
4328 | rm -f conftest$ac_exeext |
4991 | rm -f conftest$ac_exeext |
|
|
4992 | if { (ac_try="$ac_link" |
|
|
4993 | case "(($ac_try" in |
|
|
4994 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4995 | *) ac_try_echo=$ac_try;; |
|
|
4996 | esac |
4329 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4997 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4330 | (eval $ac_link) 2>&5 |
4998 | (eval "$ac_link") 2>&5 |
4331 | ac_status=$? |
4999 | ac_status=$? |
4332 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4333 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
5001 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
5002 | { (case "(($ac_try" in |
|
|
5003 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5004 | *) ac_try_echo=$ac_try;; |
|
|
5005 | esac |
4334 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5006 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4335 | (eval $ac_try) 2>&5 |
5007 | (eval "$ac_try") 2>&5 |
4336 | ac_status=$? |
5008 | ac_status=$? |
4337 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5009 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4338 | (exit $ac_status); }; }; then |
5010 | (exit $ac_status); }; }; then |
4339 | : |
5011 | : |
4340 | else |
5012 | else |
… | |
… | |
4343 | sed 's/^/| /' conftest.$ac_ext >&5 |
5015 | sed 's/^/| /' conftest.$ac_ext >&5 |
4344 | |
5016 | |
4345 | ( exit $ac_status ) |
5017 | ( exit $ac_status ) |
4346 | ac_cv_header_stdc=no |
5018 | ac_cv_header_stdc=no |
4347 | fi |
5019 | fi |
4348 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5020 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4349 | fi |
5021 | fi |
|
|
5022 | |
|
|
5023 | |
4350 | fi |
5024 | fi |
4351 | fi |
5025 | fi |
4352 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
5026 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
4353 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
5027 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
4354 | if test $ac_cv_header_stdc = yes; then |
5028 | if test $ac_cv_header_stdc = yes; then |
4355 | |
5029 | |
4356 | cat >>confdefs.h <<\_ACEOF |
5030 | cat >>confdefs.h <<\_ACEOF |
4357 | #define STDC_HEADERS 1 |
5031 | #define STDC_HEADERS 1 |
4358 | _ACEOF |
5032 | _ACEOF |
… | |
… | |
4371 | |
5045 | |
4372 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
5046 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4373 | inttypes.h stdint.h unistd.h |
5047 | inttypes.h stdint.h unistd.h |
4374 | do |
5048 | do |
4375 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5049 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4376 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5050 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4377 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5051 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
4378 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5052 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4379 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5053 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4380 | else |
5054 | else |
4381 | cat >conftest.$ac_ext <<_ACEOF |
5055 | cat >conftest.$ac_ext <<_ACEOF |
4382 | /* confdefs.h. */ |
5056 | /* confdefs.h. */ |
4383 | _ACEOF |
5057 | _ACEOF |
… | |
… | |
4387 | $ac_includes_default |
5061 | $ac_includes_default |
4388 | |
5062 | |
4389 | #include <$ac_header> |
5063 | #include <$ac_header> |
4390 | _ACEOF |
5064 | _ACEOF |
4391 | rm -f conftest.$ac_objext |
5065 | rm -f conftest.$ac_objext |
|
|
5066 | if { (ac_try="$ac_compile" |
|
|
5067 | case "(($ac_try" in |
|
|
5068 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5069 | *) ac_try_echo=$ac_try;; |
|
|
5070 | esac |
4392 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5071 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4393 | (eval $ac_compile) 2>conftest.er1 |
5072 | (eval "$ac_compile") 2>conftest.er1 |
4394 | ac_status=$? |
5073 | ac_status=$? |
4395 | grep -v '^ *+' conftest.er1 >conftest.err |
5074 | grep -v '^ *+' conftest.er1 >conftest.err |
4396 | rm -f conftest.er1 |
5075 | rm -f conftest.er1 |
4397 | cat conftest.err >&5 |
5076 | cat conftest.err >&5 |
4398 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4399 | (exit $ac_status); } && |
5078 | (exit $ac_status); } && { |
4400 | { ac_try='test -z "$ac_c_werror_flag" |
5079 | test -z "$ac_c_werror_flag" || |
4401 | || test ! -s conftest.err' |
5080 | test ! -s conftest.err |
4402 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5081 | } && test -s conftest.$ac_objext; then |
4403 | (eval $ac_try) 2>&5 |
|
|
4404 | ac_status=$? |
|
|
4405 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4406 | (exit $ac_status); }; } && |
|
|
4407 | { ac_try='test -s conftest.$ac_objext' |
|
|
4408 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4409 | (eval $ac_try) 2>&5 |
|
|
4410 | ac_status=$? |
|
|
4411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4412 | (exit $ac_status); }; }; then |
|
|
4413 | eval "$as_ac_Header=yes" |
5082 | eval "$as_ac_Header=yes" |
4414 | else |
5083 | else |
4415 | echo "$as_me: failed program was:" >&5 |
5084 | echo "$as_me: failed program was:" >&5 |
4416 | sed 's/^/| /' conftest.$ac_ext >&5 |
5085 | sed 's/^/| /' conftest.$ac_ext >&5 |
4417 | |
5086 | |
4418 | eval "$as_ac_Header=no" |
5087 | eval "$as_ac_Header=no" |
4419 | fi |
5088 | fi |
|
|
5089 | |
4420 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5090 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4421 | fi |
5091 | fi |
4422 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5092 | ac_res=`eval echo '${'$as_ac_Header'}'` |
4423 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5093 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5094 | echo "${ECHO_T}$ac_res" >&6; } |
4424 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5095 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4425 | cat >>confdefs.h <<_ACEOF |
5096 | cat >>confdefs.h <<_ACEOF |
4426 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5097 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4427 | _ACEOF |
5098 | _ACEOF |
4428 | |
5099 | |
… | |
… | |
4433 | |
5104 | |
4434 | |
5105 | |
4435 | for ac_header in dlfcn.h |
5106 | for ac_header in dlfcn.h |
4436 | do |
5107 | do |
4437 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5108 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4438 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5109 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4439 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5110 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4440 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5111 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
4441 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5112 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4442 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5113 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4443 | fi |
5114 | fi |
4444 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5115 | ac_res=`eval echo '${'$as_ac_Header'}'` |
4445 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5116 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5117 | echo "${ECHO_T}$ac_res" >&6; } |
4446 | else |
5118 | else |
4447 | # Is the header compilable? |
5119 | # Is the header compilable? |
4448 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5120 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4449 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5121 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
4450 | cat >conftest.$ac_ext <<_ACEOF |
5122 | cat >conftest.$ac_ext <<_ACEOF |
4451 | /* confdefs.h. */ |
5123 | /* confdefs.h. */ |
4452 | _ACEOF |
5124 | _ACEOF |
4453 | cat confdefs.h >>conftest.$ac_ext |
5125 | cat confdefs.h >>conftest.$ac_ext |
4454 | cat >>conftest.$ac_ext <<_ACEOF |
5126 | cat >>conftest.$ac_ext <<_ACEOF |
4455 | /* end confdefs.h. */ |
5127 | /* end confdefs.h. */ |
4456 | $ac_includes_default |
5128 | $ac_includes_default |
4457 | #include <$ac_header> |
5129 | #include <$ac_header> |
4458 | _ACEOF |
5130 | _ACEOF |
4459 | rm -f conftest.$ac_objext |
5131 | rm -f conftest.$ac_objext |
|
|
5132 | if { (ac_try="$ac_compile" |
|
|
5133 | case "(($ac_try" in |
|
|
5134 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5135 | *) ac_try_echo=$ac_try;; |
|
|
5136 | esac |
4460 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5137 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4461 | (eval $ac_compile) 2>conftest.er1 |
5138 | (eval "$ac_compile") 2>conftest.er1 |
4462 | ac_status=$? |
5139 | ac_status=$? |
4463 | grep -v '^ *+' conftest.er1 >conftest.err |
5140 | grep -v '^ *+' conftest.er1 >conftest.err |
4464 | rm -f conftest.er1 |
5141 | rm -f conftest.er1 |
4465 | cat conftest.err >&5 |
5142 | cat conftest.err >&5 |
4466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5143 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4467 | (exit $ac_status); } && |
5144 | (exit $ac_status); } && { |
4468 | { ac_try='test -z "$ac_c_werror_flag" |
5145 | test -z "$ac_c_werror_flag" || |
4469 | || test ! -s conftest.err' |
5146 | test ! -s conftest.err |
4470 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5147 | } && test -s conftest.$ac_objext; then |
4471 | (eval $ac_try) 2>&5 |
|
|
4472 | ac_status=$? |
|
|
4473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4474 | (exit $ac_status); }; } && |
|
|
4475 | { ac_try='test -s conftest.$ac_objext' |
|
|
4476 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4477 | (eval $ac_try) 2>&5 |
|
|
4478 | ac_status=$? |
|
|
4479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4480 | (exit $ac_status); }; }; then |
|
|
4481 | ac_header_compiler=yes |
5148 | ac_header_compiler=yes |
4482 | else |
5149 | else |
4483 | echo "$as_me: failed program was:" >&5 |
5150 | echo "$as_me: failed program was:" >&5 |
4484 | sed 's/^/| /' conftest.$ac_ext >&5 |
5151 | sed 's/^/| /' conftest.$ac_ext >&5 |
4485 | |
5152 | |
4486 | ac_header_compiler=no |
5153 | ac_header_compiler=no |
4487 | fi |
5154 | fi |
|
|
5155 | |
4488 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5156 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4489 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5157 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4490 | echo "${ECHO_T}$ac_header_compiler" >&6 |
5158 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
4491 | |
5159 | |
4492 | # Is the header present? |
5160 | # Is the header present? |
4493 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5161 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
4494 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5162 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
4495 | cat >conftest.$ac_ext <<_ACEOF |
5163 | cat >conftest.$ac_ext <<_ACEOF |
4496 | /* confdefs.h. */ |
5164 | /* confdefs.h. */ |
4497 | _ACEOF |
5165 | _ACEOF |
4498 | cat confdefs.h >>conftest.$ac_ext |
5166 | cat confdefs.h >>conftest.$ac_ext |
4499 | cat >>conftest.$ac_ext <<_ACEOF |
5167 | cat >>conftest.$ac_ext <<_ACEOF |
4500 | /* end confdefs.h. */ |
5168 | /* end confdefs.h. */ |
4501 | #include <$ac_header> |
5169 | #include <$ac_header> |
4502 | _ACEOF |
5170 | _ACEOF |
4503 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5171 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5172 | case "(($ac_try" in |
|
|
5173 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5174 | *) ac_try_echo=$ac_try;; |
|
|
5175 | esac |
|
|
5176 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4504 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5177 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4505 | ac_status=$? |
5178 | ac_status=$? |
4506 | grep -v '^ *+' conftest.er1 >conftest.err |
5179 | grep -v '^ *+' conftest.er1 >conftest.err |
4507 | rm -f conftest.er1 |
5180 | rm -f conftest.er1 |
4508 | cat conftest.err >&5 |
5181 | cat conftest.err >&5 |
4509 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5182 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4510 | (exit $ac_status); } >/dev/null; then |
5183 | (exit $ac_status); } >/dev/null && { |
|
|
5184 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
4511 | if test -s conftest.err; then |
5185 | test ! -s conftest.err |
4512 | ac_cpp_err=$ac_c_preproc_warn_flag |
5186 | }; then |
4513 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
4514 | else |
|
|
4515 | ac_cpp_err= |
|
|
4516 | fi |
|
|
4517 | else |
|
|
4518 | ac_cpp_err=yes |
|
|
4519 | fi |
|
|
4520 | if test -z "$ac_cpp_err"; then |
|
|
4521 | ac_header_preproc=yes |
5187 | ac_header_preproc=yes |
4522 | else |
5188 | else |
4523 | echo "$as_me: failed program was:" >&5 |
5189 | echo "$as_me: failed program was:" >&5 |
4524 | sed 's/^/| /' conftest.$ac_ext >&5 |
5190 | sed 's/^/| /' conftest.$ac_ext >&5 |
4525 | |
5191 | |
4526 | ac_header_preproc=no |
5192 | ac_header_preproc=no |
4527 | fi |
5193 | fi |
|
|
5194 | |
4528 | rm -f conftest.err conftest.$ac_ext |
5195 | rm -f conftest.err conftest.$ac_ext |
4529 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5196 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
4530 | echo "${ECHO_T}$ac_header_preproc" >&6 |
5197 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
4531 | |
5198 | |
4532 | # So? What about this header? |
5199 | # So? What about this header? |
4533 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5200 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
4534 | yes:no: ) |
5201 | yes:no: ) |
4535 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5202 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
… | |
… | |
4549 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5216 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
4550 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5217 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4551 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5218 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4552 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5219 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
4553 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5220 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
4554 | ( |
|
|
4555 | cat <<\_ASBOX |
5221 | ( cat <<\_ASBOX |
4556 | ## ------------------------------------ ## |
5222 | ## ------------------------------------ ## |
4557 | ## Report this to jcouzens@codeshare.ca ## |
5223 | ## Report this to jcouzens@codeshare.ca ## |
4558 | ## ------------------------------------ ## |
5224 | ## ------------------------------------ ## |
4559 | _ASBOX |
5225 | _ASBOX |
4560 | ) | |
|
|
4561 | sed "s/^/$as_me: WARNING: /" >&2 |
5226 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
4562 | ;; |
5227 | ;; |
4563 | esac |
5228 | esac |
4564 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5229 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4565 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5230 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
4566 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5231 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4567 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5232 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4568 | else |
5233 | else |
4569 | eval "$as_ac_Header=\$ac_header_preproc" |
5234 | eval "$as_ac_Header=\$ac_header_preproc" |
4570 | fi |
5235 | fi |
4571 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5236 | ac_res=`eval echo '${'$as_ac_Header'}'` |
4572 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5237 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5238 | echo "${ECHO_T}$ac_res" >&6; } |
4573 | |
5239 | |
4574 | fi |
5240 | fi |
4575 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5241 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4576 | cat >>confdefs.h <<_ACEOF |
5242 | cat >>confdefs.h <<_ACEOF |
4577 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5243 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
… | |
… | |
4579 | |
5245 | |
4580 | fi |
5246 | fi |
4581 | |
5247 | |
4582 | done |
5248 | done |
4583 | |
5249 | |
4584 | ac_ext=cc |
5250 | ac_ext=cpp |
4585 | ac_cpp='$CXXCPP $CPPFLAGS' |
5251 | ac_cpp='$CXXCPP $CPPFLAGS' |
4586 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5252 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4587 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5253 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4588 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5254 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
5255 | if test -z "$CXX"; then |
|
|
5256 | if test -n "$CCC"; then |
|
|
5257 | CXX=$CCC |
|
|
5258 | else |
4589 | if test -n "$ac_tool_prefix"; then |
5259 | if test -n "$ac_tool_prefix"; then |
4590 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
5260 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
4591 | do |
5261 | do |
4592 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5262 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4593 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5263 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4594 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5264 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4595 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5265 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4596 | if test "${ac_cv_prog_CXX+set}" = set; then |
5266 | if test "${ac_cv_prog_CXX+set}" = set; then |
4597 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5267 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4598 | else |
5268 | else |
4599 | if test -n "$CXX"; then |
5269 | if test -n "$CXX"; then |
4600 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
5270 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
… | |
… | |
4603 | for as_dir in $PATH |
5273 | for as_dir in $PATH |
4604 | do |
5274 | do |
4605 | IFS=$as_save_IFS |
5275 | IFS=$as_save_IFS |
4606 | test -z "$as_dir" && as_dir=. |
5276 | test -z "$as_dir" && as_dir=. |
4607 | for ac_exec_ext in '' $ac_executable_extensions; do |
5277 | for ac_exec_ext in '' $ac_executable_extensions; do |
4608 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5278 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4609 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
5279 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
4610 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5280 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4611 | break 2 |
5281 | break 2 |
4612 | fi |
5282 | fi |
4613 | done |
5283 | done |
4614 | done |
5284 | done |
|
|
5285 | IFS=$as_save_IFS |
4615 | |
5286 | |
4616 | fi |
5287 | fi |
4617 | fi |
5288 | fi |
4618 | CXX=$ac_cv_prog_CXX |
5289 | CXX=$ac_cv_prog_CXX |
4619 | if test -n "$CXX"; then |
5290 | if test -n "$CXX"; then |
4620 | echo "$as_me:$LINENO: result: $CXX" >&5 |
5291 | { echo "$as_me:$LINENO: result: $CXX" >&5 |
4621 | echo "${ECHO_T}$CXX" >&6 |
5292 | echo "${ECHO_T}$CXX" >&6; } |
4622 | else |
5293 | else |
4623 | echo "$as_me:$LINENO: result: no" >&5 |
5294 | { echo "$as_me:$LINENO: result: no" >&5 |
4624 | echo "${ECHO_T}no" >&6 |
5295 | echo "${ECHO_T}no" >&6; } |
4625 | fi |
5296 | fi |
|
|
5297 | |
4626 | |
5298 | |
4627 | test -n "$CXX" && break |
5299 | test -n "$CXX" && break |
4628 | done |
5300 | done |
4629 | fi |
5301 | fi |
4630 | if test -z "$CXX"; then |
5302 | if test -z "$CXX"; then |
4631 | ac_ct_CXX=$CXX |
5303 | ac_ct_CXX=$CXX |
4632 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
5304 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
4633 | do |
5305 | do |
4634 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
5306 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
4635 | set dummy $ac_prog; ac_word=$2 |
5307 | set dummy $ac_prog; ac_word=$2 |
4636 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5308 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4637 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5309 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4638 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
5310 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
4639 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5311 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4640 | else |
5312 | else |
4641 | if test -n "$ac_ct_CXX"; then |
5313 | if test -n "$ac_ct_CXX"; then |
4642 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
5314 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
… | |
… | |
4645 | for as_dir in $PATH |
5317 | for as_dir in $PATH |
4646 | do |
5318 | do |
4647 | IFS=$as_save_IFS |
5319 | IFS=$as_save_IFS |
4648 | test -z "$as_dir" && as_dir=. |
5320 | test -z "$as_dir" && as_dir=. |
4649 | for ac_exec_ext in '' $ac_executable_extensions; do |
5321 | for ac_exec_ext in '' $ac_executable_extensions; do |
4650 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5322 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4651 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
5323 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
4652 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5324 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4653 | break 2 |
5325 | break 2 |
4654 | fi |
5326 | fi |
4655 | done |
5327 | done |
4656 | done |
5328 | done |
|
|
5329 | IFS=$as_save_IFS |
4657 | |
5330 | |
4658 | fi |
5331 | fi |
4659 | fi |
5332 | fi |
4660 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
5333 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
4661 | if test -n "$ac_ct_CXX"; then |
5334 | if test -n "$ac_ct_CXX"; then |
4662 | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
5335 | { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
4663 | echo "${ECHO_T}$ac_ct_CXX" >&6 |
5336 | echo "${ECHO_T}$ac_ct_CXX" >&6; } |
4664 | else |
5337 | else |
4665 | echo "$as_me:$LINENO: result: no" >&5 |
5338 | { echo "$as_me:$LINENO: result: no" >&5 |
4666 | echo "${ECHO_T}no" >&6 |
5339 | echo "${ECHO_T}no" >&6; } |
4667 | fi |
5340 | fi |
|
|
5341 | |
4668 | |
5342 | |
4669 | test -n "$ac_ct_CXX" && break |
5343 | test -n "$ac_ct_CXX" && break |
4670 | done |
5344 | done |
4671 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
|
|
4672 | |
5345 | |
|
|
5346 | if test "x$ac_ct_CXX" = x; then |
|
|
5347 | CXX="g++" |
|
|
5348 | else |
|
|
5349 | case $cross_compiling:$ac_tool_warned in |
|
|
5350 | yes:) |
|
|
5351 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
5352 | whose name does not start with the host triplet. If you think this |
|
|
5353 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
5354 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
5355 | whose name does not start with the host triplet. If you think this |
|
|
5356 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
5357 | ac_tool_warned=yes ;; |
|
|
5358 | esac |
4673 | CXX=$ac_ct_CXX |
5359 | CXX=$ac_ct_CXX |
|
|
5360 | fi |
4674 | fi |
5361 | fi |
4675 | |
5362 | |
4676 | |
5363 | fi |
|
|
5364 | fi |
4677 | # Provide some information about the compiler. |
5365 | # Provide some information about the compiler. |
4678 | echo "$as_me:$LINENO:" \ |
|
|
4679 | "checking for C++ compiler version" >&5 |
5366 | echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
4680 | ac_compiler=`set X $ac_compile; echo $2` |
5367 | ac_compiler=`set X $ac_compile; echo $2` |
4681 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
5368 | { (ac_try="$ac_compiler --version >&5" |
|
|
5369 | case "(($ac_try" in |
|
|
5370 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5371 | *) ac_try_echo=$ac_try;; |
|
|
5372 | esac |
|
|
5373 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4682 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
5374 | (eval "$ac_compiler --version >&5") 2>&5 |
4683 | ac_status=$? |
5375 | ac_status=$? |
4684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5376 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4685 | (exit $ac_status); } |
5377 | (exit $ac_status); } |
4686 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
5378 | { (ac_try="$ac_compiler -v >&5" |
|
|
5379 | case "(($ac_try" in |
|
|
5380 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5381 | *) ac_try_echo=$ac_try;; |
|
|
5382 | esac |
|
|
5383 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4687 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
5384 | (eval "$ac_compiler -v >&5") 2>&5 |
4688 | ac_status=$? |
5385 | ac_status=$? |
4689 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5386 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4690 | (exit $ac_status); } |
5387 | (exit $ac_status); } |
4691 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
5388 | { (ac_try="$ac_compiler -V >&5" |
|
|
5389 | case "(($ac_try" in |
|
|
5390 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5391 | *) ac_try_echo=$ac_try;; |
|
|
5392 | esac |
|
|
5393 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4692 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
5394 | (eval "$ac_compiler -V >&5") 2>&5 |
4693 | ac_status=$? |
5395 | ac_status=$? |
4694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5396 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4695 | (exit $ac_status); } |
5397 | (exit $ac_status); } |
4696 | |
5398 | |
4697 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
5399 | { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
4698 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
5400 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } |
4699 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
5401 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
4700 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5402 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4701 | else |
5403 | else |
4702 | cat >conftest.$ac_ext <<_ACEOF |
5404 | cat >conftest.$ac_ext <<_ACEOF |
4703 | /* confdefs.h. */ |
5405 | /* confdefs.h. */ |
… | |
… | |
4716 | ; |
5418 | ; |
4717 | return 0; |
5419 | return 0; |
4718 | } |
5420 | } |
4719 | _ACEOF |
5421 | _ACEOF |
4720 | rm -f conftest.$ac_objext |
5422 | rm -f conftest.$ac_objext |
|
|
5423 | if { (ac_try="$ac_compile" |
|
|
5424 | case "(($ac_try" in |
|
|
5425 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5426 | *) ac_try_echo=$ac_try;; |
|
|
5427 | esac |
4721 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5428 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4722 | (eval $ac_compile) 2>conftest.er1 |
5429 | (eval "$ac_compile") 2>conftest.er1 |
4723 | ac_status=$? |
5430 | ac_status=$? |
4724 | grep -v '^ *+' conftest.er1 >conftest.err |
5431 | grep -v '^ *+' conftest.er1 >conftest.err |
4725 | rm -f conftest.er1 |
5432 | rm -f conftest.er1 |
4726 | cat conftest.err >&5 |
5433 | cat conftest.err >&5 |
4727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4728 | (exit $ac_status); } && |
5435 | (exit $ac_status); } && { |
4729 | { ac_try='test -z "$ac_cxx_werror_flag" |
5436 | test -z "$ac_cxx_werror_flag" || |
4730 | || test ! -s conftest.err' |
5437 | test ! -s conftest.err |
4731 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5438 | } && test -s conftest.$ac_objext; then |
4732 | (eval $ac_try) 2>&5 |
|
|
4733 | ac_status=$? |
|
|
4734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4735 | (exit $ac_status); }; } && |
|
|
4736 | { ac_try='test -s conftest.$ac_objext' |
|
|
4737 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4738 | (eval $ac_try) 2>&5 |
|
|
4739 | ac_status=$? |
|
|
4740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4741 | (exit $ac_status); }; }; then |
|
|
4742 | ac_compiler_gnu=yes |
5439 | ac_compiler_gnu=yes |
4743 | else |
5440 | else |
4744 | echo "$as_me: failed program was:" >&5 |
5441 | echo "$as_me: failed program was:" >&5 |
4745 | sed 's/^/| /' conftest.$ac_ext >&5 |
5442 | sed 's/^/| /' conftest.$ac_ext >&5 |
4746 | |
5443 | |
4747 | ac_compiler_gnu=no |
5444 | ac_compiler_gnu=no |
4748 | fi |
5445 | fi |
|
|
5446 | |
4749 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5447 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4750 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
5448 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
4751 | |
5449 | |
4752 | fi |
5450 | fi |
4753 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
5451 | { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
4754 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
5452 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
4755 | GXX=`test $ac_compiler_gnu = yes && echo yes` |
5453 | GXX=`test $ac_compiler_gnu = yes && echo yes` |
4756 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
5454 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
4757 | ac_save_CXXFLAGS=$CXXFLAGS |
5455 | ac_save_CXXFLAGS=$CXXFLAGS |
4758 | CXXFLAGS="-g" |
|
|
4759 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
5456 | { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
4760 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
5457 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
4761 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
5458 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
4762 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5459 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4763 | else |
5460 | else |
|
|
5461 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
|
|
5462 | ac_cxx_werror_flag=yes |
|
|
5463 | ac_cv_prog_cxx_g=no |
|
|
5464 | CXXFLAGS="-g" |
4764 | cat >conftest.$ac_ext <<_ACEOF |
5465 | cat >conftest.$ac_ext <<_ACEOF |
4765 | /* confdefs.h. */ |
5466 | /* confdefs.h. */ |
4766 | _ACEOF |
5467 | _ACEOF |
4767 | cat confdefs.h >>conftest.$ac_ext |
5468 | cat confdefs.h >>conftest.$ac_ext |
4768 | cat >>conftest.$ac_ext <<_ACEOF |
5469 | cat >>conftest.$ac_ext <<_ACEOF |
4769 | /* end confdefs.h. */ |
5470 | /* end confdefs.h. */ |
… | |
… | |
4775 | ; |
5476 | ; |
4776 | return 0; |
5477 | return 0; |
4777 | } |
5478 | } |
4778 | _ACEOF |
5479 | _ACEOF |
4779 | rm -f conftest.$ac_objext |
5480 | rm -f conftest.$ac_objext |
|
|
5481 | if { (ac_try="$ac_compile" |
|
|
5482 | case "(($ac_try" in |
|
|
5483 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5484 | *) ac_try_echo=$ac_try;; |
|
|
5485 | esac |
4780 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5486 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4781 | (eval $ac_compile) 2>conftest.er1 |
5487 | (eval "$ac_compile") 2>conftest.er1 |
4782 | ac_status=$? |
5488 | ac_status=$? |
4783 | grep -v '^ *+' conftest.er1 >conftest.err |
5489 | grep -v '^ *+' conftest.er1 >conftest.err |
4784 | rm -f conftest.er1 |
5490 | rm -f conftest.er1 |
4785 | cat conftest.err >&5 |
5491 | cat conftest.err >&5 |
4786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4787 | (exit $ac_status); } && |
5493 | (exit $ac_status); } && { |
4788 | { ac_try='test -z "$ac_cxx_werror_flag" |
5494 | test -z "$ac_cxx_werror_flag" || |
4789 | || test ! -s conftest.err' |
5495 | test ! -s conftest.err |
4790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5496 | } && test -s conftest.$ac_objext; then |
4791 | (eval $ac_try) 2>&5 |
|
|
4792 | ac_status=$? |
|
|
4793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4794 | (exit $ac_status); }; } && |
|
|
4795 | { ac_try='test -s conftest.$ac_objext' |
|
|
4796 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4797 | (eval $ac_try) 2>&5 |
|
|
4798 | ac_status=$? |
|
|
4799 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4800 | (exit $ac_status); }; }; then |
|
|
4801 | ac_cv_prog_cxx_g=yes |
5497 | ac_cv_prog_cxx_g=yes |
4802 | else |
5498 | else |
4803 | echo "$as_me: failed program was:" >&5 |
5499 | echo "$as_me: failed program was:" >&5 |
4804 | sed 's/^/| /' conftest.$ac_ext >&5 |
5500 | sed 's/^/| /' conftest.$ac_ext >&5 |
4805 | |
5501 | |
|
|
5502 | CXXFLAGS="" |
|
|
5503 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5504 | /* confdefs.h. */ |
|
|
5505 | _ACEOF |
|
|
5506 | cat confdefs.h >>conftest.$ac_ext |
|
|
5507 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5508 | /* end confdefs.h. */ |
|
|
5509 | |
|
|
5510 | int |
|
|
5511 | main () |
|
|
5512 | { |
|
|
5513 | |
|
|
5514 | ; |
|
|
5515 | return 0; |
|
|
5516 | } |
|
|
5517 | _ACEOF |
|
|
5518 | rm -f conftest.$ac_objext |
|
|
5519 | if { (ac_try="$ac_compile" |
|
|
5520 | case "(($ac_try" in |
|
|
5521 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5522 | *) ac_try_echo=$ac_try;; |
|
|
5523 | esac |
|
|
5524 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5525 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5526 | ac_status=$? |
|
|
5527 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5528 | rm -f conftest.er1 |
|
|
5529 | cat conftest.err >&5 |
|
|
5530 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5531 | (exit $ac_status); } && { |
|
|
5532 | test -z "$ac_cxx_werror_flag" || |
|
|
5533 | test ! -s conftest.err |
|
|
5534 | } && test -s conftest.$ac_objext; then |
|
|
5535 | : |
|
|
5536 | else |
|
|
5537 | echo "$as_me: failed program was:" >&5 |
|
|
5538 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5539 | |
|
|
5540 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
|
5541 | CXXFLAGS="-g" |
|
|
5542 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5543 | /* confdefs.h. */ |
|
|
5544 | _ACEOF |
|
|
5545 | cat confdefs.h >>conftest.$ac_ext |
|
|
5546 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5547 | /* end confdefs.h. */ |
|
|
5548 | |
|
|
5549 | int |
|
|
5550 | main () |
|
|
5551 | { |
|
|
5552 | |
|
|
5553 | ; |
|
|
5554 | return 0; |
|
|
5555 | } |
|
|
5556 | _ACEOF |
|
|
5557 | rm -f conftest.$ac_objext |
|
|
5558 | if { (ac_try="$ac_compile" |
|
|
5559 | case "(($ac_try" in |
|
|
5560 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5561 | *) ac_try_echo=$ac_try;; |
|
|
5562 | esac |
|
|
5563 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5564 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5565 | ac_status=$? |
|
|
5566 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5567 | rm -f conftest.er1 |
|
|
5568 | cat conftest.err >&5 |
|
|
5569 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5570 | (exit $ac_status); } && { |
|
|
5571 | test -z "$ac_cxx_werror_flag" || |
|
|
5572 | test ! -s conftest.err |
|
|
5573 | } && test -s conftest.$ac_objext; then |
4806 | ac_cv_prog_cxx_g=no |
5574 | ac_cv_prog_cxx_g=yes |
|
|
5575 | else |
|
|
5576 | echo "$as_me: failed program was:" >&5 |
|
|
5577 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5578 | |
|
|
5579 | |
4807 | fi |
5580 | fi |
|
|
5581 | |
4808 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5582 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4809 | fi |
5583 | fi |
|
|
5584 | |
|
|
5585 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5586 | fi |
|
|
5587 | |
|
|
5588 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5589 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
|
5590 | fi |
4810 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
5591 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
4811 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
5592 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
4812 | if test "$ac_test_CXXFLAGS" = set; then |
5593 | if test "$ac_test_CXXFLAGS" = set; then |
4813 | CXXFLAGS=$ac_save_CXXFLAGS |
5594 | CXXFLAGS=$ac_save_CXXFLAGS |
4814 | elif test $ac_cv_prog_cxx_g = yes; then |
5595 | elif test $ac_cv_prog_cxx_g = yes; then |
4815 | if test "$GXX" = yes; then |
5596 | if test "$GXX" = yes; then |
4816 | CXXFLAGS="-g -O2" |
5597 | CXXFLAGS="-g -O2" |
… | |
… | |
4822 | CXXFLAGS="-O2" |
5603 | CXXFLAGS="-O2" |
4823 | else |
5604 | else |
4824 | CXXFLAGS= |
5605 | CXXFLAGS= |
4825 | fi |
5606 | fi |
4826 | fi |
5607 | fi |
4827 | for ac_declaration in \ |
|
|
4828 | '' \ |
|
|
4829 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
|
|
4830 | 'extern "C" void std::exit (int); using std::exit;' \ |
|
|
4831 | 'extern "C" void exit (int) throw ();' \ |
|
|
4832 | 'extern "C" void exit (int);' \ |
|
|
4833 | 'void exit (int);' |
|
|
4834 | do |
|
|
4835 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4836 | /* confdefs.h. */ |
|
|
4837 | _ACEOF |
|
|
4838 | cat confdefs.h >>conftest.$ac_ext |
|
|
4839 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4840 | /* end confdefs.h. */ |
|
|
4841 | $ac_declaration |
|
|
4842 | #include <stdlib.h> |
|
|
4843 | int |
|
|
4844 | main () |
|
|
4845 | { |
|
|
4846 | exit (42); |
|
|
4847 | ; |
|
|
4848 | return 0; |
|
|
4849 | } |
|
|
4850 | _ACEOF |
|
|
4851 | rm -f conftest.$ac_objext |
|
|
4852 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
4853 | (eval $ac_compile) 2>conftest.er1 |
|
|
4854 | ac_status=$? |
|
|
4855 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4856 | rm -f conftest.er1 |
|
|
4857 | cat conftest.err >&5 |
|
|
4858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4859 | (exit $ac_status); } && |
|
|
4860 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4861 | || test ! -s conftest.err' |
|
|
4862 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4863 | (eval $ac_try) 2>&5 |
|
|
4864 | ac_status=$? |
|
|
4865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4866 | (exit $ac_status); }; } && |
|
|
4867 | { ac_try='test -s conftest.$ac_objext' |
|
|
4868 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4869 | (eval $ac_try) 2>&5 |
|
|
4870 | ac_status=$? |
|
|
4871 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4872 | (exit $ac_status); }; }; then |
|
|
4873 | : |
|
|
4874 | else |
|
|
4875 | echo "$as_me: failed program was:" >&5 |
|
|
4876 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4877 | |
|
|
4878 | continue |
|
|
4879 | fi |
|
|
4880 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4881 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4882 | /* confdefs.h. */ |
|
|
4883 | _ACEOF |
|
|
4884 | cat confdefs.h >>conftest.$ac_ext |
|
|
4885 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4886 | /* end confdefs.h. */ |
|
|
4887 | $ac_declaration |
|
|
4888 | int |
|
|
4889 | main () |
|
|
4890 | { |
|
|
4891 | exit (42); |
|
|
4892 | ; |
|
|
4893 | return 0; |
|
|
4894 | } |
|
|
4895 | _ACEOF |
|
|
4896 | rm -f conftest.$ac_objext |
|
|
4897 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
4898 | (eval $ac_compile) 2>conftest.er1 |
|
|
4899 | ac_status=$? |
|
|
4900 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4901 | rm -f conftest.er1 |
|
|
4902 | cat conftest.err >&5 |
|
|
4903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4904 | (exit $ac_status); } && |
|
|
4905 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4906 | || test ! -s conftest.err' |
|
|
4907 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4908 | (eval $ac_try) 2>&5 |
|
|
4909 | ac_status=$? |
|
|
4910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4911 | (exit $ac_status); }; } && |
|
|
4912 | { ac_try='test -s conftest.$ac_objext' |
|
|
4913 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4914 | (eval $ac_try) 2>&5 |
|
|
4915 | ac_status=$? |
|
|
4916 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4917 | (exit $ac_status); }; }; then |
|
|
4918 | break |
|
|
4919 | else |
|
|
4920 | echo "$as_me: failed program was:" >&5 |
|
|
4921 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4922 | |
|
|
4923 | fi |
|
|
4924 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4925 | done |
|
|
4926 | rm -f conftest* |
|
|
4927 | if test -n "$ac_declaration"; then |
|
|
4928 | echo '#ifdef __cplusplus' >>confdefs.h |
|
|
4929 | echo $ac_declaration >>confdefs.h |
|
|
4930 | echo '#endif' >>confdefs.h |
|
|
4931 | fi |
|
|
4932 | |
|
|
4933 | ac_ext=cc |
5608 | ac_ext=cpp |
4934 | ac_cpp='$CXXCPP $CPPFLAGS' |
5609 | ac_cpp='$CXXCPP $CPPFLAGS' |
4935 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5610 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4936 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5611 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4937 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5612 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4938 | |
5613 | |
4939 | depcc="$CXX" am_compiler_list= |
5614 | depcc="$CXX" am_compiler_list= |
4940 | |
5615 | |
4941 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
5616 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
4942 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
5617 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
4943 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
5618 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
4944 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5619 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4945 | else |
5620 | else |
4946 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
5621 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4947 | # We make a subdir and do the tests there. Otherwise we can end up |
5622 | # We make a subdir and do the tests there. Otherwise we can end up |
… | |
… | |
4998 | else |
5673 | else |
4999 | am_cv_CXX_dependencies_compiler_type=none |
5674 | am_cv_CXX_dependencies_compiler_type=none |
5000 | fi |
5675 | fi |
5001 | |
5676 | |
5002 | fi |
5677 | fi |
5003 | echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
5678 | { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
5004 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 |
5679 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } |
5005 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
5680 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
5006 | |
5681 | |
5007 | |
5682 | |
|
|
5683 | |
|
|
5684 | |
|
|
5685 | if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
|
|
5686 | ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
|
|
5687 | (test "X$CXX" != "Xg++"))) ; then |
5008 | ac_ext=cc |
5688 | ac_ext=cpp |
5009 | ac_cpp='$CXXCPP $CPPFLAGS' |
5689 | ac_cpp='$CXXCPP $CPPFLAGS' |
5010 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5690 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5011 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5691 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5012 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5692 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5013 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
5693 | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
5014 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
5694 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
5015 | if test -z "$CXXCPP"; then |
5695 | if test -z "$CXXCPP"; then |
5016 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
5696 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
5017 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5697 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5018 | else |
5698 | else |
5019 | # Double quotes because CXXCPP needs to be expanded |
5699 | # Double quotes because CXXCPP needs to be expanded |
… | |
… | |
5039 | #else |
5719 | #else |
5040 | # include <assert.h> |
5720 | # include <assert.h> |
5041 | #endif |
5721 | #endif |
5042 | Syntax error |
5722 | Syntax error |
5043 | _ACEOF |
5723 | _ACEOF |
5044 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5724 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5725 | case "(($ac_try" in |
|
|
5726 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5727 | *) ac_try_echo=$ac_try;; |
|
|
5728 | esac |
|
|
5729 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5045 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5730 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5046 | ac_status=$? |
5731 | ac_status=$? |
5047 | grep -v '^ *+' conftest.er1 >conftest.err |
5732 | grep -v '^ *+' conftest.er1 >conftest.err |
5048 | rm -f conftest.er1 |
5733 | rm -f conftest.er1 |
5049 | cat conftest.err >&5 |
5734 | cat conftest.err >&5 |
5050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5735 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5051 | (exit $ac_status); } >/dev/null; then |
5736 | (exit $ac_status); } >/dev/null && { |
|
|
5737 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
5052 | if test -s conftest.err; then |
5738 | test ! -s conftest.err |
5053 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
5739 | }; then |
5054 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
5055 | else |
|
|
5056 | ac_cpp_err= |
|
|
5057 | fi |
|
|
5058 | else |
|
|
5059 | ac_cpp_err=yes |
|
|
5060 | fi |
|
|
5061 | if test -z "$ac_cpp_err"; then |
|
|
5062 | : |
5740 | : |
5063 | else |
5741 | else |
5064 | echo "$as_me: failed program was:" >&5 |
5742 | echo "$as_me: failed program was:" >&5 |
5065 | sed 's/^/| /' conftest.$ac_ext >&5 |
5743 | sed 's/^/| /' conftest.$ac_ext >&5 |
5066 | |
5744 | |
5067 | # Broken: fails on valid input. |
5745 | # Broken: fails on valid input. |
5068 | continue |
5746 | continue |
5069 | fi |
5747 | fi |
|
|
5748 | |
5070 | rm -f conftest.err conftest.$ac_ext |
5749 | rm -f conftest.err conftest.$ac_ext |
5071 | |
5750 | |
5072 | # OK, works on sane cases. Now check whether non-existent headers |
5751 | # OK, works on sane cases. Now check whether nonexistent headers |
5073 | # can be detected and how. |
5752 | # can be detected and how. |
5074 | cat >conftest.$ac_ext <<_ACEOF |
5753 | cat >conftest.$ac_ext <<_ACEOF |
5075 | /* confdefs.h. */ |
5754 | /* confdefs.h. */ |
5076 | _ACEOF |
5755 | _ACEOF |
5077 | cat confdefs.h >>conftest.$ac_ext |
5756 | cat confdefs.h >>conftest.$ac_ext |
5078 | cat >>conftest.$ac_ext <<_ACEOF |
5757 | cat >>conftest.$ac_ext <<_ACEOF |
5079 | /* end confdefs.h. */ |
5758 | /* end confdefs.h. */ |
5080 | #include <ac_nonexistent.h> |
5759 | #include <ac_nonexistent.h> |
5081 | _ACEOF |
5760 | _ACEOF |
5082 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5761 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5762 | case "(($ac_try" in |
|
|
5763 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5764 | *) ac_try_echo=$ac_try;; |
|
|
5765 | esac |
|
|
5766 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5083 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5767 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5084 | ac_status=$? |
5768 | ac_status=$? |
5085 | grep -v '^ *+' conftest.er1 >conftest.err |
5769 | grep -v '^ *+' conftest.er1 >conftest.err |
5086 | rm -f conftest.er1 |
5770 | rm -f conftest.er1 |
5087 | cat conftest.err >&5 |
5771 | cat conftest.err >&5 |
5088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5772 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5089 | (exit $ac_status); } >/dev/null; then |
5773 | (exit $ac_status); } >/dev/null && { |
|
|
5774 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
5090 | if test -s conftest.err; then |
5775 | test ! -s conftest.err |
5091 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
5776 | }; then |
5092 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
5093 | else |
|
|
5094 | ac_cpp_err= |
|
|
5095 | fi |
|
|
5096 | else |
|
|
5097 | ac_cpp_err=yes |
|
|
5098 | fi |
|
|
5099 | if test -z "$ac_cpp_err"; then |
|
|
5100 | # Broken: success on invalid input. |
5777 | # Broken: success on invalid input. |
5101 | continue |
5778 | continue |
5102 | else |
5779 | else |
5103 | echo "$as_me: failed program was:" >&5 |
5780 | echo "$as_me: failed program was:" >&5 |
5104 | sed 's/^/| /' conftest.$ac_ext >&5 |
5781 | sed 's/^/| /' conftest.$ac_ext >&5 |
5105 | |
5782 | |
5106 | # Passes both tests. |
5783 | # Passes both tests. |
5107 | ac_preproc_ok=: |
5784 | ac_preproc_ok=: |
5108 | break |
5785 | break |
5109 | fi |
5786 | fi |
|
|
5787 | |
5110 | rm -f conftest.err conftest.$ac_ext |
5788 | rm -f conftest.err conftest.$ac_ext |
5111 | |
5789 | |
5112 | done |
5790 | done |
5113 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5791 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5114 | rm -f conftest.err conftest.$ac_ext |
5792 | rm -f conftest.err conftest.$ac_ext |
… | |
… | |
5122 | fi |
5800 | fi |
5123 | CXXCPP=$ac_cv_prog_CXXCPP |
5801 | CXXCPP=$ac_cv_prog_CXXCPP |
5124 | else |
5802 | else |
5125 | ac_cv_prog_CXXCPP=$CXXCPP |
5803 | ac_cv_prog_CXXCPP=$CXXCPP |
5126 | fi |
5804 | fi |
5127 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
5805 | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
5128 | echo "${ECHO_T}$CXXCPP" >&6 |
5806 | echo "${ECHO_T}$CXXCPP" >&6; } |
5129 | ac_preproc_ok=false |
5807 | ac_preproc_ok=false |
5130 | for ac_cxx_preproc_warn_flag in '' yes |
5808 | for ac_cxx_preproc_warn_flag in '' yes |
5131 | do |
5809 | do |
5132 | # Use a header file that comes with gcc, so configuring glibc |
5810 | # Use a header file that comes with gcc, so configuring glibc |
5133 | # with a fresh cross-compiler works. |
5811 | # with a fresh cross-compiler works. |
… | |
… | |
5146 | #else |
5824 | #else |
5147 | # include <assert.h> |
5825 | # include <assert.h> |
5148 | #endif |
5826 | #endif |
5149 | Syntax error |
5827 | Syntax error |
5150 | _ACEOF |
5828 | _ACEOF |
5151 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5829 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5830 | case "(($ac_try" in |
|
|
5831 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5832 | *) ac_try_echo=$ac_try;; |
|
|
5833 | esac |
|
|
5834 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5152 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5835 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5153 | ac_status=$? |
5836 | ac_status=$? |
5154 | grep -v '^ *+' conftest.er1 >conftest.err |
5837 | grep -v '^ *+' conftest.er1 >conftest.err |
5155 | rm -f conftest.er1 |
5838 | rm -f conftest.er1 |
5156 | cat conftest.err >&5 |
5839 | cat conftest.err >&5 |
5157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5840 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5158 | (exit $ac_status); } >/dev/null; then |
5841 | (exit $ac_status); } >/dev/null && { |
|
|
5842 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
5159 | if test -s conftest.err; then |
5843 | test ! -s conftest.err |
5160 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
5844 | }; then |
5161 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
5162 | else |
|
|
5163 | ac_cpp_err= |
|
|
5164 | fi |
|
|
5165 | else |
|
|
5166 | ac_cpp_err=yes |
|
|
5167 | fi |
|
|
5168 | if test -z "$ac_cpp_err"; then |
|
|
5169 | : |
5845 | : |
5170 | else |
5846 | else |
5171 | echo "$as_me: failed program was:" >&5 |
5847 | echo "$as_me: failed program was:" >&5 |
5172 | sed 's/^/| /' conftest.$ac_ext >&5 |
5848 | sed 's/^/| /' conftest.$ac_ext >&5 |
5173 | |
5849 | |
5174 | # Broken: fails on valid input. |
5850 | # Broken: fails on valid input. |
5175 | continue |
5851 | continue |
5176 | fi |
5852 | fi |
|
|
5853 | |
5177 | rm -f conftest.err conftest.$ac_ext |
5854 | rm -f conftest.err conftest.$ac_ext |
5178 | |
5855 | |
5179 | # OK, works on sane cases. Now check whether non-existent headers |
5856 | # OK, works on sane cases. Now check whether nonexistent headers |
5180 | # can be detected and how. |
5857 | # can be detected and how. |
5181 | cat >conftest.$ac_ext <<_ACEOF |
5858 | cat >conftest.$ac_ext <<_ACEOF |
5182 | /* confdefs.h. */ |
5859 | /* confdefs.h. */ |
5183 | _ACEOF |
5860 | _ACEOF |
5184 | cat confdefs.h >>conftest.$ac_ext |
5861 | cat confdefs.h >>conftest.$ac_ext |
5185 | cat >>conftest.$ac_ext <<_ACEOF |
5862 | cat >>conftest.$ac_ext <<_ACEOF |
5186 | /* end confdefs.h. */ |
5863 | /* end confdefs.h. */ |
5187 | #include <ac_nonexistent.h> |
5864 | #include <ac_nonexistent.h> |
5188 | _ACEOF |
5865 | _ACEOF |
5189 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5866 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5867 | case "(($ac_try" in |
|
|
5868 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5869 | *) ac_try_echo=$ac_try;; |
|
|
5870 | esac |
|
|
5871 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5190 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5872 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5191 | ac_status=$? |
5873 | ac_status=$? |
5192 | grep -v '^ *+' conftest.er1 >conftest.err |
5874 | grep -v '^ *+' conftest.er1 >conftest.err |
5193 | rm -f conftest.er1 |
5875 | rm -f conftest.er1 |
5194 | cat conftest.err >&5 |
5876 | cat conftest.err >&5 |
5195 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5877 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5196 | (exit $ac_status); } >/dev/null; then |
5878 | (exit $ac_status); } >/dev/null && { |
|
|
5879 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
5197 | if test -s conftest.err; then |
5880 | test ! -s conftest.err |
5198 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
5881 | }; then |
5199 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
5200 | else |
|
|
5201 | ac_cpp_err= |
|
|
5202 | fi |
|
|
5203 | else |
|
|
5204 | ac_cpp_err=yes |
|
|
5205 | fi |
|
|
5206 | if test -z "$ac_cpp_err"; then |
|
|
5207 | # Broken: success on invalid input. |
5882 | # Broken: success on invalid input. |
5208 | continue |
5883 | continue |
5209 | else |
5884 | else |
5210 | echo "$as_me: failed program was:" >&5 |
5885 | echo "$as_me: failed program was:" >&5 |
5211 | sed 's/^/| /' conftest.$ac_ext >&5 |
5886 | sed 's/^/| /' conftest.$ac_ext >&5 |
5212 | |
5887 | |
5213 | # Passes both tests. |
5888 | # Passes both tests. |
5214 | ac_preproc_ok=: |
5889 | ac_preproc_ok=: |
5215 | break |
5890 | break |
5216 | fi |
5891 | fi |
|
|
5892 | |
5217 | rm -f conftest.err conftest.$ac_ext |
5893 | rm -f conftest.err conftest.$ac_ext |
5218 | |
5894 | |
5219 | done |
5895 | done |
5220 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5896 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5221 | rm -f conftest.err conftest.$ac_ext |
5897 | rm -f conftest.err conftest.$ac_ext |
… | |
… | |
5227 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
5903 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
5228 | See \`config.log' for more details." >&2;} |
5904 | See \`config.log' for more details." >&2;} |
5229 | { (exit 1); exit 1; }; } |
5905 | { (exit 1); exit 1; }; } |
5230 | fi |
5906 | fi |
5231 | |
5907 | |
5232 | ac_ext=cc |
5908 | ac_ext=cpp |
5233 | ac_cpp='$CXXCPP $CPPFLAGS' |
5909 | ac_cpp='$CXXCPP $CPPFLAGS' |
5234 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5910 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5235 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5911 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5236 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5912 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
5913 | |
|
|
5914 | fi |
5237 | |
5915 | |
5238 | |
5916 | |
5239 | ac_ext=f |
5917 | ac_ext=f |
5240 | ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
5918 | ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
5241 | ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5919 | ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5242 | ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
5920 | ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
5243 | if test -n "$ac_tool_prefix"; then |
5921 | if test -n "$ac_tool_prefix"; then |
5244 | for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran |
5922 | for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn |
5245 | do |
5923 | do |
5246 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5924 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5247 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5925 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5248 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5926 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5249 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5927 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5250 | if test "${ac_cv_prog_F77+set}" = set; then |
5928 | if test "${ac_cv_prog_F77+set}" = set; then |
5251 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5929 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5252 | else |
5930 | else |
5253 | if test -n "$F77"; then |
5931 | if test -n "$F77"; then |
5254 | ac_cv_prog_F77="$F77" # Let the user override the test. |
5932 | ac_cv_prog_F77="$F77" # Let the user override the test. |
… | |
… | |
5257 | for as_dir in $PATH |
5935 | for as_dir in $PATH |
5258 | do |
5936 | do |
5259 | IFS=$as_save_IFS |
5937 | IFS=$as_save_IFS |
5260 | test -z "$as_dir" && as_dir=. |
5938 | test -z "$as_dir" && as_dir=. |
5261 | for ac_exec_ext in '' $ac_executable_extensions; do |
5939 | for ac_exec_ext in '' $ac_executable_extensions; do |
5262 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5940 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5263 | ac_cv_prog_F77="$ac_tool_prefix$ac_prog" |
5941 | ac_cv_prog_F77="$ac_tool_prefix$ac_prog" |
5264 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5942 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5265 | break 2 |
5943 | break 2 |
5266 | fi |
5944 | fi |
5267 | done |
5945 | done |
5268 | done |
5946 | done |
|
|
5947 | IFS=$as_save_IFS |
5269 | |
5948 | |
5270 | fi |
5949 | fi |
5271 | fi |
5950 | fi |
5272 | F77=$ac_cv_prog_F77 |
5951 | F77=$ac_cv_prog_F77 |
5273 | if test -n "$F77"; then |
5952 | if test -n "$F77"; then |
5274 | echo "$as_me:$LINENO: result: $F77" >&5 |
5953 | { echo "$as_me:$LINENO: result: $F77" >&5 |
5275 | echo "${ECHO_T}$F77" >&6 |
5954 | echo "${ECHO_T}$F77" >&6; } |
5276 | else |
5955 | else |
5277 | echo "$as_me:$LINENO: result: no" >&5 |
5956 | { echo "$as_me:$LINENO: result: no" >&5 |
5278 | echo "${ECHO_T}no" >&6 |
5957 | echo "${ECHO_T}no" >&6; } |
5279 | fi |
5958 | fi |
|
|
5959 | |
5280 | |
5960 | |
5281 | test -n "$F77" && break |
5961 | test -n "$F77" && break |
5282 | done |
5962 | done |
5283 | fi |
5963 | fi |
5284 | if test -z "$F77"; then |
5964 | if test -z "$F77"; then |
5285 | ac_ct_F77=$F77 |
5965 | ac_ct_F77=$F77 |
5286 | for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran |
5966 | for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn |
5287 | do |
5967 | do |
5288 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
5968 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
5289 | set dummy $ac_prog; ac_word=$2 |
5969 | set dummy $ac_prog; ac_word=$2 |
5290 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5970 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5291 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5971 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5292 | if test "${ac_cv_prog_ac_ct_F77+set}" = set; then |
5972 | if test "${ac_cv_prog_ac_ct_F77+set}" = set; then |
5293 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5973 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5294 | else |
5974 | else |
5295 | if test -n "$ac_ct_F77"; then |
5975 | if test -n "$ac_ct_F77"; then |
5296 | ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. |
5976 | ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. |
… | |
… | |
5299 | for as_dir in $PATH |
5979 | for as_dir in $PATH |
5300 | do |
5980 | do |
5301 | IFS=$as_save_IFS |
5981 | IFS=$as_save_IFS |
5302 | test -z "$as_dir" && as_dir=. |
5982 | test -z "$as_dir" && as_dir=. |
5303 | for ac_exec_ext in '' $ac_executable_extensions; do |
5983 | for ac_exec_ext in '' $ac_executable_extensions; do |
5304 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5984 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5305 | ac_cv_prog_ac_ct_F77="$ac_prog" |
5985 | ac_cv_prog_ac_ct_F77="$ac_prog" |
5306 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5986 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5307 | break 2 |
5987 | break 2 |
5308 | fi |
5988 | fi |
5309 | done |
5989 | done |
5310 | done |
5990 | done |
|
|
5991 | IFS=$as_save_IFS |
5311 | |
5992 | |
5312 | fi |
5993 | fi |
5313 | fi |
5994 | fi |
5314 | ac_ct_F77=$ac_cv_prog_ac_ct_F77 |
5995 | ac_ct_F77=$ac_cv_prog_ac_ct_F77 |
5315 | if test -n "$ac_ct_F77"; then |
5996 | if test -n "$ac_ct_F77"; then |
5316 | echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 |
5997 | { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 |
5317 | echo "${ECHO_T}$ac_ct_F77" >&6 |
5998 | echo "${ECHO_T}$ac_ct_F77" >&6; } |
5318 | else |
5999 | else |
5319 | echo "$as_me:$LINENO: result: no" >&5 |
6000 | { echo "$as_me:$LINENO: result: no" >&5 |
5320 | echo "${ECHO_T}no" >&6 |
6001 | echo "${ECHO_T}no" >&6; } |
5321 | fi |
6002 | fi |
|
|
6003 | |
5322 | |
6004 | |
5323 | test -n "$ac_ct_F77" && break |
6005 | test -n "$ac_ct_F77" && break |
5324 | done |
6006 | done |
5325 | |
6007 | |
|
|
6008 | if test "x$ac_ct_F77" = x; then |
|
|
6009 | F77="" |
|
|
6010 | else |
|
|
6011 | case $cross_compiling:$ac_tool_warned in |
|
|
6012 | yes:) |
|
|
6013 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
6014 | whose name does not start with the host triplet. If you think this |
|
|
6015 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
6016 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
6017 | whose name does not start with the host triplet. If you think this |
|
|
6018 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
6019 | ac_tool_warned=yes ;; |
|
|
6020 | esac |
5326 | F77=$ac_ct_F77 |
6021 | F77=$ac_ct_F77 |
|
|
6022 | fi |
5327 | fi |
6023 | fi |
5328 | |
6024 | |
5329 | |
6025 | |
5330 | # Provide some information about the compiler. |
6026 | # Provide some information about the compiler. |
5331 | echo "$as_me:5331:" \ |
|
|
5332 | "checking for Fortran 77 compiler version" >&5 |
6027 | echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 |
5333 | ac_compiler=`set X $ac_compile; echo $2` |
6028 | ac_compiler=`set X $ac_compile; echo $2` |
5334 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
6029 | { (ac_try="$ac_compiler --version >&5" |
|
|
6030 | case "(($ac_try" in |
|
|
6031 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6032 | *) ac_try_echo=$ac_try;; |
|
|
6033 | esac |
|
|
6034 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5335 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
6035 | (eval "$ac_compiler --version >&5") 2>&5 |
5336 | ac_status=$? |
6036 | ac_status=$? |
5337 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5338 | (exit $ac_status); } |
6038 | (exit $ac_status); } |
5339 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
6039 | { (ac_try="$ac_compiler -v >&5" |
|
|
6040 | case "(($ac_try" in |
|
|
6041 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6042 | *) ac_try_echo=$ac_try;; |
|
|
6043 | esac |
|
|
6044 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5340 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
6045 | (eval "$ac_compiler -v >&5") 2>&5 |
5341 | ac_status=$? |
6046 | ac_status=$? |
5342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5343 | (exit $ac_status); } |
6048 | (exit $ac_status); } |
5344 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
6049 | { (ac_try="$ac_compiler -V >&5" |
|
|
6050 | case "(($ac_try" in |
|
|
6051 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6052 | *) ac_try_echo=$ac_try;; |
|
|
6053 | esac |
|
|
6054 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5345 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
6055 | (eval "$ac_compiler -V >&5") 2>&5 |
5346 | ac_status=$? |
6056 | ac_status=$? |
5347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6057 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5348 | (exit $ac_status); } |
6058 | (exit $ac_status); } |
5349 | rm -f a.out |
6059 | rm -f a.out |
5350 | |
6060 | |
5351 | # If we don't use `.F' as extension, the preprocessor is not run on the |
6061 | # If we don't use `.F' as extension, the preprocessor is not run on the |
5352 | # input file. (Note that this only needs to work for GNU compilers.) |
6062 | # input file. (Note that this only needs to work for GNU compilers.) |
5353 | ac_save_ext=$ac_ext |
6063 | ac_save_ext=$ac_ext |
5354 | ac_ext=F |
6064 | ac_ext=F |
5355 | echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 |
6065 | { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 |
5356 | echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 |
6066 | echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; } |
5357 | if test "${ac_cv_f77_compiler_gnu+set}" = set; then |
6067 | if test "${ac_cv_f77_compiler_gnu+set}" = set; then |
5358 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6068 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5359 | else |
6069 | else |
5360 | cat >conftest.$ac_ext <<_ACEOF |
6070 | cat >conftest.$ac_ext <<_ACEOF |
5361 | program main |
6071 | program main |
… | |
… | |
5364 | #endif |
6074 | #endif |
5365 | |
6075 | |
5366 | end |
6076 | end |
5367 | _ACEOF |
6077 | _ACEOF |
5368 | rm -f conftest.$ac_objext |
6078 | rm -f conftest.$ac_objext |
|
|
6079 | if { (ac_try="$ac_compile" |
|
|
6080 | case "(($ac_try" in |
|
|
6081 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6082 | *) ac_try_echo=$ac_try;; |
|
|
6083 | esac |
5369 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6084 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5370 | (eval $ac_compile) 2>conftest.er1 |
6085 | (eval "$ac_compile") 2>conftest.er1 |
5371 | ac_status=$? |
6086 | ac_status=$? |
5372 | grep -v '^ *+' conftest.er1 >conftest.err |
6087 | grep -v '^ *+' conftest.er1 >conftest.err |
5373 | rm -f conftest.er1 |
6088 | rm -f conftest.er1 |
5374 | cat conftest.err >&5 |
6089 | cat conftest.err >&5 |
5375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5376 | (exit $ac_status); } && |
6091 | (exit $ac_status); } && { |
5377 | { ac_try='test -z "$ac_f77_werror_flag" |
6092 | test -z "$ac_f77_werror_flag" || |
5378 | || test ! -s conftest.err' |
6093 | test ! -s conftest.err |
5379 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6094 | } && test -s conftest.$ac_objext; then |
5380 | (eval $ac_try) 2>&5 |
|
|
5381 | ac_status=$? |
|
|
5382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5383 | (exit $ac_status); }; } && |
|
|
5384 | { ac_try='test -s conftest.$ac_objext' |
|
|
5385 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5386 | (eval $ac_try) 2>&5 |
|
|
5387 | ac_status=$? |
|
|
5388 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5389 | (exit $ac_status); }; }; then |
|
|
5390 | ac_compiler_gnu=yes |
6095 | ac_compiler_gnu=yes |
5391 | else |
6096 | else |
5392 | echo "$as_me: failed program was:" >&5 |
6097 | echo "$as_me: failed program was:" >&5 |
5393 | sed 's/^/| /' conftest.$ac_ext >&5 |
6098 | sed 's/^/| /' conftest.$ac_ext >&5 |
5394 | |
6099 | |
5395 | ac_compiler_gnu=no |
6100 | ac_compiler_gnu=no |
5396 | fi |
6101 | fi |
|
|
6102 | |
5397 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6103 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5398 | ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
6104 | ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
5399 | |
6105 | |
5400 | fi |
6106 | fi |
5401 | echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
6107 | { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
5402 | echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
6108 | echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; } |
5403 | ac_ext=$ac_save_ext |
6109 | ac_ext=$ac_save_ext |
5404 | ac_test_FFLAGS=${FFLAGS+set} |
6110 | ac_test_FFLAGS=${FFLAGS+set} |
5405 | ac_save_FFLAGS=$FFLAGS |
6111 | ac_save_FFLAGS=$FFLAGS |
5406 | FFLAGS= |
6112 | FFLAGS= |
5407 | echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 |
6113 | { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 |
5408 | echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 |
6114 | echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; } |
5409 | if test "${ac_cv_prog_f77_g+set}" = set; then |
6115 | if test "${ac_cv_prog_f77_g+set}" = set; then |
5410 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6116 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5411 | else |
6117 | else |
5412 | FFLAGS=-g |
6118 | FFLAGS=-g |
5413 | cat >conftest.$ac_ext <<_ACEOF |
6119 | cat >conftest.$ac_ext <<_ACEOF |
5414 | program main |
6120 | program main |
5415 | |
6121 | |
5416 | end |
6122 | end |
5417 | _ACEOF |
6123 | _ACEOF |
5418 | rm -f conftest.$ac_objext |
6124 | rm -f conftest.$ac_objext |
|
|
6125 | if { (ac_try="$ac_compile" |
|
|
6126 | case "(($ac_try" in |
|
|
6127 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6128 | *) ac_try_echo=$ac_try;; |
|
|
6129 | esac |
5419 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6130 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5420 | (eval $ac_compile) 2>conftest.er1 |
6131 | (eval "$ac_compile") 2>conftest.er1 |
5421 | ac_status=$? |
6132 | ac_status=$? |
5422 | grep -v '^ *+' conftest.er1 >conftest.err |
6133 | grep -v '^ *+' conftest.er1 >conftest.err |
5423 | rm -f conftest.er1 |
6134 | rm -f conftest.er1 |
5424 | cat conftest.err >&5 |
6135 | cat conftest.err >&5 |
5425 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6136 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5426 | (exit $ac_status); } && |
6137 | (exit $ac_status); } && { |
5427 | { ac_try='test -z "$ac_f77_werror_flag" |
6138 | test -z "$ac_f77_werror_flag" || |
5428 | || test ! -s conftest.err' |
6139 | test ! -s conftest.err |
5429 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6140 | } && test -s conftest.$ac_objext; then |
5430 | (eval $ac_try) 2>&5 |
|
|
5431 | ac_status=$? |
|
|
5432 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5433 | (exit $ac_status); }; } && |
|
|
5434 | { ac_try='test -s conftest.$ac_objext' |
|
|
5435 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5436 | (eval $ac_try) 2>&5 |
|
|
5437 | ac_status=$? |
|
|
5438 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5439 | (exit $ac_status); }; }; then |
|
|
5440 | ac_cv_prog_f77_g=yes |
6141 | ac_cv_prog_f77_g=yes |
5441 | else |
6142 | else |
5442 | echo "$as_me: failed program was:" >&5 |
6143 | echo "$as_me: failed program was:" >&5 |
5443 | sed 's/^/| /' conftest.$ac_ext >&5 |
6144 | sed 's/^/| /' conftest.$ac_ext >&5 |
5444 | |
6145 | |
5445 | ac_cv_prog_f77_g=no |
6146 | ac_cv_prog_f77_g=no |
5446 | fi |
6147 | fi |
|
|
6148 | |
5447 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6149 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5448 | |
6150 | |
5449 | fi |
6151 | fi |
5450 | echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
6152 | { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
5451 | echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 |
6153 | echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; } |
5452 | if test "$ac_test_FFLAGS" = set; then |
6154 | if test "$ac_test_FFLAGS" = set; then |
5453 | FFLAGS=$ac_save_FFLAGS |
6155 | FFLAGS=$ac_save_FFLAGS |
5454 | elif test $ac_cv_prog_f77_g = yes; then |
6156 | elif test $ac_cv_prog_f77_g = yes; then |
5455 | if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
6157 | if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
5456 | FFLAGS="-g -O2" |
6158 | FFLAGS="-g -O2" |
… | |
… | |
5475 | |
6177 | |
5476 | |
6178 | |
5477 | # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
6179 | # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
5478 | |
6180 | |
5479 | # find the maximum length of command line arguments |
6181 | # find the maximum length of command line arguments |
5480 | echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
6182 | { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
5481 | echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 |
6183 | echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } |
5482 | if test "${lt_cv_sys_max_cmd_len+set}" = set; then |
6184 | if test "${lt_cv_sys_max_cmd_len+set}" = set; then |
5483 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6185 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5484 | else |
6186 | else |
5485 | i=0 |
6187 | i=0 |
5486 | testring="ABCD" |
6188 | teststring="ABCD" |
5487 | |
6189 | |
5488 | case $build_os in |
6190 | case $build_os in |
5489 | msdosdjgpp*) |
6191 | msdosdjgpp*) |
5490 | # On DJGPP, this test can blow up pretty badly due to problems in libc |
6192 | # On DJGPP, this test can blow up pretty badly due to problems in libc |
5491 | # (any single argument exceeding 2000 bytes causes a buffer overrun |
6193 | # (any single argument exceeding 2000 bytes causes a buffer overrun |
… | |
… | |
5516 | # On AmigaOS with pdksh, this test takes hours, literally. |
6218 | # On AmigaOS with pdksh, this test takes hours, literally. |
5517 | # So we just punt and use a minimum line length of 8192. |
6219 | # So we just punt and use a minimum line length of 8192. |
5518 | lt_cv_sys_max_cmd_len=8192; |
6220 | lt_cv_sys_max_cmd_len=8192; |
5519 | ;; |
6221 | ;; |
5520 | |
6222 | |
|
|
6223 | netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
|
|
6224 | # This has been around since 386BSD, at least. Likely further. |
|
|
6225 | if test -x /sbin/sysctl; then |
|
|
6226 | lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
|
|
6227 | elif test -x /usr/sbin/sysctl; then |
|
|
6228 | lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
|
|
6229 | else |
|
|
6230 | lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
|
|
6231 | fi |
|
|
6232 | # And add a safety zone |
|
|
6233 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
|
6234 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
|
6235 | ;; |
|
|
6236 | |
|
|
6237 | interix*) |
|
|
6238 | # We know the value 262144 and hardcode it with a safety zone (like BSD) |
|
|
6239 | lt_cv_sys_max_cmd_len=196608 |
|
|
6240 | ;; |
|
|
6241 | |
|
|
6242 | osf*) |
|
|
6243 | # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
|
|
6244 | # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
|
|
6245 | # nice to cause kernel panics so lets avoid the loop below. |
|
|
6246 | # First set a reasonable default. |
|
|
6247 | lt_cv_sys_max_cmd_len=16384 |
|
|
6248 | # |
|
|
6249 | if test -x /sbin/sysconfig; then |
|
|
6250 | case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
|
|
6251 | *1*) lt_cv_sys_max_cmd_len=-1 ;; |
|
|
6252 | esac |
|
|
6253 | fi |
|
|
6254 | ;; |
|
|
6255 | sco3.2v5*) |
|
|
6256 | lt_cv_sys_max_cmd_len=102400 |
|
|
6257 | ;; |
|
|
6258 | sysv5* | sco5v6* | sysv4.2uw2*) |
|
|
6259 | kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
|
|
6260 | if test -n "$kargmax"; then |
|
|
6261 | lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
|
|
6262 | else |
|
|
6263 | lt_cv_sys_max_cmd_len=32768 |
|
|
6264 | fi |
|
|
6265 | ;; |
5521 | *) |
6266 | *) |
5522 | # If test is not a shell built-in, we'll probably end up computing a |
6267 | # If test is not a shell built-in, we'll probably end up computing a |
5523 | # maximum length that is only half of the actual maximum length, but |
6268 | # maximum length that is only half of the actual maximum length, but |
5524 | # we can't tell. |
6269 | # we can't tell. |
|
|
6270 | SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
5525 | while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ |
6271 | while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ |
5526 | = "XX$testring") >/dev/null 2>&1 && |
6272 | = "XX$teststring") >/dev/null 2>&1 && |
5527 | new_result=`expr "X$testring" : ".*" 2>&1` && |
6273 | new_result=`expr "X$teststring" : ".*" 2>&1` && |
5528 | lt_cv_sys_max_cmd_len=$new_result && |
6274 | lt_cv_sys_max_cmd_len=$new_result && |
5529 | test $i != 17 # 1/2 MB should be enough |
6275 | test $i != 17 # 1/2 MB should be enough |
5530 | do |
6276 | do |
5531 | i=`expr $i + 1` |
6277 | i=`expr $i + 1` |
5532 | testring=$testring$testring |
6278 | teststring=$teststring$teststring |
5533 | done |
6279 | done |
5534 | testring= |
6280 | teststring= |
5535 | # Add a significant safety factor because C++ compilers can tack on massive |
6281 | # Add a significant safety factor because C++ compilers can tack on massive |
5536 | # amounts of additional arguments before passing them to the linker. |
6282 | # amounts of additional arguments before passing them to the linker. |
5537 | # It appears as though 1/2 is a usable value. |
6283 | # It appears as though 1/2 is a usable value. |
5538 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
6284 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
5539 | ;; |
6285 | ;; |
5540 | esac |
6286 | esac |
5541 | |
6287 | |
5542 | fi |
6288 | fi |
5543 | |
6289 | |
5544 | if test -n $lt_cv_sys_max_cmd_len ; then |
6290 | if test -n $lt_cv_sys_max_cmd_len ; then |
5545 | echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 |
6291 | { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 |
5546 | echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 |
6292 | echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } |
5547 | else |
6293 | else |
5548 | echo "$as_me:$LINENO: result: none" >&5 |
6294 | { echo "$as_me:$LINENO: result: none" >&5 |
5549 | echo "${ECHO_T}none" >&6 |
6295 | echo "${ECHO_T}none" >&6; } |
5550 | fi |
6296 | fi |
5551 | |
6297 | |
5552 | |
6298 | |
5553 | |
6299 | |
5554 | |
6300 | |
5555 | # Check for command to grab the raw symbol name followed by C symbol from nm. |
6301 | # Check for command to grab the raw symbol name followed by C symbol from nm. |
5556 | echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 |
6302 | { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 |
5557 | echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 |
6303 | echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } |
5558 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
6304 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
5559 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6305 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5560 | else |
6306 | else |
5561 | |
6307 | |
5562 | # These are sane defaults that work on at least a few old systems. |
6308 | # These are sane defaults that work on at least a few old systems. |
… | |
… | |
5565 | # Character class describing NM global symbol codes. |
6311 | # Character class describing NM global symbol codes. |
5566 | symcode='[BCDEGRST]' |
6312 | symcode='[BCDEGRST]' |
5567 | |
6313 | |
5568 | # Regexp to match symbols that can be accessed directly from C. |
6314 | # Regexp to match symbols that can be accessed directly from C. |
5569 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
6315 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
5570 | |
|
|
5571 | # Transform the above into a raw symbol and a C symbol. |
|
|
5572 | symxfrm='\1 \2\3 \3' |
|
|
5573 | |
6316 | |
5574 | # Transform an extracted symbol line into a proper C declaration |
6317 | # Transform an extracted symbol line into a proper C declaration |
5575 | lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" |
6318 | lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" |
5576 | |
6319 | |
5577 | # Transform an extracted symbol line into symbol name and symbol address |
6320 | # Transform an extracted symbol line into symbol name and symbol address |
… | |
… | |
5590 | symcode='[ABCDEGRST]' |
6333 | symcode='[ABCDEGRST]' |
5591 | fi |
6334 | fi |
5592 | lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
6335 | lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
5593 | lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" |
6336 | lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" |
5594 | ;; |
6337 | ;; |
|
|
6338 | linux* | k*bsd*-gnu) |
|
|
6339 | if test "$host_cpu" = ia64; then |
|
|
6340 | symcode='[ABCDGIRSTW]' |
|
|
6341 | lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
|
6342 | lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" |
|
|
6343 | fi |
|
|
6344 | ;; |
5595 | irix* | nonstopux*) |
6345 | irix* | nonstopux*) |
5596 | symcode='[BCDEGRST]' |
6346 | symcode='[BCDEGRST]' |
5597 | ;; |
6347 | ;; |
5598 | osf*) |
6348 | osf*) |
5599 | symcode='[BCDEGQRST]' |
6349 | symcode='[BCDEGQRST]' |
5600 | ;; |
6350 | ;; |
5601 | solaris* | sysv5*) |
6351 | solaris*) |
5602 | symcode='[BDRT]' |
6352 | symcode='[BDRT]' |
|
|
6353 | ;; |
|
|
6354 | sco3.2v5*) |
|
|
6355 | symcode='[DT]' |
|
|
6356 | ;; |
|
|
6357 | sysv4.2uw2*) |
|
|
6358 | symcode='[DT]' |
|
|
6359 | ;; |
|
|
6360 | sysv5* | sco5v6* | unixware* | OpenUNIX*) |
|
|
6361 | symcode='[ABDT]' |
5603 | ;; |
6362 | ;; |
5604 | sysv4) |
6363 | sysv4) |
5605 | symcode='[DFNSTU]' |
6364 | symcode='[DFNSTU]' |
5606 | ;; |
6365 | ;; |
5607 | esac |
6366 | esac |
… | |
… | |
5621 | esac |
6380 | esac |
5622 | |
6381 | |
5623 | # Try without a prefix undercore, then with it. |
6382 | # Try without a prefix undercore, then with it. |
5624 | for ac_symprfx in "" "_"; do |
6383 | for ac_symprfx in "" "_"; do |
5625 | |
6384 | |
|
|
6385 | # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
|
|
6386 | symxfrm="\\1 $ac_symprfx\\2 \\2" |
|
|
6387 | |
5626 | # Write the raw and C identifiers. |
6388 | # Write the raw and C identifiers. |
5627 | lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" |
6389 | lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
5628 | |
6390 | |
5629 | # Check to see that the pipe works correctly. |
6391 | # Check to see that the pipe works correctly. |
5630 | pipe_works=no |
6392 | pipe_works=no |
5631 | |
6393 | |
5632 | rm -f conftest* |
6394 | rm -f conftest* |
… | |
… | |
5740 | |
6502 | |
5741 | if test -z "$lt_cv_sys_global_symbol_pipe"; then |
6503 | if test -z "$lt_cv_sys_global_symbol_pipe"; then |
5742 | lt_cv_sys_global_symbol_to_cdecl= |
6504 | lt_cv_sys_global_symbol_to_cdecl= |
5743 | fi |
6505 | fi |
5744 | if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
6506 | if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
5745 | echo "$as_me:$LINENO: result: failed" >&5 |
6507 | { echo "$as_me:$LINENO: result: failed" >&5 |
5746 | echo "${ECHO_T}failed" >&6 |
6508 | echo "${ECHO_T}failed" >&6; } |
5747 | else |
6509 | else |
5748 | echo "$as_me:$LINENO: result: ok" >&5 |
6510 | { echo "$as_me:$LINENO: result: ok" >&5 |
5749 | echo "${ECHO_T}ok" >&6 |
6511 | echo "${ECHO_T}ok" >&6; } |
5750 | fi |
6512 | fi |
5751 | |
6513 | |
5752 | echo "$as_me:$LINENO: checking for objdir" >&5 |
6514 | { echo "$as_me:$LINENO: checking for objdir" >&5 |
5753 | echo $ECHO_N "checking for objdir... $ECHO_C" >&6 |
6515 | echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } |
5754 | if test "${lt_cv_objdir+set}" = set; then |
6516 | if test "${lt_cv_objdir+set}" = set; then |
5755 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6517 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5756 | else |
6518 | else |
5757 | rm -f .libs 2>/dev/null |
6519 | rm -f .libs 2>/dev/null |
5758 | mkdir .libs 2>/dev/null |
6520 | mkdir .libs 2>/dev/null |
… | |
… | |
5762 | # MS-DOS does not allow filenames that begin with a dot. |
6524 | # MS-DOS does not allow filenames that begin with a dot. |
5763 | lt_cv_objdir=_libs |
6525 | lt_cv_objdir=_libs |
5764 | fi |
6526 | fi |
5765 | rmdir .libs 2>/dev/null |
6527 | rmdir .libs 2>/dev/null |
5766 | fi |
6528 | fi |
5767 | echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 |
6529 | { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 |
5768 | echo "${ECHO_T}$lt_cv_objdir" >&6 |
6530 | echo "${ECHO_T}$lt_cv_objdir" >&6; } |
5769 | objdir=$lt_cv_objdir |
6531 | objdir=$lt_cv_objdir |
5770 | |
6532 | |
5771 | |
6533 | |
5772 | |
6534 | |
5773 | |
6535 | |
… | |
… | |
5784 | ;; |
6546 | ;; |
5785 | esac |
6547 | esac |
5786 | |
6548 | |
5787 | # Sed substitution that helps us do robust quoting. It backslashifies |
6549 | # Sed substitution that helps us do robust quoting. It backslashifies |
5788 | # metacharacters that are still active within double-quoted strings. |
6550 | # metacharacters that are still active within double-quoted strings. |
5789 | Xsed='sed -e s/^X//' |
6551 | Xsed='sed -e 1s/^X//' |
5790 | sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
6552 | sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
5791 | |
6553 | |
5792 | # Same as above, but do not quote variable references. |
6554 | # Same as above, but do not quote variable references. |
5793 | double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' |
6555 | double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' |
5794 | |
6556 | |
… | |
… | |
5804 | |
6566 | |
5805 | # Global variables: |
6567 | # Global variables: |
5806 | default_ofile=libtool |
6568 | default_ofile=libtool |
5807 | can_build_shared=yes |
6569 | can_build_shared=yes |
5808 | |
6570 | |
5809 | # All known linkers require a `.a' archive for static linking (except M$VC, |
6571 | # All known linkers require a `.a' archive for static linking (except MSVC, |
5810 | # which needs '.lib'). |
6572 | # which needs '.lib'). |
5811 | libext=a |
6573 | libext=a |
5812 | ltmain="$ac_aux_dir/ltmain.sh" |
6574 | ltmain="$ac_aux_dir/ltmain.sh" |
5813 | ofile="$default_ofile" |
6575 | ofile="$default_ofile" |
5814 | with_gnu_ld="$lt_cv_prog_gnu_ld" |
6576 | with_gnu_ld="$lt_cv_prog_gnu_ld" |
5815 | |
6577 | |
5816 | if test -n "$ac_tool_prefix"; then |
6578 | if test -n "$ac_tool_prefix"; then |
5817 | # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
6579 | # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
5818 | set dummy ${ac_tool_prefix}ar; ac_word=$2 |
6580 | set dummy ${ac_tool_prefix}ar; ac_word=$2 |
5819 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6581 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5820 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6582 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5821 | if test "${ac_cv_prog_AR+set}" = set; then |
6583 | if test "${ac_cv_prog_AR+set}" = set; then |
5822 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6584 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5823 | else |
6585 | else |
5824 | if test -n "$AR"; then |
6586 | if test -n "$AR"; then |
5825 | ac_cv_prog_AR="$AR" # Let the user override the test. |
6587 | ac_cv_prog_AR="$AR" # Let the user override the test. |
… | |
… | |
5828 | for as_dir in $PATH |
6590 | for as_dir in $PATH |
5829 | do |
6591 | do |
5830 | IFS=$as_save_IFS |
6592 | IFS=$as_save_IFS |
5831 | test -z "$as_dir" && as_dir=. |
6593 | test -z "$as_dir" && as_dir=. |
5832 | for ac_exec_ext in '' $ac_executable_extensions; do |
6594 | for ac_exec_ext in '' $ac_executable_extensions; do |
5833 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6595 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5834 | ac_cv_prog_AR="${ac_tool_prefix}ar" |
6596 | ac_cv_prog_AR="${ac_tool_prefix}ar" |
5835 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6597 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5836 | break 2 |
6598 | break 2 |
5837 | fi |
6599 | fi |
5838 | done |
6600 | done |
5839 | done |
6601 | done |
|
|
6602 | IFS=$as_save_IFS |
5840 | |
6603 | |
5841 | fi |
6604 | fi |
5842 | fi |
6605 | fi |
5843 | AR=$ac_cv_prog_AR |
6606 | AR=$ac_cv_prog_AR |
5844 | if test -n "$AR"; then |
6607 | if test -n "$AR"; then |
5845 | echo "$as_me:$LINENO: result: $AR" >&5 |
6608 | { echo "$as_me:$LINENO: result: $AR" >&5 |
5846 | echo "${ECHO_T}$AR" >&6 |
6609 | echo "${ECHO_T}$AR" >&6; } |
5847 | else |
6610 | else |
5848 | echo "$as_me:$LINENO: result: no" >&5 |
6611 | { echo "$as_me:$LINENO: result: no" >&5 |
5849 | echo "${ECHO_T}no" >&6 |
6612 | echo "${ECHO_T}no" >&6; } |
5850 | fi |
6613 | fi |
|
|
6614 | |
5851 | |
6615 | |
5852 | fi |
6616 | fi |
5853 | if test -z "$ac_cv_prog_AR"; then |
6617 | if test -z "$ac_cv_prog_AR"; then |
5854 | ac_ct_AR=$AR |
6618 | ac_ct_AR=$AR |
5855 | # Extract the first word of "ar", so it can be a program name with args. |
6619 | # Extract the first word of "ar", so it can be a program name with args. |
5856 | set dummy ar; ac_word=$2 |
6620 | set dummy ar; ac_word=$2 |
5857 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6621 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5858 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6622 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5859 | if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
6623 | if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
5860 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6624 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5861 | else |
6625 | else |
5862 | if test -n "$ac_ct_AR"; then |
6626 | if test -n "$ac_ct_AR"; then |
5863 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
6627 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
… | |
… | |
5866 | for as_dir in $PATH |
6630 | for as_dir in $PATH |
5867 | do |
6631 | do |
5868 | IFS=$as_save_IFS |
6632 | IFS=$as_save_IFS |
5869 | test -z "$as_dir" && as_dir=. |
6633 | test -z "$as_dir" && as_dir=. |
5870 | for ac_exec_ext in '' $ac_executable_extensions; do |
6634 | for ac_exec_ext in '' $ac_executable_extensions; do |
5871 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6635 | 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_ac_ct_AR="ar" |
6636 | ac_cv_prog_ac_ct_AR="ar" |
5873 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6637 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5874 | break 2 |
6638 | break 2 |
5875 | fi |
6639 | fi |
5876 | done |
6640 | done |
5877 | done |
6641 | done |
|
|
6642 | IFS=$as_save_IFS |
5878 | |
6643 | |
5879 | test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false" |
|
|
5880 | fi |
6644 | fi |
5881 | fi |
6645 | fi |
5882 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
6646 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
5883 | if test -n "$ac_ct_AR"; then |
6647 | if test -n "$ac_ct_AR"; then |
5884 | echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
6648 | { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
5885 | echo "${ECHO_T}$ac_ct_AR" >&6 |
6649 | echo "${ECHO_T}$ac_ct_AR" >&6; } |
5886 | else |
6650 | else |
5887 | echo "$as_me:$LINENO: result: no" >&5 |
6651 | { echo "$as_me:$LINENO: result: no" >&5 |
5888 | echo "${ECHO_T}no" >&6 |
6652 | echo "${ECHO_T}no" >&6; } |
5889 | fi |
6653 | fi |
5890 | |
6654 | |
|
|
6655 | if test "x$ac_ct_AR" = x; then |
|
|
6656 | AR="false" |
|
|
6657 | else |
|
|
6658 | case $cross_compiling:$ac_tool_warned in |
|
|
6659 | yes:) |
|
|
6660 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
6661 | whose name does not start with the host triplet. If you think this |
|
|
6662 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
6663 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
6664 | whose name does not start with the host triplet. If you think this |
|
|
6665 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
6666 | ac_tool_warned=yes ;; |
|
|
6667 | esac |
5891 | AR=$ac_ct_AR |
6668 | AR=$ac_ct_AR |
|
|
6669 | fi |
5892 | else |
6670 | else |
5893 | AR="$ac_cv_prog_AR" |
6671 | AR="$ac_cv_prog_AR" |
5894 | fi |
6672 | fi |
5895 | |
6673 | |
5896 | if test -n "$ac_tool_prefix"; then |
6674 | if test -n "$ac_tool_prefix"; then |
5897 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
6675 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
5898 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
6676 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
5899 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6677 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5900 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6678 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5901 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
6679 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
5902 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6680 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5903 | else |
6681 | else |
5904 | if test -n "$RANLIB"; then |
6682 | if test -n "$RANLIB"; then |
5905 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
6683 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
… | |
… | |
5908 | for as_dir in $PATH |
6686 | for as_dir in $PATH |
5909 | do |
6687 | do |
5910 | IFS=$as_save_IFS |
6688 | IFS=$as_save_IFS |
5911 | test -z "$as_dir" && as_dir=. |
6689 | test -z "$as_dir" && as_dir=. |
5912 | for ac_exec_ext in '' $ac_executable_extensions; do |
6690 | for ac_exec_ext in '' $ac_executable_extensions; do |
5913 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6691 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5914 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6692 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
5915 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6693 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5916 | break 2 |
6694 | break 2 |
5917 | fi |
6695 | fi |
5918 | done |
6696 | done |
5919 | done |
6697 | done |
|
|
6698 | IFS=$as_save_IFS |
5920 | |
6699 | |
5921 | fi |
6700 | fi |
5922 | fi |
6701 | fi |
5923 | RANLIB=$ac_cv_prog_RANLIB |
6702 | RANLIB=$ac_cv_prog_RANLIB |
5924 | if test -n "$RANLIB"; then |
6703 | if test -n "$RANLIB"; then |
5925 | echo "$as_me:$LINENO: result: $RANLIB" >&5 |
6704 | { echo "$as_me:$LINENO: result: $RANLIB" >&5 |
5926 | echo "${ECHO_T}$RANLIB" >&6 |
6705 | echo "${ECHO_T}$RANLIB" >&6; } |
5927 | else |
6706 | else |
5928 | echo "$as_me:$LINENO: result: no" >&5 |
6707 | { echo "$as_me:$LINENO: result: no" >&5 |
5929 | echo "${ECHO_T}no" >&6 |
6708 | echo "${ECHO_T}no" >&6; } |
5930 | fi |
6709 | fi |
|
|
6710 | |
5931 | |
6711 | |
5932 | fi |
6712 | fi |
5933 | if test -z "$ac_cv_prog_RANLIB"; then |
6713 | if test -z "$ac_cv_prog_RANLIB"; then |
5934 | ac_ct_RANLIB=$RANLIB |
6714 | ac_ct_RANLIB=$RANLIB |
5935 | # Extract the first word of "ranlib", so it can be a program name with args. |
6715 | # Extract the first word of "ranlib", so it can be a program name with args. |
5936 | set dummy ranlib; ac_word=$2 |
6716 | set dummy ranlib; ac_word=$2 |
5937 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6717 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5938 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6718 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5939 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
6719 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
5940 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6720 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5941 | else |
6721 | else |
5942 | if test -n "$ac_ct_RANLIB"; then |
6722 | if test -n "$ac_ct_RANLIB"; then |
5943 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
6723 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
… | |
… | |
5946 | for as_dir in $PATH |
6726 | for as_dir in $PATH |
5947 | do |
6727 | do |
5948 | IFS=$as_save_IFS |
6728 | IFS=$as_save_IFS |
5949 | test -z "$as_dir" && as_dir=. |
6729 | test -z "$as_dir" && as_dir=. |
5950 | for ac_exec_ext in '' $ac_executable_extensions; do |
6730 | for ac_exec_ext in '' $ac_executable_extensions; do |
5951 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6731 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5952 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
6732 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
5953 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6733 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5954 | break 2 |
6734 | break 2 |
5955 | fi |
6735 | fi |
5956 | done |
6736 | done |
5957 | done |
6737 | done |
|
|
6738 | IFS=$as_save_IFS |
5958 | |
6739 | |
5959 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
|
|
5960 | fi |
6740 | fi |
5961 | fi |
6741 | fi |
5962 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
6742 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
5963 | if test -n "$ac_ct_RANLIB"; then |
6743 | if test -n "$ac_ct_RANLIB"; then |
5964 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
6744 | { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
5965 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
6745 | echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
5966 | else |
6746 | else |
5967 | echo "$as_me:$LINENO: result: no" >&5 |
6747 | { echo "$as_me:$LINENO: result: no" >&5 |
5968 | echo "${ECHO_T}no" >&6 |
6748 | echo "${ECHO_T}no" >&6; } |
5969 | fi |
6749 | fi |
5970 | |
6750 | |
|
|
6751 | if test "x$ac_ct_RANLIB" = x; then |
|
|
6752 | RANLIB=":" |
|
|
6753 | else |
|
|
6754 | case $cross_compiling:$ac_tool_warned in |
|
|
6755 | yes:) |
|
|
6756 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
6757 | whose name does not start with the host triplet. If you think this |
|
|
6758 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
6759 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
6760 | whose name does not start with the host triplet. If you think this |
|
|
6761 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
6762 | ac_tool_warned=yes ;; |
|
|
6763 | esac |
5971 | RANLIB=$ac_ct_RANLIB |
6764 | RANLIB=$ac_ct_RANLIB |
|
|
6765 | fi |
5972 | else |
6766 | else |
5973 | RANLIB="$ac_cv_prog_RANLIB" |
6767 | RANLIB="$ac_cv_prog_RANLIB" |
5974 | fi |
6768 | fi |
5975 | |
6769 | |
5976 | if test -n "$ac_tool_prefix"; then |
6770 | if test -n "$ac_tool_prefix"; then |
5977 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
6771 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
5978 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
6772 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
5979 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6773 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5980 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6774 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5981 | if test "${ac_cv_prog_STRIP+set}" = set; then |
6775 | if test "${ac_cv_prog_STRIP+set}" = set; then |
5982 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6776 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5983 | else |
6777 | else |
5984 | if test -n "$STRIP"; then |
6778 | if test -n "$STRIP"; then |
5985 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
6779 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
… | |
… | |
5988 | for as_dir in $PATH |
6782 | for as_dir in $PATH |
5989 | do |
6783 | do |
5990 | IFS=$as_save_IFS |
6784 | IFS=$as_save_IFS |
5991 | test -z "$as_dir" && as_dir=. |
6785 | test -z "$as_dir" && as_dir=. |
5992 | for ac_exec_ext in '' $ac_executable_extensions; do |
6786 | for ac_exec_ext in '' $ac_executable_extensions; do |
5993 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6787 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5994 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
6788 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
5995 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6789 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5996 | break 2 |
6790 | break 2 |
5997 | fi |
6791 | fi |
5998 | done |
6792 | done |
5999 | done |
6793 | done |
|
|
6794 | IFS=$as_save_IFS |
6000 | |
6795 | |
6001 | fi |
6796 | fi |
6002 | fi |
6797 | fi |
6003 | STRIP=$ac_cv_prog_STRIP |
6798 | STRIP=$ac_cv_prog_STRIP |
6004 | if test -n "$STRIP"; then |
6799 | if test -n "$STRIP"; then |
6005 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
6800 | { echo "$as_me:$LINENO: result: $STRIP" >&5 |
6006 | echo "${ECHO_T}$STRIP" >&6 |
6801 | echo "${ECHO_T}$STRIP" >&6; } |
6007 | else |
6802 | else |
6008 | echo "$as_me:$LINENO: result: no" >&5 |
6803 | { echo "$as_me:$LINENO: result: no" >&5 |
6009 | echo "${ECHO_T}no" >&6 |
6804 | echo "${ECHO_T}no" >&6; } |
6010 | fi |
6805 | fi |
|
|
6806 | |
6011 | |
6807 | |
6012 | fi |
6808 | fi |
6013 | if test -z "$ac_cv_prog_STRIP"; then |
6809 | if test -z "$ac_cv_prog_STRIP"; then |
6014 | ac_ct_STRIP=$STRIP |
6810 | ac_ct_STRIP=$STRIP |
6015 | # Extract the first word of "strip", so it can be a program name with args. |
6811 | # Extract the first word of "strip", so it can be a program name with args. |
6016 | set dummy strip; ac_word=$2 |
6812 | set dummy strip; ac_word=$2 |
6017 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6813 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6018 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6814 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6019 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
6815 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
6020 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6816 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6021 | else |
6817 | else |
6022 | if test -n "$ac_ct_STRIP"; then |
6818 | if test -n "$ac_ct_STRIP"; then |
6023 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
6819 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
… | |
… | |
6026 | for as_dir in $PATH |
6822 | for as_dir in $PATH |
6027 | do |
6823 | do |
6028 | IFS=$as_save_IFS |
6824 | IFS=$as_save_IFS |
6029 | test -z "$as_dir" && as_dir=. |
6825 | test -z "$as_dir" && as_dir=. |
6030 | for ac_exec_ext in '' $ac_executable_extensions; do |
6826 | for ac_exec_ext in '' $ac_executable_extensions; do |
6031 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6827 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6032 | ac_cv_prog_ac_ct_STRIP="strip" |
6828 | ac_cv_prog_ac_ct_STRIP="strip" |
6033 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6829 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6034 | break 2 |
6830 | break 2 |
6035 | fi |
6831 | fi |
6036 | done |
6832 | done |
6037 | done |
6833 | done |
|
|
6834 | IFS=$as_save_IFS |
6038 | |
6835 | |
6039 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
|
|
6040 | fi |
6836 | fi |
6041 | fi |
6837 | fi |
6042 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
6838 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
6043 | if test -n "$ac_ct_STRIP"; then |
6839 | if test -n "$ac_ct_STRIP"; then |
6044 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
6840 | { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
6045 | echo "${ECHO_T}$ac_ct_STRIP" >&6 |
6841 | echo "${ECHO_T}$ac_ct_STRIP" >&6; } |
6046 | else |
6842 | else |
6047 | echo "$as_me:$LINENO: result: no" >&5 |
6843 | { echo "$as_me:$LINENO: result: no" >&5 |
6048 | echo "${ECHO_T}no" >&6 |
6844 | echo "${ECHO_T}no" >&6; } |
6049 | fi |
6845 | fi |
6050 | |
6846 | |
|
|
6847 | if test "x$ac_ct_STRIP" = x; then |
|
|
6848 | STRIP=":" |
|
|
6849 | else |
|
|
6850 | case $cross_compiling:$ac_tool_warned in |
|
|
6851 | yes:) |
|
|
6852 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
6853 | whose name does not start with the host triplet. If you think this |
|
|
6854 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
6855 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
6856 | whose name does not start with the host triplet. If you think this |
|
|
6857 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
6858 | ac_tool_warned=yes ;; |
|
|
6859 | esac |
6051 | STRIP=$ac_ct_STRIP |
6860 | STRIP=$ac_ct_STRIP |
|
|
6861 | fi |
6052 | else |
6862 | else |
6053 | STRIP="$ac_cv_prog_STRIP" |
6863 | STRIP="$ac_cv_prog_STRIP" |
6054 | fi |
6864 | fi |
6055 | |
6865 | |
6056 | |
6866 | |
… | |
… | |
6061 | test -z "$AR" && AR=ar |
6871 | test -z "$AR" && AR=ar |
6062 | test -z "$AR_FLAGS" && AR_FLAGS=cru |
6872 | test -z "$AR_FLAGS" && AR_FLAGS=cru |
6063 | test -z "$AS" && AS=as |
6873 | test -z "$AS" && AS=as |
6064 | test -z "$CC" && CC=cc |
6874 | test -z "$CC" && CC=cc |
6065 | test -z "$LTCC" && LTCC=$CC |
6875 | test -z "$LTCC" && LTCC=$CC |
|
|
6876 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
6066 | test -z "$DLLTOOL" && DLLTOOL=dlltool |
6877 | test -z "$DLLTOOL" && DLLTOOL=dlltool |
6067 | test -z "$LD" && LD=ld |
6878 | test -z "$LD" && LD=ld |
6068 | test -z "$LN_S" && LN_S="ln -s" |
6879 | test -z "$LN_S" && LN_S="ln -s" |
6069 | test -z "$MAGIC_CMD" && MAGIC_CMD=file |
6880 | test -z "$MAGIC_CMD" && MAGIC_CMD=file |
6070 | test -z "$NM" && NM=nm |
6881 | test -z "$NM" && NM=nm |
… | |
… | |
6080 | old_postuninstall_cmds= |
6891 | old_postuninstall_cmds= |
6081 | |
6892 | |
6082 | if test -n "$RANLIB"; then |
6893 | if test -n "$RANLIB"; then |
6083 | case $host_os in |
6894 | case $host_os in |
6084 | openbsd*) |
6895 | openbsd*) |
6085 | old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" |
6896 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
6086 | ;; |
6897 | ;; |
6087 | *) |
6898 | *) |
6088 | old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" |
6899 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
6089 | ;; |
6900 | ;; |
6090 | esac |
6901 | esac |
6091 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
6902 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
6092 | fi |
6903 | fi |
|
|
6904 | |
|
|
6905 | for cc_temp in $compiler""; do |
|
|
6906 | case $cc_temp in |
|
|
6907 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
6908 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
6909 | \-*) ;; |
|
|
6910 | *) break;; |
|
|
6911 | esac |
|
|
6912 | done |
|
|
6913 | cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
|
6914 | |
6093 | |
6915 | |
6094 | # Only perform the check for file, if the check method requires it |
6916 | # Only perform the check for file, if the check method requires it |
6095 | case $deplibs_check_method in |
6917 | case $deplibs_check_method in |
6096 | file_magic*) |
6918 | file_magic*) |
6097 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
6919 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
6098 | echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
6920 | { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
6099 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 |
6921 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } |
6100 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
6922 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
6101 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6923 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6102 | else |
6924 | else |
6103 | case $MAGIC_CMD in |
6925 | case $MAGIC_CMD in |
6104 | [\\/*] | ?:[\\/]*) |
6926 | [\\/*] | ?:[\\/]*) |
… | |
… | |
6114 | if test -f $ac_dir/${ac_tool_prefix}file; then |
6936 | if test -f $ac_dir/${ac_tool_prefix}file; then |
6115 | lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
6937 | lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
6116 | if test -n "$file_magic_test_file"; then |
6938 | if test -n "$file_magic_test_file"; then |
6117 | case $deplibs_check_method in |
6939 | case $deplibs_check_method in |
6118 | "file_magic "*) |
6940 | "file_magic "*) |
6119 | file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" |
6941 | file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
6120 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
6942 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
6121 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
6943 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
6122 | $EGREP "$file_magic_regex" > /dev/null; then |
6944 | $EGREP "$file_magic_regex" > /dev/null; then |
6123 | : |
6945 | : |
6124 | else |
6946 | else |
… | |
… | |
6146 | esac |
6968 | esac |
6147 | fi |
6969 | fi |
6148 | |
6970 | |
6149 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
6971 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
6150 | if test -n "$MAGIC_CMD"; then |
6972 | if test -n "$MAGIC_CMD"; then |
6151 | echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
6973 | { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
6152 | echo "${ECHO_T}$MAGIC_CMD" >&6 |
6974 | echo "${ECHO_T}$MAGIC_CMD" >&6; } |
6153 | else |
6975 | else |
6154 | echo "$as_me:$LINENO: result: no" >&5 |
6976 | { echo "$as_me:$LINENO: result: no" >&5 |
6155 | echo "${ECHO_T}no" >&6 |
6977 | echo "${ECHO_T}no" >&6; } |
6156 | fi |
6978 | fi |
6157 | |
6979 | |
6158 | if test -z "$lt_cv_path_MAGIC_CMD"; then |
6980 | if test -z "$lt_cv_path_MAGIC_CMD"; then |
6159 | if test -n "$ac_tool_prefix"; then |
6981 | if test -n "$ac_tool_prefix"; then |
6160 | echo "$as_me:$LINENO: checking for file" >&5 |
6982 | { echo "$as_me:$LINENO: checking for file" >&5 |
6161 | echo $ECHO_N "checking for file... $ECHO_C" >&6 |
6983 | echo $ECHO_N "checking for file... $ECHO_C" >&6; } |
6162 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
6984 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
6163 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6985 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6164 | else |
6986 | else |
6165 | case $MAGIC_CMD in |
6987 | case $MAGIC_CMD in |
6166 | [\\/*] | ?:[\\/]*) |
6988 | [\\/*] | ?:[\\/]*) |
… | |
… | |
6176 | if test -f $ac_dir/file; then |
6998 | if test -f $ac_dir/file; then |
6177 | lt_cv_path_MAGIC_CMD="$ac_dir/file" |
6999 | lt_cv_path_MAGIC_CMD="$ac_dir/file" |
6178 | if test -n "$file_magic_test_file"; then |
7000 | if test -n "$file_magic_test_file"; then |
6179 | case $deplibs_check_method in |
7001 | case $deplibs_check_method in |
6180 | "file_magic "*) |
7002 | "file_magic "*) |
6181 | file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" |
7003 | file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
6182 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
7004 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
6183 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
7005 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
6184 | $EGREP "$file_magic_regex" > /dev/null; then |
7006 | $EGREP "$file_magic_regex" > /dev/null; then |
6185 | : |
7007 | : |
6186 | else |
7008 | else |
… | |
… | |
6208 | esac |
7030 | esac |
6209 | fi |
7031 | fi |
6210 | |
7032 | |
6211 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
7033 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
6212 | if test -n "$MAGIC_CMD"; then |
7034 | if test -n "$MAGIC_CMD"; then |
6213 | echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
7035 | { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
6214 | echo "${ECHO_T}$MAGIC_CMD" >&6 |
7036 | echo "${ECHO_T}$MAGIC_CMD" >&6; } |
6215 | else |
7037 | else |
6216 | echo "$as_me:$LINENO: result: no" >&5 |
7038 | { echo "$as_me:$LINENO: result: no" >&5 |
6217 | echo "${ECHO_T}no" >&6 |
7039 | echo "${ECHO_T}no" >&6; } |
6218 | fi |
7040 | fi |
6219 | |
7041 | |
6220 | else |
7042 | else |
6221 | MAGIC_CMD=: |
7043 | MAGIC_CMD=: |
6222 | fi |
7044 | fi |
… | |
… | |
6227 | esac |
7049 | esac |
6228 | |
7050 | |
6229 | enable_dlopen=no |
7051 | enable_dlopen=no |
6230 | enable_win32_dll=no |
7052 | enable_win32_dll=no |
6231 | |
7053 | |
6232 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
7054 | # Check whether --enable-libtool-lock was given. |
6233 | if test "${enable_libtool_lock+set}" = set; then |
7055 | if test "${enable_libtool_lock+set}" = set; then |
6234 | enableval="$enable_libtool_lock" |
7056 | enableval=$enable_libtool_lock; |
6235 | |
|
|
6236 | fi; |
7057 | fi |
|
|
7058 | |
6237 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
7059 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
6238 | |
7060 | |
6239 | |
7061 | |
6240 | # Check whether --with-pic or --without-pic was given. |
7062 | # Check whether --with-pic was given. |
6241 | if test "${with_pic+set}" = set; then |
7063 | if test "${with_pic+set}" = set; then |
6242 | withval="$with_pic" |
7064 | withval=$with_pic; pic_mode="$withval" |
6243 | pic_mode="$withval" |
|
|
6244 | else |
7065 | else |
6245 | pic_mode=default |
7066 | pic_mode=default |
6246 | fi; |
7067 | fi |
|
|
7068 | |
6247 | test -z "$pic_mode" && pic_mode=default |
7069 | test -z "$pic_mode" && pic_mode=default |
6248 | |
7070 | |
6249 | # Use C for the default configuration in the libtool script |
7071 | # Use C for the default configuration in the libtool script |
6250 | tagname= |
7072 | tagname= |
6251 | lt_save_CC="$CC" |
7073 | lt_save_CC="$CC" |
… | |
… | |
6271 | |
7093 | |
6272 | |
7094 | |
6273 | # If no C compiler was specified, use CC. |
7095 | # If no C compiler was specified, use CC. |
6274 | LTCC=${LTCC-"$CC"} |
7096 | LTCC=${LTCC-"$CC"} |
6275 | |
7097 | |
|
|
7098 | # If no C compiler flags were specified, use CFLAGS. |
|
|
7099 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
7100 | |
6276 | # Allow CC to be a program name with arguments. |
7101 | # Allow CC to be a program name with arguments. |
6277 | compiler=$CC |
7102 | compiler=$CC |
6278 | |
7103 | |
6279 | |
7104 | |
6280 | # |
7105 | # save warnings/boilerplate of simple test code |
6281 | # Check for any special shared library compilation flags. |
7106 | ac_outfile=conftest.$ac_objext |
6282 | # |
7107 | printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
6283 | lt_prog_cc_shlib= |
7108 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
6284 | if test "$GCC" = no; then |
7109 | _lt_compiler_boilerplate=`cat conftest.err` |
6285 | case $host_os in |
7110 | $rm conftest* |
6286 | sco3.2v5*) |
|
|
6287 | lt_prog_cc_shlib='-belf' |
|
|
6288 | ;; |
|
|
6289 | esac |
|
|
6290 | fi |
|
|
6291 | if test -n "$lt_prog_cc_shlib"; then |
|
|
6292 | { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 |
|
|
6293 | echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} |
|
|
6294 | if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : |
|
|
6295 | else |
|
|
6296 | { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 |
|
|
6297 | echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} |
|
|
6298 | lt_cv_prog_cc_can_build_shared=no |
|
|
6299 | fi |
|
|
6300 | fi |
|
|
6301 | |
7111 | |
6302 | |
7112 | ac_outfile=conftest.$ac_objext |
6303 | # |
|
|
6304 | # Check to make sure the static flag actually works. |
|
|
6305 | # |
|
|
6306 | echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 |
|
|
6307 | echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 |
|
|
6308 | if test "${lt_prog_compiler_static_works+set}" = set; then |
|
|
6309 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6310 | else |
|
|
6311 | lt_prog_compiler_static_works=no |
|
|
6312 | save_LDFLAGS="$LDFLAGS" |
|
|
6313 | LDFLAGS="$LDFLAGS $lt_prog_compiler_static" |
|
|
6314 | printf "$lt_simple_link_test_code" > conftest.$ac_ext |
7113 | printf "$lt_simple_link_test_code" >conftest.$ac_ext |
6315 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
7114 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
6316 | # The compiler can only warn and ignore the option if not recognized |
7115 | _lt_linker_boilerplate=`cat conftest.err` |
6317 | # So say no if there are warnings |
|
|
6318 | if test -s conftest.err; then |
|
|
6319 | # Append any errors to the config.log. |
|
|
6320 | cat conftest.err 1>&5 |
|
|
6321 | else |
|
|
6322 | lt_prog_compiler_static_works=yes |
|
|
6323 | fi |
|
|
6324 | fi |
|
|
6325 | $rm conftest* |
7116 | $rm conftest* |
6326 | LDFLAGS="$save_LDFLAGS" |
|
|
6327 | |
|
|
6328 | fi |
|
|
6329 | echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 |
|
|
6330 | echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 |
|
|
6331 | |
|
|
6332 | if test x"$lt_prog_compiler_static_works" = xyes; then |
|
|
6333 | : |
|
|
6334 | else |
|
|
6335 | lt_prog_compiler_static= |
|
|
6336 | fi |
|
|
6337 | |
|
|
6338 | |
7117 | |
6339 | |
7118 | |
6340 | |
7119 | |
6341 | lt_prog_compiler_no_builtin_flag= |
7120 | lt_prog_compiler_no_builtin_flag= |
6342 | |
7121 | |
6343 | if test "$GCC" = yes; then |
7122 | if test "$GCC" = yes; then |
6344 | lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
7123 | lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
6345 | |
7124 | |
6346 | |
7125 | |
6347 | echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
7126 | { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
6348 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 |
7127 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } |
6349 | if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
7128 | if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
6350 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7129 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6351 | else |
7130 | else |
6352 | lt_cv_prog_compiler_rtti_exceptions=no |
7131 | lt_cv_prog_compiler_rtti_exceptions=no |
6353 | ac_outfile=conftest.$ac_objext |
7132 | ac_outfile=conftest.$ac_objext |
… | |
… | |
6357 | # (2) before a word containing "conftest.", or (3) at the end. |
7136 | # (2) before a word containing "conftest.", or (3) at the end. |
6358 | # Note that $ac_compile itself does not contain backslashes and begins |
7137 | # Note that $ac_compile itself does not contain backslashes and begins |
6359 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
7138 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
6360 | # The option is referenced via a variable to avoid confusing sed. |
7139 | # The option is referenced via a variable to avoid confusing sed. |
6361 | lt_compile=`echo "$ac_compile" | $SED \ |
7140 | lt_compile=`echo "$ac_compile" | $SED \ |
6362 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
7141 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
6363 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7142 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6364 | -e 's:$: $lt_compiler_flag:'` |
7143 | -e 's:$: $lt_compiler_flag:'` |
6365 | (eval echo "\"\$as_me:6365: $lt_compile\"" >&5) |
7144 | (eval echo "\"\$as_me:7144: $lt_compile\"" >&5) |
6366 | (eval "$lt_compile" 2>conftest.err) |
7145 | (eval "$lt_compile" 2>conftest.err) |
6367 | ac_status=$? |
7146 | ac_status=$? |
6368 | cat conftest.err >&5 |
7147 | cat conftest.err >&5 |
6369 | echo "$as_me:6369: \$? = $ac_status" >&5 |
7148 | echo "$as_me:7148: \$? = $ac_status" >&5 |
6370 | if (exit $ac_status) && test -s "$ac_outfile"; then |
7149 | if (exit $ac_status) && test -s "$ac_outfile"; then |
6371 | # The compiler can only warn and ignore the option if not recognized |
7150 | # The compiler can only warn and ignore the option if not recognized |
6372 | # So say no if there are warnings |
7151 | # So say no if there are warnings other than the usual output. |
6373 | if test ! -s conftest.err; then |
7152 | $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
|
7153 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
7154 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
6374 | lt_cv_prog_compiler_rtti_exceptions=yes |
7155 | lt_cv_prog_compiler_rtti_exceptions=yes |
6375 | fi |
7156 | fi |
6376 | fi |
7157 | fi |
6377 | $rm conftest* |
7158 | $rm conftest* |
6378 | |
7159 | |
6379 | fi |
7160 | fi |
6380 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
7161 | { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
6381 | echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 |
7162 | echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
6382 | |
7163 | |
6383 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
7164 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
6384 | lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
7165 | lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
6385 | else |
7166 | else |
6386 | : |
7167 | : |
… | |
… | |
6390 | |
7171 | |
6391 | lt_prog_compiler_wl= |
7172 | lt_prog_compiler_wl= |
6392 | lt_prog_compiler_pic= |
7173 | lt_prog_compiler_pic= |
6393 | lt_prog_compiler_static= |
7174 | lt_prog_compiler_static= |
6394 | |
7175 | |
6395 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
7176 | { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
6396 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 |
7177 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
6397 | |
7178 | |
6398 | if test "$GCC" = yes; then |
7179 | if test "$GCC" = yes; then |
6399 | lt_prog_compiler_wl='-Wl,' |
7180 | lt_prog_compiler_wl='-Wl,' |
6400 | lt_prog_compiler_static='-static' |
7181 | lt_prog_compiler_static='-static' |
6401 | |
7182 | |
… | |
… | |
6429 | # PIC is the default on this platform |
7210 | # PIC is the default on this platform |
6430 | # Common symbols not allowed in MH_DYLIB files |
7211 | # Common symbols not allowed in MH_DYLIB files |
6431 | lt_prog_compiler_pic='-fno-common' |
7212 | lt_prog_compiler_pic='-fno-common' |
6432 | ;; |
7213 | ;; |
6433 | |
7214 | |
|
|
7215 | interix3*) |
|
|
7216 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
|
7217 | # Instead, we relocate shared libraries at runtime. |
|
|
7218 | ;; |
|
|
7219 | |
6434 | msdosdjgpp*) |
7220 | msdosdjgpp*) |
6435 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
7221 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
6436 | # on systems that don't support them. |
7222 | # on systems that don't support them. |
6437 | lt_prog_compiler_can_build_shared=no |
7223 | lt_prog_compiler_can_build_shared=no |
6438 | enable_shared=no |
7224 | enable_shared=no |
… | |
… | |
6445 | ;; |
7231 | ;; |
6446 | |
7232 | |
6447 | hpux*) |
7233 | hpux*) |
6448 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
7234 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
6449 | # not for PA HP-UX. |
7235 | # not for PA HP-UX. |
6450 | case "$host_cpu" in |
7236 | case $host_cpu in |
6451 | hppa*64*|ia64*) |
7237 | hppa*64*|ia64*) |
6452 | # +Z the default |
7238 | # +Z the default |
6453 | ;; |
7239 | ;; |
6454 | *) |
7240 | *) |
6455 | lt_prog_compiler_pic='-fPIC' |
7241 | lt_prog_compiler_pic='-fPIC' |
… | |
… | |
6471 | lt_prog_compiler_static='-Bstatic' |
7257 | lt_prog_compiler_static='-Bstatic' |
6472 | else |
7258 | else |
6473 | lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
7259 | lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
6474 | fi |
7260 | fi |
6475 | ;; |
7261 | ;; |
|
|
7262 | darwin*) |
|
|
7263 | # PIC is the default on this platform |
|
|
7264 | # Common symbols not allowed in MH_DYLIB files |
|
|
7265 | case $cc_basename in |
|
|
7266 | xlc*) |
|
|
7267 | lt_prog_compiler_pic='-qnocommon' |
|
|
7268 | lt_prog_compiler_wl='-Wl,' |
|
|
7269 | ;; |
|
|
7270 | esac |
|
|
7271 | ;; |
6476 | |
7272 | |
6477 | mingw* | pw32* | os2*) |
7273 | mingw* | pw32* | os2*) |
6478 | # This hack is so that the source file can tell whether it is being |
7274 | # This hack is so that the source file can tell whether it is being |
6479 | # built for inclusion in a dll (and should export symbols for example). |
7275 | # built for inclusion in a dll (and should export symbols for example). |
6480 | lt_prog_compiler_pic='-DDLL_EXPORT' |
7276 | lt_prog_compiler_pic='-DDLL_EXPORT' |
… | |
… | |
6482 | |
7278 | |
6483 | hpux9* | hpux10* | hpux11*) |
7279 | hpux9* | hpux10* | hpux11*) |
6484 | lt_prog_compiler_wl='-Wl,' |
7280 | lt_prog_compiler_wl='-Wl,' |
6485 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
7281 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
6486 | # not for PA HP-UX. |
7282 | # not for PA HP-UX. |
6487 | case "$host_cpu" in |
7283 | case $host_cpu in |
6488 | hppa*64*|ia64*) |
7284 | hppa*64*|ia64*) |
6489 | # +Z the default |
7285 | # +Z the default |
6490 | ;; |
7286 | ;; |
6491 | *) |
7287 | *) |
6492 | lt_prog_compiler_pic='+Z' |
7288 | lt_prog_compiler_pic='+Z' |
… | |
… | |
6505 | newsos6) |
7301 | newsos6) |
6506 | lt_prog_compiler_pic='-KPIC' |
7302 | lt_prog_compiler_pic='-KPIC' |
6507 | lt_prog_compiler_static='-Bstatic' |
7303 | lt_prog_compiler_static='-Bstatic' |
6508 | ;; |
7304 | ;; |
6509 | |
7305 | |
6510 | linux*) |
7306 | linux* | k*bsd*-gnu) |
6511 | case $CC in |
7307 | case $cc_basename in |
6512 | icc* | ecc*) |
7308 | icc* | ecc*) |
6513 | lt_prog_compiler_wl='-Wl,' |
7309 | lt_prog_compiler_wl='-Wl,' |
6514 | lt_prog_compiler_pic='-KPIC' |
7310 | lt_prog_compiler_pic='-KPIC' |
6515 | lt_prog_compiler_static='-static' |
7311 | lt_prog_compiler_static='-static' |
|
|
7312 | ;; |
|
|
7313 | pgcc* | pgf77* | pgf90* | pgf95*) |
|
|
7314 | # Portland Group compilers (*not* the Pentium gcc compiler, |
|
|
7315 | # which looks to be a dead project) |
|
|
7316 | lt_prog_compiler_wl='-Wl,' |
|
|
7317 | lt_prog_compiler_pic='-fpic' |
|
|
7318 | lt_prog_compiler_static='-Bstatic' |
6516 | ;; |
7319 | ;; |
6517 | ccc*) |
7320 | ccc*) |
6518 | lt_prog_compiler_wl='-Wl,' |
7321 | lt_prog_compiler_wl='-Wl,' |
6519 | # All Alpha code is PIC. |
7322 | # All Alpha code is PIC. |
6520 | lt_prog_compiler_static='-non_shared' |
7323 | lt_prog_compiler_static='-non_shared' |
… | |
… | |
6526 | lt_prog_compiler_wl='-Wl,' |
7329 | lt_prog_compiler_wl='-Wl,' |
6527 | # All OSF/1 code is PIC. |
7330 | # All OSF/1 code is PIC. |
6528 | lt_prog_compiler_static='-non_shared' |
7331 | lt_prog_compiler_static='-non_shared' |
6529 | ;; |
7332 | ;; |
6530 | |
7333 | |
6531 | sco3.2v5*) |
|
|
6532 | lt_prog_compiler_pic='-Kpic' |
|
|
6533 | lt_prog_compiler_static='-dn' |
|
|
6534 | ;; |
|
|
6535 | |
|
|
6536 | solaris*) |
7334 | solaris*) |
6537 | lt_prog_compiler_wl='-Wl,' |
|
|
6538 | lt_prog_compiler_pic='-KPIC' |
7335 | lt_prog_compiler_pic='-KPIC' |
6539 | lt_prog_compiler_static='-Bstatic' |
7336 | lt_prog_compiler_static='-Bstatic' |
|
|
7337 | case $cc_basename in |
|
|
7338 | f77* | f90* | f95*) |
|
|
7339 | lt_prog_compiler_wl='-Qoption ld ';; |
|
|
7340 | *) |
|
|
7341 | lt_prog_compiler_wl='-Wl,';; |
|
|
7342 | esac |
6540 | ;; |
7343 | ;; |
6541 | |
7344 | |
6542 | sunos4*) |
7345 | sunos4*) |
6543 | lt_prog_compiler_wl='-Qoption ld ' |
7346 | lt_prog_compiler_wl='-Qoption ld ' |
6544 | lt_prog_compiler_pic='-PIC' |
7347 | lt_prog_compiler_pic='-PIC' |
6545 | lt_prog_compiler_static='-Bstatic' |
7348 | lt_prog_compiler_static='-Bstatic' |
6546 | ;; |
7349 | ;; |
6547 | |
7350 | |
6548 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
7351 | sysv4 | sysv4.2uw2* | sysv4.3*) |
6549 | lt_prog_compiler_wl='-Wl,' |
7352 | lt_prog_compiler_wl='-Wl,' |
6550 | lt_prog_compiler_pic='-KPIC' |
7353 | lt_prog_compiler_pic='-KPIC' |
6551 | lt_prog_compiler_static='-Bstatic' |
7354 | lt_prog_compiler_static='-Bstatic' |
6552 | ;; |
7355 | ;; |
6553 | |
7356 | |
… | |
… | |
6556 | lt_prog_compiler_pic='-Kconform_pic' |
7359 | lt_prog_compiler_pic='-Kconform_pic' |
6557 | lt_prog_compiler_static='-Bstatic' |
7360 | lt_prog_compiler_static='-Bstatic' |
6558 | fi |
7361 | fi |
6559 | ;; |
7362 | ;; |
6560 | |
7363 | |
|
|
7364 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
|
7365 | lt_prog_compiler_wl='-Wl,' |
|
|
7366 | lt_prog_compiler_pic='-KPIC' |
|
|
7367 | lt_prog_compiler_static='-Bstatic' |
|
|
7368 | ;; |
|
|
7369 | |
|
|
7370 | unicos*) |
|
|
7371 | lt_prog_compiler_wl='-Wl,' |
|
|
7372 | lt_prog_compiler_can_build_shared=no |
|
|
7373 | ;; |
|
|
7374 | |
6561 | uts4*) |
7375 | uts4*) |
6562 | lt_prog_compiler_pic='-pic' |
7376 | lt_prog_compiler_pic='-pic' |
6563 | lt_prog_compiler_static='-Bstatic' |
7377 | lt_prog_compiler_static='-Bstatic' |
6564 | ;; |
7378 | ;; |
6565 | |
7379 | |
… | |
… | |
6567 | lt_prog_compiler_can_build_shared=no |
7381 | lt_prog_compiler_can_build_shared=no |
6568 | ;; |
7382 | ;; |
6569 | esac |
7383 | esac |
6570 | fi |
7384 | fi |
6571 | |
7385 | |
6572 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 |
7386 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 |
6573 | echo "${ECHO_T}$lt_prog_compiler_pic" >&6 |
7387 | echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } |
6574 | |
7388 | |
6575 | # |
7389 | # |
6576 | # Check to make sure the PIC flag actually works. |
7390 | # Check to make sure the PIC flag actually works. |
6577 | # |
7391 | # |
6578 | if test -n "$lt_prog_compiler_pic"; then |
7392 | if test -n "$lt_prog_compiler_pic"; then |
6579 | |
7393 | |
6580 | echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
7394 | { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
6581 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 |
7395 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } |
6582 | if test "${lt_prog_compiler_pic_works+set}" = set; then |
7396 | if test "${lt_prog_compiler_pic_works+set}" = set; then |
6583 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7397 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6584 | else |
7398 | else |
6585 | lt_prog_compiler_pic_works=no |
7399 | lt_prog_compiler_pic_works=no |
6586 | ac_outfile=conftest.$ac_objext |
7400 | ac_outfile=conftest.$ac_objext |
… | |
… | |
6590 | # (2) before a word containing "conftest.", or (3) at the end. |
7404 | # (2) before a word containing "conftest.", or (3) at the end. |
6591 | # Note that $ac_compile itself does not contain backslashes and begins |
7405 | # Note that $ac_compile itself does not contain backslashes and begins |
6592 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
7406 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
6593 | # The option is referenced via a variable to avoid confusing sed. |
7407 | # The option is referenced via a variable to avoid confusing sed. |
6594 | lt_compile=`echo "$ac_compile" | $SED \ |
7408 | lt_compile=`echo "$ac_compile" | $SED \ |
6595 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
7409 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
6596 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7410 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6597 | -e 's:$: $lt_compiler_flag:'` |
7411 | -e 's:$: $lt_compiler_flag:'` |
6598 | (eval echo "\"\$as_me:6598: $lt_compile\"" >&5) |
7412 | (eval echo "\"\$as_me:7412: $lt_compile\"" >&5) |
6599 | (eval "$lt_compile" 2>conftest.err) |
7413 | (eval "$lt_compile" 2>conftest.err) |
6600 | ac_status=$? |
7414 | ac_status=$? |
6601 | cat conftest.err >&5 |
7415 | cat conftest.err >&5 |
6602 | echo "$as_me:6602: \$? = $ac_status" >&5 |
7416 | echo "$as_me:7416: \$? = $ac_status" >&5 |
6603 | if (exit $ac_status) && test -s "$ac_outfile"; then |
7417 | if (exit $ac_status) && test -s "$ac_outfile"; then |
6604 | # The compiler can only warn and ignore the option if not recognized |
7418 | # The compiler can only warn and ignore the option if not recognized |
6605 | # So say no if there are warnings |
7419 | # So say no if there are warnings other than the usual output. |
6606 | if test ! -s conftest.err; then |
7420 | $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
|
7421 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
7422 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
6607 | lt_prog_compiler_pic_works=yes |
7423 | lt_prog_compiler_pic_works=yes |
6608 | fi |
7424 | fi |
6609 | fi |
7425 | fi |
6610 | $rm conftest* |
7426 | $rm conftest* |
6611 | |
7427 | |
6612 | fi |
7428 | fi |
6613 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 |
7429 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 |
6614 | echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 |
7430 | echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } |
6615 | |
7431 | |
6616 | if test x"$lt_prog_compiler_pic_works" = xyes; then |
7432 | if test x"$lt_prog_compiler_pic_works" = xyes; then |
6617 | case $lt_prog_compiler_pic in |
7433 | case $lt_prog_compiler_pic in |
6618 | "" | " "*) ;; |
7434 | "" | " "*) ;; |
6619 | *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
7435 | *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
… | |
… | |
6622 | lt_prog_compiler_pic= |
7438 | lt_prog_compiler_pic= |
6623 | lt_prog_compiler_can_build_shared=no |
7439 | lt_prog_compiler_can_build_shared=no |
6624 | fi |
7440 | fi |
6625 | |
7441 | |
6626 | fi |
7442 | fi |
6627 | case "$host_os" in |
7443 | case $host_os in |
6628 | # For platforms which do not support PIC, -DPIC is meaningless: |
7444 | # For platforms which do not support PIC, -DPIC is meaningless: |
6629 | *djgpp*) |
7445 | *djgpp*) |
6630 | lt_prog_compiler_pic= |
7446 | lt_prog_compiler_pic= |
6631 | ;; |
7447 | ;; |
6632 | *) |
7448 | *) |
6633 | lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
7449 | lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
6634 | ;; |
7450 | ;; |
6635 | esac |
7451 | esac |
6636 | |
7452 | |
|
|
7453 | # |
|
|
7454 | # Check to make sure the static flag actually works. |
|
|
7455 | # |
|
|
7456 | wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
|
|
7457 | { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
|
7458 | echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } |
|
|
7459 | if test "${lt_prog_compiler_static_works+set}" = set; then |
|
|
7460 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7461 | else |
|
|
7462 | lt_prog_compiler_static_works=no |
|
|
7463 | save_LDFLAGS="$LDFLAGS" |
|
|
7464 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
|
7465 | printf "$lt_simple_link_test_code" > conftest.$ac_ext |
|
|
7466 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
|
7467 | # The linker can only warn and ignore the option if not recognized |
|
|
7468 | # So say no if there are warnings |
|
|
7469 | if test -s conftest.err; then |
|
|
7470 | # Append any errors to the config.log. |
|
|
7471 | cat conftest.err 1>&5 |
|
|
7472 | $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
|
|
7473 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
7474 | if diff conftest.exp conftest.er2 >/dev/null; then |
|
|
7475 | lt_prog_compiler_static_works=yes |
|
|
7476 | fi |
|
|
7477 | else |
|
|
7478 | lt_prog_compiler_static_works=yes |
|
|
7479 | fi |
|
|
7480 | fi |
|
|
7481 | $rm conftest* |
|
|
7482 | LDFLAGS="$save_LDFLAGS" |
|
|
7483 | |
|
|
7484 | fi |
|
|
7485 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 |
|
|
7486 | echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } |
|
|
7487 | |
|
|
7488 | if test x"$lt_prog_compiler_static_works" = xyes; then |
|
|
7489 | : |
|
|
7490 | else |
|
|
7491 | lt_prog_compiler_static= |
|
|
7492 | fi |
|
|
7493 | |
|
|
7494 | |
6637 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
7495 | { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
6638 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
7496 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } |
6639 | if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
7497 | if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
6640 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7498 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6641 | else |
7499 | else |
6642 | lt_cv_prog_compiler_c_o=no |
7500 | lt_cv_prog_compiler_c_o=no |
6643 | $rm -r conftest 2>/dev/null |
7501 | $rm -r conftest 2>/dev/null |
… | |
… | |
6650 | # Insert the option either (1) after the last *FLAGS variable, or |
7508 | # Insert the option either (1) after the last *FLAGS variable, or |
6651 | # (2) before a word containing "conftest.", or (3) at the end. |
7509 | # (2) before a word containing "conftest.", or (3) at the end. |
6652 | # Note that $ac_compile itself does not contain backslashes and begins |
7510 | # Note that $ac_compile itself does not contain backslashes and begins |
6653 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
7511 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
6654 | lt_compile=`echo "$ac_compile" | $SED \ |
7512 | lt_compile=`echo "$ac_compile" | $SED \ |
6655 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
7513 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
6656 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7514 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6657 | -e 's:$: $lt_compiler_flag:'` |
7515 | -e 's:$: $lt_compiler_flag:'` |
6658 | (eval echo "\"\$as_me:6658: $lt_compile\"" >&5) |
7516 | (eval echo "\"\$as_me:7516: $lt_compile\"" >&5) |
6659 | (eval "$lt_compile" 2>out/conftest.err) |
7517 | (eval "$lt_compile" 2>out/conftest.err) |
6660 | ac_status=$? |
7518 | ac_status=$? |
6661 | cat out/conftest.err >&5 |
7519 | cat out/conftest.err >&5 |
6662 | echo "$as_me:6662: \$? = $ac_status" >&5 |
7520 | echo "$as_me:7520: \$? = $ac_status" >&5 |
6663 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
7521 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
6664 | then |
7522 | then |
6665 | # The compiler can only warn and ignore the option if not recognized |
7523 | # The compiler can only warn and ignore the option if not recognized |
6666 | # So say no if there are warnings |
7524 | # So say no if there are warnings |
6667 | if test ! -s out/conftest.err; then |
7525 | $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
|
7526 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
|
7527 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
6668 | lt_cv_prog_compiler_c_o=yes |
7528 | lt_cv_prog_compiler_c_o=yes |
6669 | fi |
7529 | fi |
6670 | fi |
7530 | fi |
6671 | chmod u+w . |
7531 | chmod u+w . 2>&5 |
6672 | $rm conftest* |
7532 | $rm conftest* |
6673 | # SGI C++ compiler will create directory out/ii_files/ for |
7533 | # SGI C++ compiler will create directory out/ii_files/ for |
6674 | # template instantiation |
7534 | # template instantiation |
6675 | test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
7535 | test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
6676 | $rm out/* && rmdir out |
7536 | $rm out/* && rmdir out |
6677 | cd .. |
7537 | cd .. |
6678 | rmdir conftest |
7538 | rmdir conftest |
6679 | $rm conftest* |
7539 | $rm conftest* |
6680 | |
7540 | |
6681 | fi |
7541 | fi |
6682 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
7542 | { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
6683 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 |
7543 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } |
6684 | |
7544 | |
6685 | |
7545 | |
6686 | hard_links="nottested" |
7546 | hard_links="nottested" |
6687 | if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
7547 | if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
6688 | # do not overwrite the value of need_locks provided by the user |
7548 | # do not overwrite the value of need_locks provided by the user |
6689 | echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
7549 | { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
6690 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 |
7550 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
6691 | hard_links=yes |
7551 | hard_links=yes |
6692 | $rm conftest* |
7552 | $rm conftest* |
6693 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
7553 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
6694 | touch conftest.a |
7554 | touch conftest.a |
6695 | ln conftest.a conftest.b 2>&5 || hard_links=no |
7555 | ln conftest.a conftest.b 2>&5 || hard_links=no |
6696 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
7556 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
6697 | echo "$as_me:$LINENO: result: $hard_links" >&5 |
7557 | { echo "$as_me:$LINENO: result: $hard_links" >&5 |
6698 | echo "${ECHO_T}$hard_links" >&6 |
7558 | echo "${ECHO_T}$hard_links" >&6; } |
6699 | if test "$hard_links" = no; then |
7559 | if test "$hard_links" = no; then |
6700 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
7560 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
6701 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
7561 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
6702 | need_locks=warn |
7562 | need_locks=warn |
6703 | fi |
7563 | fi |
6704 | else |
7564 | else |
6705 | need_locks=no |
7565 | need_locks=no |
6706 | fi |
7566 | fi |
6707 | |
7567 | |
6708 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
7568 | { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
6709 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 |
7569 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
6710 | |
7570 | |
6711 | runpath_var= |
7571 | runpath_var= |
6712 | allow_undefined_flag= |
7572 | allow_undefined_flag= |
6713 | enable_shared_with_static_runtimes=no |
7573 | enable_shared_with_static_runtimes=no |
6714 | archive_cmds= |
7574 | archive_cmds= |
… | |
… | |
6742 | # platforms (ab)use it in PIC code, but their linkers get confused if |
7602 | # platforms (ab)use it in PIC code, but their linkers get confused if |
6743 | # the symbol is explicitly referenced. Since portable code cannot |
7603 | # the symbol is explicitly referenced. Since portable code cannot |
6744 | # rely on this symbol name, it's probably fine to never include it in |
7604 | # rely on this symbol name, it's probably fine to never include it in |
6745 | # preloaded symbol tables. |
7605 | # preloaded symbol tables. |
6746 | extract_expsyms_cmds= |
7606 | extract_expsyms_cmds= |
|
|
7607 | # Just being paranoid about ensuring that cc_basename is set. |
|
|
7608 | for cc_temp in $compiler""; do |
|
|
7609 | case $cc_temp in |
|
|
7610 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
7611 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
7612 | \-*) ;; |
|
|
7613 | *) break;; |
|
|
7614 | esac |
|
|
7615 | done |
|
|
7616 | cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
6747 | |
7617 | |
6748 | case $host_os in |
7618 | case $host_os in |
6749 | cygwin* | mingw* | pw32*) |
7619 | cygwin* | mingw* | pw32*) |
6750 | # FIXME: the MSVC++ port hasn't been tested in a loooong time |
7620 | # FIXME: the MSVC++ port hasn't been tested in a loooong time |
6751 | # When not using gcc, we currently assume that we are using |
7621 | # When not using gcc, we currently assume that we are using |
6752 | # Microsoft Visual C++. |
7622 | # Microsoft Visual C++. |
6753 | if test "$GCC" != yes; then |
7623 | if test "$GCC" != yes; then |
6754 | with_gnu_ld=no |
7624 | with_gnu_ld=no |
6755 | fi |
7625 | fi |
6756 | ;; |
7626 | ;; |
|
|
7627 | interix*) |
|
|
7628 | # we just hope/assume this is gcc and not c89 (= MSVC++) |
|
|
7629 | with_gnu_ld=yes |
|
|
7630 | ;; |
6757 | openbsd*) |
7631 | openbsd*) |
6758 | with_gnu_ld=no |
7632 | with_gnu_ld=no |
6759 | ;; |
7633 | ;; |
6760 | esac |
7634 | esac |
6761 | |
7635 | |
6762 | ld_shlibs=yes |
7636 | ld_shlibs=yes |
6763 | if test "$with_gnu_ld" = yes; then |
7637 | if test "$with_gnu_ld" = yes; then |
6764 | # If archive_cmds runs LD, not CC, wlarc should be empty |
7638 | # If archive_cmds runs LD, not CC, wlarc should be empty |
6765 | wlarc='${wl}' |
7639 | wlarc='${wl}' |
|
|
7640 | |
|
|
7641 | # Set some defaults for GNU ld with shared library support. These |
|
|
7642 | # are reset later if shared libraries are not supported. Putting them |
|
|
7643 | # here allows them to be overridden if necessary. |
|
|
7644 | runpath_var=LD_RUN_PATH |
|
|
7645 | hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
|
|
7646 | export_dynamic_flag_spec='${wl}--export-dynamic' |
|
|
7647 | # ancient GNU ld didn't support --whole-archive et. al. |
|
|
7648 | if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
|
7649 | whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
|
7650 | else |
|
|
7651 | whole_archive_flag_spec= |
|
|
7652 | fi |
|
|
7653 | supports_anon_versioning=no |
|
|
7654 | case `$LD -v 2>/dev/null` in |
|
|
7655 | *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
|
7656 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
|
7657 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
|
7658 | *\ 2.11.*) ;; # other 2.11 versions |
|
|
7659 | *) supports_anon_versioning=yes ;; |
|
|
7660 | esac |
6766 | |
7661 | |
6767 | # See if GNU ld supports shared libraries. |
7662 | # See if GNU ld supports shared libraries. |
6768 | case $host_os in |
7663 | case $host_os in |
6769 | aix3* | aix4* | aix5*) |
7664 | aix3* | aix4* | aix5*) |
6770 | # On AIX/PPC, the GNU linker is very broken |
7665 | # On AIX/PPC, the GNU linker is very broken |
… | |
… | |
6812 | # as there is no search path for DLLs. |
7707 | # as there is no search path for DLLs. |
6813 | hardcode_libdir_flag_spec='-L$libdir' |
7708 | hardcode_libdir_flag_spec='-L$libdir' |
6814 | allow_undefined_flag=unsupported |
7709 | allow_undefined_flag=unsupported |
6815 | always_export_symbols=no |
7710 | always_export_symbols=no |
6816 | enable_shared_with_static_runtimes=yes |
7711 | enable_shared_with_static_runtimes=yes |
6817 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
7712 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
6818 | |
7713 | |
6819 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
7714 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
6820 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
7715 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
6821 | # If the export-symbols file already is a .def file (1st line |
7716 | # If the export-symbols file already is a .def file (1st line |
6822 | # is EXPORTS), use it as is; otherwise, prepend... |
7717 | # is EXPORTS), use it as is; otherwise, prepend... |
6823 | archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
7718 | archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
6824 | cp $export_symbols $output_objdir/$soname.def; |
7719 | cp $export_symbols $output_objdir/$soname.def; |
6825 | else |
7720 | else |
6826 | echo EXPORTS > $output_objdir/$soname.def; |
7721 | echo EXPORTS > $output_objdir/$soname.def; |
6827 | cat $export_symbols >> $output_objdir/$soname.def; |
7722 | cat $export_symbols >> $output_objdir/$soname.def; |
6828 | fi~ |
7723 | fi~ |
6829 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
7724 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
6830 | else |
7725 | else |
6831 | ld_shlibs=no |
7726 | ld_shlibs=no |
6832 | fi |
7727 | fi |
6833 | ;; |
7728 | ;; |
6834 | |
7729 | |
6835 | netbsd*) |
7730 | interix3*) |
|
|
7731 | hardcode_direct=no |
|
|
7732 | hardcode_shlibpath_var=no |
|
|
7733 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
|
7734 | export_dynamic_flag_spec='${wl}-E' |
|
|
7735 | # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
|
7736 | # Instead, shared libraries are loaded at an image base (0x10000000 by |
|
|
7737 | # default) and relocated if they conflict, which is a slow very memory |
|
|
7738 | # consuming and fragmenting process. To avoid this, we pick a random, |
|
|
7739 | # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
|
7740 | # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
|
7741 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
|
7742 | 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' |
|
|
7743 | ;; |
|
|
7744 | |
|
|
7745 | linux* | k*bsd*-gnu) |
|
|
7746 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
7747 | tmp_addflag= |
|
|
7748 | case $cc_basename,$host_cpu in |
|
|
7749 | pgcc*) # Portland Group C compiler |
|
|
7750 | whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
|
7751 | tmp_addflag=' $pic_flag' |
|
|
7752 | ;; |
|
|
7753 | pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
|
|
7754 | whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
|
7755 | tmp_addflag=' $pic_flag -Mnomain' ;; |
|
|
7756 | ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
|
7757 | tmp_addflag=' -i_dynamic' ;; |
|
|
7758 | efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
|
7759 | tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
|
7760 | ifc* | ifort*) # Intel Fortran compiler |
|
|
7761 | tmp_addflag=' -nofor_main' ;; |
|
|
7762 | esac |
|
|
7763 | archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
7764 | |
|
|
7765 | if test $supports_anon_versioning = yes; then |
|
|
7766 | archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
|
7767 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
|
7768 | $echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
|
7769 | $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
|
7770 | fi |
|
|
7771 | link_all_deplibs=no |
|
|
7772 | else |
|
|
7773 | ld_shlibs=no |
|
|
7774 | fi |
|
|
7775 | ;; |
|
|
7776 | |
|
|
7777 | netbsd* | netbsdelf*-gnu) |
6836 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
7778 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
6837 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
7779 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
6838 | wlarc= |
7780 | wlarc= |
6839 | else |
7781 | else |
6840 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
7782 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
6841 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
7783 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
6842 | fi |
7784 | fi |
6843 | ;; |
7785 | ;; |
6844 | |
7786 | |
6845 | solaris* | sysv5*) |
7787 | solaris*) |
6846 | if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
7788 | if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
6847 | ld_shlibs=no |
7789 | ld_shlibs=no |
6848 | cat <<EOF 1>&2 |
7790 | cat <<EOF 1>&2 |
6849 | |
7791 | |
6850 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
7792 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
… | |
… | |
6861 | else |
7803 | else |
6862 | ld_shlibs=no |
7804 | ld_shlibs=no |
6863 | fi |
7805 | fi |
6864 | ;; |
7806 | ;; |
6865 | |
7807 | |
|
|
7808 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
|
7809 | case `$LD -v 2>&1` in |
|
|
7810 | *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
|
7811 | ld_shlibs=no |
|
|
7812 | cat <<_LT_EOF 1>&2 |
|
|
7813 | |
|
|
7814 | *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
|
7815 | *** reliably create shared libraries on SCO systems. Therefore, libtool |
|
|
7816 | *** is disabling shared libraries support. We urge you to upgrade GNU |
|
|
7817 | *** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
|
7818 | *** your PATH or compiler configuration so that the native linker is |
|
|
7819 | *** used, and then restart. |
|
|
7820 | |
|
|
7821 | _LT_EOF |
|
|
7822 | ;; |
|
|
7823 | *) |
|
|
7824 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
7825 | hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
|
|
7826 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
|
|
7827 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
|
|
7828 | else |
|
|
7829 | ld_shlibs=no |
|
|
7830 | fi |
|
|
7831 | ;; |
|
|
7832 | esac |
|
|
7833 | ;; |
|
|
7834 | |
6866 | sunos4*) |
7835 | sunos4*) |
6867 | archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
7836 | archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
6868 | wlarc= |
7837 | wlarc= |
6869 | hardcode_direct=yes |
7838 | hardcode_direct=yes |
6870 | hardcode_shlibpath_var=no |
7839 | hardcode_shlibpath_var=no |
6871 | ;; |
7840 | ;; |
6872 | |
|
|
6873 | linux*) |
|
|
6874 | if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
|
|
6875 | tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
6876 | archive_cmds="$tmp_archive_cmds" |
|
|
6877 | supports_anon_versioning=no |
|
|
6878 | case `$LD -v 2>/dev/null` in |
|
|
6879 | *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
|
6880 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
|
6881 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
|
6882 | *\ 2.11.*) ;; # other 2.11 versions |
|
|
6883 | *) supports_anon_versioning=yes ;; |
|
|
6884 | esac |
|
|
6885 | if test $supports_anon_versioning = yes; then |
|
|
6886 | archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
|
6887 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
|
6888 | $echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
|
6889 | $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
|
6890 | else |
|
|
6891 | archive_expsym_cmds="$tmp_archive_cmds" |
|
|
6892 | fi |
|
|
6893 | else |
|
|
6894 | ld_shlibs=no |
|
|
6895 | fi |
|
|
6896 | ;; |
|
|
6897 | |
7841 | |
6898 | *) |
7842 | *) |
6899 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
7843 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
6900 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
7844 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
6901 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
7845 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
… | |
… | |
6903 | ld_shlibs=no |
7847 | ld_shlibs=no |
6904 | fi |
7848 | fi |
6905 | ;; |
7849 | ;; |
6906 | esac |
7850 | esac |
6907 | |
7851 | |
6908 | if test "$ld_shlibs" = yes; then |
7852 | if test "$ld_shlibs" = no; then |
6909 | runpath_var=LD_RUN_PATH |
7853 | runpath_var= |
6910 | hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
7854 | hardcode_libdir_flag_spec= |
6911 | export_dynamic_flag_spec='${wl}--export-dynamic' |
7855 | export_dynamic_flag_spec= |
6912 | # ancient GNU ld didn't support --whole-archive et. al. |
|
|
6913 | if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
|
6914 | whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
|
6915 | else |
|
|
6916 | whole_archive_flag_spec= |
7856 | whole_archive_flag_spec= |
6917 | fi |
|
|
6918 | fi |
7857 | fi |
6919 | else |
7858 | else |
6920 | # PORTME fill in a description of your system's linker (not GNU ld) |
7859 | # PORTME fill in a description of your system's linker (not GNU ld) |
6921 | case $host_os in |
7860 | case $host_os in |
6922 | aix3*) |
7861 | aix3*) |
… | |
… | |
6924 | always_export_symbols=yes |
7863 | always_export_symbols=yes |
6925 | 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' |
7864 | 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' |
6926 | # Note: this linker hardcodes the directories in LIBPATH if there |
7865 | # Note: this linker hardcodes the directories in LIBPATH if there |
6927 | # are no directories specified by -L. |
7866 | # are no directories specified by -L. |
6928 | hardcode_minus_L=yes |
7867 | hardcode_minus_L=yes |
6929 | if test "$GCC" = yes && test -z "$link_static_flag"; then |
7868 | if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
6930 | # Neither direct hardcoding nor static linking is supported with a |
7869 | # Neither direct hardcoding nor static linking is supported with a |
6931 | # broken collect2. |
7870 | # broken collect2. |
6932 | hardcode_direct=unsupported |
7871 | hardcode_direct=unsupported |
6933 | fi |
7872 | fi |
6934 | ;; |
7873 | ;; |
… | |
… | |
6958 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
7897 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
6959 | aix_use_runtimelinking=yes |
7898 | aix_use_runtimelinking=yes |
6960 | break |
7899 | break |
6961 | fi |
7900 | fi |
6962 | done |
7901 | done |
|
|
7902 | ;; |
6963 | esac |
7903 | esac |
6964 | |
7904 | |
6965 | exp_sym_flag='-bexport' |
7905 | exp_sym_flag='-bexport' |
6966 | no_entry_flag='-bnoentry' |
7906 | no_entry_flag='-bnoentry' |
6967 | fi |
7907 | fi |
… | |
… | |
6976 | hardcode_direct=yes |
7916 | hardcode_direct=yes |
6977 | hardcode_libdir_separator=':' |
7917 | hardcode_libdir_separator=':' |
6978 | link_all_deplibs=yes |
7918 | link_all_deplibs=yes |
6979 | |
7919 | |
6980 | if test "$GCC" = yes; then |
7920 | if test "$GCC" = yes; then |
6981 | case $host_os in aix4.012|aix4.012.*) |
7921 | case $host_os in aix4.[012]|aix4.[012].*) |
6982 | # We only want to do this on AIX 4.2 and lower, the check |
7922 | # We only want to do this on AIX 4.2 and lower, the check |
6983 | # below for broken collect2 doesn't work under 4.3+ |
7923 | # below for broken collect2 doesn't work under 4.3+ |
6984 | collect2name=`${CC} -print-prog-name=collect2` |
7924 | collect2name=`${CC} -print-prog-name=collect2` |
6985 | if test -f "$collect2name" && \ |
7925 | if test -f "$collect2name" && \ |
6986 | strings "$collect2name" | grep resolve_lib_name >/dev/null |
7926 | strings "$collect2name" | grep resolve_lib_name >/dev/null |
… | |
… | |
6995 | # to unsupported forces relinking |
7935 | # to unsupported forces relinking |
6996 | hardcode_minus_L=yes |
7936 | hardcode_minus_L=yes |
6997 | hardcode_libdir_flag_spec='-L$libdir' |
7937 | hardcode_libdir_flag_spec='-L$libdir' |
6998 | hardcode_libdir_separator= |
7938 | hardcode_libdir_separator= |
6999 | fi |
7939 | fi |
|
|
7940 | ;; |
7000 | esac |
7941 | esac |
7001 | shared_flag='-shared' |
7942 | shared_flag='-shared' |
|
|
7943 | if test "$aix_use_runtimelinking" = yes; then |
|
|
7944 | shared_flag="$shared_flag "'${wl}-G' |
|
|
7945 | fi |
7002 | else |
7946 | else |
7003 | # not using gcc |
7947 | # not using gcc |
7004 | if test "$host_cpu" = ia64; then |
7948 | if test "$host_cpu" = ia64; then |
7005 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
7949 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
7006 | # chokes on -Wl,-G. The following line is correct: |
7950 | # chokes on -Wl,-G. The following line is correct: |
7007 | shared_flag='-G' |
7951 | shared_flag='-G' |
7008 | else |
7952 | else |
7009 | if test "$aix_use_runtimelinking" = yes; then |
7953 | if test "$aix_use_runtimelinking" = yes; then |
7010 | shared_flag='${wl}-G' |
7954 | shared_flag='${wl}-G' |
7011 | else |
7955 | else |
7012 | shared_flag='${wl}-bM:SRE' |
7956 | shared_flag='${wl}-bM:SRE' |
7013 | fi |
7957 | fi |
7014 | fi |
7958 | fi |
7015 | fi |
7959 | fi |
7016 | |
7960 | |
7017 | # It seems that -bexpall does not export symbols beginning with |
7961 | # It seems that -bexpall does not export symbols beginning with |
7018 | # underscore (_), so it is better to generate a list of symbols to export. |
7962 | # underscore (_), so it is better to generate a list of symbols to export. |
… | |
… | |
7036 | ; |
7980 | ; |
7037 | return 0; |
7981 | return 0; |
7038 | } |
7982 | } |
7039 | _ACEOF |
7983 | _ACEOF |
7040 | rm -f conftest.$ac_objext conftest$ac_exeext |
7984 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
7985 | if { (ac_try="$ac_link" |
|
|
7986 | case "(($ac_try" in |
|
|
7987 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7988 | *) ac_try_echo=$ac_try;; |
|
|
7989 | esac |
7041 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7990 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7042 | (eval $ac_link) 2>conftest.er1 |
7991 | (eval "$ac_link") 2>conftest.er1 |
7043 | ac_status=$? |
7992 | ac_status=$? |
7044 | grep -v '^ *+' conftest.er1 >conftest.err |
7993 | grep -v '^ *+' conftest.er1 >conftest.err |
7045 | rm -f conftest.er1 |
7994 | rm -f conftest.er1 |
7046 | cat conftest.err >&5 |
7995 | cat conftest.err >&5 |
7047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7048 | (exit $ac_status); } && |
7997 | (exit $ac_status); } && { |
7049 | { ac_try='test -z "$ac_c_werror_flag" |
7998 | test -z "$ac_c_werror_flag" || |
7050 | || test ! -s conftest.err' |
7999 | test ! -s conftest.err |
7051 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8000 | } && test -s conftest$ac_exeext && |
7052 | (eval $ac_try) 2>&5 |
8001 | $as_test_x conftest$ac_exeext; then |
7053 | ac_status=$? |
|
|
7054 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7055 | (exit $ac_status); }; } && |
|
|
7056 | { ac_try='test -s conftest$ac_exeext' |
|
|
7057 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7058 | (eval $ac_try) 2>&5 |
|
|
7059 | ac_status=$? |
|
|
7060 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7061 | (exit $ac_status); }; }; then |
|
|
7062 | |
8002 | |
7063 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
8003 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
7064 | }'` |
8004 | }'` |
7065 | # Check for a 64-bit object if we didn't find anything. |
8005 | # Check for a 64-bit object if we didn't find anything. |
7066 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
8006 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
7067 | }'`; fi |
8007 | }'`; fi |
7068 | else |
8008 | else |
7069 | echo "$as_me: failed program was:" >&5 |
8009 | echo "$as_me: failed program was:" >&5 |
7070 | sed 's/^/| /' conftest.$ac_ext >&5 |
8010 | sed 's/^/| /' conftest.$ac_ext >&5 |
7071 | |
8011 | |
|
|
8012 | |
7072 | fi |
8013 | fi |
7073 | rm -f conftest.err conftest.$ac_objext \ |
8014 | |
|
|
8015 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
7074 | conftest$ac_exeext conftest.$ac_ext |
8016 | conftest$ac_exeext conftest.$ac_ext |
7075 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
8017 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7076 | |
8018 | |
7077 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
8019 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
7078 | archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
8020 | archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
7079 | else |
8021 | else |
7080 | if test "$host_cpu" = ia64; then |
8022 | if test "$host_cpu" = ia64; then |
7081 | hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
8023 | hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
7082 | allow_undefined_flag="-z nodefs" |
8024 | allow_undefined_flag="-z nodefs" |
7083 | archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" |
8025 | 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" |
7084 | else |
8026 | else |
7085 | # Determine the default libpath from the value encoded in an empty executable. |
8027 | # Determine the default libpath from the value encoded in an empty executable. |
7086 | cat >conftest.$ac_ext <<_ACEOF |
8028 | cat >conftest.$ac_ext <<_ACEOF |
7087 | /* confdefs.h. */ |
8029 | /* confdefs.h. */ |
7088 | _ACEOF |
8030 | _ACEOF |
… | |
… | |
7097 | ; |
8039 | ; |
7098 | return 0; |
8040 | return 0; |
7099 | } |
8041 | } |
7100 | _ACEOF |
8042 | _ACEOF |
7101 | rm -f conftest.$ac_objext conftest$ac_exeext |
8043 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
8044 | if { (ac_try="$ac_link" |
|
|
8045 | case "(($ac_try" in |
|
|
8046 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8047 | *) ac_try_echo=$ac_try;; |
|
|
8048 | esac |
7102 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8049 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7103 | (eval $ac_link) 2>conftest.er1 |
8050 | (eval "$ac_link") 2>conftest.er1 |
7104 | ac_status=$? |
8051 | ac_status=$? |
7105 | grep -v '^ *+' conftest.er1 >conftest.err |
8052 | grep -v '^ *+' conftest.er1 >conftest.err |
7106 | rm -f conftest.er1 |
8053 | rm -f conftest.er1 |
7107 | cat conftest.err >&5 |
8054 | cat conftest.err >&5 |
7108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7109 | (exit $ac_status); } && |
8056 | (exit $ac_status); } && { |
7110 | { ac_try='test -z "$ac_c_werror_flag" |
8057 | test -z "$ac_c_werror_flag" || |
7111 | || test ! -s conftest.err' |
8058 | test ! -s conftest.err |
7112 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8059 | } && test -s conftest$ac_exeext && |
7113 | (eval $ac_try) 2>&5 |
8060 | $as_test_x conftest$ac_exeext; then |
7114 | ac_status=$? |
|
|
7115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7116 | (exit $ac_status); }; } && |
|
|
7117 | { ac_try='test -s conftest$ac_exeext' |
|
|
7118 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7119 | (eval $ac_try) 2>&5 |
|
|
7120 | ac_status=$? |
|
|
7121 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7122 | (exit $ac_status); }; }; then |
|
|
7123 | |
8061 | |
7124 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
8062 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
7125 | }'` |
8063 | }'` |
7126 | # Check for a 64-bit object if we didn't find anything. |
8064 | # Check for a 64-bit object if we didn't find anything. |
7127 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
8065 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
7128 | }'`; fi |
8066 | }'`; fi |
7129 | else |
8067 | else |
7130 | echo "$as_me: failed program was:" >&5 |
8068 | echo "$as_me: failed program was:" >&5 |
7131 | sed 's/^/| /' conftest.$ac_ext >&5 |
8069 | sed 's/^/| /' conftest.$ac_ext >&5 |
7132 | |
8070 | |
|
|
8071 | |
7133 | fi |
8072 | fi |
7134 | rm -f conftest.err conftest.$ac_objext \ |
8073 | |
|
|
8074 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
7135 | conftest$ac_exeext conftest.$ac_ext |
8075 | conftest$ac_exeext conftest.$ac_ext |
7136 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
8076 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7137 | |
8077 | |
7138 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
8078 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
7139 | # Warning - without using the other run time loading flags, |
8079 | # Warning - without using the other run time loading flags, |
7140 | # -berok will link without error, but may produce a broken library. |
8080 | # -berok will link without error, but may produce a broken library. |
7141 | no_undefined_flag=' ${wl}-bernotok' |
8081 | no_undefined_flag=' ${wl}-bernotok' |
7142 | allow_undefined_flag=' ${wl}-berok' |
8082 | allow_undefined_flag=' ${wl}-berok' |
7143 | # -bexpall does not export symbols beginning with underscore (_) |
|
|
7144 | always_export_symbols=yes |
|
|
7145 | # Exported symbols can be pulled into shared objects from archives |
8083 | # Exported symbols can be pulled into shared objects from archives |
7146 | whole_archive_flag_spec=' ' |
8084 | whole_archive_flag_spec='$convenience' |
7147 | archive_cmds_need_lc=yes |
8085 | archive_cmds_need_lc=yes |
7148 | # This is similar to how AIX traditionally builds it's shared libraries. |
8086 | # This is similar to how AIX traditionally builds its shared libraries. |
7149 | archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
8087 | 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' |
7150 | fi |
8088 | fi |
7151 | fi |
8089 | fi |
7152 | ;; |
8090 | ;; |
7153 | |
8091 | |
7154 | amigaos*) |
8092 | amigaos*) |
… | |
… | |
7157 | hardcode_minus_L=yes |
8095 | hardcode_minus_L=yes |
7158 | # see comment about different semantics on the GNU ld section |
8096 | # see comment about different semantics on the GNU ld section |
7159 | ld_shlibs=no |
8097 | ld_shlibs=no |
7160 | ;; |
8098 | ;; |
7161 | |
8099 | |
7162 | bsdi4*) |
8100 | bsdi[45]*) |
7163 | export_dynamic_flag_spec=-rdynamic |
8101 | export_dynamic_flag_spec=-rdynamic |
7164 | ;; |
8102 | ;; |
7165 | |
8103 | |
7166 | cygwin* | mingw* | pw32*) |
8104 | cygwin* | mingw* | pw32*) |
7167 | # When not using gcc, we currently assume that we are using |
8105 | # When not using gcc, we currently assume that we are using |
… | |
… | |
7171 | hardcode_libdir_flag_spec=' ' |
8109 | hardcode_libdir_flag_spec=' ' |
7172 | allow_undefined_flag=unsupported |
8110 | allow_undefined_flag=unsupported |
7173 | # Tell ltmain to make .lib files, not .a files. |
8111 | # Tell ltmain to make .lib files, not .a files. |
7174 | libext=lib |
8112 | libext=lib |
7175 | # Tell ltmain to make .dll files, not .so files. |
8113 | # Tell ltmain to make .dll files, not .so files. |
7176 | shrext=".dll" |
8114 | shrext_cmds=".dll" |
7177 | # FIXME: Setting linknames here is a bad hack. |
8115 | # FIXME: Setting linknames here is a bad hack. |
7178 | archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
8116 | archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
7179 | # The linker will automatically build a .lib file if we build a DLL. |
8117 | # The linker will automatically build a .lib file if we build a DLL. |
7180 | old_archive_From_new_cmds='true' |
8118 | old_archive_From_new_cmds='true' |
7181 | # FIXME: Should let the user specify the lib program. |
8119 | # FIXME: Should let the user specify the lib program. |
… | |
… | |
7183 | fix_srcfile_path='`cygpath -w "$srcfile"`' |
8121 | fix_srcfile_path='`cygpath -w "$srcfile"`' |
7184 | enable_shared_with_static_runtimes=yes |
8122 | enable_shared_with_static_runtimes=yes |
7185 | ;; |
8123 | ;; |
7186 | |
8124 | |
7187 | darwin* | rhapsody*) |
8125 | darwin* | rhapsody*) |
7188 | if test "$GXX" = yes ; then |
8126 | case $host_os in |
|
|
8127 | rhapsody* | darwin1.[012]) |
|
|
8128 | allow_undefined_flag='${wl}-undefined ${wl}suppress' |
|
|
8129 | ;; |
|
|
8130 | *) # Darwin 1.3 on |
|
|
8131 | if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
|
|
8132 | allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
|
8133 | else |
|
|
8134 | case ${MACOSX_DEPLOYMENT_TARGET} in |
|
|
8135 | 10.[012]) |
|
|
8136 | allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
|
8137 | ;; |
|
|
8138 | 10.*) |
|
|
8139 | allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' |
|
|
8140 | ;; |
|
|
8141 | esac |
|
|
8142 | fi |
|
|
8143 | ;; |
|
|
8144 | esac |
7189 | archive_cmds_need_lc=no |
8145 | archive_cmds_need_lc=no |
7190 | case "$host_os" in |
|
|
7191 | rhapsody* | darwin1.[012]) |
|
|
7192 | allow_undefined_flag='-undefined suppress' |
|
|
7193 | ;; |
|
|
7194 | *) # Darwin 1.3 on |
|
|
7195 | if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
|
|
7196 | allow_undefined_flag='-flat_namespace -undefined suppress' |
|
|
7197 | else |
|
|
7198 | case ${MACOSX_DEPLOYMENT_TARGET} in |
|
|
7199 | 10.[012]) |
|
|
7200 | allow_undefined_flag='-flat_namespace -undefined suppress' |
|
|
7201 | ;; |
|
|
7202 | 10.*) |
|
|
7203 | allow_undefined_flag='-undefined dynamic_lookup' |
|
|
7204 | ;; |
|
|
7205 | esac |
|
|
7206 | fi |
|
|
7207 | ;; |
|
|
7208 | esac |
|
|
7209 | lt_int_apple_cc_single_mod=no |
|
|
7210 | output_verbose_link_cmd='echo' |
|
|
7211 | if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
|
|
7212 | lt_int_apple_cc_single_mod=yes |
|
|
7213 | fi |
|
|
7214 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
7215 | archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
7216 | else |
|
|
7217 | archive_cmds='$CC -r ${wl}-bind_at_load -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' |
|
|
7218 | fi |
|
|
7219 | module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
7220 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
|
|
7221 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
7222 | archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
7223 | else |
|
|
7224 | archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
7225 | fi |
|
|
7226 | module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
7227 | hardcode_direct=no |
8146 | hardcode_direct=no |
7228 | hardcode_automatic=yes |
8147 | hardcode_automatic=yes |
7229 | hardcode_shlibpath_var=unsupported |
8148 | hardcode_shlibpath_var=unsupported |
7230 | whole_archive_flag_spec='-all_load $convenience' |
8149 | whole_archive_flag_spec='' |
7231 | link_all_deplibs=yes |
8150 | link_all_deplibs=yes |
|
|
8151 | if test "$GCC" = yes ; then |
|
|
8152 | output_verbose_link_cmd='echo' |
|
|
8153 | archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
8154 | module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
8155 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
|
|
8156 | archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
8157 | module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
7232 | else |
8158 | else |
|
|
8159 | case $cc_basename in |
|
|
8160 | xlc*) |
|
|
8161 | output_verbose_link_cmd='echo' |
|
|
8162 | archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
|
|
8163 | module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
8164 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
|
|
8165 | archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
8166 | module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
8167 | ;; |
|
|
8168 | *) |
7233 | ld_shlibs=no |
8169 | ld_shlibs=no |
|
|
8170 | ;; |
|
|
8171 | esac |
7234 | fi |
8172 | fi |
7235 | ;; |
8173 | ;; |
7236 | |
8174 | |
7237 | dgux*) |
8175 | dgux*) |
7238 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
8176 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
… | |
… | |
7262 | hardcode_minus_L=yes |
8200 | hardcode_minus_L=yes |
7263 | hardcode_shlibpath_var=no |
8201 | hardcode_shlibpath_var=no |
7264 | ;; |
8202 | ;; |
7265 | |
8203 | |
7266 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
8204 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
7267 | freebsd* | kfreebsd*-gnu) |
8205 | freebsd* | dragonfly*) |
7268 | archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
8206 | archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
7269 | hardcode_libdir_flag_spec='-R$libdir' |
8207 | hardcode_libdir_flag_spec='-R$libdir' |
7270 | hardcode_direct=yes |
8208 | hardcode_direct=yes |
7271 | hardcode_shlibpath_var=no |
8209 | hardcode_shlibpath_var=no |
7272 | ;; |
8210 | ;; |
… | |
… | |
7285 | # but as the default location of the library. |
8223 | # but as the default location of the library. |
7286 | hardcode_minus_L=yes |
8224 | hardcode_minus_L=yes |
7287 | export_dynamic_flag_spec='${wl}-E' |
8225 | export_dynamic_flag_spec='${wl}-E' |
7288 | ;; |
8226 | ;; |
7289 | |
8227 | |
7290 | hpux10* | hpux11*) |
8228 | hpux10*) |
7291 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
8229 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
|
8230 | archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8231 | else |
|
|
8232 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
|
8233 | fi |
|
|
8234 | if test "$with_gnu_ld" = no; then |
|
|
8235 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
|
8236 | hardcode_libdir_separator=: |
|
|
8237 | |
|
|
8238 | hardcode_direct=yes |
|
|
8239 | export_dynamic_flag_spec='${wl}-E' |
|
|
8240 | |
|
|
8241 | # hardcode_minus_L: Not really in the search PATH, |
|
|
8242 | # but as the default location of the library. |
|
|
8243 | hardcode_minus_L=yes |
|
|
8244 | fi |
|
|
8245 | ;; |
|
|
8246 | |
|
|
8247 | hpux11*) |
|
|
8248 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
7292 | case "$host_cpu" in |
8249 | case $host_cpu in |
7293 | hppa*64*|ia64*) |
8250 | hppa*64*) |
7294 | archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
8251 | archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8252 | ;; |
|
|
8253 | ia64*) |
|
|
8254 | archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
7295 | ;; |
8255 | ;; |
7296 | *) |
8256 | *) |
7297 | archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
8257 | archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
7298 | ;; |
8258 | ;; |
7299 | esac |
8259 | esac |
7300 | else |
8260 | else |
7301 | case "$host_cpu" in |
8261 | case $host_cpu in |
7302 | hppa*64*|ia64*) |
8262 | hppa*64*) |
7303 | archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' |
8263 | archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8264 | ;; |
|
|
8265 | ia64*) |
|
|
8266 | archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
7304 | ;; |
8267 | ;; |
7305 | *) |
8268 | *) |
7306 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
8269 | archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
7307 | ;; |
8270 | ;; |
7308 | esac |
8271 | esac |
7309 | fi |
8272 | fi |
7310 | if test "$with_gnu_ld" = no; then |
8273 | if test "$with_gnu_ld" = no; then |
7311 | case "$host_cpu" in |
|
|
7312 | hppa*64*) |
|
|
7313 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
8274 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
|
8275 | hardcode_libdir_separator=: |
|
|
8276 | |
|
|
8277 | case $host_cpu in |
|
|
8278 | hppa*64*|ia64*) |
7314 | hardcode_libdir_flag_spec_ld='+b $libdir' |
8279 | hardcode_libdir_flag_spec_ld='+b $libdir' |
7315 | hardcode_libdir_separator=: |
|
|
7316 | hardcode_direct=no |
8280 | hardcode_direct=no |
7317 | hardcode_shlibpath_var=no |
8281 | hardcode_shlibpath_var=no |
7318 | ;; |
8282 | ;; |
7319 | ia64*) |
|
|
7320 | hardcode_libdir_flag_spec='-L$libdir' |
|
|
7321 | hardcode_direct=no |
|
|
7322 | hardcode_shlibpath_var=no |
|
|
7323 | |
|
|
7324 | # hardcode_minus_L: Not really in the search PATH, |
|
|
7325 | # but as the default location of the library. |
|
|
7326 | hardcode_minus_L=yes |
|
|
7327 | ;; |
|
|
7328 | *) |
8283 | *) |
7329 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
|
7330 | hardcode_libdir_separator=: |
|
|
7331 | hardcode_direct=yes |
8284 | hardcode_direct=yes |
7332 | export_dynamic_flag_spec='${wl}-E' |
8285 | export_dynamic_flag_spec='${wl}-E' |
7333 | |
8286 | |
7334 | # hardcode_minus_L: Not really in the search PATH, |
8287 | # hardcode_minus_L: Not really in the search PATH, |
7335 | # but as the default location of the library. |
8288 | # but as the default location of the library. |
… | |
… | |
7349 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
8302 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
7350 | hardcode_libdir_separator=: |
8303 | hardcode_libdir_separator=: |
7351 | link_all_deplibs=yes |
8304 | link_all_deplibs=yes |
7352 | ;; |
8305 | ;; |
7353 | |
8306 | |
7354 | netbsd*) |
8307 | netbsd* | netbsdelf*-gnu) |
7355 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
8308 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
7356 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
8309 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
7357 | else |
8310 | else |
7358 | archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
8311 | archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
7359 | fi |
8312 | fi |
… | |
… | |
7373 | openbsd*) |
8326 | openbsd*) |
7374 | hardcode_direct=yes |
8327 | hardcode_direct=yes |
7375 | hardcode_shlibpath_var=no |
8328 | hardcode_shlibpath_var=no |
7376 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
8329 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
7377 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
8330 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8331 | archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
7378 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
8332 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
7379 | export_dynamic_flag_spec='${wl}-E' |
8333 | export_dynamic_flag_spec='${wl}-E' |
7380 | else |
8334 | else |
7381 | case $host_os in |
8335 | case $host_os in |
7382 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
8336 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
… | |
… | |
7418 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
8372 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
7419 | else |
8373 | else |
7420 | allow_undefined_flag=' -expect_unresolved \*' |
8374 | allow_undefined_flag=' -expect_unresolved \*' |
7421 | archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
8375 | archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
7422 | archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
8376 | archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
7423 | $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' |
8377 | $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' |
7424 | |
8378 | |
7425 | # Both c and cxx compiler support -rpath directly |
8379 | # Both c and cxx compiler support -rpath directly |
7426 | hardcode_libdir_flag_spec='-rpath $libdir' |
8380 | hardcode_libdir_flag_spec='-rpath $libdir' |
7427 | fi |
8381 | fi |
7428 | hardcode_libdir_separator=: |
8382 | hardcode_libdir_separator=: |
7429 | ;; |
8383 | ;; |
7430 | |
8384 | |
7431 | sco3.2v5*) |
|
|
7432 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
7433 | hardcode_shlibpath_var=no |
|
|
7434 | export_dynamic_flag_spec='${wl}-Bexport' |
|
|
7435 | runpath_var=LD_RUN_PATH |
|
|
7436 | hardcode_runpath_var=yes |
|
|
7437 | ;; |
|
|
7438 | |
|
|
7439 | solaris*) |
8385 | solaris*) |
7440 | no_undefined_flag=' -z text' |
8386 | no_undefined_flag=' -z text' |
7441 | if test "$GCC" = yes; then |
8387 | if test "$GCC" = yes; then |
|
|
8388 | wlarc='${wl}' |
7442 | archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
8389 | archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
7443 | archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
8390 | archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
7444 | $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
8391 | $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
7445 | else |
8392 | else |
|
|
8393 | wlarc='' |
7446 | archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
8394 | archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
7447 | archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
8395 | archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
7448 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
8396 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
7449 | fi |
8397 | fi |
7450 | hardcode_libdir_flag_spec='-R$libdir' |
8398 | hardcode_libdir_flag_spec='-R$libdir' |
7451 | hardcode_shlibpath_var=no |
8399 | hardcode_shlibpath_var=no |
7452 | case $host_os in |
8400 | case $host_os in |
7453 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
8401 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
|
8402 | *) |
|
|
8403 | # The compiler driver will combine linker options so we |
|
|
8404 | # cannot just pass the convience library names through |
|
|
8405 | # without $wl, iff we do not link with $LD. |
|
|
8406 | # Luckily, gcc supports the same syntax we need for Sun Studio. |
7454 | *) # Supported since Solaris 2.6 (maybe 2.5.1?) |
8407 | # Supported since Solaris 2.6 (maybe 2.5.1?) |
|
|
8408 | case $wlarc in |
|
|
8409 | '') |
7455 | whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; |
8410 | whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; |
|
|
8411 | *) |
|
|
8412 | whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; |
|
|
8413 | esac ;; |
7456 | esac |
8414 | esac |
7457 | link_all_deplibs=yes |
8415 | link_all_deplibs=yes |
7458 | ;; |
8416 | ;; |
7459 | |
8417 | |
7460 | sunos4*) |
8418 | sunos4*) |
… | |
… | |
7507 | hardcode_runpath_var=yes |
8465 | hardcode_runpath_var=yes |
7508 | ld_shlibs=yes |
8466 | ld_shlibs=yes |
7509 | fi |
8467 | fi |
7510 | ;; |
8468 | ;; |
7511 | |
8469 | |
7512 | sysv4.2uw2*) |
8470 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) |
7513 | archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
|
7514 | hardcode_direct=yes |
|
|
7515 | hardcode_minus_L=no |
|
|
7516 | hardcode_shlibpath_var=no |
|
|
7517 | hardcode_runpath_var=yes |
|
|
7518 | runpath_var=LD_RUN_PATH |
|
|
7519 | ;; |
|
|
7520 | |
|
|
7521 | sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) |
|
|
7522 | no_undefined_flag='${wl}-z ${wl}text' |
8471 | no_undefined_flag='${wl}-z,text' |
7523 | if test "$GCC" = yes; then |
8472 | archive_cmds_need_lc=no |
7524 | archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
7525 | else |
|
|
7526 | archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
7527 | fi |
|
|
7528 | runpath_var='LD_RUN_PATH' |
|
|
7529 | hardcode_shlibpath_var=no |
|
|
7530 | ;; |
|
|
7531 | |
|
|
7532 | sysv5*) |
|
|
7533 | no_undefined_flag=' -z text' |
|
|
7534 | # $CC -shared without GNU ld will not create a library from C++ |
|
|
7535 | # object files and a static libstdc++, better avoid it by now |
|
|
7536 | archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
7537 | archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
|
7538 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
|
|
7539 | hardcode_libdir_flag_spec= |
|
|
7540 | hardcode_shlibpath_var=no |
8473 | hardcode_shlibpath_var=no |
7541 | runpath_var='LD_RUN_PATH' |
8474 | runpath_var='LD_RUN_PATH' |
|
|
8475 | |
|
|
8476 | if test "$GCC" = yes; then |
|
|
8477 | archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8478 | archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8479 | else |
|
|
8480 | archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8481 | archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8482 | fi |
|
|
8483 | ;; |
|
|
8484 | |
|
|
8485 | sysv5* | sco3.2v5* | sco5v6*) |
|
|
8486 | # Note: We can NOT use -z defs as we might desire, because we do not |
|
|
8487 | # link with -lc, and that would cause any symbols used from libc to |
|
|
8488 | # always be unresolved, which means just about no library would |
|
|
8489 | # ever link correctly. If we're not using GNU ld we use -z text |
|
|
8490 | # though, which does catch some bad symbols but isn't as heavy-handed |
|
|
8491 | # as -z defs. |
|
|
8492 | no_undefined_flag='${wl}-z,text' |
|
|
8493 | allow_undefined_flag='${wl}-z,nodefs' |
|
|
8494 | archive_cmds_need_lc=no |
|
|
8495 | hardcode_shlibpath_var=no |
|
|
8496 | hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
|
8497 | hardcode_libdir_separator=':' |
|
|
8498 | link_all_deplibs=yes |
|
|
8499 | export_dynamic_flag_spec='${wl}-Bexport' |
|
|
8500 | runpath_var='LD_RUN_PATH' |
|
|
8501 | |
|
|
8502 | if test "$GCC" = yes; then |
|
|
8503 | archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8504 | archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8505 | else |
|
|
8506 | archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8507 | archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
8508 | fi |
7542 | ;; |
8509 | ;; |
7543 | |
8510 | |
7544 | uts4*) |
8511 | uts4*) |
7545 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
8512 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
7546 | hardcode_libdir_flag_spec='-L$libdir' |
8513 | hardcode_libdir_flag_spec='-L$libdir' |
… | |
… | |
7551 | ld_shlibs=no |
8518 | ld_shlibs=no |
7552 | ;; |
8519 | ;; |
7553 | esac |
8520 | esac |
7554 | fi |
8521 | fi |
7555 | |
8522 | |
7556 | echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
8523 | { echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
7557 | echo "${ECHO_T}$ld_shlibs" >&6 |
8524 | echo "${ECHO_T}$ld_shlibs" >&6; } |
7558 | test "$ld_shlibs" = no && can_build_shared=no |
8525 | test "$ld_shlibs" = no && can_build_shared=no |
7559 | |
|
|
7560 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
|
7561 | if test "$GCC" = yes; then |
|
|
7562 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
7563 | fi |
|
|
7564 | |
8526 | |
7565 | # |
8527 | # |
7566 | # Do we need to explicitly link libc? |
8528 | # Do we need to explicitly link libc? |
7567 | # |
8529 | # |
7568 | case "x$archive_cmds_need_lc" in |
8530 | case "x$archive_cmds_need_lc" in |
… | |
… | |
7577 | ;; |
8539 | ;; |
7578 | '$CC '*) |
8540 | '$CC '*) |
7579 | # Test whether the compiler implicitly links with -lc since on some |
8541 | # Test whether the compiler implicitly links with -lc since on some |
7580 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
8542 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
7581 | # to ld, don't add -lc before -lgcc. |
8543 | # to ld, don't add -lc before -lgcc. |
7582 | echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
8544 | { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
7583 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 |
8545 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
7584 | $rm conftest* |
8546 | $rm conftest* |
7585 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
8547 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
7586 | |
8548 | |
7587 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8549 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7588 | (eval $ac_compile) 2>&5 |
8550 | (eval $ac_compile) 2>&5 |
… | |
… | |
7592 | soname=conftest |
8554 | soname=conftest |
7593 | lib=conftest |
8555 | lib=conftest |
7594 | libobjs=conftest.$ac_objext |
8556 | libobjs=conftest.$ac_objext |
7595 | deplibs= |
8557 | deplibs= |
7596 | wl=$lt_prog_compiler_wl |
8558 | wl=$lt_prog_compiler_wl |
|
|
8559 | pic_flag=$lt_prog_compiler_pic |
7597 | compiler_flags=-v |
8560 | compiler_flags=-v |
7598 | linker_flags=-v |
8561 | linker_flags=-v |
7599 | verstring= |
8562 | verstring= |
7600 | output_objdir=. |
8563 | output_objdir=. |
7601 | libname=conftest |
8564 | libname=conftest |
… | |
… | |
7614 | allow_undefined_flag=$lt_save_allow_undefined_flag |
8577 | allow_undefined_flag=$lt_save_allow_undefined_flag |
7615 | else |
8578 | else |
7616 | cat conftest.err 1>&5 |
8579 | cat conftest.err 1>&5 |
7617 | fi |
8580 | fi |
7618 | $rm conftest* |
8581 | $rm conftest* |
7619 | echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
8582 | { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
7620 | echo "${ECHO_T}$archive_cmds_need_lc" >&6 |
8583 | echo "${ECHO_T}$archive_cmds_need_lc" >&6; } |
7621 | ;; |
8584 | ;; |
7622 | esac |
8585 | esac |
7623 | fi |
8586 | fi |
7624 | ;; |
8587 | ;; |
7625 | esac |
8588 | esac |
7626 | |
8589 | |
7627 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
8590 | { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
7628 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
8591 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
7629 | library_names_spec= |
8592 | library_names_spec= |
7630 | libname_spec='lib$name' |
8593 | libname_spec='lib$name' |
7631 | soname_spec= |
8594 | soname_spec= |
7632 | shrext=".so" |
8595 | shrext_cmds=".so" |
7633 | postinstall_cmds= |
8596 | postinstall_cmds= |
7634 | postuninstall_cmds= |
8597 | postuninstall_cmds= |
7635 | finish_cmds= |
8598 | finish_cmds= |
7636 | finish_eval= |
8599 | finish_eval= |
7637 | shlibpath_var= |
8600 | shlibpath_var= |
… | |
… | |
7724 | library_names_spec='${libname}${shared_ext}' |
8687 | library_names_spec='${libname}${shared_ext}' |
7725 | dynamic_linker="$host_os ld.so" |
8688 | dynamic_linker="$host_os ld.so" |
7726 | shlibpath_var=LIBRARY_PATH |
8689 | shlibpath_var=LIBRARY_PATH |
7727 | ;; |
8690 | ;; |
7728 | |
8691 | |
7729 | bsdi4*) |
8692 | bsdi[45]*) |
7730 | version_type=linux |
8693 | version_type=linux |
7731 | need_version=no |
8694 | need_version=no |
7732 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
8695 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
7733 | soname_spec='${libname}${release}${shared_ext}$major' |
8696 | soname_spec='${libname}${release}${shared_ext}$major' |
7734 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
8697 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
… | |
… | |
7740 | # libtool to hard-code these into programs |
8703 | # libtool to hard-code these into programs |
7741 | ;; |
8704 | ;; |
7742 | |
8705 | |
7743 | cygwin* | mingw* | pw32*) |
8706 | cygwin* | mingw* | pw32*) |
7744 | version_type=windows |
8707 | version_type=windows |
7745 | shrext=".dll" |
8708 | shrext_cmds=".dll" |
7746 | need_version=no |
8709 | need_version=no |
7747 | need_lib_prefix=no |
8710 | need_lib_prefix=no |
7748 | |
8711 | |
7749 | case $GCC,$host_os in |
8712 | case $GCC,$host_os in |
7750 | yes,cygwin* | yes,mingw* | yes,pw32*) |
8713 | yes,cygwin* | yes,mingw* | yes,pw32*) |
… | |
… | |
7752 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
8715 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
7753 | postinstall_cmds='base_file=`basename \${file}`~ |
8716 | postinstall_cmds='base_file=`basename \${file}`~ |
7754 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
8717 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
7755 | dldir=$destdir/`dirname \$dlpath`~ |
8718 | dldir=$destdir/`dirname \$dlpath`~ |
7756 | test -d \$dldir || mkdir -p \$dldir~ |
8719 | test -d \$dldir || mkdir -p \$dldir~ |
7757 | $install_prog $dir/$dlname \$dldir/$dlname' |
8720 | $install_prog $dir/$dlname \$dldir/$dlname~ |
|
|
8721 | chmod a+x \$dldir/$dlname' |
7758 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
8722 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
7759 | dlpath=$dir/\$dldll~ |
8723 | dlpath=$dir/\$dldll~ |
7760 | $rm \$dlpath' |
8724 | $rm \$dlpath' |
7761 | shlibpath_overrides_runpath=yes |
8725 | shlibpath_overrides_runpath=yes |
7762 | |
8726 | |
… | |
… | |
7782 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
8746 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
7783 | fi |
8747 | fi |
7784 | ;; |
8748 | ;; |
7785 | pw32*) |
8749 | pw32*) |
7786 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
8750 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
7787 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' |
8751 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
7788 | ;; |
8752 | ;; |
7789 | esac |
8753 | esac |
7790 | ;; |
8754 | ;; |
7791 | |
8755 | |
7792 | *) |
8756 | *) |
… | |
… | |
7805 | need_version=no |
8769 | need_version=no |
7806 | library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
8770 | library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
7807 | soname_spec='${libname}${release}${major}$shared_ext' |
8771 | soname_spec='${libname}${release}${major}$shared_ext' |
7808 | shlibpath_overrides_runpath=yes |
8772 | shlibpath_overrides_runpath=yes |
7809 | shlibpath_var=DYLD_LIBRARY_PATH |
8773 | shlibpath_var=DYLD_LIBRARY_PATH |
7810 | shrext='$(test .$module = .yes && echo .so || echo .dylib)' |
8774 | shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
7811 | # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
8775 | # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
7812 | if test "$GCC" = yes; then |
8776 | if test "$GCC" = yes; then |
7813 | sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
8777 | sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
7814 | else |
8778 | else |
7815 | sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' |
8779 | sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' |
… | |
… | |
7828 | |
8792 | |
7829 | freebsd1*) |
8793 | freebsd1*) |
7830 | dynamic_linker=no |
8794 | dynamic_linker=no |
7831 | ;; |
8795 | ;; |
7832 | |
8796 | |
7833 | kfreebsd*-gnu) |
8797 | freebsd* | dragonfly*) |
7834 | version_type=linux |
8798 | # DragonFly does not have aout. When/if they implement a new |
7835 | need_lib_prefix=no |
8799 | # versioning mechanism, adjust this. |
7836 | need_version=no |
8800 | if test -x /usr/bin/objformat; then |
7837 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
8801 | objformat=`/usr/bin/objformat` |
7838 | soname_spec='${libname}${release}${shared_ext}$major' |
8802 | else |
7839 | shlibpath_var=LD_LIBRARY_PATH |
8803 | case $host_os in |
7840 | shlibpath_overrides_runpath=no |
8804 | freebsd[123]*) objformat=aout ;; |
7841 | hardcode_into_libs=yes |
8805 | *) objformat=elf ;; |
7842 | dynamic_linker='GNU ld.so' |
8806 | esac |
7843 | ;; |
8807 | fi |
7844 | |
|
|
7845 | freebsd*) |
|
|
7846 | objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
|
|
7847 | version_type=freebsd-$objformat |
8808 | version_type=freebsd-$objformat |
7848 | case $version_type in |
8809 | case $version_type in |
7849 | freebsd-elf*) |
8810 | freebsd-elf*) |
7850 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
8811 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
7851 | need_version=no |
8812 | need_version=no |
… | |
… | |
7859 | shlibpath_var=LD_LIBRARY_PATH |
8820 | shlibpath_var=LD_LIBRARY_PATH |
7860 | case $host_os in |
8821 | case $host_os in |
7861 | freebsd2*) |
8822 | freebsd2*) |
7862 | shlibpath_overrides_runpath=yes |
8823 | shlibpath_overrides_runpath=yes |
7863 | ;; |
8824 | ;; |
7864 | freebsd3.01* | freebsdelf3.01*) |
8825 | freebsd3.[01]* | freebsdelf3.[01]*) |
7865 | shlibpath_overrides_runpath=yes |
8826 | shlibpath_overrides_runpath=yes |
7866 | hardcode_into_libs=yes |
8827 | hardcode_into_libs=yes |
7867 | ;; |
8828 | ;; |
7868 | *) # from 3.2 on |
8829 | freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
|
8830 | freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
7869 | shlibpath_overrides_runpath=no |
8831 | shlibpath_overrides_runpath=no |
|
|
8832 | hardcode_into_libs=yes |
|
|
8833 | ;; |
|
|
8834 | freebsd*) # from 4.6 on |
|
|
8835 | shlibpath_overrides_runpath=yes |
7870 | hardcode_into_libs=yes |
8836 | hardcode_into_libs=yes |
7871 | ;; |
8837 | ;; |
7872 | esac |
8838 | esac |
7873 | ;; |
8839 | ;; |
7874 | |
8840 | |
… | |
… | |
7886 | # Give a soname corresponding to the major version so that dld.sl refuses to |
8852 | # Give a soname corresponding to the major version so that dld.sl refuses to |
7887 | # link against other versions. |
8853 | # link against other versions. |
7888 | version_type=sunos |
8854 | version_type=sunos |
7889 | need_lib_prefix=no |
8855 | need_lib_prefix=no |
7890 | need_version=no |
8856 | need_version=no |
7891 | case "$host_cpu" in |
8857 | case $host_cpu in |
7892 | ia64*) |
8858 | ia64*) |
7893 | shrext='.so' |
8859 | shrext_cmds='.so' |
7894 | hardcode_into_libs=yes |
8860 | hardcode_into_libs=yes |
7895 | dynamic_linker="$host_os dld.so" |
8861 | dynamic_linker="$host_os dld.so" |
7896 | shlibpath_var=LD_LIBRARY_PATH |
8862 | shlibpath_var=LD_LIBRARY_PATH |
7897 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
8863 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
7898 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
8864 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
… | |
… | |
7903 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
8869 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
7904 | fi |
8870 | fi |
7905 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
8871 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
7906 | ;; |
8872 | ;; |
7907 | hppa*64*) |
8873 | hppa*64*) |
7908 | shrext='.sl' |
8874 | shrext_cmds='.sl' |
7909 | hardcode_into_libs=yes |
8875 | hardcode_into_libs=yes |
7910 | dynamic_linker="$host_os dld.sl" |
8876 | dynamic_linker="$host_os dld.sl" |
7911 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
8877 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
7912 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
8878 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
7913 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
8879 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
7914 | soname_spec='${libname}${release}${shared_ext}$major' |
8880 | soname_spec='${libname}${release}${shared_ext}$major' |
7915 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
8881 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
7916 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
8882 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
7917 | ;; |
8883 | ;; |
7918 | *) |
8884 | *) |
7919 | shrext='.sl' |
8885 | shrext_cmds='.sl' |
7920 | dynamic_linker="$host_os dld.sl" |
8886 | dynamic_linker="$host_os dld.sl" |
7921 | shlibpath_var=SHLIB_PATH |
8887 | shlibpath_var=SHLIB_PATH |
7922 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
8888 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
7923 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
8889 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
7924 | soname_spec='${libname}${release}${shared_ext}$major' |
8890 | soname_spec='${libname}${release}${shared_ext}$major' |
7925 | ;; |
8891 | ;; |
7926 | esac |
8892 | esac |
7927 | # HP-UX runs *really* slowly unless shared libraries are mode 555. |
8893 | # HP-UX runs *really* slowly unless shared libraries are mode 555. |
7928 | postinstall_cmds='chmod 555 $lib' |
8894 | postinstall_cmds='chmod 555 $lib' |
|
|
8895 | ;; |
|
|
8896 | |
|
|
8897 | interix3*) |
|
|
8898 | version_type=linux |
|
|
8899 | need_lib_prefix=no |
|
|
8900 | need_version=no |
|
|
8901 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
|
8902 | soname_spec='${libname}${release}${shared_ext}$major' |
|
|
8903 | dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
|
8904 | shlibpath_var=LD_LIBRARY_PATH |
|
|
8905 | shlibpath_overrides_runpath=no |
|
|
8906 | hardcode_into_libs=yes |
7929 | ;; |
8907 | ;; |
7930 | |
8908 | |
7931 | irix5* | irix6* | nonstopux*) |
8909 | irix5* | irix6* | nonstopux*) |
7932 | case $host_os in |
8910 | case $host_os in |
7933 | nonstopux*) version_type=nonstopux ;; |
8911 | nonstopux*) version_type=nonstopux ;; |
… | |
… | |
7969 | linux*oldld* | linux*aout* | linux*coff*) |
8947 | linux*oldld* | linux*aout* | linux*coff*) |
7970 | dynamic_linker=no |
8948 | dynamic_linker=no |
7971 | ;; |
8949 | ;; |
7972 | |
8950 | |
7973 | # This must be Linux ELF. |
8951 | # This must be Linux ELF. |
7974 | linux*) |
8952 | linux* | k*bsd*-gnu) |
7975 | version_type=linux |
8953 | version_type=linux |
7976 | need_lib_prefix=no |
8954 | need_lib_prefix=no |
7977 | need_version=no |
8955 | need_version=no |
7978 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
8956 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
7979 | soname_spec='${libname}${release}${shared_ext}$major' |
8957 | soname_spec='${libname}${release}${shared_ext}$major' |
… | |
… | |
7985 | # before this can be enabled. |
8963 | # before this can be enabled. |
7986 | hardcode_into_libs=yes |
8964 | hardcode_into_libs=yes |
7987 | |
8965 | |
7988 | # Append ld.so.conf contents to the search path |
8966 | # Append ld.so.conf contents to the search path |
7989 | if test -f /etc/ld.so.conf; then |
8967 | if test -f /etc/ld.so.conf; then |
7990 | ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf` |
8968 | lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
7991 | sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra" |
8969 | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
7992 | fi |
8970 | fi |
7993 | |
8971 | |
7994 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
8972 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
7995 | # powerpc, because MkLinux only supported shared libraries with the |
8973 | # powerpc, because MkLinux only supported shared libraries with the |
7996 | # GNU dynamic linker. Since this was broken with cross compilers, |
8974 | # GNU dynamic linker. Since this was broken with cross compilers, |
… | |
… | |
7998 | # people can always --disable-shared, the test was removed, and we |
8976 | # people can always --disable-shared, the test was removed, and we |
7999 | # assume the GNU/Linux dynamic linker is in use. |
8977 | # assume the GNU/Linux dynamic linker is in use. |
8000 | dynamic_linker='GNU/Linux ld.so' |
8978 | dynamic_linker='GNU/Linux ld.so' |
8001 | ;; |
8979 | ;; |
8002 | |
8980 | |
8003 | knetbsd*-gnu) |
8981 | netbsdelf*-gnu) |
8004 | version_type=linux |
8982 | version_type=linux |
8005 | need_lib_prefix=no |
8983 | need_lib_prefix=no |
8006 | need_version=no |
8984 | need_version=no |
8007 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
8985 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
8008 | soname_spec='${libname}${release}${shared_ext}$major' |
8986 | soname_spec='${libname}${release}${shared_ext}$major' |
8009 | shlibpath_var=LD_LIBRARY_PATH |
8987 | shlibpath_var=LD_LIBRARY_PATH |
8010 | shlibpath_overrides_runpath=no |
8988 | shlibpath_overrides_runpath=no |
8011 | hardcode_into_libs=yes |
8989 | hardcode_into_libs=yes |
8012 | dynamic_linker='GNU ld.so' |
8990 | dynamic_linker='NetBSD ld.elf_so' |
8013 | ;; |
8991 | ;; |
8014 | |
8992 | |
8015 | netbsd*) |
8993 | netbsd*) |
8016 | version_type=sunos |
8994 | version_type=sunos |
8017 | need_lib_prefix=no |
8995 | need_lib_prefix=no |
… | |
… | |
8047 | shlibpath_overrides_runpath=yes |
9025 | shlibpath_overrides_runpath=yes |
8048 | ;; |
9026 | ;; |
8049 | |
9027 | |
8050 | openbsd*) |
9028 | openbsd*) |
8051 | version_type=sunos |
9029 | version_type=sunos |
|
|
9030 | sys_lib_dlsearch_path_spec="/usr/lib" |
8052 | need_lib_prefix=no |
9031 | need_lib_prefix=no |
8053 | need_version=yes |
9032 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
|
9033 | case $host_os in |
|
|
9034 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
|
9035 | *) need_version=no ;; |
|
|
9036 | esac |
8054 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
9037 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
8055 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
9038 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
8056 | shlibpath_var=LD_LIBRARY_PATH |
9039 | shlibpath_var=LD_LIBRARY_PATH |
8057 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
9040 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
8058 | case $host_os in |
9041 | case $host_os in |
… | |
… | |
8068 | fi |
9051 | fi |
8069 | ;; |
9052 | ;; |
8070 | |
9053 | |
8071 | os2*) |
9054 | os2*) |
8072 | libname_spec='$name' |
9055 | libname_spec='$name' |
8073 | shrext=".dll" |
9056 | shrext_cmds=".dll" |
8074 | need_lib_prefix=no |
9057 | need_lib_prefix=no |
8075 | library_names_spec='$libname${shared_ext} $libname.a' |
9058 | library_names_spec='$libname${shared_ext} $libname.a' |
8076 | dynamic_linker='OS/2 ld.exe' |
9059 | dynamic_linker='OS/2 ld.exe' |
8077 | shlibpath_var=LIBPATH |
9060 | shlibpath_var=LIBPATH |
8078 | ;; |
9061 | ;; |
… | |
… | |
8084 | soname_spec='${libname}${release}${shared_ext}$major' |
9067 | soname_spec='${libname}${release}${shared_ext}$major' |
8085 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
9068 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
8086 | shlibpath_var=LD_LIBRARY_PATH |
9069 | shlibpath_var=LD_LIBRARY_PATH |
8087 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
9070 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
8088 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
9071 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
8089 | ;; |
|
|
8090 | |
|
|
8091 | sco3.2v5*) |
|
|
8092 | version_type=osf |
|
|
8093 | soname_spec='${libname}${release}${shared_ext}$major' |
|
|
8094 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
8095 | shlibpath_var=LD_LIBRARY_PATH |
|
|
8096 | ;; |
9072 | ;; |
8097 | |
9073 | |
8098 | solaris*) |
9074 | solaris*) |
8099 | version_type=linux |
9075 | version_type=linux |
8100 | need_lib_prefix=no |
9076 | need_lib_prefix=no |
… | |
… | |
8118 | need_lib_prefix=no |
9094 | need_lib_prefix=no |
8119 | fi |
9095 | fi |
8120 | need_version=yes |
9096 | need_version=yes |
8121 | ;; |
9097 | ;; |
8122 | |
9098 | |
8123 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
9099 | sysv4 | sysv4.3*) |
8124 | version_type=linux |
9100 | version_type=linux |
8125 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
9101 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
8126 | soname_spec='${libname}${release}${shared_ext}$major' |
9102 | soname_spec='${libname}${release}${shared_ext}$major' |
8127 | shlibpath_var=LD_LIBRARY_PATH |
9103 | shlibpath_var=LD_LIBRARY_PATH |
8128 | case $host_vendor in |
9104 | case $host_vendor in |
… | |
… | |
8151 | soname_spec='$libname${shared_ext}.$major' |
9127 | soname_spec='$libname${shared_ext}.$major' |
8152 | shlibpath_var=LD_LIBRARY_PATH |
9128 | shlibpath_var=LD_LIBRARY_PATH |
8153 | fi |
9129 | fi |
8154 | ;; |
9130 | ;; |
8155 | |
9131 | |
|
|
9132 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
|
9133 | version_type=freebsd-elf |
|
|
9134 | need_lib_prefix=no |
|
|
9135 | need_version=no |
|
|
9136 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
|
9137 | soname_spec='${libname}${release}${shared_ext}$major' |
|
|
9138 | shlibpath_var=LD_LIBRARY_PATH |
|
|
9139 | hardcode_into_libs=yes |
|
|
9140 | if test "$with_gnu_ld" = yes; then |
|
|
9141 | sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
|
9142 | shlibpath_overrides_runpath=no |
|
|
9143 | else |
|
|
9144 | sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
|
9145 | shlibpath_overrides_runpath=yes |
|
|
9146 | case $host_os in |
|
|
9147 | sco3.2v5*) |
|
|
9148 | sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
|
9149 | ;; |
|
|
9150 | esac |
|
|
9151 | fi |
|
|
9152 | sys_lib_dlsearch_path_spec='/usr/lib' |
|
|
9153 | ;; |
|
|
9154 | |
8156 | uts4*) |
9155 | uts4*) |
8157 | version_type=linux |
9156 | version_type=linux |
8158 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
9157 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
8159 | soname_spec='${libname}${release}${shared_ext}$major' |
9158 | soname_spec='${libname}${release}${shared_ext}$major' |
8160 | shlibpath_var=LD_LIBRARY_PATH |
9159 | shlibpath_var=LD_LIBRARY_PATH |
… | |
… | |
8162 | |
9161 | |
8163 | *) |
9162 | *) |
8164 | dynamic_linker=no |
9163 | dynamic_linker=no |
8165 | ;; |
9164 | ;; |
8166 | esac |
9165 | esac |
8167 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
9166 | { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
8168 | echo "${ECHO_T}$dynamic_linker" >&6 |
9167 | echo "${ECHO_T}$dynamic_linker" >&6; } |
8169 | test "$dynamic_linker" = no && can_build_shared=no |
9168 | test "$dynamic_linker" = no && can_build_shared=no |
8170 | |
9169 | |
|
|
9170 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
|
9171 | if test "$GCC" = yes; then |
|
|
9172 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
9173 | fi |
|
|
9174 | |
8171 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
9175 | { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
8172 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
9176 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } |
8173 | hardcode_action= |
9177 | hardcode_action= |
8174 | if test -n "$hardcode_libdir_flag_spec" || \ |
9178 | if test -n "$hardcode_libdir_flag_spec" || \ |
8175 | test -n "$runpath_var " || \ |
9179 | test -n "$runpath_var" || \ |
8176 | test "X$hardcode_automatic"="Xyes" ; then |
9180 | test "X$hardcode_automatic" = "Xyes" ; then |
8177 | |
9181 | |
8178 | # We can hardcode non-existant directories. |
9182 | # We can hardcode non-existant directories. |
8179 | if test "$hardcode_direct" != no && |
9183 | if test "$hardcode_direct" != no && |
8180 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
9184 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
8181 | # have to relink, otherwise we might link with an installed library |
9185 | # have to relink, otherwise we might link with an installed library |
… | |
… | |
8191 | else |
9195 | else |
8192 | # We cannot hardcode anything, or else we can only hardcode existing |
9196 | # We cannot hardcode anything, or else we can only hardcode existing |
8193 | # directories. |
9197 | # directories. |
8194 | hardcode_action=unsupported |
9198 | hardcode_action=unsupported |
8195 | fi |
9199 | fi |
8196 | echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
9200 | { echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
8197 | echo "${ECHO_T}$hardcode_action" >&6 |
9201 | echo "${ECHO_T}$hardcode_action" >&6; } |
8198 | |
9202 | |
8199 | if test "$hardcode_action" = relink; then |
9203 | if test "$hardcode_action" = relink; then |
8200 | # Fast installation is not supported |
9204 | # Fast installation is not supported |
8201 | enable_fast_install=no |
9205 | enable_fast_install=no |
8202 | elif test "$shlibpath_overrides_runpath" = yes || |
9206 | elif test "$shlibpath_overrides_runpath" = yes || |
… | |
… | |
8205 | enable_fast_install=needless |
9209 | enable_fast_install=needless |
8206 | fi |
9210 | fi |
8207 | |
9211 | |
8208 | striplib= |
9212 | striplib= |
8209 | old_striplib= |
9213 | old_striplib= |
8210 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
9214 | { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
8211 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
9215 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } |
8212 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
9216 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
8213 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
9217 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
8214 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
9218 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
8215 | echo "$as_me:$LINENO: result: yes" >&5 |
9219 | { echo "$as_me:$LINENO: result: yes" >&5 |
8216 | echo "${ECHO_T}yes" >&6 |
9220 | echo "${ECHO_T}yes" >&6; } |
8217 | else |
9221 | else |
8218 | # FIXME - insert some real tests, host_os isn't really good enough |
9222 | # FIXME - insert some real tests, host_os isn't really good enough |
8219 | case $host_os in |
9223 | case $host_os in |
8220 | darwin*) |
9224 | darwin*) |
8221 | if test -n "$STRIP" ; then |
9225 | if test -n "$STRIP" ; then |
8222 | striplib="$STRIP -x" |
9226 | striplib="$STRIP -x" |
8223 | echo "$as_me:$LINENO: result: yes" >&5 |
9227 | { echo "$as_me:$LINENO: result: yes" >&5 |
8224 | echo "${ECHO_T}yes" >&6 |
9228 | echo "${ECHO_T}yes" >&6; } |
8225 | else |
9229 | else |
8226 | echo "$as_me:$LINENO: result: no" >&5 |
9230 | { echo "$as_me:$LINENO: result: no" >&5 |
8227 | echo "${ECHO_T}no" >&6 |
9231 | echo "${ECHO_T}no" >&6; } |
8228 | fi |
9232 | fi |
8229 | ;; |
9233 | ;; |
8230 | *) |
9234 | *) |
8231 | echo "$as_me:$LINENO: result: no" >&5 |
9235 | { echo "$as_me:$LINENO: result: no" >&5 |
8232 | echo "${ECHO_T}no" >&6 |
9236 | echo "${ECHO_T}no" >&6; } |
8233 | ;; |
9237 | ;; |
8234 | esac |
9238 | esac |
8235 | fi |
9239 | fi |
8236 | |
9240 | |
8237 | if test "x$enable_dlopen" != xyes; then |
9241 | if test "x$enable_dlopen" != xyes; then |
… | |
… | |
8259 | lt_cv_dlopen_libs= |
9263 | lt_cv_dlopen_libs= |
8260 | ;; |
9264 | ;; |
8261 | |
9265 | |
8262 | darwin*) |
9266 | darwin*) |
8263 | # if libdl is installed we need to link against it |
9267 | # if libdl is installed we need to link against it |
8264 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
9268 | { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
8265 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
9269 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
8266 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
9270 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
8267 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9271 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8268 | else |
9272 | else |
8269 | ac_check_lib_save_LIBS=$LIBS |
9273 | ac_check_lib_save_LIBS=$LIBS |
8270 | LIBS="-ldl $LIBS" |
9274 | LIBS="-ldl $LIBS" |
… | |
… | |
8273 | _ACEOF |
9277 | _ACEOF |
8274 | cat confdefs.h >>conftest.$ac_ext |
9278 | cat confdefs.h >>conftest.$ac_ext |
8275 | cat >>conftest.$ac_ext <<_ACEOF |
9279 | cat >>conftest.$ac_ext <<_ACEOF |
8276 | /* end confdefs.h. */ |
9280 | /* end confdefs.h. */ |
8277 | |
9281 | |
8278 | /* Override any gcc2 internal prototype to avoid an error. */ |
9282 | /* Override any GCC internal prototype to avoid an error. |
|
|
9283 | Use char because int might match the return type of a GCC |
|
|
9284 | builtin and then its argument prototype would still apply. */ |
8279 | #ifdef __cplusplus |
9285 | #ifdef __cplusplus |
8280 | extern "C" |
9286 | extern "C" |
8281 | #endif |
9287 | #endif |
8282 | /* We use char because int might match the return type of a gcc2 |
|
|
8283 | builtin and then its argument prototype would still apply. */ |
|
|
8284 | char dlopen (); |
9288 | char dlopen (); |
8285 | int |
9289 | int |
8286 | main () |
9290 | main () |
8287 | { |
9291 | { |
8288 | dlopen (); |
9292 | return dlopen (); |
8289 | ; |
9293 | ; |
8290 | return 0; |
9294 | return 0; |
8291 | } |
9295 | } |
8292 | _ACEOF |
9296 | _ACEOF |
8293 | rm -f conftest.$ac_objext conftest$ac_exeext |
9297 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9298 | if { (ac_try="$ac_link" |
|
|
9299 | case "(($ac_try" in |
|
|
9300 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9301 | *) ac_try_echo=$ac_try;; |
|
|
9302 | esac |
8294 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9303 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8295 | (eval $ac_link) 2>conftest.er1 |
9304 | (eval "$ac_link") 2>conftest.er1 |
8296 | ac_status=$? |
9305 | ac_status=$? |
8297 | grep -v '^ *+' conftest.er1 >conftest.err |
9306 | grep -v '^ *+' conftest.er1 >conftest.err |
8298 | rm -f conftest.er1 |
9307 | rm -f conftest.er1 |
8299 | cat conftest.err >&5 |
9308 | cat conftest.err >&5 |
8300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9309 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8301 | (exit $ac_status); } && |
9310 | (exit $ac_status); } && { |
8302 | { ac_try='test -z "$ac_c_werror_flag" |
9311 | test -z "$ac_c_werror_flag" || |
8303 | || test ! -s conftest.err' |
9312 | test ! -s conftest.err |
8304 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9313 | } && test -s conftest$ac_exeext && |
8305 | (eval $ac_try) 2>&5 |
9314 | $as_test_x conftest$ac_exeext; then |
8306 | ac_status=$? |
|
|
8307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8308 | (exit $ac_status); }; } && |
|
|
8309 | { ac_try='test -s conftest$ac_exeext' |
|
|
8310 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8311 | (eval $ac_try) 2>&5 |
|
|
8312 | ac_status=$? |
|
|
8313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8314 | (exit $ac_status); }; }; then |
|
|
8315 | ac_cv_lib_dl_dlopen=yes |
9315 | ac_cv_lib_dl_dlopen=yes |
8316 | else |
9316 | else |
8317 | echo "$as_me: failed program was:" >&5 |
9317 | echo "$as_me: failed program was:" >&5 |
8318 | sed 's/^/| /' conftest.$ac_ext >&5 |
9318 | sed 's/^/| /' conftest.$ac_ext >&5 |
8319 | |
9319 | |
8320 | ac_cv_lib_dl_dlopen=no |
9320 | ac_cv_lib_dl_dlopen=no |
8321 | fi |
9321 | fi |
8322 | rm -f conftest.err conftest.$ac_objext \ |
9322 | |
|
|
9323 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8323 | conftest$ac_exeext conftest.$ac_ext |
9324 | conftest$ac_exeext conftest.$ac_ext |
8324 | LIBS=$ac_check_lib_save_LIBS |
9325 | LIBS=$ac_check_lib_save_LIBS |
8325 | fi |
9326 | fi |
8326 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
9327 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
8327 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
9328 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
8328 | if test $ac_cv_lib_dl_dlopen = yes; then |
9329 | if test $ac_cv_lib_dl_dlopen = yes; then |
8329 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
9330 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
8330 | else |
9331 | else |
8331 | |
9332 | |
8332 | lt_cv_dlopen="dyld" |
9333 | lt_cv_dlopen="dyld" |
… | |
… | |
8336 | fi |
9337 | fi |
8337 | |
9338 | |
8338 | ;; |
9339 | ;; |
8339 | |
9340 | |
8340 | *) |
9341 | *) |
8341 | echo "$as_me:$LINENO: checking for shl_load" >&5 |
9342 | { echo "$as_me:$LINENO: checking for shl_load" >&5 |
8342 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 |
9343 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } |
8343 | if test "${ac_cv_func_shl_load+set}" = set; then |
9344 | if test "${ac_cv_func_shl_load+set}" = set; then |
8344 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9345 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8345 | else |
9346 | else |
8346 | cat >conftest.$ac_ext <<_ACEOF |
9347 | cat >conftest.$ac_ext <<_ACEOF |
8347 | /* confdefs.h. */ |
9348 | /* confdefs.h. */ |
… | |
… | |
8364 | # include <assert.h> |
9365 | # include <assert.h> |
8365 | #endif |
9366 | #endif |
8366 | |
9367 | |
8367 | #undef shl_load |
9368 | #undef shl_load |
8368 | |
9369 | |
8369 | /* Override any gcc2 internal prototype to avoid an error. */ |
9370 | /* Override any GCC internal prototype to avoid an error. |
|
|
9371 | Use char because int might match the return type of a GCC |
|
|
9372 | builtin and then its argument prototype would still apply. */ |
8370 | #ifdef __cplusplus |
9373 | #ifdef __cplusplus |
8371 | extern "C" |
9374 | extern "C" |
8372 | { |
|
|
8373 | #endif |
9375 | #endif |
8374 | /* We use char because int might match the return type of a gcc2 |
|
|
8375 | builtin and then its argument prototype would still apply. */ |
|
|
8376 | char shl_load (); |
9376 | char shl_load (); |
8377 | /* The GNU C library defines this for functions which it implements |
9377 | /* The GNU C library defines this for functions which it implements |
8378 | to always fail with ENOSYS. Some functions are actually named |
9378 | to always fail with ENOSYS. Some functions are actually named |
8379 | something starting with __ and the normal name is an alias. */ |
9379 | something starting with __ and the normal name is an alias. */ |
8380 | #if defined (__stub_shl_load) || defined (__stub___shl_load) |
9380 | #if defined __stub_shl_load || defined __stub___shl_load |
8381 | choke me |
9381 | choke me |
8382 | #else |
|
|
8383 | char (*f) () = shl_load; |
|
|
8384 | #endif |
|
|
8385 | #ifdef __cplusplus |
|
|
8386 | } |
|
|
8387 | #endif |
9382 | #endif |
8388 | |
9383 | |
8389 | int |
9384 | int |
8390 | main () |
9385 | main () |
8391 | { |
9386 | { |
8392 | return f != shl_load; |
9387 | return shl_load (); |
8393 | ; |
9388 | ; |
8394 | return 0; |
9389 | return 0; |
8395 | } |
9390 | } |
8396 | _ACEOF |
9391 | _ACEOF |
8397 | rm -f conftest.$ac_objext conftest$ac_exeext |
9392 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9393 | if { (ac_try="$ac_link" |
|
|
9394 | case "(($ac_try" in |
|
|
9395 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9396 | *) ac_try_echo=$ac_try;; |
|
|
9397 | esac |
8398 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9398 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8399 | (eval $ac_link) 2>conftest.er1 |
9399 | (eval "$ac_link") 2>conftest.er1 |
8400 | ac_status=$? |
9400 | ac_status=$? |
8401 | grep -v '^ *+' conftest.er1 >conftest.err |
9401 | grep -v '^ *+' conftest.er1 >conftest.err |
8402 | rm -f conftest.er1 |
9402 | rm -f conftest.er1 |
8403 | cat conftest.err >&5 |
9403 | cat conftest.err >&5 |
8404 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9404 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8405 | (exit $ac_status); } && |
9405 | (exit $ac_status); } && { |
8406 | { ac_try='test -z "$ac_c_werror_flag" |
9406 | test -z "$ac_c_werror_flag" || |
8407 | || test ! -s conftest.err' |
9407 | test ! -s conftest.err |
8408 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9408 | } && test -s conftest$ac_exeext && |
8409 | (eval $ac_try) 2>&5 |
9409 | $as_test_x conftest$ac_exeext; then |
8410 | ac_status=$? |
|
|
8411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8412 | (exit $ac_status); }; } && |
|
|
8413 | { ac_try='test -s conftest$ac_exeext' |
|
|
8414 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8415 | (eval $ac_try) 2>&5 |
|
|
8416 | ac_status=$? |
|
|
8417 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8418 | (exit $ac_status); }; }; then |
|
|
8419 | ac_cv_func_shl_load=yes |
9410 | ac_cv_func_shl_load=yes |
8420 | else |
9411 | else |
8421 | echo "$as_me: failed program was:" >&5 |
9412 | echo "$as_me: failed program was:" >&5 |
8422 | sed 's/^/| /' conftest.$ac_ext >&5 |
9413 | sed 's/^/| /' conftest.$ac_ext >&5 |
8423 | |
9414 | |
8424 | ac_cv_func_shl_load=no |
9415 | ac_cv_func_shl_load=no |
8425 | fi |
9416 | fi |
8426 | rm -f conftest.err conftest.$ac_objext \ |
9417 | |
|
|
9418 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8427 | conftest$ac_exeext conftest.$ac_ext |
9419 | conftest$ac_exeext conftest.$ac_ext |
8428 | fi |
9420 | fi |
8429 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
9421 | { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
8430 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
9422 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } |
8431 | if test $ac_cv_func_shl_load = yes; then |
9423 | if test $ac_cv_func_shl_load = yes; then |
8432 | lt_cv_dlopen="shl_load" |
9424 | lt_cv_dlopen="shl_load" |
8433 | else |
9425 | else |
8434 | echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
9426 | { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
8435 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 |
9427 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } |
8436 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
9428 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
8437 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9429 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8438 | else |
9430 | else |
8439 | ac_check_lib_save_LIBS=$LIBS |
9431 | ac_check_lib_save_LIBS=$LIBS |
8440 | LIBS="-ldld $LIBS" |
9432 | LIBS="-ldld $LIBS" |
… | |
… | |
8443 | _ACEOF |
9435 | _ACEOF |
8444 | cat confdefs.h >>conftest.$ac_ext |
9436 | cat confdefs.h >>conftest.$ac_ext |
8445 | cat >>conftest.$ac_ext <<_ACEOF |
9437 | cat >>conftest.$ac_ext <<_ACEOF |
8446 | /* end confdefs.h. */ |
9438 | /* end confdefs.h. */ |
8447 | |
9439 | |
8448 | /* Override any gcc2 internal prototype to avoid an error. */ |
9440 | /* Override any GCC internal prototype to avoid an error. |
|
|
9441 | Use char because int might match the return type of a GCC |
|
|
9442 | builtin and then its argument prototype would still apply. */ |
8449 | #ifdef __cplusplus |
9443 | #ifdef __cplusplus |
8450 | extern "C" |
9444 | extern "C" |
8451 | #endif |
9445 | #endif |
8452 | /* We use char because int might match the return type of a gcc2 |
|
|
8453 | builtin and then its argument prototype would still apply. */ |
|
|
8454 | char shl_load (); |
9446 | char shl_load (); |
8455 | int |
9447 | int |
8456 | main () |
9448 | main () |
8457 | { |
9449 | { |
8458 | shl_load (); |
9450 | return shl_load (); |
8459 | ; |
9451 | ; |
8460 | return 0; |
9452 | return 0; |
8461 | } |
9453 | } |
8462 | _ACEOF |
9454 | _ACEOF |
8463 | rm -f conftest.$ac_objext conftest$ac_exeext |
9455 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9456 | if { (ac_try="$ac_link" |
|
|
9457 | case "(($ac_try" in |
|
|
9458 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9459 | *) ac_try_echo=$ac_try;; |
|
|
9460 | esac |
8464 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9461 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8465 | (eval $ac_link) 2>conftest.er1 |
9462 | (eval "$ac_link") 2>conftest.er1 |
8466 | ac_status=$? |
9463 | ac_status=$? |
8467 | grep -v '^ *+' conftest.er1 >conftest.err |
9464 | grep -v '^ *+' conftest.er1 >conftest.err |
8468 | rm -f conftest.er1 |
9465 | rm -f conftest.er1 |
8469 | cat conftest.err >&5 |
9466 | cat conftest.err >&5 |
8470 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9467 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8471 | (exit $ac_status); } && |
9468 | (exit $ac_status); } && { |
8472 | { ac_try='test -z "$ac_c_werror_flag" |
9469 | test -z "$ac_c_werror_flag" || |
8473 | || test ! -s conftest.err' |
9470 | test ! -s conftest.err |
8474 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9471 | } && test -s conftest$ac_exeext && |
8475 | (eval $ac_try) 2>&5 |
9472 | $as_test_x conftest$ac_exeext; then |
8476 | ac_status=$? |
|
|
8477 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8478 | (exit $ac_status); }; } && |
|
|
8479 | { ac_try='test -s conftest$ac_exeext' |
|
|
8480 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8481 | (eval $ac_try) 2>&5 |
|
|
8482 | ac_status=$? |
|
|
8483 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8484 | (exit $ac_status); }; }; then |
|
|
8485 | ac_cv_lib_dld_shl_load=yes |
9473 | ac_cv_lib_dld_shl_load=yes |
8486 | else |
9474 | else |
8487 | echo "$as_me: failed program was:" >&5 |
9475 | echo "$as_me: failed program was:" >&5 |
8488 | sed 's/^/| /' conftest.$ac_ext >&5 |
9476 | sed 's/^/| /' conftest.$ac_ext >&5 |
8489 | |
9477 | |
8490 | ac_cv_lib_dld_shl_load=no |
9478 | ac_cv_lib_dld_shl_load=no |
8491 | fi |
9479 | fi |
8492 | rm -f conftest.err conftest.$ac_objext \ |
9480 | |
|
|
9481 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8493 | conftest$ac_exeext conftest.$ac_ext |
9482 | conftest$ac_exeext conftest.$ac_ext |
8494 | LIBS=$ac_check_lib_save_LIBS |
9483 | LIBS=$ac_check_lib_save_LIBS |
8495 | fi |
9484 | fi |
8496 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
9485 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
8497 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 |
9486 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } |
8498 | if test $ac_cv_lib_dld_shl_load = yes; then |
9487 | if test $ac_cv_lib_dld_shl_load = yes; then |
8499 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
9488 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
8500 | else |
9489 | else |
8501 | echo "$as_me:$LINENO: checking for dlopen" >&5 |
9490 | { echo "$as_me:$LINENO: checking for dlopen" >&5 |
8502 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
9491 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } |
8503 | if test "${ac_cv_func_dlopen+set}" = set; then |
9492 | if test "${ac_cv_func_dlopen+set}" = set; then |
8504 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9493 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8505 | else |
9494 | else |
8506 | cat >conftest.$ac_ext <<_ACEOF |
9495 | cat >conftest.$ac_ext <<_ACEOF |
8507 | /* confdefs.h. */ |
9496 | /* confdefs.h. */ |
… | |
… | |
8524 | # include <assert.h> |
9513 | # include <assert.h> |
8525 | #endif |
9514 | #endif |
8526 | |
9515 | |
8527 | #undef dlopen |
9516 | #undef dlopen |
8528 | |
9517 | |
8529 | /* Override any gcc2 internal prototype to avoid an error. */ |
9518 | /* Override any GCC internal prototype to avoid an error. |
|
|
9519 | Use char because int might match the return type of a GCC |
|
|
9520 | builtin and then its argument prototype would still apply. */ |
8530 | #ifdef __cplusplus |
9521 | #ifdef __cplusplus |
8531 | extern "C" |
9522 | extern "C" |
8532 | { |
|
|
8533 | #endif |
9523 | #endif |
8534 | /* We use char because int might match the return type of a gcc2 |
|
|
8535 | builtin and then its argument prototype would still apply. */ |
|
|
8536 | char dlopen (); |
9524 | char dlopen (); |
8537 | /* The GNU C library defines this for functions which it implements |
9525 | /* The GNU C library defines this for functions which it implements |
8538 | to always fail with ENOSYS. Some functions are actually named |
9526 | to always fail with ENOSYS. Some functions are actually named |
8539 | something starting with __ and the normal name is an alias. */ |
9527 | something starting with __ and the normal name is an alias. */ |
8540 | #if defined (__stub_dlopen) || defined (__stub___dlopen) |
9528 | #if defined __stub_dlopen || defined __stub___dlopen |
8541 | choke me |
9529 | choke me |
8542 | #else |
|
|
8543 | char (*f) () = dlopen; |
|
|
8544 | #endif |
|
|
8545 | #ifdef __cplusplus |
|
|
8546 | } |
|
|
8547 | #endif |
9530 | #endif |
8548 | |
9531 | |
8549 | int |
9532 | int |
8550 | main () |
9533 | main () |
8551 | { |
9534 | { |
8552 | return f != dlopen; |
9535 | return dlopen (); |
8553 | ; |
9536 | ; |
8554 | return 0; |
9537 | return 0; |
8555 | } |
9538 | } |
8556 | _ACEOF |
9539 | _ACEOF |
8557 | rm -f conftest.$ac_objext conftest$ac_exeext |
9540 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9541 | if { (ac_try="$ac_link" |
|
|
9542 | case "(($ac_try" in |
|
|
9543 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9544 | *) ac_try_echo=$ac_try;; |
|
|
9545 | esac |
8558 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9546 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8559 | (eval $ac_link) 2>conftest.er1 |
9547 | (eval "$ac_link") 2>conftest.er1 |
8560 | ac_status=$? |
9548 | ac_status=$? |
8561 | grep -v '^ *+' conftest.er1 >conftest.err |
9549 | grep -v '^ *+' conftest.er1 >conftest.err |
8562 | rm -f conftest.er1 |
9550 | rm -f conftest.er1 |
8563 | cat conftest.err >&5 |
9551 | cat conftest.err >&5 |
8564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9552 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8565 | (exit $ac_status); } && |
9553 | (exit $ac_status); } && { |
8566 | { ac_try='test -z "$ac_c_werror_flag" |
9554 | test -z "$ac_c_werror_flag" || |
8567 | || test ! -s conftest.err' |
9555 | test ! -s conftest.err |
8568 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9556 | } && test -s conftest$ac_exeext && |
8569 | (eval $ac_try) 2>&5 |
9557 | $as_test_x conftest$ac_exeext; then |
8570 | ac_status=$? |
|
|
8571 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8572 | (exit $ac_status); }; } && |
|
|
8573 | { ac_try='test -s conftest$ac_exeext' |
|
|
8574 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8575 | (eval $ac_try) 2>&5 |
|
|
8576 | ac_status=$? |
|
|
8577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8578 | (exit $ac_status); }; }; then |
|
|
8579 | ac_cv_func_dlopen=yes |
9558 | ac_cv_func_dlopen=yes |
8580 | else |
9559 | else |
8581 | echo "$as_me: failed program was:" >&5 |
9560 | echo "$as_me: failed program was:" >&5 |
8582 | sed 's/^/| /' conftest.$ac_ext >&5 |
9561 | sed 's/^/| /' conftest.$ac_ext >&5 |
8583 | |
9562 | |
8584 | ac_cv_func_dlopen=no |
9563 | ac_cv_func_dlopen=no |
8585 | fi |
9564 | fi |
8586 | rm -f conftest.err conftest.$ac_objext \ |
9565 | |
|
|
9566 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8587 | conftest$ac_exeext conftest.$ac_ext |
9567 | conftest$ac_exeext conftest.$ac_ext |
8588 | fi |
9568 | fi |
8589 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
9569 | { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
8590 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
9570 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } |
8591 | if test $ac_cv_func_dlopen = yes; then |
9571 | if test $ac_cv_func_dlopen = yes; then |
8592 | lt_cv_dlopen="dlopen" |
9572 | lt_cv_dlopen="dlopen" |
8593 | else |
9573 | else |
8594 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
9574 | { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
8595 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
9575 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
8596 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
9576 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
8597 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9577 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8598 | else |
9578 | else |
8599 | ac_check_lib_save_LIBS=$LIBS |
9579 | ac_check_lib_save_LIBS=$LIBS |
8600 | LIBS="-ldl $LIBS" |
9580 | LIBS="-ldl $LIBS" |
… | |
… | |
8603 | _ACEOF |
9583 | _ACEOF |
8604 | cat confdefs.h >>conftest.$ac_ext |
9584 | cat confdefs.h >>conftest.$ac_ext |
8605 | cat >>conftest.$ac_ext <<_ACEOF |
9585 | cat >>conftest.$ac_ext <<_ACEOF |
8606 | /* end confdefs.h. */ |
9586 | /* end confdefs.h. */ |
8607 | |
9587 | |
8608 | /* Override any gcc2 internal prototype to avoid an error. */ |
9588 | /* Override any GCC internal prototype to avoid an error. |
|
|
9589 | Use char because int might match the return type of a GCC |
|
|
9590 | builtin and then its argument prototype would still apply. */ |
8609 | #ifdef __cplusplus |
9591 | #ifdef __cplusplus |
8610 | extern "C" |
9592 | extern "C" |
8611 | #endif |
9593 | #endif |
8612 | /* We use char because int might match the return type of a gcc2 |
|
|
8613 | builtin and then its argument prototype would still apply. */ |
|
|
8614 | char dlopen (); |
9594 | char dlopen (); |
8615 | int |
9595 | int |
8616 | main () |
9596 | main () |
8617 | { |
9597 | { |
8618 | dlopen (); |
9598 | return dlopen (); |
8619 | ; |
9599 | ; |
8620 | return 0; |
9600 | return 0; |
8621 | } |
9601 | } |
8622 | _ACEOF |
9602 | _ACEOF |
8623 | rm -f conftest.$ac_objext conftest$ac_exeext |
9603 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9604 | if { (ac_try="$ac_link" |
|
|
9605 | case "(($ac_try" in |
|
|
9606 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9607 | *) ac_try_echo=$ac_try;; |
|
|
9608 | esac |
8624 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9609 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8625 | (eval $ac_link) 2>conftest.er1 |
9610 | (eval "$ac_link") 2>conftest.er1 |
8626 | ac_status=$? |
9611 | ac_status=$? |
8627 | grep -v '^ *+' conftest.er1 >conftest.err |
9612 | grep -v '^ *+' conftest.er1 >conftest.err |
8628 | rm -f conftest.er1 |
9613 | rm -f conftest.er1 |
8629 | cat conftest.err >&5 |
9614 | cat conftest.err >&5 |
8630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8631 | (exit $ac_status); } && |
9616 | (exit $ac_status); } && { |
8632 | { ac_try='test -z "$ac_c_werror_flag" |
9617 | test -z "$ac_c_werror_flag" || |
8633 | || test ! -s conftest.err' |
9618 | test ! -s conftest.err |
8634 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9619 | } && test -s conftest$ac_exeext && |
8635 | (eval $ac_try) 2>&5 |
9620 | $as_test_x conftest$ac_exeext; then |
8636 | ac_status=$? |
|
|
8637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8638 | (exit $ac_status); }; } && |
|
|
8639 | { ac_try='test -s conftest$ac_exeext' |
|
|
8640 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8641 | (eval $ac_try) 2>&5 |
|
|
8642 | ac_status=$? |
|
|
8643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8644 | (exit $ac_status); }; }; then |
|
|
8645 | ac_cv_lib_dl_dlopen=yes |
9621 | ac_cv_lib_dl_dlopen=yes |
8646 | else |
9622 | else |
8647 | echo "$as_me: failed program was:" >&5 |
9623 | echo "$as_me: failed program was:" >&5 |
8648 | sed 's/^/| /' conftest.$ac_ext >&5 |
9624 | sed 's/^/| /' conftest.$ac_ext >&5 |
8649 | |
9625 | |
8650 | ac_cv_lib_dl_dlopen=no |
9626 | ac_cv_lib_dl_dlopen=no |
8651 | fi |
9627 | fi |
8652 | rm -f conftest.err conftest.$ac_objext \ |
9628 | |
|
|
9629 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8653 | conftest$ac_exeext conftest.$ac_ext |
9630 | conftest$ac_exeext conftest.$ac_ext |
8654 | LIBS=$ac_check_lib_save_LIBS |
9631 | LIBS=$ac_check_lib_save_LIBS |
8655 | fi |
9632 | fi |
8656 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
9633 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
8657 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
9634 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
8658 | if test $ac_cv_lib_dl_dlopen = yes; then |
9635 | if test $ac_cv_lib_dl_dlopen = yes; then |
8659 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
9636 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
8660 | else |
9637 | else |
8661 | echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
9638 | { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
8662 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 |
9639 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } |
8663 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
9640 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
8664 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9641 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8665 | else |
9642 | else |
8666 | ac_check_lib_save_LIBS=$LIBS |
9643 | ac_check_lib_save_LIBS=$LIBS |
8667 | LIBS="-lsvld $LIBS" |
9644 | LIBS="-lsvld $LIBS" |
… | |
… | |
8670 | _ACEOF |
9647 | _ACEOF |
8671 | cat confdefs.h >>conftest.$ac_ext |
9648 | cat confdefs.h >>conftest.$ac_ext |
8672 | cat >>conftest.$ac_ext <<_ACEOF |
9649 | cat >>conftest.$ac_ext <<_ACEOF |
8673 | /* end confdefs.h. */ |
9650 | /* end confdefs.h. */ |
8674 | |
9651 | |
8675 | /* Override any gcc2 internal prototype to avoid an error. */ |
9652 | /* Override any GCC internal prototype to avoid an error. |
|
|
9653 | Use char because int might match the return type of a GCC |
|
|
9654 | builtin and then its argument prototype would still apply. */ |
8676 | #ifdef __cplusplus |
9655 | #ifdef __cplusplus |
8677 | extern "C" |
9656 | extern "C" |
8678 | #endif |
9657 | #endif |
8679 | /* We use char because int might match the return type of a gcc2 |
|
|
8680 | builtin and then its argument prototype would still apply. */ |
|
|
8681 | char dlopen (); |
9658 | char dlopen (); |
8682 | int |
9659 | int |
8683 | main () |
9660 | main () |
8684 | { |
9661 | { |
8685 | dlopen (); |
9662 | return dlopen (); |
8686 | ; |
9663 | ; |
8687 | return 0; |
9664 | return 0; |
8688 | } |
9665 | } |
8689 | _ACEOF |
9666 | _ACEOF |
8690 | rm -f conftest.$ac_objext conftest$ac_exeext |
9667 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9668 | if { (ac_try="$ac_link" |
|
|
9669 | case "(($ac_try" in |
|
|
9670 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9671 | *) ac_try_echo=$ac_try;; |
|
|
9672 | esac |
8691 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9673 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8692 | (eval $ac_link) 2>conftest.er1 |
9674 | (eval "$ac_link") 2>conftest.er1 |
8693 | ac_status=$? |
9675 | ac_status=$? |
8694 | grep -v '^ *+' conftest.er1 >conftest.err |
9676 | grep -v '^ *+' conftest.er1 >conftest.err |
8695 | rm -f conftest.er1 |
9677 | rm -f conftest.er1 |
8696 | cat conftest.err >&5 |
9678 | cat conftest.err >&5 |
8697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9679 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8698 | (exit $ac_status); } && |
9680 | (exit $ac_status); } && { |
8699 | { ac_try='test -z "$ac_c_werror_flag" |
9681 | test -z "$ac_c_werror_flag" || |
8700 | || test ! -s conftest.err' |
9682 | test ! -s conftest.err |
8701 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9683 | } && test -s conftest$ac_exeext && |
8702 | (eval $ac_try) 2>&5 |
9684 | $as_test_x conftest$ac_exeext; then |
8703 | ac_status=$? |
|
|
8704 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8705 | (exit $ac_status); }; } && |
|
|
8706 | { ac_try='test -s conftest$ac_exeext' |
|
|
8707 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8708 | (eval $ac_try) 2>&5 |
|
|
8709 | ac_status=$? |
|
|
8710 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8711 | (exit $ac_status); }; }; then |
|
|
8712 | ac_cv_lib_svld_dlopen=yes |
9685 | ac_cv_lib_svld_dlopen=yes |
8713 | else |
9686 | else |
8714 | echo "$as_me: failed program was:" >&5 |
9687 | echo "$as_me: failed program was:" >&5 |
8715 | sed 's/^/| /' conftest.$ac_ext >&5 |
9688 | sed 's/^/| /' conftest.$ac_ext >&5 |
8716 | |
9689 | |
8717 | ac_cv_lib_svld_dlopen=no |
9690 | ac_cv_lib_svld_dlopen=no |
8718 | fi |
9691 | fi |
8719 | rm -f conftest.err conftest.$ac_objext \ |
9692 | |
|
|
9693 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8720 | conftest$ac_exeext conftest.$ac_ext |
9694 | conftest$ac_exeext conftest.$ac_ext |
8721 | LIBS=$ac_check_lib_save_LIBS |
9695 | LIBS=$ac_check_lib_save_LIBS |
8722 | fi |
9696 | fi |
8723 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
9697 | { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
8724 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 |
9698 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } |
8725 | if test $ac_cv_lib_svld_dlopen = yes; then |
9699 | if test $ac_cv_lib_svld_dlopen = yes; then |
8726 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
9700 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
8727 | else |
9701 | else |
8728 | echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
9702 | { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
8729 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 |
9703 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } |
8730 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
9704 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
8731 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9705 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8732 | else |
9706 | else |
8733 | ac_check_lib_save_LIBS=$LIBS |
9707 | ac_check_lib_save_LIBS=$LIBS |
8734 | LIBS="-ldld $LIBS" |
9708 | LIBS="-ldld $LIBS" |
… | |
… | |
8737 | _ACEOF |
9711 | _ACEOF |
8738 | cat confdefs.h >>conftest.$ac_ext |
9712 | cat confdefs.h >>conftest.$ac_ext |
8739 | cat >>conftest.$ac_ext <<_ACEOF |
9713 | cat >>conftest.$ac_ext <<_ACEOF |
8740 | /* end confdefs.h. */ |
9714 | /* end confdefs.h. */ |
8741 | |
9715 | |
8742 | /* Override any gcc2 internal prototype to avoid an error. */ |
9716 | /* Override any GCC internal prototype to avoid an error. |
|
|
9717 | Use char because int might match the return type of a GCC |
|
|
9718 | builtin and then its argument prototype would still apply. */ |
8743 | #ifdef __cplusplus |
9719 | #ifdef __cplusplus |
8744 | extern "C" |
9720 | extern "C" |
8745 | #endif |
9721 | #endif |
8746 | /* We use char because int might match the return type of a gcc2 |
|
|
8747 | builtin and then its argument prototype would still apply. */ |
|
|
8748 | char dld_link (); |
9722 | char dld_link (); |
8749 | int |
9723 | int |
8750 | main () |
9724 | main () |
8751 | { |
9725 | { |
8752 | dld_link (); |
9726 | return dld_link (); |
8753 | ; |
9727 | ; |
8754 | return 0; |
9728 | return 0; |
8755 | } |
9729 | } |
8756 | _ACEOF |
9730 | _ACEOF |
8757 | rm -f conftest.$ac_objext conftest$ac_exeext |
9731 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9732 | if { (ac_try="$ac_link" |
|
|
9733 | case "(($ac_try" in |
|
|
9734 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9735 | *) ac_try_echo=$ac_try;; |
|
|
9736 | esac |
8758 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9737 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8759 | (eval $ac_link) 2>conftest.er1 |
9738 | (eval "$ac_link") 2>conftest.er1 |
8760 | ac_status=$? |
9739 | ac_status=$? |
8761 | grep -v '^ *+' conftest.er1 >conftest.err |
9740 | grep -v '^ *+' conftest.er1 >conftest.err |
8762 | rm -f conftest.er1 |
9741 | rm -f conftest.er1 |
8763 | cat conftest.err >&5 |
9742 | cat conftest.err >&5 |
8764 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9743 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8765 | (exit $ac_status); } && |
9744 | (exit $ac_status); } && { |
8766 | { ac_try='test -z "$ac_c_werror_flag" |
9745 | test -z "$ac_c_werror_flag" || |
8767 | || test ! -s conftest.err' |
9746 | test ! -s conftest.err |
8768 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9747 | } && test -s conftest$ac_exeext && |
8769 | (eval $ac_try) 2>&5 |
9748 | $as_test_x conftest$ac_exeext; then |
8770 | ac_status=$? |
|
|
8771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8772 | (exit $ac_status); }; } && |
|
|
8773 | { ac_try='test -s conftest$ac_exeext' |
|
|
8774 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8775 | (eval $ac_try) 2>&5 |
|
|
8776 | ac_status=$? |
|
|
8777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8778 | (exit $ac_status); }; }; then |
|
|
8779 | ac_cv_lib_dld_dld_link=yes |
9749 | ac_cv_lib_dld_dld_link=yes |
8780 | else |
9750 | else |
8781 | echo "$as_me: failed program was:" >&5 |
9751 | echo "$as_me: failed program was:" >&5 |
8782 | sed 's/^/| /' conftest.$ac_ext >&5 |
9752 | sed 's/^/| /' conftest.$ac_ext >&5 |
8783 | |
9753 | |
8784 | ac_cv_lib_dld_dld_link=no |
9754 | ac_cv_lib_dld_dld_link=no |
8785 | fi |
9755 | fi |
8786 | rm -f conftest.err conftest.$ac_objext \ |
9756 | |
|
|
9757 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8787 | conftest$ac_exeext conftest.$ac_ext |
9758 | conftest$ac_exeext conftest.$ac_ext |
8788 | LIBS=$ac_check_lib_save_LIBS |
9759 | LIBS=$ac_check_lib_save_LIBS |
8789 | fi |
9760 | fi |
8790 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
9761 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
8791 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 |
9762 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } |
8792 | if test $ac_cv_lib_dld_dld_link = yes; then |
9763 | if test $ac_cv_lib_dld_dld_link = yes; then |
8793 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
9764 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
8794 | fi |
9765 | fi |
8795 | |
9766 | |
8796 | |
9767 | |
… | |
… | |
8821 | dlopen) |
9792 | dlopen) |
8822 | save_CPPFLAGS="$CPPFLAGS" |
9793 | save_CPPFLAGS="$CPPFLAGS" |
8823 | test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
9794 | test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
8824 | |
9795 | |
8825 | save_LDFLAGS="$LDFLAGS" |
9796 | save_LDFLAGS="$LDFLAGS" |
8826 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
9797 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
8827 | |
9798 | |
8828 | save_LIBS="$LIBS" |
9799 | save_LIBS="$LIBS" |
8829 | LIBS="$lt_cv_dlopen_libs $LIBS" |
9800 | LIBS="$lt_cv_dlopen_libs $LIBS" |
8830 | |
9801 | |
8831 | echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
9802 | { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
8832 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 |
9803 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } |
8833 | if test "${lt_cv_dlopen_self+set}" = set; then |
9804 | if test "${lt_cv_dlopen_self+set}" = set; then |
8834 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9805 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8835 | else |
9806 | else |
8836 | if test "$cross_compiling" = yes; then : |
9807 | if test "$cross_compiling" = yes; then : |
8837 | lt_cv_dlopen_self=cross |
9808 | lt_cv_dlopen_self=cross |
8838 | else |
9809 | else |
8839 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9810 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8840 | lt_status=$lt_dlunknown |
9811 | lt_status=$lt_dlunknown |
8841 | cat > conftest.$ac_ext <<EOF |
9812 | cat > conftest.$ac_ext <<EOF |
8842 | #line 8842 "configure" |
9813 | #line 9813 "configure" |
8843 | #include "confdefs.h" |
9814 | #include "confdefs.h" |
8844 | |
9815 | |
8845 | #if HAVE_DLFCN_H |
9816 | #if HAVE_DLFCN_H |
8846 | #include <dlfcn.h> |
9817 | #include <dlfcn.h> |
8847 | #endif |
9818 | #endif |
… | |
… | |
8894 | { |
9865 | { |
8895 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
9866 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
8896 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
9867 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
8897 | /* dlclose (self); */ |
9868 | /* dlclose (self); */ |
8898 | } |
9869 | } |
|
|
9870 | else |
|
|
9871 | puts (dlerror ()); |
8899 | |
9872 | |
8900 | exit (status); |
9873 | exit (status); |
8901 | } |
9874 | } |
8902 | EOF |
9875 | EOF |
8903 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9876 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8904 | (eval $ac_link) 2>&5 |
9877 | (eval $ac_link) 2>&5 |
8905 | ac_status=$? |
9878 | ac_status=$? |
8906 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9879 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8907 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
9880 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
8908 | (./conftest; exit; ) 2>/dev/null |
9881 | (./conftest; exit; ) >&5 2>/dev/null |
8909 | lt_status=$? |
9882 | lt_status=$? |
8910 | case x$lt_status in |
9883 | case x$lt_status in |
8911 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
9884 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
8912 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
9885 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
8913 | x$lt_unknown|x*) lt_cv_dlopen_self=no ;; |
9886 | x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
8914 | esac |
9887 | esac |
8915 | else : |
9888 | else : |
8916 | # compilation failed |
9889 | # compilation failed |
8917 | lt_cv_dlopen_self=no |
9890 | lt_cv_dlopen_self=no |
8918 | fi |
9891 | fi |
8919 | fi |
9892 | fi |
8920 | rm -fr conftest* |
9893 | rm -fr conftest* |
8921 | |
9894 | |
8922 | |
9895 | |
8923 | fi |
9896 | fi |
8924 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
9897 | { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
8925 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
9898 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } |
8926 | |
9899 | |
8927 | if test "x$lt_cv_dlopen_self" = xyes; then |
9900 | if test "x$lt_cv_dlopen_self" = xyes; then |
8928 | LDFLAGS="$LDFLAGS $link_static_flag" |
9901 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
8929 | echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
9902 | { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
8930 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 |
9903 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } |
8931 | if test "${lt_cv_dlopen_self_static+set}" = set; then |
9904 | if test "${lt_cv_dlopen_self_static+set}" = set; then |
8932 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9905 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8933 | else |
9906 | else |
8934 | if test "$cross_compiling" = yes; then : |
9907 | if test "$cross_compiling" = yes; then : |
8935 | lt_cv_dlopen_self_static=cross |
9908 | lt_cv_dlopen_self_static=cross |
8936 | else |
9909 | else |
8937 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9910 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8938 | lt_status=$lt_dlunknown |
9911 | lt_status=$lt_dlunknown |
8939 | cat > conftest.$ac_ext <<EOF |
9912 | cat > conftest.$ac_ext <<EOF |
8940 | #line 8940 "configure" |
9913 | #line 9913 "configure" |
8941 | #include "confdefs.h" |
9914 | #include "confdefs.h" |
8942 | |
9915 | |
8943 | #if HAVE_DLFCN_H |
9916 | #if HAVE_DLFCN_H |
8944 | #include <dlfcn.h> |
9917 | #include <dlfcn.h> |
8945 | #endif |
9918 | #endif |
… | |
… | |
8992 | { |
9965 | { |
8993 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
9966 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
8994 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
9967 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
8995 | /* dlclose (self); */ |
9968 | /* dlclose (self); */ |
8996 | } |
9969 | } |
|
|
9970 | else |
|
|
9971 | puts (dlerror ()); |
8997 | |
9972 | |
8998 | exit (status); |
9973 | exit (status); |
8999 | } |
9974 | } |
9000 | EOF |
9975 | EOF |
9001 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9976 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9002 | (eval $ac_link) 2>&5 |
9977 | (eval $ac_link) 2>&5 |
9003 | ac_status=$? |
9978 | ac_status=$? |
9004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9979 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9005 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
9980 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
9006 | (./conftest; exit; ) 2>/dev/null |
9981 | (./conftest; exit; ) >&5 2>/dev/null |
9007 | lt_status=$? |
9982 | lt_status=$? |
9008 | case x$lt_status in |
9983 | case x$lt_status in |
9009 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
9984 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
9010 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
9985 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
9011 | x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; |
9986 | x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
9012 | esac |
9987 | esac |
9013 | else : |
9988 | else : |
9014 | # compilation failed |
9989 | # compilation failed |
9015 | lt_cv_dlopen_self_static=no |
9990 | lt_cv_dlopen_self_static=no |
9016 | fi |
9991 | fi |
9017 | fi |
9992 | fi |
9018 | rm -fr conftest* |
9993 | rm -fr conftest* |
9019 | |
9994 | |
9020 | |
9995 | |
9021 | fi |
9996 | fi |
9022 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
9997 | { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
9023 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 |
9998 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } |
9024 | fi |
9999 | fi |
9025 | |
10000 | |
9026 | CPPFLAGS="$save_CPPFLAGS" |
10001 | CPPFLAGS="$save_CPPFLAGS" |
9027 | LDFLAGS="$save_LDFLAGS" |
10002 | LDFLAGS="$save_LDFLAGS" |
9028 | LIBS="$save_LIBS" |
10003 | LIBS="$save_LIBS" |
… | |
… | |
9039 | *) enable_dlopen_self_static=unknown ;; |
10014 | *) enable_dlopen_self_static=unknown ;; |
9040 | esac |
10015 | esac |
9041 | fi |
10016 | fi |
9042 | |
10017 | |
9043 | |
10018 | |
9044 | # Report which librarie types wil actually be built |
10019 | # Report which library types will actually be built |
9045 | echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
10020 | { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
9046 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
10021 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } |
9047 | echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
10022 | { echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
9048 | echo "${ECHO_T}$can_build_shared" >&6 |
10023 | echo "${ECHO_T}$can_build_shared" >&6; } |
9049 | |
10024 | |
9050 | echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
10025 | { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
9051 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 |
10026 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } |
9052 | test "$can_build_shared" = "no" && enable_shared=no |
10027 | test "$can_build_shared" = "no" && enable_shared=no |
9053 | |
10028 | |
9054 | # On AIX, shared libraries and static libraries use the same namespace, and |
10029 | # On AIX, shared libraries and static libraries use the same namespace, and |
9055 | # are all built from PIC. |
10030 | # are all built from PIC. |
9056 | case "$host_os" in |
10031 | case $host_os in |
9057 | aix3*) |
10032 | aix3*) |
9058 | test "$enable_shared" = yes && enable_static=no |
10033 | test "$enable_shared" = yes && enable_static=no |
9059 | if test -n "$RANLIB"; then |
10034 | if test -n "$RANLIB"; then |
9060 | archive_cmds="$archive_cmds~\$RANLIB \$lib" |
10035 | archive_cmds="$archive_cmds~\$RANLIB \$lib" |
9061 | postinstall_cmds='$RANLIB $lib' |
10036 | postinstall_cmds='$RANLIB $lib' |
9062 | fi |
10037 | fi |
9063 | ;; |
10038 | ;; |
9064 | |
10039 | |
9065 | aix4*) |
10040 | aix4* | aix5*) |
9066 | if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
10041 | if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
9067 | test "$enable_shared" = yes && enable_static=no |
10042 | test "$enable_shared" = yes && enable_static=no |
9068 | fi |
10043 | fi |
9069 | ;; |
|
|
9070 | darwin* | rhapsody*) |
|
|
9071 | if test "$GCC" = yes; then |
|
|
9072 | archive_cmds_need_lc=no |
|
|
9073 | case "$host_os" in |
|
|
9074 | rhapsody* | darwin1.[012]) |
|
|
9075 | allow_undefined_flag='-undefined suppress' |
|
|
9076 | ;; |
|
|
9077 | *) # Darwin 1.3 on |
|
|
9078 | if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
|
|
9079 | allow_undefined_flag='-flat_namespace -undefined suppress' |
|
|
9080 | else |
|
|
9081 | case ${MACOSX_DEPLOYMENT_TARGET} in |
|
|
9082 | 10.[012]) |
|
|
9083 | allow_undefined_flag='-flat_namespace -undefined suppress' |
|
|
9084 | ;; |
|
|
9085 | 10.*) |
|
|
9086 | allow_undefined_flag='-undefined dynamic_lookup' |
|
|
9087 | ;; |
|
|
9088 | esac |
|
|
9089 | fi |
|
|
9090 | ;; |
|
|
9091 | esac |
|
|
9092 | output_verbose_link_cmd='echo' |
|
|
9093 | archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' |
|
|
9094 | module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
9095 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
|
|
9096 | archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
9097 | module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
9098 | hardcode_direct=no |
|
|
9099 | hardcode_automatic=yes |
|
|
9100 | hardcode_shlibpath_var=unsupported |
|
|
9101 | whole_archive_flag_spec='-all_load $convenience' |
|
|
9102 | link_all_deplibs=yes |
|
|
9103 | else |
|
|
9104 | ld_shlibs=no |
|
|
9105 | fi |
|
|
9106 | ;; |
10044 | ;; |
9107 | esac |
10045 | esac |
9108 | echo "$as_me:$LINENO: result: $enable_shared" >&5 |
10046 | { echo "$as_me:$LINENO: result: $enable_shared" >&5 |
9109 | echo "${ECHO_T}$enable_shared" >&6 |
10047 | echo "${ECHO_T}$enable_shared" >&6; } |
9110 | |
10048 | |
9111 | echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
10049 | { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
9112 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 |
10050 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } |
9113 | # Make sure either enable_shared or enable_static is yes. |
10051 | # Make sure either enable_shared or enable_static is yes. |
9114 | test "$enable_shared" = yes || enable_static=yes |
10052 | test "$enable_shared" = yes || enable_static=yes |
9115 | echo "$as_me:$LINENO: result: $enable_static" >&5 |
10053 | { echo "$as_me:$LINENO: result: $enable_static" >&5 |
9116 | echo "${ECHO_T}$enable_static" >&6 |
10054 | echo "${ECHO_T}$enable_static" >&6; } |
9117 | |
10055 | |
9118 | # The else clause should only fire when bootstrapping the |
10056 | # The else clause should only fire when bootstrapping the |
9119 | # libtool distribution, otherwise you forgot to ship ltmain.sh |
10057 | # libtool distribution, otherwise you forgot to ship ltmain.sh |
9120 | # with your package, and you will get complaints that there are |
10058 | # with your package, and you will get complaints that there are |
9121 | # no rules to generate ltmain.sh. |
10059 | # no rules to generate ltmain.sh. |
… | |
… | |
9126 | setopt NO_GLOB_SUBST |
10064 | setopt NO_GLOB_SUBST |
9127 | fi |
10065 | fi |
9128 | # Now quote all the things that may contain metacharacters while being |
10066 | # Now quote all the things that may contain metacharacters while being |
9129 | # careful not to overquote the AC_SUBSTed values. We take copies of the |
10067 | # careful not to overquote the AC_SUBSTed values. We take copies of the |
9130 | # variables and quote the copies for generation of the libtool script. |
10068 | # variables and quote the copies for generation of the libtool script. |
9131 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
10069 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
9132 | SED SHELL STRIP \ |
10070 | SED SHELL STRIP \ |
9133 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
10071 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
9134 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
10072 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
9135 | deplibs_check_method reload_flag reload_cmds need_locks \ |
10073 | deplibs_check_method reload_flag reload_cmds need_locks \ |
9136 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
10074 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
… | |
… | |
9230 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
10168 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
9231 | # General Public License for more details. |
10169 | # General Public License for more details. |
9232 | # |
10170 | # |
9233 | # You should have received a copy of the GNU General Public License |
10171 | # You should have received a copy of the GNU General Public License |
9234 | # along with this program; if not, write to the Free Software |
10172 | # along with this program; if not, write to the Free Software |
9235 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
10173 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
9236 | # |
10174 | # |
9237 | # As a special exception to the GNU General Public License, if you |
10175 | # As a special exception to the GNU General Public License, if you |
9238 | # distribute this file as part of a program that contains a |
10176 | # distribute this file as part of a program that contains a |
9239 | # configuration script generated by Autoconf, you may include it under |
10177 | # configuration script generated by Autoconf, you may include it under |
9240 | # the same distribution terms that you use for the rest of that program. |
10178 | # the same distribution terms that you use for the rest of that program. |
9241 | |
10179 | |
9242 | # A sed program that does not truncate output. |
10180 | # A sed program that does not truncate output. |
9243 | SED=$lt_SED |
10181 | SED=$lt_SED |
9244 | |
10182 | |
9245 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. |
10183 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. |
9246 | Xsed="$SED -e s/^X//" |
10184 | Xsed="$SED -e 1s/^X//" |
9247 | |
10185 | |
9248 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
10186 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
9249 | # if CDPATH is set. |
10187 | # if CDPATH is set. |
9250 | if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
10188 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
9251 | |
10189 | |
9252 | # The names of the tagged configurations supported by this script. |
10190 | # The names of the tagged configurations supported by this script. |
9253 | available_tags= |
10191 | available_tags= |
9254 | |
10192 | |
9255 | # ### BEGIN LIBTOOL CONFIG |
10193 | # ### BEGIN LIBTOOL CONFIG |
… | |
… | |
9275 | fast_install=$enable_fast_install |
10213 | fast_install=$enable_fast_install |
9276 | |
10214 | |
9277 | # The host system. |
10215 | # The host system. |
9278 | host_alias=$host_alias |
10216 | host_alias=$host_alias |
9279 | host=$host |
10217 | host=$host |
|
|
10218 | host_os=$host_os |
|
|
10219 | |
|
|
10220 | # The build system. |
|
|
10221 | build_alias=$build_alias |
|
|
10222 | build=$build |
|
|
10223 | build_os=$build_os |
9280 | |
10224 | |
9281 | # An echo program that does not interpret backslashes. |
10225 | # An echo program that does not interpret backslashes. |
9282 | echo=$lt_echo |
10226 | echo=$lt_echo |
9283 | |
10227 | |
9284 | # The archiver. |
10228 | # The archiver. |
… | |
… | |
9286 | AR_FLAGS=$lt_AR_FLAGS |
10230 | AR_FLAGS=$lt_AR_FLAGS |
9287 | |
10231 | |
9288 | # A C compiler. |
10232 | # A C compiler. |
9289 | LTCC=$lt_LTCC |
10233 | LTCC=$lt_LTCC |
9290 | |
10234 | |
|
|
10235 | # LTCC compiler flags. |
|
|
10236 | LTCFLAGS=$lt_LTCFLAGS |
|
|
10237 | |
9291 | # A language-specific compiler. |
10238 | # A language-specific compiler. |
9292 | CC=$lt_compiler |
10239 | CC=$lt_compiler |
9293 | |
10240 | |
9294 | # Is the compiler the GNU C compiler? |
10241 | # Is the compiler the GNU C compiler? |
9295 | with_gcc=$GCC |
10242 | with_gcc=$GCC |
… | |
… | |
9336 | |
10283 | |
9337 | # Old archive suffix (normally "a"). |
10284 | # Old archive suffix (normally "a"). |
9338 | libext="$libext" |
10285 | libext="$libext" |
9339 | |
10286 | |
9340 | # Shared library suffix (normally ".so"). |
10287 | # Shared library suffix (normally ".so"). |
9341 | shrext='$shrext' |
10288 | shrext_cmds='$shrext_cmds' |
9342 | |
10289 | |
9343 | # Executable file suffix (normally ""). |
10290 | # Executable file suffix (normally ""). |
9344 | exeext="$exeext" |
10291 | exeext="$exeext" |
9345 | |
10292 | |
9346 | # Additional compiler flags for building library objects. |
10293 | # Additional compiler flags for building library objects. |
… | |
… | |
9351 | max_cmd_len=$lt_cv_sys_max_cmd_len |
10298 | max_cmd_len=$lt_cv_sys_max_cmd_len |
9352 | |
10299 | |
9353 | # Does compiler simultaneously support -c and -o options? |
10300 | # Does compiler simultaneously support -c and -o options? |
9354 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
10301 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
9355 | |
10302 | |
9356 | # Must we lock files when doing compilation ? |
10303 | # Must we lock files when doing compilation? |
9357 | need_locks=$lt_need_locks |
10304 | need_locks=$lt_need_locks |
9358 | |
10305 | |
9359 | # Do we need the lib prefix for modules? |
10306 | # Do we need the lib prefix for modules? |
9360 | need_lib_prefix=$need_lib_prefix |
10307 | need_lib_prefix=$need_lib_prefix |
9361 | |
10308 | |
… | |
… | |
9594 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
10541 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
9595 | |
10542 | |
9596 | CC="$lt_save_CC" |
10543 | CC="$lt_save_CC" |
9597 | |
10544 | |
9598 | |
10545 | |
9599 | # Check whether --with-tags or --without-tags was given. |
10546 | # Check whether --with-tags was given. |
9600 | if test "${with_tags+set}" = set; then |
10547 | if test "${with_tags+set}" = set; then |
9601 | withval="$with_tags" |
10548 | withval=$with_tags; tagnames="$withval" |
9602 | tagnames="$withval" |
|
|
9603 | fi; |
10549 | fi |
|
|
10550 | |
9604 | |
10551 | |
9605 | if test -f "$ltmain" && test -n "$tagnames"; then |
10552 | if test -f "$ltmain" && test -n "$tagnames"; then |
9606 | if test ! -f "${ofile}"; then |
10553 | if test ! -f "${ofile}"; then |
9607 | { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 |
10554 | { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 |
9608 | echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} |
10555 | echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} |
… | |
… | |
9615 | echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} |
10562 | echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} |
9616 | else |
10563 | else |
9617 | { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 |
10564 | { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 |
9618 | echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} |
10565 | echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} |
9619 | fi |
10566 | fi |
|
|
10567 | fi |
|
|
10568 | if test -z "$LTCFLAGS"; then |
|
|
10569 | eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" |
9620 | fi |
10570 | fi |
9621 | |
10571 | |
9622 | # Extract list of available tagged configurations in $ofile. |
10572 | # Extract list of available tagged configurations in $ofile. |
9623 | # Note that this assumes the entire list is on one line. |
10573 | # Note that this assumes the entire list is on one line. |
9624 | available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` |
10574 | available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` |
… | |
… | |
9646 | if test -n "$tagname"; then |
10596 | if test -n "$tagname"; then |
9647 | echo appending configuration tag \"$tagname\" to $ofile |
10597 | echo appending configuration tag \"$tagname\" to $ofile |
9648 | |
10598 | |
9649 | case $tagname in |
10599 | case $tagname in |
9650 | CXX) |
10600 | CXX) |
9651 | if test -n "$CXX" && test "X$CXX" != "Xno"; then |
10601 | if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
|
|
10602 | ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
|
|
10603 | (test "X$CXX" != "Xg++"))) ; then |
9652 | ac_ext=cc |
10604 | ac_ext=cpp |
9653 | ac_cpp='$CXXCPP $CPPFLAGS' |
10605 | ac_cpp='$CXXCPP $CPPFLAGS' |
9654 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
10606 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
9655 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
10607 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
9656 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
10608 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
9657 | |
10609 | |
… | |
… | |
9666 | hardcode_direct_CXX=no |
10618 | hardcode_direct_CXX=no |
9667 | hardcode_libdir_flag_spec_CXX= |
10619 | hardcode_libdir_flag_spec_CXX= |
9668 | hardcode_libdir_flag_spec_ld_CXX= |
10620 | hardcode_libdir_flag_spec_ld_CXX= |
9669 | hardcode_libdir_separator_CXX= |
10621 | hardcode_libdir_separator_CXX= |
9670 | hardcode_minus_L_CXX=no |
10622 | hardcode_minus_L_CXX=no |
|
|
10623 | hardcode_shlibpath_var_CXX=unsupported |
9671 | hardcode_automatic_CXX=no |
10624 | hardcode_automatic_CXX=no |
9672 | module_cmds_CXX= |
10625 | module_cmds_CXX= |
9673 | module_expsym_cmds_CXX= |
10626 | module_expsym_cmds_CXX= |
9674 | link_all_deplibs_CXX=unknown |
10627 | link_all_deplibs_CXX=unknown |
9675 | old_archive_cmds_CXX=$old_archive_cmds |
10628 | old_archive_cmds_CXX=$old_archive_cmds |
… | |
… | |
9683 | predeps_CXX= |
10636 | predeps_CXX= |
9684 | postdeps_CXX= |
10637 | postdeps_CXX= |
9685 | compiler_lib_search_path_CXX= |
10638 | compiler_lib_search_path_CXX= |
9686 | |
10639 | |
9687 | # Source file extension for C++ test sources. |
10640 | # Source file extension for C++ test sources. |
9688 | ac_ext=cc |
10641 | ac_ext=cpp |
9689 | |
10642 | |
9690 | # Object file extension for compiled C++ test sources. |
10643 | # Object file extension for compiled C++ test sources. |
9691 | objext=o |
10644 | objext=o |
9692 | objext_CXX=$objext |
10645 | objext_CXX=$objext |
9693 | |
10646 | |
9694 | # Code to be used in simple compile tests |
10647 | # Code to be used in simple compile tests |
9695 | lt_simple_compile_test_code="int some_variable = 0;\n" |
10648 | lt_simple_compile_test_code="int some_variable = 0;\n" |
9696 | |
10649 | |
9697 | # Code to be used in simple link tests |
10650 | # Code to be used in simple link tests |
9698 | lt_simple_link_test_code='int main(int, char *) { return(0); }\n' |
10651 | lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' |
9699 | |
10652 | |
9700 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
10653 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
9701 | |
10654 | |
9702 | # If no C compiler was specified, use CC. |
10655 | # If no C compiler was specified, use CC. |
9703 | LTCC=${LTCC-"$CC"} |
10656 | LTCC=${LTCC-"$CC"} |
9704 | |
10657 | |
|
|
10658 | # If no C compiler flags were specified, use CFLAGS. |
|
|
10659 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
10660 | |
9705 | # Allow CC to be a program name with arguments. |
10661 | # Allow CC to be a program name with arguments. |
9706 | compiler=$CC |
10662 | compiler=$CC |
|
|
10663 | |
|
|
10664 | |
|
|
10665 | # save warnings/boilerplate of simple test code |
|
|
10666 | ac_outfile=conftest.$ac_objext |
|
|
10667 | printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
|
10668 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
|
10669 | _lt_compiler_boilerplate=`cat conftest.err` |
|
|
10670 | $rm conftest* |
|
|
10671 | |
|
|
10672 | ac_outfile=conftest.$ac_objext |
|
|
10673 | printf "$lt_simple_link_test_code" >conftest.$ac_ext |
|
|
10674 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
|
10675 | _lt_linker_boilerplate=`cat conftest.err` |
|
|
10676 | $rm conftest* |
9707 | |
10677 | |
9708 | |
10678 | |
9709 | # Allow CC to be a program name with arguments. |
10679 | # Allow CC to be a program name with arguments. |
9710 | lt_save_CC=$CC |
10680 | lt_save_CC=$CC |
9711 | lt_save_LD=$LD |
10681 | lt_save_LD=$LD |
… | |
… | |
9714 | lt_save_with_gnu_ld=$with_gnu_ld |
10684 | lt_save_with_gnu_ld=$with_gnu_ld |
9715 | lt_save_path_LD=$lt_cv_path_LD |
10685 | lt_save_path_LD=$lt_cv_path_LD |
9716 | if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
10686 | if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
9717 | lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
10687 | lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
9718 | else |
10688 | else |
9719 | unset lt_cv_prog_gnu_ld |
10689 | $as_unset lt_cv_prog_gnu_ld |
9720 | fi |
10690 | fi |
9721 | if test -n "${lt_cv_path_LDCXX+set}"; then |
10691 | if test -n "${lt_cv_path_LDCXX+set}"; then |
9722 | lt_cv_path_LD=$lt_cv_path_LDCXX |
10692 | lt_cv_path_LD=$lt_cv_path_LDCXX |
9723 | else |
10693 | else |
9724 | unset lt_cv_path_LD |
10694 | $as_unset lt_cv_path_LD |
9725 | fi |
10695 | fi |
9726 | test -z "${LDCXX+set}" || LD=$LDCXX |
10696 | test -z "${LDCXX+set}" || LD=$LDCXX |
9727 | CC=${CXX-"c++"} |
10697 | CC=${CXX-"c++"} |
9728 | compiler=$CC |
10698 | compiler=$CC |
9729 | compiler_CXX=$CC |
10699 | compiler_CXX=$CC |
9730 | cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` |
10700 | for cc_temp in $compiler""; do |
|
|
10701 | case $cc_temp in |
|
|
10702 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
10703 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
10704 | \-*) ;; |
|
|
10705 | *) break;; |
|
|
10706 | esac |
|
|
10707 | done |
|
|
10708 | cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
|
10709 | |
9731 | |
10710 | |
9732 | # We don't want -fno-exception wen compiling C++ code, so set the |
10711 | # We don't want -fno-exception wen compiling C++ code, so set the |
9733 | # no_builtin_flag separately |
10712 | # no_builtin_flag separately |
9734 | if test "$GXX" = yes; then |
10713 | if test "$GXX" = yes; then |
9735 | lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' |
10714 | lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' |
… | |
… | |
9739 | |
10718 | |
9740 | if test "$GXX" = yes; then |
10719 | if test "$GXX" = yes; then |
9741 | # Set up default GNU C++ configuration |
10720 | # Set up default GNU C++ configuration |
9742 | |
10721 | |
9743 | |
10722 | |
9744 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
10723 | # Check whether --with-gnu-ld was given. |
9745 | if test "${with_gnu_ld+set}" = set; then |
10724 | if test "${with_gnu_ld+set}" = set; then |
9746 | withval="$with_gnu_ld" |
|
|
9747 | test "$withval" = no || with_gnu_ld=yes |
10725 | withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
9748 | else |
10726 | else |
9749 | with_gnu_ld=no |
10727 | with_gnu_ld=no |
9750 | fi; |
10728 | fi |
|
|
10729 | |
9751 | ac_prog=ld |
10730 | ac_prog=ld |
9752 | if test "$GCC" = yes; then |
10731 | if test "$GCC" = yes; then |
9753 | # Check if gcc -print-prog-name=ld gives a path. |
10732 | # Check if gcc -print-prog-name=ld gives a path. |
9754 | echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
10733 | { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
9755 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 |
10734 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } |
9756 | case $host in |
10735 | case $host in |
9757 | *-*-mingw*) |
10736 | *-*-mingw*) |
9758 | # gcc leaves a trailing carriage return which upsets mingw |
10737 | # gcc leaves a trailing carriage return which upsets mingw |
9759 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
10738 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
9760 | *) |
10739 | *) |
… | |
… | |
9779 | # If it is relative, then search for the first ld in PATH. |
10758 | # If it is relative, then search for the first ld in PATH. |
9780 | with_gnu_ld=unknown |
10759 | with_gnu_ld=unknown |
9781 | ;; |
10760 | ;; |
9782 | esac |
10761 | esac |
9783 | elif test "$with_gnu_ld" = yes; then |
10762 | elif test "$with_gnu_ld" = yes; then |
9784 | echo "$as_me:$LINENO: checking for GNU ld" >&5 |
10763 | { echo "$as_me:$LINENO: checking for GNU ld" >&5 |
9785 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
10764 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } |
9786 | else |
10765 | else |
9787 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
10766 | { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
9788 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
10767 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } |
9789 | fi |
10768 | fi |
9790 | if test "${lt_cv_path_LD+set}" = set; then |
10769 | if test "${lt_cv_path_LD+set}" = set; then |
9791 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10770 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9792 | else |
10771 | else |
9793 | if test -z "$LD"; then |
10772 | if test -z "$LD"; then |
… | |
… | |
9796 | IFS="$lt_save_ifs" |
10775 | IFS="$lt_save_ifs" |
9797 | test -z "$ac_dir" && ac_dir=. |
10776 | test -z "$ac_dir" && ac_dir=. |
9798 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
10777 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
9799 | lt_cv_path_LD="$ac_dir/$ac_prog" |
10778 | lt_cv_path_LD="$ac_dir/$ac_prog" |
9800 | # Check to see if the program is GNU ld. I'd rather use --version, |
10779 | # Check to see if the program is GNU ld. I'd rather use --version, |
9801 | # but apparently some GNU ld's only accept -v. |
10780 | # but apparently some variants of GNU ld only accept -v. |
9802 | # Break only if it was the GNU/non-GNU ld that we prefer. |
10781 | # Break only if it was the GNU/non-GNU ld that we prefer. |
9803 | case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
10782 | case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
9804 | *GNU* | *'with BFD'*) |
10783 | *GNU* | *'with BFD'*) |
9805 | test "$with_gnu_ld" != no && break |
10784 | test "$with_gnu_ld" != no && break |
9806 | ;; |
10785 | ;; |
… | |
… | |
9816 | fi |
10795 | fi |
9817 | fi |
10796 | fi |
9818 | |
10797 | |
9819 | LD="$lt_cv_path_LD" |
10798 | LD="$lt_cv_path_LD" |
9820 | if test -n "$LD"; then |
10799 | if test -n "$LD"; then |
9821 | echo "$as_me:$LINENO: result: $LD" >&5 |
10800 | { echo "$as_me:$LINENO: result: $LD" >&5 |
9822 | echo "${ECHO_T}$LD" >&6 |
10801 | echo "${ECHO_T}$LD" >&6; } |
9823 | else |
10802 | else |
9824 | echo "$as_me:$LINENO: result: no" >&5 |
10803 | { echo "$as_me:$LINENO: result: no" >&5 |
9825 | echo "${ECHO_T}no" >&6 |
10804 | echo "${ECHO_T}no" >&6; } |
9826 | fi |
10805 | fi |
9827 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
10806 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
9828 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
10807 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
9829 | { (exit 1); exit 1; }; } |
10808 | { (exit 1); exit 1; }; } |
9830 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
10809 | { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
9831 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 |
10810 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } |
9832 | if test "${lt_cv_prog_gnu_ld+set}" = set; then |
10811 | if test "${lt_cv_prog_gnu_ld+set}" = set; then |
9833 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10812 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9834 | else |
10813 | else |
9835 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
10814 | # I'd rather use --version here, but apparently some GNU lds only accept -v. |
9836 | case `$LD -v 2>&1 </dev/null` in |
10815 | case `$LD -v 2>&1 </dev/null` in |
9837 | *GNU* | *'with BFD'*) |
10816 | *GNU* | *'with BFD'*) |
9838 | lt_cv_prog_gnu_ld=yes |
10817 | lt_cv_prog_gnu_ld=yes |
9839 | ;; |
10818 | ;; |
9840 | *) |
10819 | *) |
9841 | lt_cv_prog_gnu_ld=no |
10820 | lt_cv_prog_gnu_ld=no |
9842 | ;; |
10821 | ;; |
9843 | esac |
10822 | esac |
9844 | fi |
10823 | fi |
9845 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
10824 | { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
9846 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 |
10825 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } |
9847 | with_gnu_ld=$lt_cv_prog_gnu_ld |
10826 | with_gnu_ld=$lt_cv_prog_gnu_ld |
9848 | |
10827 | |
9849 | |
10828 | |
9850 | |
10829 | |
9851 | # Check if GNU C++ uses GNU ld as the underlying linker, since the |
10830 | # Check if GNU C++ uses GNU ld as the underlying linker, since the |
… | |
… | |
9891 | with_gnu_ld=no |
10870 | with_gnu_ld=no |
9892 | wlarc= |
10871 | wlarc= |
9893 | fi |
10872 | fi |
9894 | |
10873 | |
9895 | # PORTME: fill in a description of your system's C++ link characteristics |
10874 | # PORTME: fill in a description of your system's C++ link characteristics |
9896 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
10875 | { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
9897 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 |
10876 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
9898 | ld_shlibs_CXX=yes |
10877 | ld_shlibs_CXX=yes |
9899 | case $host_os in |
10878 | case $host_os in |
9900 | aix3*) |
10879 | aix3*) |
9901 | # FIXME: insert proper C++ library support |
10880 | # FIXME: insert proper C++ library support |
9902 | ld_shlibs_CXX=no |
10881 | ld_shlibs_CXX=no |
… | |
… | |
9921 | aix_use_runtimelinking=yes |
10900 | aix_use_runtimelinking=yes |
9922 | break |
10901 | break |
9923 | ;; |
10902 | ;; |
9924 | esac |
10903 | esac |
9925 | done |
10904 | done |
|
|
10905 | ;; |
9926 | esac |
10906 | esac |
9927 | |
10907 | |
9928 | exp_sym_flag='-bexport' |
10908 | exp_sym_flag='-bexport' |
9929 | no_entry_flag='-bnoentry' |
10909 | no_entry_flag='-bnoentry' |
9930 | fi |
10910 | fi |
… | |
… | |
9939 | hardcode_direct_CXX=yes |
10919 | hardcode_direct_CXX=yes |
9940 | hardcode_libdir_separator_CXX=':' |
10920 | hardcode_libdir_separator_CXX=':' |
9941 | link_all_deplibs_CXX=yes |
10921 | link_all_deplibs_CXX=yes |
9942 | |
10922 | |
9943 | if test "$GXX" = yes; then |
10923 | if test "$GXX" = yes; then |
9944 | case $host_os in aix4.012|aix4.012.*) |
10924 | case $host_os in aix4.[012]|aix4.[012].*) |
9945 | # We only want to do this on AIX 4.2 and lower, the check |
10925 | # We only want to do this on AIX 4.2 and lower, the check |
9946 | # below for broken collect2 doesn't work under 4.3+ |
10926 | # below for broken collect2 doesn't work under 4.3+ |
9947 | collect2name=`${CC} -print-prog-name=collect2` |
10927 | collect2name=`${CC} -print-prog-name=collect2` |
9948 | if test -f "$collect2name" && \ |
10928 | if test -f "$collect2name" && \ |
9949 | strings "$collect2name" | grep resolve_lib_name >/dev/null |
10929 | strings "$collect2name" | grep resolve_lib_name >/dev/null |
… | |
… | |
9958 | # to unsupported forces relinking |
10938 | # to unsupported forces relinking |
9959 | hardcode_minus_L_CXX=yes |
10939 | hardcode_minus_L_CXX=yes |
9960 | hardcode_libdir_flag_spec_CXX='-L$libdir' |
10940 | hardcode_libdir_flag_spec_CXX='-L$libdir' |
9961 | hardcode_libdir_separator_CXX= |
10941 | hardcode_libdir_separator_CXX= |
9962 | fi |
10942 | fi |
|
|
10943 | ;; |
9963 | esac |
10944 | esac |
9964 | shared_flag='-shared' |
10945 | shared_flag='-shared' |
|
|
10946 | if test "$aix_use_runtimelinking" = yes; then |
|
|
10947 | shared_flag="$shared_flag "'${wl}-G' |
|
|
10948 | fi |
9965 | else |
10949 | else |
9966 | # not using gcc |
10950 | # not using gcc |
9967 | if test "$host_cpu" = ia64; then |
10951 | if test "$host_cpu" = ia64; then |
9968 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
10952 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
9969 | # chokes on -Wl,-G. The following line is correct: |
10953 | # chokes on -Wl,-G. The following line is correct: |
… | |
… | |
9999 | ; |
10983 | ; |
10000 | return 0; |
10984 | return 0; |
10001 | } |
10985 | } |
10002 | _ACEOF |
10986 | _ACEOF |
10003 | rm -f conftest.$ac_objext conftest$ac_exeext |
10987 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10988 | if { (ac_try="$ac_link" |
|
|
10989 | case "(($ac_try" in |
|
|
10990 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10991 | *) ac_try_echo=$ac_try;; |
|
|
10992 | esac |
10004 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10993 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10005 | (eval $ac_link) 2>conftest.er1 |
10994 | (eval "$ac_link") 2>conftest.er1 |
10006 | ac_status=$? |
10995 | ac_status=$? |
10007 | grep -v '^ *+' conftest.er1 >conftest.err |
10996 | grep -v '^ *+' conftest.er1 >conftest.err |
10008 | rm -f conftest.er1 |
10997 | rm -f conftest.er1 |
10009 | cat conftest.err >&5 |
10998 | cat conftest.err >&5 |
10010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10999 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10011 | (exit $ac_status); } && |
11000 | (exit $ac_status); } && { |
10012 | { ac_try='test -z "$ac_cxx_werror_flag" |
11001 | test -z "$ac_cxx_werror_flag" || |
10013 | || test ! -s conftest.err' |
11002 | test ! -s conftest.err |
10014 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11003 | } && test -s conftest$ac_exeext && |
10015 | (eval $ac_try) 2>&5 |
11004 | $as_test_x conftest$ac_exeext; then |
10016 | ac_status=$? |
|
|
10017 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10018 | (exit $ac_status); }; } && |
|
|
10019 | { ac_try='test -s conftest$ac_exeext' |
|
|
10020 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10021 | (eval $ac_try) 2>&5 |
|
|
10022 | ac_status=$? |
|
|
10023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10024 | (exit $ac_status); }; }; then |
|
|
10025 | |
11005 | |
10026 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
11006 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
10027 | }'` |
11007 | }'` |
10028 | # Check for a 64-bit object if we didn't find anything. |
11008 | # Check for a 64-bit object if we didn't find anything. |
10029 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
11009 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
10030 | }'`; fi |
11010 | }'`; fi |
10031 | else |
11011 | else |
10032 | echo "$as_me: failed program was:" >&5 |
11012 | echo "$as_me: failed program was:" >&5 |
10033 | sed 's/^/| /' conftest.$ac_ext >&5 |
11013 | sed 's/^/| /' conftest.$ac_ext >&5 |
10034 | |
11014 | |
|
|
11015 | |
10035 | fi |
11016 | fi |
10036 | rm -f conftest.err conftest.$ac_objext \ |
11017 | |
|
|
11018 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10037 | conftest$ac_exeext conftest.$ac_ext |
11019 | conftest$ac_exeext conftest.$ac_ext |
10038 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
11020 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10039 | |
11021 | |
10040 | hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
11022 | hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
10041 | |
11023 | |
10042 | archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
11024 | archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
10043 | else |
11025 | else |
10044 | if test "$host_cpu" = ia64; then |
11026 | if test "$host_cpu" = ia64; then |
10045 | hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' |
11027 | hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' |
10046 | allow_undefined_flag_CXX="-z nodefs" |
11028 | allow_undefined_flag_CXX="-z nodefs" |
10047 | archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" |
11029 | 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" |
10048 | else |
11030 | else |
10049 | # Determine the default libpath from the value encoded in an empty executable. |
11031 | # Determine the default libpath from the value encoded in an empty executable. |
10050 | cat >conftest.$ac_ext <<_ACEOF |
11032 | cat >conftest.$ac_ext <<_ACEOF |
10051 | /* confdefs.h. */ |
11033 | /* confdefs.h. */ |
10052 | _ACEOF |
11034 | _ACEOF |
… | |
… | |
10061 | ; |
11043 | ; |
10062 | return 0; |
11044 | return 0; |
10063 | } |
11045 | } |
10064 | _ACEOF |
11046 | _ACEOF |
10065 | rm -f conftest.$ac_objext conftest$ac_exeext |
11047 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
11048 | if { (ac_try="$ac_link" |
|
|
11049 | case "(($ac_try" in |
|
|
11050 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
11051 | *) ac_try_echo=$ac_try;; |
|
|
11052 | esac |
10066 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11053 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10067 | (eval $ac_link) 2>conftest.er1 |
11054 | (eval "$ac_link") 2>conftest.er1 |
10068 | ac_status=$? |
11055 | ac_status=$? |
10069 | grep -v '^ *+' conftest.er1 >conftest.err |
11056 | grep -v '^ *+' conftest.er1 >conftest.err |
10070 | rm -f conftest.er1 |
11057 | rm -f conftest.er1 |
10071 | cat conftest.err >&5 |
11058 | cat conftest.err >&5 |
10072 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11059 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10073 | (exit $ac_status); } && |
11060 | (exit $ac_status); } && { |
10074 | { ac_try='test -z "$ac_cxx_werror_flag" |
11061 | test -z "$ac_cxx_werror_flag" || |
10075 | || test ! -s conftest.err' |
11062 | test ! -s conftest.err |
10076 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11063 | } && test -s conftest$ac_exeext && |
10077 | (eval $ac_try) 2>&5 |
11064 | $as_test_x conftest$ac_exeext; then |
10078 | ac_status=$? |
|
|
10079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10080 | (exit $ac_status); }; } && |
|
|
10081 | { ac_try='test -s conftest$ac_exeext' |
|
|
10082 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10083 | (eval $ac_try) 2>&5 |
|
|
10084 | ac_status=$? |
|
|
10085 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10086 | (exit $ac_status); }; }; then |
|
|
10087 | |
11065 | |
10088 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
11066 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
10089 | }'` |
11067 | }'` |
10090 | # Check for a 64-bit object if we didn't find anything. |
11068 | # Check for a 64-bit object if we didn't find anything. |
10091 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
11069 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
10092 | }'`; fi |
11070 | }'`; fi |
10093 | else |
11071 | else |
10094 | echo "$as_me: failed program was:" >&5 |
11072 | echo "$as_me: failed program was:" >&5 |
10095 | sed 's/^/| /' conftest.$ac_ext >&5 |
11073 | sed 's/^/| /' conftest.$ac_ext >&5 |
10096 | |
11074 | |
|
|
11075 | |
10097 | fi |
11076 | fi |
10098 | rm -f conftest.err conftest.$ac_objext \ |
11077 | |
|
|
11078 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10099 | conftest$ac_exeext conftest.$ac_ext |
11079 | conftest$ac_exeext conftest.$ac_ext |
10100 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
11080 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10101 | |
11081 | |
10102 | hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
11082 | hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
10103 | # Warning - without using the other run time loading flags, |
11083 | # Warning - without using the other run time loading flags, |
10104 | # -berok will link without error, but may produce a broken library. |
11084 | # -berok will link without error, but may produce a broken library. |
10105 | no_undefined_flag_CXX=' ${wl}-bernotok' |
11085 | no_undefined_flag_CXX=' ${wl}-bernotok' |
10106 | allow_undefined_flag_CXX=' ${wl}-berok' |
11086 | allow_undefined_flag_CXX=' ${wl}-berok' |
10107 | # -bexpall does not export symbols beginning with underscore (_) |
|
|
10108 | always_export_symbols_CXX=yes |
|
|
10109 | # Exported symbols can be pulled into shared objects from archives |
11087 | # Exported symbols can be pulled into shared objects from archives |
10110 | whole_archive_flag_spec_CXX=' ' |
11088 | whole_archive_flag_spec_CXX='$convenience' |
10111 | archive_cmds_need_lc_CXX=yes |
11089 | archive_cmds_need_lc_CXX=yes |
10112 | # This is similar to how AIX traditionally builds it's shared libraries. |
11090 | # This is similar to how AIX traditionally builds its shared libraries. |
10113 | archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
11091 | 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' |
10114 | fi |
11092 | fi |
10115 | fi |
11093 | fi |
10116 | ;; |
11094 | ;; |
|
|
11095 | |
|
|
11096 | beos*) |
|
|
11097 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
11098 | allow_undefined_flag_CXX=unsupported |
|
|
11099 | # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
|
11100 | # support --undefined. This deserves some investigation. FIXME |
|
|
11101 | archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
11102 | else |
|
|
11103 | ld_shlibs_CXX=no |
|
|
11104 | fi |
|
|
11105 | ;; |
|
|
11106 | |
10117 | chorus*) |
11107 | chorus*) |
10118 | case $cc_basename in |
11108 | case $cc_basename in |
10119 | *) |
11109 | *) |
10120 | # FIXME: insert proper C++ library support |
11110 | # FIXME: insert proper C++ library support |
10121 | ld_shlibs_CXX=no |
11111 | ld_shlibs_CXX=no |
… | |
… | |
10130 | allow_undefined_flag_CXX=unsupported |
11120 | allow_undefined_flag_CXX=unsupported |
10131 | always_export_symbols_CXX=no |
11121 | always_export_symbols_CXX=no |
10132 | enable_shared_with_static_runtimes_CXX=yes |
11122 | enable_shared_with_static_runtimes_CXX=yes |
10133 | |
11123 | |
10134 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
11124 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
10135 | archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
11125 | 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' |
10136 | # If the export-symbols file already is a .def file (1st line |
11126 | # If the export-symbols file already is a .def file (1st line |
10137 | # is EXPORTS), use it as is; otherwise, prepend... |
11127 | # is EXPORTS), use it as is; otherwise, prepend... |
10138 | archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
11128 | archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
10139 | cp $export_symbols $output_objdir/$soname.def; |
11129 | cp $export_symbols $output_objdir/$soname.def; |
10140 | else |
11130 | else |
10141 | echo EXPORTS > $output_objdir/$soname.def; |
11131 | echo EXPORTS > $output_objdir/$soname.def; |
10142 | cat $export_symbols >> $output_objdir/$soname.def; |
11132 | cat $export_symbols >> $output_objdir/$soname.def; |
10143 | fi~ |
11133 | fi~ |
10144 | $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
11134 | $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' |
10145 | else |
11135 | else |
10146 | ld_shlibs_CXX=no |
11136 | ld_shlibs_CXX=no |
10147 | fi |
11137 | fi |
10148 | ;; |
11138 | ;; |
10149 | |
|
|
10150 | darwin* | rhapsody*) |
11139 | darwin* | rhapsody*) |
10151 | if test "$GXX" = yes; then |
|
|
10152 | archive_cmds_need_lc_CXX=no |
|
|
10153 | case "$host_os" in |
11140 | case $host_os in |
10154 | rhapsody* | darwin1.[012]) |
11141 | rhapsody* | darwin1.[012]) |
10155 | allow_undefined_flag_CXX='-undefined suppress' |
11142 | allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' |
10156 | ;; |
11143 | ;; |
10157 | *) # Darwin 1.3 on |
11144 | *) # Darwin 1.3 on |
10158 | if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
11145 | if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
10159 | allow_undefined_flag_CXX='-flat_namespace -undefined suppress' |
11146 | allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
|
11147 | else |
|
|
11148 | case ${MACOSX_DEPLOYMENT_TARGET} in |
|
|
11149 | 10.[012]) |
|
|
11150 | allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
|
11151 | ;; |
|
|
11152 | 10.*) |
|
|
11153 | allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' |
|
|
11154 | ;; |
|
|
11155 | esac |
|
|
11156 | fi |
|
|
11157 | ;; |
|
|
11158 | esac |
|
|
11159 | archive_cmds_need_lc_CXX=no |
|
|
11160 | hardcode_direct_CXX=no |
|
|
11161 | hardcode_automatic_CXX=yes |
|
|
11162 | hardcode_shlibpath_var_CXX=unsupported |
|
|
11163 | whole_archive_flag_spec_CXX='' |
|
|
11164 | link_all_deplibs_CXX=yes |
|
|
11165 | |
|
|
11166 | if test "$GXX" = yes ; then |
|
|
11167 | lt_int_apple_cc_single_mod=no |
|
|
11168 | output_verbose_link_cmd='echo' |
|
|
11169 | if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then |
|
|
11170 | lt_int_apple_cc_single_mod=yes |
|
|
11171 | fi |
|
|
11172 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
11173 | archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
10160 | else |
11174 | else |
10161 | case ${MACOSX_DEPLOYMENT_TARGET} in |
11175 | 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' |
10162 | 10.[012]) |
11176 | fi |
10163 | allow_undefined_flag_CXX='-flat_namespace -undefined suppress' |
11177 | module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
11178 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
|
|
11179 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
11180 | archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
11181 | else |
|
|
11182 | archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
11183 | fi |
|
|
11184 | module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
11185 | else |
|
|
11186 | case $cc_basename in |
|
|
11187 | xlc*) |
|
|
11188 | output_verbose_link_cmd='echo' |
|
|
11189 | archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
|
|
11190 | module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
11191 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
|
|
11192 | archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
11193 | module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
10164 | ;; |
11194 | ;; |
10165 | 10.*) |
11195 | *) |
10166 | allow_undefined_flag_CXX='-undefined dynamic_lookup' |
11196 | ld_shlibs_CXX=no |
10167 | ;; |
11197 | ;; |
10168 | esac |
11198 | esac |
10169 | fi |
11199 | fi |
10170 | ;; |
11200 | ;; |
10171 | esac |
|
|
10172 | lt_int_apple_cc_single_mod=no |
|
|
10173 | output_verbose_link_cmd='echo' |
|
|
10174 | if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
|
|
10175 | lt_int_apple_cc_single_mod=yes |
|
|
10176 | fi |
|
|
10177 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
10178 | archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
10179 | else |
|
|
10180 | archive_cmds_CXX='$CC -r ${wl}-bind_at_load -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' |
|
|
10181 | fi |
|
|
10182 | module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
10183 | |
|
|
10184 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
|
|
10185 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
10186 | archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
10187 | else |
|
|
10188 | archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
10189 | fi |
|
|
10190 | module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
10191 | hardcode_direct_CXX=no |
|
|
10192 | hardcode_automatic_CXX=yes |
|
|
10193 | hardcode_shlibpath_var_CXX=unsupported |
|
|
10194 | whole_archive_flag_spec_CXX='-all_load $convenience' |
|
|
10195 | link_all_deplibs_CXX=yes |
|
|
10196 | else |
|
|
10197 | ld_shlibs_CXX=no |
|
|
10198 | fi |
|
|
10199 | ;; |
|
|
10200 | |
11201 | |
10201 | dgux*) |
11202 | dgux*) |
10202 | case $cc_basename in |
11203 | case $cc_basename in |
10203 | ec++) |
11204 | ec++*) |
10204 | # FIXME: insert proper C++ library support |
11205 | # FIXME: insert proper C++ library support |
10205 | ld_shlibs_CXX=no |
11206 | ld_shlibs_CXX=no |
10206 | ;; |
11207 | ;; |
10207 | ghcx) |
11208 | ghcx*) |
10208 | # Green Hills C++ Compiler |
11209 | # Green Hills C++ Compiler |
10209 | # FIXME: insert proper C++ library support |
11210 | # FIXME: insert proper C++ library support |
10210 | ld_shlibs_CXX=no |
11211 | ld_shlibs_CXX=no |
10211 | ;; |
11212 | ;; |
10212 | *) |
11213 | *) |
10213 | # FIXME: insert proper C++ library support |
11214 | # FIXME: insert proper C++ library support |
10214 | ld_shlibs_CXX=no |
11215 | ld_shlibs_CXX=no |
10215 | ;; |
11216 | ;; |
10216 | esac |
11217 | esac |
10217 | ;; |
11218 | ;; |
10218 | freebsd12*) |
11219 | freebsd[12]*) |
10219 | # C++ shared libraries reported to be fairly broken before switch to ELF |
11220 | # C++ shared libraries reported to be fairly broken before switch to ELF |
10220 | ld_shlibs_CXX=no |
11221 | ld_shlibs_CXX=no |
10221 | ;; |
11222 | ;; |
10222 | freebsd-elf*) |
11223 | freebsd-elf*) |
10223 | archive_cmds_need_lc_CXX=no |
11224 | archive_cmds_need_lc_CXX=no |
10224 | ;; |
11225 | ;; |
10225 | freebsd* | kfreebsd*-gnu) |
11226 | freebsd* | dragonfly*) |
10226 | # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
11227 | # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
10227 | # conventions |
11228 | # conventions |
10228 | ld_shlibs_CXX=yes |
11229 | ld_shlibs_CXX=yes |
10229 | ;; |
11230 | ;; |
10230 | gnu*) |
11231 | gnu*) |
… | |
… | |
10237 | hardcode_minus_L_CXX=yes # Not in the search PATH, |
11238 | hardcode_minus_L_CXX=yes # Not in the search PATH, |
10238 | # but as the default |
11239 | # but as the default |
10239 | # location of the library. |
11240 | # location of the library. |
10240 | |
11241 | |
10241 | case $cc_basename in |
11242 | case $cc_basename in |
10242 | CC) |
11243 | CC*) |
10243 | # FIXME: insert proper C++ library support |
11244 | # FIXME: insert proper C++ library support |
10244 | ld_shlibs_CXX=no |
11245 | ld_shlibs_CXX=no |
10245 | ;; |
11246 | ;; |
10246 | aCC) |
11247 | aCC*) |
10247 | 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' |
11248 | 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' |
10248 | # Commands to make compiler produce verbose output that lists |
11249 | # Commands to make compiler produce verbose output that lists |
10249 | # what "hidden" libraries, object files and flags are used when |
11250 | # what "hidden" libraries, object files and flags are used when |
10250 | # linking a shared library. |
11251 | # linking a shared library. |
10251 | # |
11252 | # |
10252 | # There doesn't appear to be a way to prevent this compiler from |
11253 | # There doesn't appear to be a way to prevent this compiler from |
10253 | # explicitly linking system object files so we need to strip them |
11254 | # explicitly linking system object files so we need to strip them |
10254 | # from the output so that they don't get included in the library |
11255 | # from the output so that they don't get included in the library |
10255 | # dependencies. |
11256 | # dependencies. |
10256 | 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; echo $list' |
11257 | output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
10257 | ;; |
11258 | ;; |
10258 | *) |
11259 | *) |
10259 | if test "$GXX" = yes; then |
11260 | if test "$GXX" = yes; then |
10260 | archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
11261 | archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
10261 | else |
11262 | else |
… | |
… | |
10265 | ;; |
11266 | ;; |
10266 | esac |
11267 | esac |
10267 | ;; |
11268 | ;; |
10268 | hpux10*|hpux11*) |
11269 | hpux10*|hpux11*) |
10269 | if test $with_gnu_ld = no; then |
11270 | if test $with_gnu_ld = no; then |
|
|
11271 | hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
|
11272 | hardcode_libdir_separator_CXX=: |
|
|
11273 | |
10270 | case "$host_cpu" in |
11274 | case $host_cpu in |
10271 | hppa*64*) |
11275 | hppa*64*|ia64*) |
10272 | hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
|
10273 | hardcode_libdir_flag_spec_ld_CXX='+b $libdir' |
11276 | hardcode_libdir_flag_spec_ld_CXX='+b $libdir' |
10274 | hardcode_libdir_separator_CXX=: |
|
|
10275 | ;; |
|
|
10276 | ia64*) |
|
|
10277 | hardcode_libdir_flag_spec_CXX='-L$libdir' |
|
|
10278 | ;; |
11277 | ;; |
10279 | *) |
11278 | *) |
10280 | hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
|
10281 | hardcode_libdir_separator_CXX=: |
|
|
10282 | export_dynamic_flag_spec_CXX='${wl}-E' |
11279 | export_dynamic_flag_spec_CXX='${wl}-E' |
10283 | ;; |
11280 | ;; |
10284 | esac |
11281 | esac |
10285 | fi |
11282 | fi |
10286 | case "$host_cpu" in |
11283 | case $host_cpu in |
10287 | hppa*64*) |
11284 | hppa*64*|ia64*) |
10288 | hardcode_direct_CXX=no |
11285 | hardcode_direct_CXX=no |
10289 | hardcode_shlibpath_var_CXX=no |
11286 | hardcode_shlibpath_var_CXX=no |
10290 | ;; |
|
|
10291 | ia64*) |
|
|
10292 | hardcode_direct_CXX=no |
|
|
10293 | hardcode_shlibpath_var_CXX=no |
|
|
10294 | hardcode_minus_L_CXX=yes # Not in the search PATH, |
|
|
10295 | # but as the default |
|
|
10296 | # location of the library. |
|
|
10297 | ;; |
11287 | ;; |
10298 | *) |
11288 | *) |
10299 | hardcode_direct_CXX=yes |
11289 | hardcode_direct_CXX=yes |
10300 | hardcode_minus_L_CXX=yes # Not in the search PATH, |
11290 | hardcode_minus_L_CXX=yes # Not in the search PATH, |
10301 | # but as the default |
11291 | # but as the default |
10302 | # location of the library. |
11292 | # location of the library. |
10303 | ;; |
11293 | ;; |
10304 | esac |
11294 | esac |
10305 | |
11295 | |
10306 | case $cc_basename in |
11296 | case $cc_basename in |
10307 | CC) |
11297 | CC*) |
10308 | # FIXME: insert proper C++ library support |
11298 | # FIXME: insert proper C++ library support |
10309 | ld_shlibs_CXX=no |
11299 | ld_shlibs_CXX=no |
10310 | ;; |
11300 | ;; |
10311 | aCC) |
11301 | aCC*) |
10312 | case "$host_cpu" in |
11302 | case $host_cpu in |
10313 | hppa*64*|ia64*) |
11303 | hppa*64*) |
10314 | archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' |
11304 | archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
|
11305 | ;; |
|
|
11306 | ia64*) |
|
|
11307 | archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
10315 | ;; |
11308 | ;; |
10316 | *) |
11309 | *) |
10317 | archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
11310 | archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
10318 | ;; |
11311 | ;; |
10319 | esac |
11312 | esac |
… | |
… | |
10328 | output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
11321 | output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
10329 | ;; |
11322 | ;; |
10330 | *) |
11323 | *) |
10331 | if test "$GXX" = yes; then |
11324 | if test "$GXX" = yes; then |
10332 | if test $with_gnu_ld = no; then |
11325 | if test $with_gnu_ld = no; then |
10333 | case "$host_cpu" in |
11326 | case $host_cpu in |
10334 | ia64*|hppa*64*) |
11327 | hppa*64*) |
10335 | archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' |
11328 | archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
|
11329 | ;; |
|
|
11330 | ia64*) |
|
|
11331 | archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
10336 | ;; |
11332 | ;; |
10337 | *) |
11333 | *) |
10338 | archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
11334 | archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
10339 | ;; |
11335 | ;; |
10340 | esac |
11336 | esac |
… | |
… | |
10344 | ld_shlibs_CXX=no |
11340 | ld_shlibs_CXX=no |
10345 | fi |
11341 | fi |
10346 | ;; |
11342 | ;; |
10347 | esac |
11343 | esac |
10348 | ;; |
11344 | ;; |
|
|
11345 | interix3*) |
|
|
11346 | hardcode_direct_CXX=no |
|
|
11347 | hardcode_shlibpath_var_CXX=no |
|
|
11348 | hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
|
11349 | export_dynamic_flag_spec_CXX='${wl}-E' |
|
|
11350 | # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
|
11351 | # Instead, shared libraries are loaded at an image base (0x10000000 by |
|
|
11352 | # default) and relocated if they conflict, which is a slow very memory |
|
|
11353 | # consuming and fragmenting process. To avoid this, we pick a random, |
|
|
11354 | # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
|
11355 | # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
|
11356 | 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' |
|
|
11357 | 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' |
|
|
11358 | ;; |
10349 | irix5* | irix6*) |
11359 | irix5* | irix6*) |
10350 | case $cc_basename in |
11360 | case $cc_basename in |
10351 | CC) |
11361 | CC*) |
10352 | # SGI C++ |
11362 | # SGI C++ |
10353 | archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' |
11363 | archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
10354 | |
11364 | |
10355 | # Archives containing C++ object files must be created using |
11365 | # Archives containing C++ object files must be created using |
10356 | # "CC -ar", where "CC" is the IRIX C++ compiler. This is |
11366 | # "CC -ar", where "CC" is the IRIX C++ compiler. This is |
10357 | # necessary to make sure instantiated templates are included |
11367 | # necessary to make sure instantiated templates are included |
10358 | # in the archive. |
11368 | # in the archive. |
10359 | old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' |
11369 | old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' |
10360 | ;; |
11370 | ;; |
10361 | *) |
11371 | *) |
10362 | if test "$GXX" = yes; then |
11372 | if test "$GXX" = yes; then |
10363 | if test "$with_gnu_ld" = no; then |
11373 | if test "$with_gnu_ld" = no; then |
10364 | archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' |
11374 | archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
10365 | else |
11375 | else |
10366 | archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' |
11376 | archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' |
10367 | fi |
11377 | fi |
10368 | fi |
11378 | fi |
10369 | link_all_deplibs_CXX=yes |
11379 | link_all_deplibs_CXX=yes |
10370 | ;; |
11380 | ;; |
10371 | esac |
11381 | esac |
10372 | hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
11382 | hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
10373 | hardcode_libdir_separator_CXX=: |
11383 | hardcode_libdir_separator_CXX=: |
10374 | ;; |
11384 | ;; |
10375 | linux*) |
11385 | linux* | k*bsd*-gnu) |
10376 | case $cc_basename in |
11386 | case $cc_basename in |
10377 | KCC) |
11387 | KCC*) |
10378 | # Kuck and Associates, Inc. (KAI) C++ Compiler |
11388 | # Kuck and Associates, Inc. (KAI) C++ Compiler |
10379 | |
11389 | |
10380 | # KCC will only create a shared library if the output file |
11390 | # KCC will only create a shared library if the output file |
10381 | # ends with ".so" (or ".sl" for HP-UX), so rename the library |
11391 | # ends with ".so" (or ".sl" for HP-UX), so rename the library |
10382 | # to its proper name (with version) after linking. |
11392 | # to its proper name (with version) after linking. |
… | |
… | |
10397 | |
11407 | |
10398 | # Archives containing C++ object files must be created using |
11408 | # Archives containing C++ object files must be created using |
10399 | # "CC -Bstatic", where "CC" is the KAI C++ compiler. |
11409 | # "CC -Bstatic", where "CC" is the KAI C++ compiler. |
10400 | old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
11410 | old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
10401 | ;; |
11411 | ;; |
10402 | icpc) |
11412 | icpc*) |
10403 | # Intel C++ |
11413 | # Intel C++ |
10404 | with_gnu_ld=yes |
11414 | with_gnu_ld=yes |
|
|
11415 | # version 8.0 and above of icpc choke on multiply defined symbols |
|
|
11416 | # if we add $predep_objects and $postdep_objects, however 7.1 and |
|
|
11417 | # earlier do not add the objects themselves. |
|
|
11418 | case `$CC -V 2>&1` in |
|
|
11419 | *"Version 7."*) |
|
|
11420 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
11421 | 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' |
|
|
11422 | ;; |
|
|
11423 | *) # Version 8.0 or newer |
|
|
11424 | tmp_idyn= |
|
|
11425 | case $host_cpu in |
|
|
11426 | ia64*) tmp_idyn=' -i_dynamic';; |
|
|
11427 | esac |
|
|
11428 | archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
11429 | 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' |
|
|
11430 | ;; |
|
|
11431 | esac |
10405 | archive_cmds_need_lc_CXX=no |
11432 | archive_cmds_need_lc_CXX=no |
10406 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
10407 | 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' |
|
|
10408 | hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
11433 | hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
10409 | export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
11434 | export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
10410 | whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
11435 | whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
10411 | ;; |
11436 | ;; |
|
|
11437 | pgCC*) |
|
|
11438 | # Portland Group C++ compiler |
|
|
11439 | archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
|
|
11440 | 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' |
|
|
11441 | |
|
|
11442 | hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' |
|
|
11443 | export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
|
11444 | whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
|
11445 | ;; |
10412 | cxx) |
11446 | cxx*) |
10413 | # Compaq C++ |
11447 | # Compaq C++ |
10414 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
11448 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10415 | 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' |
11449 | 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' |
10416 | |
11450 | |
10417 | runpath_var=LD_RUN_PATH |
11451 | runpath_var=LD_RUN_PATH |
… | |
… | |
10438 | # FIXME: insert proper C++ library support |
11472 | # FIXME: insert proper C++ library support |
10439 | ld_shlibs_CXX=no |
11473 | ld_shlibs_CXX=no |
10440 | ;; |
11474 | ;; |
10441 | mvs*) |
11475 | mvs*) |
10442 | case $cc_basename in |
11476 | case $cc_basename in |
10443 | cxx) |
11477 | cxx*) |
10444 | # FIXME: insert proper C++ library support |
11478 | # FIXME: insert proper C++ library support |
10445 | ld_shlibs_CXX=no |
11479 | ld_shlibs_CXX=no |
10446 | ;; |
11480 | ;; |
10447 | *) |
11481 | *) |
10448 | # FIXME: insert proper C++ library support |
11482 | # FIXME: insert proper C++ library support |
10449 | ld_shlibs_CXX=no |
11483 | ld_shlibs_CXX=no |
10450 | ;; |
11484 | ;; |
10451 | esac |
11485 | esac |
10452 | ;; |
11486 | ;; |
10453 | netbsd*) |
11487 | netbsd* | netbsdelf*-gnu) |
10454 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
11488 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
10455 | archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' |
11489 | archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' |
10456 | wlarc= |
11490 | wlarc= |
10457 | hardcode_libdir_flag_spec_CXX='-R$libdir' |
11491 | hardcode_libdir_flag_spec_CXX='-R$libdir' |
10458 | hardcode_direct_CXX=yes |
11492 | hardcode_direct_CXX=yes |
10459 | hardcode_shlibpath_var_CXX=no |
11493 | hardcode_shlibpath_var_CXX=no |
10460 | fi |
11494 | fi |
10461 | # Workaround some broken pre-1.5 toolchains |
11495 | # Workaround some broken pre-1.5 toolchains |
10462 | output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
11496 | output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
10463 | ;; |
11497 | ;; |
|
|
11498 | openbsd2*) |
|
|
11499 | # C++ shared libraries are fairly broken |
|
|
11500 | ld_shlibs_CXX=no |
|
|
11501 | ;; |
|
|
11502 | openbsd*) |
|
|
11503 | hardcode_direct_CXX=yes |
|
|
11504 | hardcode_shlibpath_var_CXX=no |
|
|
11505 | archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
|
|
11506 | hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
|
11507 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
|
11508 | archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
|
|
11509 | export_dynamic_flag_spec_CXX='${wl}-E' |
|
|
11510 | whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
|
11511 | fi |
|
|
11512 | output_verbose_link_cmd='echo' |
|
|
11513 | ;; |
10464 | osf3*) |
11514 | osf3*) |
10465 | case $cc_basename in |
11515 | case $cc_basename in |
10466 | KCC) |
11516 | KCC*) |
10467 | # Kuck and Associates, Inc. (KAI) C++ Compiler |
11517 | # Kuck and Associates, Inc. (KAI) C++ Compiler |
10468 | |
11518 | |
10469 | # KCC will only create a shared library if the output file |
11519 | # KCC will only create a shared library if the output file |
10470 | # ends with ".so" (or ".sl" for HP-UX), so rename the library |
11520 | # ends with ".so" (or ".sl" for HP-UX), so rename the library |
10471 | # to its proper name (with version) after linking. |
11521 | # to its proper name (with version) after linking. |
… | |
… | |
10477 | # Archives containing C++ object files must be created using |
11527 | # Archives containing C++ object files must be created using |
10478 | # "CC -Bstatic", where "CC" is the KAI C++ compiler. |
11528 | # "CC -Bstatic", where "CC" is the KAI C++ compiler. |
10479 | old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
11529 | old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
10480 | |
11530 | |
10481 | ;; |
11531 | ;; |
10482 | RCC) |
11532 | RCC*) |
10483 | # Rational C++ 2.4.1 |
11533 | # Rational C++ 2.4.1 |
10484 | # FIXME: insert proper C++ library support |
11534 | # FIXME: insert proper C++ library support |
10485 | ld_shlibs_CXX=no |
11535 | ld_shlibs_CXX=no |
10486 | ;; |
11536 | ;; |
10487 | cxx) |
11537 | cxx*) |
10488 | allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
11538 | allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
10489 | archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' |
11539 | archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
10490 | |
11540 | |
10491 | hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
11541 | hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
10492 | hardcode_libdir_separator_CXX=: |
11542 | hardcode_libdir_separator_CXX=: |
10493 | |
11543 | |
10494 | # Commands to make compiler produce verbose output that lists |
11544 | # Commands to make compiler produce verbose output that lists |
… | |
… | |
10502 | output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
11552 | output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
10503 | ;; |
11553 | ;; |
10504 | *) |
11554 | *) |
10505 | if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
11555 | if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
10506 | allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
11556 | allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
10507 | archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' |
11557 | archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
10508 | |
11558 | |
10509 | hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
11559 | hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
10510 | hardcode_libdir_separator_CXX=: |
11560 | hardcode_libdir_separator_CXX=: |
10511 | |
11561 | |
10512 | # Commands to make compiler produce verbose output that lists |
11562 | # Commands to make compiler produce verbose output that lists |
… | |
… | |
10521 | ;; |
11571 | ;; |
10522 | esac |
11572 | esac |
10523 | ;; |
11573 | ;; |
10524 | osf4* | osf5*) |
11574 | osf4* | osf5*) |
10525 | case $cc_basename in |
11575 | case $cc_basename in |
10526 | KCC) |
11576 | KCC*) |
10527 | # Kuck and Associates, Inc. (KAI) C++ Compiler |
11577 | # Kuck and Associates, Inc. (KAI) C++ Compiler |
10528 | |
11578 | |
10529 | # KCC will only create a shared library if the output file |
11579 | # KCC will only create a shared library if the output file |
10530 | # ends with ".so" (or ".sl" for HP-UX), so rename the library |
11580 | # ends with ".so" (or ".sl" for HP-UX), so rename the library |
10531 | # to its proper name (with version) after linking. |
11581 | # to its proper name (with version) after linking. |
… | |
… | |
10536 | |
11586 | |
10537 | # Archives containing C++ object files must be created using |
11587 | # Archives containing C++ object files must be created using |
10538 | # the KAI C++ compiler. |
11588 | # the KAI C++ compiler. |
10539 | old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' |
11589 | old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' |
10540 | ;; |
11590 | ;; |
10541 | RCC) |
11591 | RCC*) |
10542 | # Rational C++ 2.4.1 |
11592 | # Rational C++ 2.4.1 |
10543 | # FIXME: insert proper C++ library support |
11593 | # FIXME: insert proper C++ library support |
10544 | ld_shlibs_CXX=no |
11594 | ld_shlibs_CXX=no |
10545 | ;; |
11595 | ;; |
10546 | cxx) |
11596 | cxx*) |
10547 | allow_undefined_flag_CXX=' -expect_unresolved \*' |
11597 | allow_undefined_flag_CXX=' -expect_unresolved \*' |
10548 | archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' |
11598 | archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
10549 | archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
11599 | archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
10550 | echo "-hidden">> $lib.exp~ |
11600 | echo "-hidden">> $lib.exp~ |
10551 | $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 $objdir/so_locations -o $lib~ |
11601 | $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~ |
10552 | $rm $lib.exp' |
11602 | $rm $lib.exp' |
10553 | |
11603 | |
10554 | hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
11604 | hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
10555 | hardcode_libdir_separator_CXX=: |
11605 | hardcode_libdir_separator_CXX=: |
10556 | |
11606 | |
… | |
… | |
10565 | output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
11615 | output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
10566 | ;; |
11616 | ;; |
10567 | *) |
11617 | *) |
10568 | if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
11618 | if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
10569 | allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
11619 | allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
10570 | archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' |
11620 | archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
10571 | |
11621 | |
10572 | hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
11622 | hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
10573 | hardcode_libdir_separator_CXX=: |
11623 | hardcode_libdir_separator_CXX=: |
10574 | |
11624 | |
10575 | # Commands to make compiler produce verbose output that lists |
11625 | # Commands to make compiler produce verbose output that lists |
… | |
… | |
10586 | ;; |
11636 | ;; |
10587 | psos*) |
11637 | psos*) |
10588 | # FIXME: insert proper C++ library support |
11638 | # FIXME: insert proper C++ library support |
10589 | ld_shlibs_CXX=no |
11639 | ld_shlibs_CXX=no |
10590 | ;; |
11640 | ;; |
10591 | sco*) |
|
|
10592 | archive_cmds_need_lc_CXX=no |
|
|
10593 | case $cc_basename in |
|
|
10594 | CC) |
|
|
10595 | # FIXME: insert proper C++ library support |
|
|
10596 | ld_shlibs_CXX=no |
|
|
10597 | ;; |
|
|
10598 | *) |
|
|
10599 | # FIXME: insert proper C++ library support |
|
|
10600 | ld_shlibs_CXX=no |
|
|
10601 | ;; |
|
|
10602 | esac |
|
|
10603 | ;; |
|
|
10604 | sunos4*) |
11641 | sunos4*) |
10605 | case $cc_basename in |
11642 | case $cc_basename in |
10606 | CC) |
11643 | CC*) |
10607 | # Sun C++ 4.x |
11644 | # Sun C++ 4.x |
10608 | # FIXME: insert proper C++ library support |
11645 | # FIXME: insert proper C++ library support |
10609 | ld_shlibs_CXX=no |
11646 | ld_shlibs_CXX=no |
10610 | ;; |
11647 | ;; |
10611 | lcc) |
11648 | lcc*) |
10612 | # Lucid |
11649 | # Lucid |
10613 | # FIXME: insert proper C++ library support |
11650 | # FIXME: insert proper C++ library support |
10614 | ld_shlibs_CXX=no |
11651 | ld_shlibs_CXX=no |
10615 | ;; |
11652 | ;; |
10616 | *) |
11653 | *) |
… | |
… | |
10619 | ;; |
11656 | ;; |
10620 | esac |
11657 | esac |
10621 | ;; |
11658 | ;; |
10622 | solaris*) |
11659 | solaris*) |
10623 | case $cc_basename in |
11660 | case $cc_basename in |
10624 | CC) |
11661 | CC*) |
10625 | # Sun C++ 4.2, 5.x and Centerline C++ |
11662 | # Sun C++ 4.2, 5.x and Centerline C++ |
|
|
11663 | archive_cmds_need_lc_CXX=yes |
10626 | no_undefined_flag_CXX=' -zdefs' |
11664 | no_undefined_flag_CXX=' -zdefs' |
10627 | archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
11665 | archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
10628 | archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
11666 | archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
10629 | $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' |
11667 | $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' |
10630 | |
11668 | |
10631 | hardcode_libdir_flag_spec_CXX='-R$libdir' |
11669 | hardcode_libdir_flag_spec_CXX='-R$libdir' |
10632 | hardcode_shlibpath_var_CXX=no |
11670 | hardcode_shlibpath_var_CXX=no |
10633 | case $host_os in |
11671 | case $host_os in |
10634 | solaris2.0-5 | solaris2.0-5.*) ;; |
11672 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
10635 | *) |
11673 | *) |
10636 | # The C++ compiler is used as linker so we must use $wl |
11674 | # The C++ compiler is used as linker so we must use $wl |
10637 | # flag to pass the commands to the underlying system |
11675 | # flag to pass the commands to the underlying system |
10638 | # linker. |
11676 | # linker. We must also pass each convience library through |
|
|
11677 | # to the system linker between allextract/defaultextract. |
|
|
11678 | # The C++ compiler will combine linker options so we |
|
|
11679 | # cannot just pass the convience library names through |
|
|
11680 | # without $wl. |
10639 | # Supported since Solaris 2.6 (maybe 2.5.1?) |
11681 | # Supported since Solaris 2.6 (maybe 2.5.1?) |
10640 | whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
11682 | whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' |
10641 | ;; |
11683 | ;; |
10642 | esac |
11684 | esac |
10643 | link_all_deplibs_CXX=yes |
11685 | link_all_deplibs_CXX=yes |
10644 | |
11686 | |
10645 | # Commands to make compiler produce verbose output that lists |
11687 | output_verbose_link_cmd='echo' |
10646 | # what "hidden" libraries, object files and flags are used when |
|
|
10647 | # linking a shared library. |
|
|
10648 | # |
|
|
10649 | # There doesn't appear to be a way to prevent this compiler from |
|
|
10650 | # explicitly linking system object files so we need to strip them |
|
|
10651 | # from the output so that they don't get included in the library |
|
|
10652 | # dependencies. |
|
|
10653 | output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
|
|
10654 | |
11688 | |
10655 | # Archives containing C++ object files must be created using |
11689 | # Archives containing C++ object files must be created using |
10656 | # "CC -xar", where "CC" is the Sun C++ compiler. This is |
11690 | # "CC -xar", where "CC" is the Sun C++ compiler. This is |
10657 | # necessary to make sure instantiated templates are included |
11691 | # necessary to make sure instantiated templates are included |
10658 | # in the archive. |
11692 | # in the archive. |
10659 | old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
11693 | old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
10660 | ;; |
11694 | ;; |
10661 | gcx) |
11695 | gcx*) |
10662 | # Green Hills C++ Compiler |
11696 | # Green Hills C++ Compiler |
10663 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
11697 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
10664 | |
11698 | |
10665 | # The C++ compiler must be used to create the archive. |
11699 | # The C++ compiler must be used to create the archive. |
10666 | old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' |
11700 | old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' |
… | |
… | |
10694 | hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' |
11728 | hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' |
10695 | fi |
11729 | fi |
10696 | ;; |
11730 | ;; |
10697 | esac |
11731 | esac |
10698 | ;; |
11732 | ;; |
10699 | sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) |
11733 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
|
|
11734 | no_undefined_flag_CXX='${wl}-z,text' |
10700 | archive_cmds_need_lc_CXX=no |
11735 | archive_cmds_need_lc_CXX=no |
|
|
11736 | hardcode_shlibpath_var_CXX=no |
|
|
11737 | runpath_var='LD_RUN_PATH' |
|
|
11738 | |
|
|
11739 | case $cc_basename in |
|
|
11740 | CC*) |
|
|
11741 | archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
11742 | archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
11743 | ;; |
|
|
11744 | *) |
|
|
11745 | archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
11746 | archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
11747 | ;; |
|
|
11748 | esac |
|
|
11749 | ;; |
|
|
11750 | sysv5* | sco3.2v5* | sco5v6*) |
|
|
11751 | # Note: We can NOT use -z defs as we might desire, because we do not |
|
|
11752 | # link with -lc, and that would cause any symbols used from libc to |
|
|
11753 | # always be unresolved, which means just about no library would |
|
|
11754 | # ever link correctly. If we're not using GNU ld we use -z text |
|
|
11755 | # though, which does catch some bad symbols but isn't as heavy-handed |
|
|
11756 | # as -z defs. |
|
|
11757 | # For security reasons, it is highly recommended that you always |
|
|
11758 | # use absolute paths for naming shared libraries, and exclude the |
|
|
11759 | # DT_RUNPATH tag from executables and libraries. But doing so |
|
|
11760 | # requires that you compile everything twice, which is a pain. |
|
|
11761 | # So that behaviour is only enabled if SCOABSPATH is set to a |
|
|
11762 | # non-empty value in the environment. Most likely only useful for |
|
|
11763 | # creating official distributions of packages. |
|
|
11764 | # This is a hack until libtool officially supports absolute path |
|
|
11765 | # names for shared libraries. |
|
|
11766 | no_undefined_flag_CXX='${wl}-z,text' |
|
|
11767 | allow_undefined_flag_CXX='${wl}-z,nodefs' |
|
|
11768 | archive_cmds_need_lc_CXX=no |
|
|
11769 | hardcode_shlibpath_var_CXX=no |
|
|
11770 | hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
|
11771 | hardcode_libdir_separator_CXX=':' |
|
|
11772 | link_all_deplibs_CXX=yes |
|
|
11773 | export_dynamic_flag_spec_CXX='${wl}-Bexport' |
|
|
11774 | runpath_var='LD_RUN_PATH' |
|
|
11775 | |
|
|
11776 | case $cc_basename in |
|
|
11777 | CC*) |
|
|
11778 | archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
11779 | archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
11780 | ;; |
|
|
11781 | *) |
|
|
11782 | archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
11783 | archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
11784 | ;; |
|
|
11785 | esac |
10701 | ;; |
11786 | ;; |
10702 | tandem*) |
11787 | tandem*) |
10703 | case $cc_basename in |
11788 | case $cc_basename in |
10704 | NCC) |
11789 | NCC*) |
10705 | # NonStop-UX NCC 3.20 |
11790 | # NonStop-UX NCC 3.20 |
10706 | # FIXME: insert proper C++ library support |
11791 | # FIXME: insert proper C++ library support |
10707 | ld_shlibs_CXX=no |
11792 | ld_shlibs_CXX=no |
10708 | ;; |
11793 | ;; |
10709 | *) |
11794 | *) |
… | |
… | |
10719 | *) |
11804 | *) |
10720 | # FIXME: insert proper C++ library support |
11805 | # FIXME: insert proper C++ library support |
10721 | ld_shlibs_CXX=no |
11806 | ld_shlibs_CXX=no |
10722 | ;; |
11807 | ;; |
10723 | esac |
11808 | esac |
10724 | echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
11809 | { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
10725 | echo "${ECHO_T}$ld_shlibs_CXX" >&6 |
11810 | echo "${ECHO_T}$ld_shlibs_CXX" >&6; } |
10726 | test "$ld_shlibs_CXX" = no && can_build_shared=no |
11811 | test "$ld_shlibs_CXX" = no && can_build_shared=no |
10727 | |
11812 | |
10728 | GCC_CXX="$GXX" |
11813 | GCC_CXX="$GXX" |
10729 | LD_CXX="$LD" |
11814 | LD_CXX="$LD" |
10730 | |
11815 | |
… | |
… | |
10752 | pre_test_object_deps_done=no |
11837 | pre_test_object_deps_done=no |
10753 | |
11838 | |
10754 | # The `*' in the case matches for architectures that use `case' in |
11839 | # The `*' in the case matches for architectures that use `case' in |
10755 | # $output_verbose_cmd can trigger glob expansion during the loop |
11840 | # $output_verbose_cmd can trigger glob expansion during the loop |
10756 | # eval without this substitution. |
11841 | # eval without this substitution. |
10757 | output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" |
11842 | output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` |
10758 | |
11843 | |
10759 | for p in `eval $output_verbose_link_cmd`; do |
11844 | for p in `eval $output_verbose_link_cmd`; do |
10760 | case $p in |
11845 | case $p in |
10761 | |
11846 | |
10762 | -L* | -R* | -l*) |
11847 | -L* | -R* | -l*) |
… | |
… | |
10828 | echo "libtool.m4: error: problem compiling CXX test program" |
11913 | echo "libtool.m4: error: problem compiling CXX test program" |
10829 | fi |
11914 | fi |
10830 | |
11915 | |
10831 | $rm -f confest.$objext |
11916 | $rm -f confest.$objext |
10832 | |
11917 | |
|
|
11918 | # PORTME: override above test on systems where it is broken |
|
|
11919 | case $host_os in |
|
|
11920 | interix3*) |
|
|
11921 | # Interix 3.5 installs completely hosed .la files for C++, so rather than |
|
|
11922 | # hack all around it, let's just trust "g++" to DTRT. |
|
|
11923 | predep_objects_CXX= |
|
|
11924 | postdep_objects_CXX= |
|
|
11925 | postdeps_CXX= |
|
|
11926 | ;; |
|
|
11927 | |
|
|
11928 | solaris*) |
|
|
11929 | case $cc_basename in |
|
|
11930 | CC*) |
|
|
11931 | # Adding this requires a known-good setup of shared libraries for |
|
|
11932 | # Sun compiler versions before 5.6, else PIC objects from an old |
|
|
11933 | # archive will be linked into the output, leading to subtle bugs. |
|
|
11934 | postdeps_CXX='-lCstd -lCrun' |
|
|
11935 | ;; |
|
|
11936 | esac |
|
|
11937 | ;; |
|
|
11938 | esac |
|
|
11939 | |
|
|
11940 | |
10833 | case " $postdeps_CXX " in |
11941 | case " $postdeps_CXX " in |
10834 | *" -lc "*) archive_cmds_need_lc_CXX=no ;; |
11942 | *" -lc "*) archive_cmds_need_lc_CXX=no ;; |
10835 | esac |
11943 | esac |
10836 | |
11944 | |
10837 | lt_prog_compiler_wl_CXX= |
11945 | lt_prog_compiler_wl_CXX= |
10838 | lt_prog_compiler_pic_CXX= |
11946 | lt_prog_compiler_pic_CXX= |
10839 | lt_prog_compiler_static_CXX= |
11947 | lt_prog_compiler_static_CXX= |
10840 | |
11948 | |
10841 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
11949 | { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
10842 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 |
11950 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
10843 | |
11951 | |
10844 | # C++ specific cases for pic, static, wl, etc. |
11952 | # C++ specific cases for pic, static, wl, etc. |
10845 | if test "$GXX" = yes; then |
11953 | if test "$GXX" = yes; then |
10846 | lt_prog_compiler_wl_CXX='-Wl,' |
11954 | lt_prog_compiler_wl_CXX='-Wl,' |
10847 | lt_prog_compiler_static_CXX='-static' |
11955 | lt_prog_compiler_static_CXX='-static' |
… | |
… | |
10875 | ;; |
11983 | ;; |
10876 | *djgpp*) |
11984 | *djgpp*) |
10877 | # DJGPP does not support shared libraries at all |
11985 | # DJGPP does not support shared libraries at all |
10878 | lt_prog_compiler_pic_CXX= |
11986 | lt_prog_compiler_pic_CXX= |
10879 | ;; |
11987 | ;; |
|
|
11988 | interix3*) |
|
|
11989 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
|
11990 | # Instead, we relocate shared libraries at runtime. |
|
|
11991 | ;; |
10880 | sysv4*MP*) |
11992 | sysv4*MP*) |
10881 | if test -d /usr/nec; then |
11993 | if test -d /usr/nec; then |
10882 | lt_prog_compiler_pic_CXX=-Kconform_pic |
11994 | lt_prog_compiler_pic_CXX=-Kconform_pic |
10883 | fi |
11995 | fi |
10884 | ;; |
11996 | ;; |
10885 | hpux*) |
11997 | hpux*) |
10886 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
11998 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
10887 | # not for PA HP-UX. |
11999 | # not for PA HP-UX. |
10888 | case "$host_cpu" in |
12000 | case $host_cpu in |
10889 | hppa*64*|ia64*) |
12001 | hppa*64*|ia64*) |
10890 | ;; |
12002 | ;; |
10891 | *) |
12003 | *) |
10892 | lt_prog_compiler_pic_CXX='-fPIC' |
12004 | lt_prog_compiler_pic_CXX='-fPIC' |
10893 | ;; |
12005 | ;; |
… | |
… | |
10908 | lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' |
12020 | lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' |
10909 | fi |
12021 | fi |
10910 | ;; |
12022 | ;; |
10911 | chorus*) |
12023 | chorus*) |
10912 | case $cc_basename in |
12024 | case $cc_basename in |
10913 | cxch68) |
12025 | cxch68*) |
10914 | # Green Hills C++ Compiler |
12026 | # Green Hills C++ Compiler |
10915 | # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" |
12027 | # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" |
10916 | ;; |
12028 | ;; |
10917 | esac |
12029 | esac |
10918 | ;; |
12030 | ;; |
|
|
12031 | darwin*) |
|
|
12032 | # PIC is the default on this platform |
|
|
12033 | # Common symbols not allowed in MH_DYLIB files |
|
|
12034 | case $cc_basename in |
|
|
12035 | xlc*) |
|
|
12036 | lt_prog_compiler_pic_CXX='-qnocommon' |
|
|
12037 | lt_prog_compiler_wl_CXX='-Wl,' |
|
|
12038 | ;; |
|
|
12039 | esac |
|
|
12040 | ;; |
10919 | dgux*) |
12041 | dgux*) |
10920 | case $cc_basename in |
12042 | case $cc_basename in |
10921 | ec++) |
12043 | ec++*) |
10922 | lt_prog_compiler_pic_CXX='-KPIC' |
12044 | lt_prog_compiler_pic_CXX='-KPIC' |
10923 | ;; |
12045 | ;; |
10924 | ghcx) |
12046 | ghcx*) |
10925 | # Green Hills C++ Compiler |
12047 | # Green Hills C++ Compiler |
10926 | lt_prog_compiler_pic_CXX='-pic' |
12048 | lt_prog_compiler_pic_CXX='-pic' |
10927 | ;; |
12049 | ;; |
10928 | *) |
12050 | *) |
10929 | ;; |
12051 | ;; |
10930 | esac |
12052 | esac |
10931 | ;; |
12053 | ;; |
10932 | freebsd* | kfreebsd*-gnu) |
12054 | freebsd* | dragonfly*) |
10933 | # FreeBSD uses GNU C++ |
12055 | # FreeBSD uses GNU C++ |
10934 | ;; |
12056 | ;; |
10935 | hpux9* | hpux10* | hpux11*) |
12057 | hpux9* | hpux10* | hpux11*) |
10936 | case $cc_basename in |
12058 | case $cc_basename in |
10937 | CC) |
12059 | CC*) |
10938 | lt_prog_compiler_wl_CXX='-Wl,' |
12060 | lt_prog_compiler_wl_CXX='-Wl,' |
10939 | lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
12061 | lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
10940 | if test "$host_cpu" != ia64; then |
12062 | if test "$host_cpu" != ia64; then |
10941 | lt_prog_compiler_pic_CXX='+Z' |
12063 | lt_prog_compiler_pic_CXX='+Z' |
10942 | fi |
12064 | fi |
10943 | ;; |
12065 | ;; |
10944 | aCC) |
12066 | aCC*) |
10945 | lt_prog_compiler_wl_CXX='-Wl,' |
12067 | lt_prog_compiler_wl_CXX='-Wl,' |
10946 | lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" |
12068 | lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
10947 | case "$host_cpu" in |
12069 | case $host_cpu in |
10948 | hppa*64*|ia64*) |
12070 | hppa*64*|ia64*) |
10949 | # +Z the default |
12071 | # +Z the default |
10950 | ;; |
12072 | ;; |
10951 | *) |
12073 | *) |
10952 | lt_prog_compiler_pic_CXX='+Z' |
12074 | lt_prog_compiler_pic_CXX='+Z' |
… | |
… | |
10955 | ;; |
12077 | ;; |
10956 | *) |
12078 | *) |
10957 | ;; |
12079 | ;; |
10958 | esac |
12080 | esac |
10959 | ;; |
12081 | ;; |
|
|
12082 | interix*) |
|
|
12083 | # This is c89, which is MS Visual C++ (no shared libs) |
|
|
12084 | # Anyone wants to do a port? |
|
|
12085 | ;; |
10960 | irix5* | irix6* | nonstopux*) |
12086 | irix5* | irix6* | nonstopux*) |
10961 | case $cc_basename in |
12087 | case $cc_basename in |
10962 | CC) |
12088 | CC*) |
10963 | lt_prog_compiler_wl_CXX='-Wl,' |
12089 | lt_prog_compiler_wl_CXX='-Wl,' |
10964 | lt_prog_compiler_static_CXX='-non_shared' |
12090 | lt_prog_compiler_static_CXX='-non_shared' |
10965 | # CC pic flag -KPIC is the default. |
12091 | # CC pic flag -KPIC is the default. |
10966 | ;; |
12092 | ;; |
10967 | *) |
12093 | *) |
10968 | ;; |
12094 | ;; |
10969 | esac |
12095 | esac |
10970 | ;; |
12096 | ;; |
10971 | linux*) |
12097 | linux* | k*bsd*-gnu) |
10972 | case $cc_basename in |
12098 | case $cc_basename in |
10973 | KCC) |
12099 | KCC*) |
10974 | # KAI C++ Compiler |
12100 | # KAI C++ Compiler |
10975 | lt_prog_compiler_wl_CXX='--backend -Wl,' |
12101 | lt_prog_compiler_wl_CXX='--backend -Wl,' |
10976 | lt_prog_compiler_pic_CXX='-fPIC' |
12102 | lt_prog_compiler_pic_CXX='-fPIC' |
10977 | ;; |
12103 | ;; |
10978 | icpc) |
12104 | icpc* | ecpc*) |
10979 | # Intel C++ |
12105 | # Intel C++ |
10980 | lt_prog_compiler_wl_CXX='-Wl,' |
12106 | lt_prog_compiler_wl_CXX='-Wl,' |
10981 | lt_prog_compiler_pic_CXX='-KPIC' |
12107 | lt_prog_compiler_pic_CXX='-KPIC' |
10982 | lt_prog_compiler_static_CXX='-static' |
12108 | lt_prog_compiler_static_CXX='-static' |
10983 | ;; |
12109 | ;; |
|
|
12110 | pgCC*) |
|
|
12111 | # Portland Group C++ compiler. |
|
|
12112 | lt_prog_compiler_wl_CXX='-Wl,' |
|
|
12113 | lt_prog_compiler_pic_CXX='-fpic' |
|
|
12114 | lt_prog_compiler_static_CXX='-Bstatic' |
|
|
12115 | ;; |
10984 | cxx) |
12116 | cxx*) |
10985 | # Compaq C++ |
12117 | # Compaq C++ |
10986 | # Make sure the PIC flag is empty. It appears that all Alpha |
12118 | # Make sure the PIC flag is empty. It appears that all Alpha |
10987 | # Linux and Compaq Tru64 Unix objects are PIC. |
12119 | # Linux and Compaq Tru64 Unix objects are PIC. |
10988 | lt_prog_compiler_pic_CXX= |
12120 | lt_prog_compiler_pic_CXX= |
10989 | lt_prog_compiler_static_CXX='-non_shared' |
12121 | lt_prog_compiler_static_CXX='-non_shared' |
… | |
… | |
10996 | ;; |
12128 | ;; |
10997 | m88k*) |
12129 | m88k*) |
10998 | ;; |
12130 | ;; |
10999 | mvs*) |
12131 | mvs*) |
11000 | case $cc_basename in |
12132 | case $cc_basename in |
11001 | cxx) |
12133 | cxx*) |
11002 | lt_prog_compiler_pic_CXX='-W c,exportall' |
12134 | lt_prog_compiler_pic_CXX='-W c,exportall' |
11003 | ;; |
12135 | ;; |
11004 | *) |
12136 | *) |
11005 | ;; |
12137 | ;; |
11006 | esac |
12138 | esac |
11007 | ;; |
12139 | ;; |
11008 | netbsd*) |
12140 | netbsd* | netbsdelf*-gnu) |
11009 | ;; |
12141 | ;; |
11010 | osf3* | osf4* | osf5*) |
12142 | osf3* | osf4* | osf5*) |
11011 | case $cc_basename in |
12143 | case $cc_basename in |
11012 | KCC) |
12144 | KCC*) |
11013 | lt_prog_compiler_wl_CXX='--backend -Wl,' |
12145 | lt_prog_compiler_wl_CXX='--backend -Wl,' |
11014 | ;; |
12146 | ;; |
11015 | RCC) |
12147 | RCC*) |
11016 | # Rational C++ 2.4.1 |
12148 | # Rational C++ 2.4.1 |
11017 | lt_prog_compiler_pic_CXX='-pic' |
12149 | lt_prog_compiler_pic_CXX='-pic' |
11018 | ;; |
12150 | ;; |
11019 | cxx) |
12151 | cxx*) |
11020 | # Digital/Compaq C++ |
12152 | # Digital/Compaq C++ |
11021 | lt_prog_compiler_wl_CXX='-Wl,' |
12153 | lt_prog_compiler_wl_CXX='-Wl,' |
11022 | # Make sure the PIC flag is empty. It appears that all Alpha |
12154 | # Make sure the PIC flag is empty. It appears that all Alpha |
11023 | # Linux and Compaq Tru64 Unix objects are PIC. |
12155 | # Linux and Compaq Tru64 Unix objects are PIC. |
11024 | lt_prog_compiler_pic_CXX= |
12156 | lt_prog_compiler_pic_CXX= |
… | |
… | |
11028 | ;; |
12160 | ;; |
11029 | esac |
12161 | esac |
11030 | ;; |
12162 | ;; |
11031 | psos*) |
12163 | psos*) |
11032 | ;; |
12164 | ;; |
11033 | sco*) |
|
|
11034 | case $cc_basename in |
|
|
11035 | CC) |
|
|
11036 | lt_prog_compiler_pic_CXX='-fPIC' |
|
|
11037 | ;; |
|
|
11038 | *) |
|
|
11039 | ;; |
|
|
11040 | esac |
|
|
11041 | ;; |
|
|
11042 | solaris*) |
12165 | solaris*) |
11043 | case $cc_basename in |
12166 | case $cc_basename in |
11044 | CC) |
12167 | CC*) |
11045 | # Sun C++ 4.2, 5.x and Centerline C++ |
12168 | # Sun C++ 4.2, 5.x and Centerline C++ |
11046 | lt_prog_compiler_pic_CXX='-KPIC' |
12169 | lt_prog_compiler_pic_CXX='-KPIC' |
11047 | lt_prog_compiler_static_CXX='-Bstatic' |
12170 | lt_prog_compiler_static_CXX='-Bstatic' |
11048 | lt_prog_compiler_wl_CXX='-Qoption ld ' |
12171 | lt_prog_compiler_wl_CXX='-Qoption ld ' |
11049 | ;; |
12172 | ;; |
11050 | gcx) |
12173 | gcx*) |
11051 | # Green Hills C++ Compiler |
12174 | # Green Hills C++ Compiler |
11052 | lt_prog_compiler_pic_CXX='-PIC' |
12175 | lt_prog_compiler_pic_CXX='-PIC' |
11053 | ;; |
12176 | ;; |
11054 | *) |
12177 | *) |
11055 | ;; |
12178 | ;; |
11056 | esac |
12179 | esac |
11057 | ;; |
12180 | ;; |
11058 | sunos4*) |
12181 | sunos4*) |
11059 | case $cc_basename in |
12182 | case $cc_basename in |
11060 | CC) |
12183 | CC*) |
11061 | # Sun C++ 4.x |
12184 | # Sun C++ 4.x |
11062 | lt_prog_compiler_pic_CXX='-pic' |
12185 | lt_prog_compiler_pic_CXX='-pic' |
11063 | lt_prog_compiler_static_CXX='-Bstatic' |
12186 | lt_prog_compiler_static_CXX='-Bstatic' |
11064 | ;; |
12187 | ;; |
11065 | lcc) |
12188 | lcc*) |
11066 | # Lucid |
12189 | # Lucid |
11067 | lt_prog_compiler_pic_CXX='-pic' |
12190 | lt_prog_compiler_pic_CXX='-pic' |
11068 | ;; |
12191 | ;; |
11069 | *) |
12192 | *) |
11070 | ;; |
12193 | ;; |
11071 | esac |
12194 | esac |
11072 | ;; |
12195 | ;; |
11073 | tandem*) |
12196 | tandem*) |
11074 | case $cc_basename in |
12197 | case $cc_basename in |
11075 | NCC) |
12198 | NCC*) |
11076 | # NonStop-UX NCC 3.20 |
12199 | # NonStop-UX NCC 3.20 |
11077 | lt_prog_compiler_pic_CXX='-KPIC' |
12200 | lt_prog_compiler_pic_CXX='-KPIC' |
11078 | ;; |
12201 | ;; |
11079 | *) |
12202 | *) |
11080 | ;; |
12203 | ;; |
11081 | esac |
12204 | esac |
11082 | ;; |
12205 | ;; |
11083 | unixware*) |
12206 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
|
12207 | case $cc_basename in |
|
|
12208 | CC*) |
|
|
12209 | lt_prog_compiler_wl_CXX='-Wl,' |
|
|
12210 | lt_prog_compiler_pic_CXX='-KPIC' |
|
|
12211 | lt_prog_compiler_static_CXX='-Bstatic' |
|
|
12212 | ;; |
|
|
12213 | esac |
11084 | ;; |
12214 | ;; |
11085 | vxworks*) |
12215 | vxworks*) |
11086 | ;; |
12216 | ;; |
11087 | *) |
12217 | *) |
11088 | lt_prog_compiler_can_build_shared_CXX=no |
12218 | lt_prog_compiler_can_build_shared_CXX=no |
11089 | ;; |
12219 | ;; |
11090 | esac |
12220 | esac |
11091 | fi |
12221 | fi |
11092 | |
12222 | |
11093 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 |
12223 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 |
11094 | echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 |
12224 | echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } |
11095 | |
12225 | |
11096 | # |
12226 | # |
11097 | # Check to make sure the PIC flag actually works. |
12227 | # Check to make sure the PIC flag actually works. |
11098 | # |
12228 | # |
11099 | if test -n "$lt_prog_compiler_pic_CXX"; then |
12229 | if test -n "$lt_prog_compiler_pic_CXX"; then |
11100 | |
12230 | |
11101 | echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
12231 | { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
11102 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 |
12232 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } |
11103 | if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then |
12233 | if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then |
11104 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12234 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11105 | else |
12235 | else |
11106 | lt_prog_compiler_pic_works_CXX=no |
12236 | lt_prog_compiler_pic_works_CXX=no |
11107 | ac_outfile=conftest.$ac_objext |
12237 | ac_outfile=conftest.$ac_objext |
… | |
… | |
11111 | # (2) before a word containing "conftest.", or (3) at the end. |
12241 | # (2) before a word containing "conftest.", or (3) at the end. |
11112 | # Note that $ac_compile itself does not contain backslashes and begins |
12242 | # Note that $ac_compile itself does not contain backslashes and begins |
11113 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
12243 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
11114 | # The option is referenced via a variable to avoid confusing sed. |
12244 | # The option is referenced via a variable to avoid confusing sed. |
11115 | lt_compile=`echo "$ac_compile" | $SED \ |
12245 | lt_compile=`echo "$ac_compile" | $SED \ |
11116 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
12246 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
11117 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
12247 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11118 | -e 's:$: $lt_compiler_flag:'` |
12248 | -e 's:$: $lt_compiler_flag:'` |
11119 | (eval echo "\"\$as_me:11119: $lt_compile\"" >&5) |
12249 | (eval echo "\"\$as_me:12249: $lt_compile\"" >&5) |
11120 | (eval "$lt_compile" 2>conftest.err) |
12250 | (eval "$lt_compile" 2>conftest.err) |
11121 | ac_status=$? |
12251 | ac_status=$? |
11122 | cat conftest.err >&5 |
12252 | cat conftest.err >&5 |
11123 | echo "$as_me:11123: \$? = $ac_status" >&5 |
12253 | echo "$as_me:12253: \$? = $ac_status" >&5 |
11124 | if (exit $ac_status) && test -s "$ac_outfile"; then |
12254 | if (exit $ac_status) && test -s "$ac_outfile"; then |
11125 | # The compiler can only warn and ignore the option if not recognized |
12255 | # The compiler can only warn and ignore the option if not recognized |
11126 | # So say no if there are warnings |
12256 | # So say no if there are warnings other than the usual output. |
11127 | if test ! -s conftest.err; then |
12257 | $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
|
12258 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
12259 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
11128 | lt_prog_compiler_pic_works_CXX=yes |
12260 | lt_prog_compiler_pic_works_CXX=yes |
11129 | fi |
12261 | fi |
11130 | fi |
12262 | fi |
11131 | $rm conftest* |
12263 | $rm conftest* |
11132 | |
12264 | |
11133 | fi |
12265 | fi |
11134 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 |
12266 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 |
11135 | echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 |
12267 | echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; } |
11136 | |
12268 | |
11137 | if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then |
12269 | if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then |
11138 | case $lt_prog_compiler_pic_CXX in |
12270 | case $lt_prog_compiler_pic_CXX in |
11139 | "" | " "*) ;; |
12271 | "" | " "*) ;; |
11140 | *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; |
12272 | *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; |
… | |
… | |
11143 | lt_prog_compiler_pic_CXX= |
12275 | lt_prog_compiler_pic_CXX= |
11144 | lt_prog_compiler_can_build_shared_CXX=no |
12276 | lt_prog_compiler_can_build_shared_CXX=no |
11145 | fi |
12277 | fi |
11146 | |
12278 | |
11147 | fi |
12279 | fi |
11148 | case "$host_os" in |
12280 | case $host_os in |
11149 | # For platforms which do not support PIC, -DPIC is meaningless: |
12281 | # For platforms which do not support PIC, -DPIC is meaningless: |
11150 | *djgpp*) |
12282 | *djgpp*) |
11151 | lt_prog_compiler_pic_CXX= |
12283 | lt_prog_compiler_pic_CXX= |
11152 | ;; |
12284 | ;; |
11153 | *) |
12285 | *) |
11154 | lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" |
12286 | lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" |
11155 | ;; |
12287 | ;; |
11156 | esac |
12288 | esac |
11157 | |
12289 | |
|
|
12290 | # |
|
|
12291 | # Check to make sure the static flag actually works. |
|
|
12292 | # |
|
|
12293 | wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" |
|
|
12294 | { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
|
12295 | echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } |
|
|
12296 | if test "${lt_prog_compiler_static_works_CXX+set}" = set; then |
|
|
12297 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12298 | else |
|
|
12299 | lt_prog_compiler_static_works_CXX=no |
|
|
12300 | save_LDFLAGS="$LDFLAGS" |
|
|
12301 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
|
12302 | printf "$lt_simple_link_test_code" > conftest.$ac_ext |
|
|
12303 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
|
12304 | # The linker can only warn and ignore the option if not recognized |
|
|
12305 | # So say no if there are warnings |
|
|
12306 | if test -s conftest.err; then |
|
|
12307 | # Append any errors to the config.log. |
|
|
12308 | cat conftest.err 1>&5 |
|
|
12309 | $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
|
|
12310 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
12311 | if diff conftest.exp conftest.er2 >/dev/null; then |
|
|
12312 | lt_prog_compiler_static_works_CXX=yes |
|
|
12313 | fi |
|
|
12314 | else |
|
|
12315 | lt_prog_compiler_static_works_CXX=yes |
|
|
12316 | fi |
|
|
12317 | fi |
|
|
12318 | $rm conftest* |
|
|
12319 | LDFLAGS="$save_LDFLAGS" |
|
|
12320 | |
|
|
12321 | fi |
|
|
12322 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 |
|
|
12323 | echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; } |
|
|
12324 | |
|
|
12325 | if test x"$lt_prog_compiler_static_works_CXX" = xyes; then |
|
|
12326 | : |
|
|
12327 | else |
|
|
12328 | lt_prog_compiler_static_CXX= |
|
|
12329 | fi |
|
|
12330 | |
|
|
12331 | |
11158 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
12332 | { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
11159 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
12333 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } |
11160 | if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then |
12334 | if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then |
11161 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12335 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11162 | else |
12336 | else |
11163 | lt_cv_prog_compiler_c_o_CXX=no |
12337 | lt_cv_prog_compiler_c_o_CXX=no |
11164 | $rm -r conftest 2>/dev/null |
12338 | $rm -r conftest 2>/dev/null |
… | |
… | |
11171 | # Insert the option either (1) after the last *FLAGS variable, or |
12345 | # Insert the option either (1) after the last *FLAGS variable, or |
11172 | # (2) before a word containing "conftest.", or (3) at the end. |
12346 | # (2) before a word containing "conftest.", or (3) at the end. |
11173 | # Note that $ac_compile itself does not contain backslashes and begins |
12347 | # Note that $ac_compile itself does not contain backslashes and begins |
11174 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
12348 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
11175 | lt_compile=`echo "$ac_compile" | $SED \ |
12349 | lt_compile=`echo "$ac_compile" | $SED \ |
11176 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
12350 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
11177 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
12351 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11178 | -e 's:$: $lt_compiler_flag:'` |
12352 | -e 's:$: $lt_compiler_flag:'` |
11179 | (eval echo "\"\$as_me:11179: $lt_compile\"" >&5) |
12353 | (eval echo "\"\$as_me:12353: $lt_compile\"" >&5) |
11180 | (eval "$lt_compile" 2>out/conftest.err) |
12354 | (eval "$lt_compile" 2>out/conftest.err) |
11181 | ac_status=$? |
12355 | ac_status=$? |
11182 | cat out/conftest.err >&5 |
12356 | cat out/conftest.err >&5 |
11183 | echo "$as_me:11183: \$? = $ac_status" >&5 |
12357 | echo "$as_me:12357: \$? = $ac_status" >&5 |
11184 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
12358 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
11185 | then |
12359 | then |
11186 | # The compiler can only warn and ignore the option if not recognized |
12360 | # The compiler can only warn and ignore the option if not recognized |
11187 | # So say no if there are warnings |
12361 | # So say no if there are warnings |
11188 | if test ! -s out/conftest.err; then |
12362 | $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
|
12363 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
|
12364 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
11189 | lt_cv_prog_compiler_c_o_CXX=yes |
12365 | lt_cv_prog_compiler_c_o_CXX=yes |
11190 | fi |
12366 | fi |
11191 | fi |
12367 | fi |
11192 | chmod u+w . |
12368 | chmod u+w . 2>&5 |
11193 | $rm conftest* |
12369 | $rm conftest* |
11194 | # SGI C++ compiler will create directory out/ii_files/ for |
12370 | # SGI C++ compiler will create directory out/ii_files/ for |
11195 | # template instantiation |
12371 | # template instantiation |
11196 | test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
12372 | test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
11197 | $rm out/* && rmdir out |
12373 | $rm out/* && rmdir out |
11198 | cd .. |
12374 | cd .. |
11199 | rmdir conftest |
12375 | rmdir conftest |
11200 | $rm conftest* |
12376 | $rm conftest* |
11201 | |
12377 | |
11202 | fi |
12378 | fi |
11203 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
12379 | { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
11204 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 |
12380 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } |
11205 | |
12381 | |
11206 | |
12382 | |
11207 | hard_links="nottested" |
12383 | hard_links="nottested" |
11208 | if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then |
12384 | if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then |
11209 | # do not overwrite the value of need_locks provided by the user |
12385 | # do not overwrite the value of need_locks provided by the user |
11210 | echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
12386 | { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
11211 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 |
12387 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
11212 | hard_links=yes |
12388 | hard_links=yes |
11213 | $rm conftest* |
12389 | $rm conftest* |
11214 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
12390 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
11215 | touch conftest.a |
12391 | touch conftest.a |
11216 | ln conftest.a conftest.b 2>&5 || hard_links=no |
12392 | ln conftest.a conftest.b 2>&5 || hard_links=no |
11217 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
12393 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
11218 | echo "$as_me:$LINENO: result: $hard_links" >&5 |
12394 | { echo "$as_me:$LINENO: result: $hard_links" >&5 |
11219 | echo "${ECHO_T}$hard_links" >&6 |
12395 | echo "${ECHO_T}$hard_links" >&6; } |
11220 | if test "$hard_links" = no; then |
12396 | if test "$hard_links" = no; then |
11221 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
12397 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
11222 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
12398 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
11223 | need_locks=warn |
12399 | need_locks=warn |
11224 | fi |
12400 | fi |
11225 | else |
12401 | else |
11226 | need_locks=no |
12402 | need_locks=no |
11227 | fi |
12403 | fi |
11228 | |
12404 | |
11229 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
12405 | { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
11230 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 |
12406 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
11231 | |
12407 | |
11232 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
12408 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
11233 | case $host_os in |
12409 | case $host_os in |
11234 | aix4* | aix5*) |
12410 | aix4* | aix5*) |
11235 | # If we're using GNU nm, then we don't want the "-C" option. |
12411 | # If we're using GNU nm, then we don't want the "-C" option. |
… | |
… | |
11242 | ;; |
12418 | ;; |
11243 | pw32*) |
12419 | pw32*) |
11244 | export_symbols_cmds_CXX="$ltdll_cmds" |
12420 | export_symbols_cmds_CXX="$ltdll_cmds" |
11245 | ;; |
12421 | ;; |
11246 | cygwin* | mingw*) |
12422 | cygwin* | mingw*) |
11247 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
12423 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
|
|
12424 | ;; |
|
|
12425 | linux* | k*bsd*-gnu) |
|
|
12426 | link_all_deplibs_CXX=no |
11248 | ;; |
12427 | ;; |
11249 | *) |
12428 | *) |
11250 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
12429 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
11251 | ;; |
12430 | ;; |
11252 | esac |
12431 | esac |
11253 | |
12432 | |
11254 | echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
12433 | { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
11255 | echo "${ECHO_T}$ld_shlibs_CXX" >&6 |
12434 | echo "${ECHO_T}$ld_shlibs_CXX" >&6; } |
11256 | test "$ld_shlibs_CXX" = no && can_build_shared=no |
12435 | test "$ld_shlibs_CXX" = no && can_build_shared=no |
11257 | |
|
|
11258 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
|
11259 | if test "$GCC" = yes; then |
|
|
11260 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
11261 | fi |
|
|
11262 | |
12436 | |
11263 | # |
12437 | # |
11264 | # Do we need to explicitly link libc? |
12438 | # Do we need to explicitly link libc? |
11265 | # |
12439 | # |
11266 | case "x$archive_cmds_need_lc_CXX" in |
12440 | case "x$archive_cmds_need_lc_CXX" in |
… | |
… | |
11275 | ;; |
12449 | ;; |
11276 | '$CC '*) |
12450 | '$CC '*) |
11277 | # Test whether the compiler implicitly links with -lc since on some |
12451 | # Test whether the compiler implicitly links with -lc since on some |
11278 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
12452 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
11279 | # to ld, don't add -lc before -lgcc. |
12453 | # to ld, don't add -lc before -lgcc. |
11280 | echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
12454 | { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
11281 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 |
12455 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
11282 | $rm conftest* |
12456 | $rm conftest* |
11283 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
12457 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
11284 | |
12458 | |
11285 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
12459 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11286 | (eval $ac_compile) 2>&5 |
12460 | (eval $ac_compile) 2>&5 |
… | |
… | |
11290 | soname=conftest |
12464 | soname=conftest |
11291 | lib=conftest |
12465 | lib=conftest |
11292 | libobjs=conftest.$ac_objext |
12466 | libobjs=conftest.$ac_objext |
11293 | deplibs= |
12467 | deplibs= |
11294 | wl=$lt_prog_compiler_wl_CXX |
12468 | wl=$lt_prog_compiler_wl_CXX |
|
|
12469 | pic_flag=$lt_prog_compiler_pic_CXX |
11295 | compiler_flags=-v |
12470 | compiler_flags=-v |
11296 | linker_flags=-v |
12471 | linker_flags=-v |
11297 | verstring= |
12472 | verstring= |
11298 | output_objdir=. |
12473 | output_objdir=. |
11299 | libname=conftest |
12474 | libname=conftest |
… | |
… | |
11312 | allow_undefined_flag_CXX=$lt_save_allow_undefined_flag |
12487 | allow_undefined_flag_CXX=$lt_save_allow_undefined_flag |
11313 | else |
12488 | else |
11314 | cat conftest.err 1>&5 |
12489 | cat conftest.err 1>&5 |
11315 | fi |
12490 | fi |
11316 | $rm conftest* |
12491 | $rm conftest* |
11317 | echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 |
12492 | { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 |
11318 | echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 |
12493 | echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } |
11319 | ;; |
12494 | ;; |
11320 | esac |
12495 | esac |
11321 | fi |
12496 | fi |
11322 | ;; |
12497 | ;; |
11323 | esac |
12498 | esac |
11324 | |
12499 | |
11325 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
12500 | { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
11326 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
12501 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
11327 | library_names_spec= |
12502 | library_names_spec= |
11328 | libname_spec='lib$name' |
12503 | libname_spec='lib$name' |
11329 | soname_spec= |
12504 | soname_spec= |
11330 | shrext=".so" |
12505 | shrext_cmds=".so" |
11331 | postinstall_cmds= |
12506 | postinstall_cmds= |
11332 | postuninstall_cmds= |
12507 | postuninstall_cmds= |
11333 | finish_cmds= |
12508 | finish_cmds= |
11334 | finish_eval= |
12509 | finish_eval= |
11335 | shlibpath_var= |
12510 | shlibpath_var= |
… | |
… | |
11422 | library_names_spec='${libname}${shared_ext}' |
12597 | library_names_spec='${libname}${shared_ext}' |
11423 | dynamic_linker="$host_os ld.so" |
12598 | dynamic_linker="$host_os ld.so" |
11424 | shlibpath_var=LIBRARY_PATH |
12599 | shlibpath_var=LIBRARY_PATH |
11425 | ;; |
12600 | ;; |
11426 | |
12601 | |
11427 | bsdi4*) |
12602 | bsdi[45]*) |
11428 | version_type=linux |
12603 | version_type=linux |
11429 | need_version=no |
12604 | need_version=no |
11430 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12605 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11431 | soname_spec='${libname}${release}${shared_ext}$major' |
12606 | soname_spec='${libname}${release}${shared_ext}$major' |
11432 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
12607 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
… | |
… | |
11438 | # libtool to hard-code these into programs |
12613 | # libtool to hard-code these into programs |
11439 | ;; |
12614 | ;; |
11440 | |
12615 | |
11441 | cygwin* | mingw* | pw32*) |
12616 | cygwin* | mingw* | pw32*) |
11442 | version_type=windows |
12617 | version_type=windows |
11443 | shrext=".dll" |
12618 | shrext_cmds=".dll" |
11444 | need_version=no |
12619 | need_version=no |
11445 | need_lib_prefix=no |
12620 | need_lib_prefix=no |
11446 | |
12621 | |
11447 | case $GCC,$host_os in |
12622 | case $GCC,$host_os in |
11448 | yes,cygwin* | yes,mingw* | yes,pw32*) |
12623 | yes,cygwin* | yes,mingw* | yes,pw32*) |
… | |
… | |
11450 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
12625 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
11451 | postinstall_cmds='base_file=`basename \${file}`~ |
12626 | postinstall_cmds='base_file=`basename \${file}`~ |
11452 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
12627 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
11453 | dldir=$destdir/`dirname \$dlpath`~ |
12628 | dldir=$destdir/`dirname \$dlpath`~ |
11454 | test -d \$dldir || mkdir -p \$dldir~ |
12629 | test -d \$dldir || mkdir -p \$dldir~ |
11455 | $install_prog $dir/$dlname \$dldir/$dlname' |
12630 | $install_prog $dir/$dlname \$dldir/$dlname~ |
|
|
12631 | chmod a+x \$dldir/$dlname' |
11456 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
12632 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
11457 | dlpath=$dir/\$dldll~ |
12633 | dlpath=$dir/\$dldll~ |
11458 | $rm \$dlpath' |
12634 | $rm \$dlpath' |
11459 | shlibpath_overrides_runpath=yes |
12635 | shlibpath_overrides_runpath=yes |
11460 | |
12636 | |
… | |
… | |
11480 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
12656 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
11481 | fi |
12657 | fi |
11482 | ;; |
12658 | ;; |
11483 | pw32*) |
12659 | pw32*) |
11484 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
12660 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
11485 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' |
12661 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
11486 | ;; |
12662 | ;; |
11487 | esac |
12663 | esac |
11488 | ;; |
12664 | ;; |
11489 | |
12665 | |
11490 | *) |
12666 | *) |
… | |
… | |
11503 | need_version=no |
12679 | need_version=no |
11504 | library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
12680 | library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
11505 | soname_spec='${libname}${release}${major}$shared_ext' |
12681 | soname_spec='${libname}${release}${major}$shared_ext' |
11506 | shlibpath_overrides_runpath=yes |
12682 | shlibpath_overrides_runpath=yes |
11507 | shlibpath_var=DYLD_LIBRARY_PATH |
12683 | shlibpath_var=DYLD_LIBRARY_PATH |
11508 | shrext='$(test .$module = .yes && echo .so || echo .dylib)' |
12684 | shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
11509 | # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
12685 | # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
11510 | if test "$GCC" = yes; then |
12686 | if test "$GCC" = yes; then |
11511 | sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
12687 | sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
11512 | else |
12688 | else |
11513 | sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' |
12689 | sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' |
… | |
… | |
11526 | |
12702 | |
11527 | freebsd1*) |
12703 | freebsd1*) |
11528 | dynamic_linker=no |
12704 | dynamic_linker=no |
11529 | ;; |
12705 | ;; |
11530 | |
12706 | |
11531 | kfreebsd*-gnu) |
12707 | freebsd* | dragonfly*) |
11532 | version_type=linux |
12708 | # DragonFly does not have aout. When/if they implement a new |
11533 | need_lib_prefix=no |
12709 | # versioning mechanism, adjust this. |
11534 | need_version=no |
12710 | if test -x /usr/bin/objformat; then |
11535 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
12711 | objformat=`/usr/bin/objformat` |
11536 | soname_spec='${libname}${release}${shared_ext}$major' |
12712 | else |
11537 | shlibpath_var=LD_LIBRARY_PATH |
12713 | case $host_os in |
11538 | shlibpath_overrides_runpath=no |
12714 | freebsd[123]*) objformat=aout ;; |
11539 | hardcode_into_libs=yes |
12715 | *) objformat=elf ;; |
11540 | dynamic_linker='GNU ld.so' |
12716 | esac |
11541 | ;; |
12717 | fi |
11542 | |
|
|
11543 | freebsd*) |
|
|
11544 | objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
|
|
11545 | version_type=freebsd-$objformat |
12718 | version_type=freebsd-$objformat |
11546 | case $version_type in |
12719 | case $version_type in |
11547 | freebsd-elf*) |
12720 | freebsd-elf*) |
11548 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
12721 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
11549 | need_version=no |
12722 | need_version=no |
… | |
… | |
11557 | shlibpath_var=LD_LIBRARY_PATH |
12730 | shlibpath_var=LD_LIBRARY_PATH |
11558 | case $host_os in |
12731 | case $host_os in |
11559 | freebsd2*) |
12732 | freebsd2*) |
11560 | shlibpath_overrides_runpath=yes |
12733 | shlibpath_overrides_runpath=yes |
11561 | ;; |
12734 | ;; |
11562 | freebsd3.01* | freebsdelf3.01*) |
12735 | freebsd3.[01]* | freebsdelf3.[01]*) |
11563 | shlibpath_overrides_runpath=yes |
12736 | shlibpath_overrides_runpath=yes |
11564 | hardcode_into_libs=yes |
12737 | hardcode_into_libs=yes |
11565 | ;; |
12738 | ;; |
11566 | *) # from 3.2 on |
12739 | freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
|
12740 | freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
11567 | shlibpath_overrides_runpath=no |
12741 | shlibpath_overrides_runpath=no |
|
|
12742 | hardcode_into_libs=yes |
|
|
12743 | ;; |
|
|
12744 | freebsd*) # from 4.6 on |
|
|
12745 | shlibpath_overrides_runpath=yes |
11568 | hardcode_into_libs=yes |
12746 | hardcode_into_libs=yes |
11569 | ;; |
12747 | ;; |
11570 | esac |
12748 | esac |
11571 | ;; |
12749 | ;; |
11572 | |
12750 | |
… | |
… | |
11584 | # Give a soname corresponding to the major version so that dld.sl refuses to |
12762 | # Give a soname corresponding to the major version so that dld.sl refuses to |
11585 | # link against other versions. |
12763 | # link against other versions. |
11586 | version_type=sunos |
12764 | version_type=sunos |
11587 | need_lib_prefix=no |
12765 | need_lib_prefix=no |
11588 | need_version=no |
12766 | need_version=no |
11589 | case "$host_cpu" in |
12767 | case $host_cpu in |
11590 | ia64*) |
12768 | ia64*) |
11591 | shrext='.so' |
12769 | shrext_cmds='.so' |
11592 | hardcode_into_libs=yes |
12770 | hardcode_into_libs=yes |
11593 | dynamic_linker="$host_os dld.so" |
12771 | dynamic_linker="$host_os dld.so" |
11594 | shlibpath_var=LD_LIBRARY_PATH |
12772 | shlibpath_var=LD_LIBRARY_PATH |
11595 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
12773 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
11596 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12774 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
… | |
… | |
11601 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
12779 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
11602 | fi |
12780 | fi |
11603 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
12781 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
11604 | ;; |
12782 | ;; |
11605 | hppa*64*) |
12783 | hppa*64*) |
11606 | shrext='.sl' |
12784 | shrext_cmds='.sl' |
11607 | hardcode_into_libs=yes |
12785 | hardcode_into_libs=yes |
11608 | dynamic_linker="$host_os dld.sl" |
12786 | dynamic_linker="$host_os dld.sl" |
11609 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
12787 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
11610 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
12788 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
11611 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12789 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11612 | soname_spec='${libname}${release}${shared_ext}$major' |
12790 | soname_spec='${libname}${release}${shared_ext}$major' |
11613 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
12791 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
11614 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
12792 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
11615 | ;; |
12793 | ;; |
11616 | *) |
12794 | *) |
11617 | shrext='.sl' |
12795 | shrext_cmds='.sl' |
11618 | dynamic_linker="$host_os dld.sl" |
12796 | dynamic_linker="$host_os dld.sl" |
11619 | shlibpath_var=SHLIB_PATH |
12797 | shlibpath_var=SHLIB_PATH |
11620 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
12798 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
11621 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12799 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11622 | soname_spec='${libname}${release}${shared_ext}$major' |
12800 | soname_spec='${libname}${release}${shared_ext}$major' |
11623 | ;; |
12801 | ;; |
11624 | esac |
12802 | esac |
11625 | # HP-UX runs *really* slowly unless shared libraries are mode 555. |
12803 | # HP-UX runs *really* slowly unless shared libraries are mode 555. |
11626 | postinstall_cmds='chmod 555 $lib' |
12804 | postinstall_cmds='chmod 555 $lib' |
|
|
12805 | ;; |
|
|
12806 | |
|
|
12807 | interix3*) |
|
|
12808 | version_type=linux |
|
|
12809 | need_lib_prefix=no |
|
|
12810 | need_version=no |
|
|
12811 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
|
12812 | soname_spec='${libname}${release}${shared_ext}$major' |
|
|
12813 | dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
|
12814 | shlibpath_var=LD_LIBRARY_PATH |
|
|
12815 | shlibpath_overrides_runpath=no |
|
|
12816 | hardcode_into_libs=yes |
11627 | ;; |
12817 | ;; |
11628 | |
12818 | |
11629 | irix5* | irix6* | nonstopux*) |
12819 | irix5* | irix6* | nonstopux*) |
11630 | case $host_os in |
12820 | case $host_os in |
11631 | nonstopux*) version_type=nonstopux ;; |
12821 | nonstopux*) version_type=nonstopux ;; |
… | |
… | |
11667 | linux*oldld* | linux*aout* | linux*coff*) |
12857 | linux*oldld* | linux*aout* | linux*coff*) |
11668 | dynamic_linker=no |
12858 | dynamic_linker=no |
11669 | ;; |
12859 | ;; |
11670 | |
12860 | |
11671 | # This must be Linux ELF. |
12861 | # This must be Linux ELF. |
11672 | linux*) |
12862 | linux* | k*bsd*-gnu) |
11673 | version_type=linux |
12863 | version_type=linux |
11674 | need_lib_prefix=no |
12864 | need_lib_prefix=no |
11675 | need_version=no |
12865 | need_version=no |
11676 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12866 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11677 | soname_spec='${libname}${release}${shared_ext}$major' |
12867 | soname_spec='${libname}${release}${shared_ext}$major' |
… | |
… | |
11683 | # before this can be enabled. |
12873 | # before this can be enabled. |
11684 | hardcode_into_libs=yes |
12874 | hardcode_into_libs=yes |
11685 | |
12875 | |
11686 | # Append ld.so.conf contents to the search path |
12876 | # Append ld.so.conf contents to the search path |
11687 | if test -f /etc/ld.so.conf; then |
12877 | if test -f /etc/ld.so.conf; then |
11688 | ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf` |
12878 | lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
11689 | sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra" |
12879 | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
11690 | fi |
12880 | fi |
11691 | |
12881 | |
11692 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
12882 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
11693 | # powerpc, because MkLinux only supported shared libraries with the |
12883 | # powerpc, because MkLinux only supported shared libraries with the |
11694 | # GNU dynamic linker. Since this was broken with cross compilers, |
12884 | # GNU dynamic linker. Since this was broken with cross compilers, |
… | |
… | |
11696 | # people can always --disable-shared, the test was removed, and we |
12886 | # people can always --disable-shared, the test was removed, and we |
11697 | # assume the GNU/Linux dynamic linker is in use. |
12887 | # assume the GNU/Linux dynamic linker is in use. |
11698 | dynamic_linker='GNU/Linux ld.so' |
12888 | dynamic_linker='GNU/Linux ld.so' |
11699 | ;; |
12889 | ;; |
11700 | |
12890 | |
11701 | knetbsd*-gnu) |
12891 | netbsdelf*-gnu) |
11702 | version_type=linux |
12892 | version_type=linux |
11703 | need_lib_prefix=no |
12893 | need_lib_prefix=no |
11704 | need_version=no |
12894 | need_version=no |
11705 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
12895 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
11706 | soname_spec='${libname}${release}${shared_ext}$major' |
12896 | soname_spec='${libname}${release}${shared_ext}$major' |
11707 | shlibpath_var=LD_LIBRARY_PATH |
12897 | shlibpath_var=LD_LIBRARY_PATH |
11708 | shlibpath_overrides_runpath=no |
12898 | shlibpath_overrides_runpath=no |
11709 | hardcode_into_libs=yes |
12899 | hardcode_into_libs=yes |
11710 | dynamic_linker='GNU ld.so' |
12900 | dynamic_linker='NetBSD ld.elf_so' |
11711 | ;; |
12901 | ;; |
11712 | |
12902 | |
11713 | netbsd*) |
12903 | netbsd*) |
11714 | version_type=sunos |
12904 | version_type=sunos |
11715 | need_lib_prefix=no |
12905 | need_lib_prefix=no |
… | |
… | |
11745 | shlibpath_overrides_runpath=yes |
12935 | shlibpath_overrides_runpath=yes |
11746 | ;; |
12936 | ;; |
11747 | |
12937 | |
11748 | openbsd*) |
12938 | openbsd*) |
11749 | version_type=sunos |
12939 | version_type=sunos |
|
|
12940 | sys_lib_dlsearch_path_spec="/usr/lib" |
11750 | need_lib_prefix=no |
12941 | need_lib_prefix=no |
11751 | need_version=yes |
12942 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
|
12943 | case $host_os in |
|
|
12944 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
|
12945 | *) need_version=no ;; |
|
|
12946 | esac |
11752 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
12947 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
11753 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
12948 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
11754 | shlibpath_var=LD_LIBRARY_PATH |
12949 | shlibpath_var=LD_LIBRARY_PATH |
11755 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
12950 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
11756 | case $host_os in |
12951 | case $host_os in |
… | |
… | |
11766 | fi |
12961 | fi |
11767 | ;; |
12962 | ;; |
11768 | |
12963 | |
11769 | os2*) |
12964 | os2*) |
11770 | libname_spec='$name' |
12965 | libname_spec='$name' |
11771 | shrext=".dll" |
12966 | shrext_cmds=".dll" |
11772 | need_lib_prefix=no |
12967 | need_lib_prefix=no |
11773 | library_names_spec='$libname${shared_ext} $libname.a' |
12968 | library_names_spec='$libname${shared_ext} $libname.a' |
11774 | dynamic_linker='OS/2 ld.exe' |
12969 | dynamic_linker='OS/2 ld.exe' |
11775 | shlibpath_var=LIBPATH |
12970 | shlibpath_var=LIBPATH |
11776 | ;; |
12971 | ;; |
… | |
… | |
11782 | soname_spec='${libname}${release}${shared_ext}$major' |
12977 | soname_spec='${libname}${release}${shared_ext}$major' |
11783 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12978 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11784 | shlibpath_var=LD_LIBRARY_PATH |
12979 | shlibpath_var=LD_LIBRARY_PATH |
11785 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
12980 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
11786 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
12981 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
11787 | ;; |
|
|
11788 | |
|
|
11789 | sco3.2v5*) |
|
|
11790 | version_type=osf |
|
|
11791 | soname_spec='${libname}${release}${shared_ext}$major' |
|
|
11792 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
11793 | shlibpath_var=LD_LIBRARY_PATH |
|
|
11794 | ;; |
12982 | ;; |
11795 | |
12983 | |
11796 | solaris*) |
12984 | solaris*) |
11797 | version_type=linux |
12985 | version_type=linux |
11798 | need_lib_prefix=no |
12986 | need_lib_prefix=no |
… | |
… | |
11816 | need_lib_prefix=no |
13004 | need_lib_prefix=no |
11817 | fi |
13005 | fi |
11818 | need_version=yes |
13006 | need_version=yes |
11819 | ;; |
13007 | ;; |
11820 | |
13008 | |
11821 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
13009 | sysv4 | sysv4.3*) |
11822 | version_type=linux |
13010 | version_type=linux |
11823 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
13011 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11824 | soname_spec='${libname}${release}${shared_ext}$major' |
13012 | soname_spec='${libname}${release}${shared_ext}$major' |
11825 | shlibpath_var=LD_LIBRARY_PATH |
13013 | shlibpath_var=LD_LIBRARY_PATH |
11826 | case $host_vendor in |
13014 | case $host_vendor in |
… | |
… | |
11849 | soname_spec='$libname${shared_ext}.$major' |
13037 | soname_spec='$libname${shared_ext}.$major' |
11850 | shlibpath_var=LD_LIBRARY_PATH |
13038 | shlibpath_var=LD_LIBRARY_PATH |
11851 | fi |
13039 | fi |
11852 | ;; |
13040 | ;; |
11853 | |
13041 | |
|
|
13042 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
|
13043 | version_type=freebsd-elf |
|
|
13044 | need_lib_prefix=no |
|
|
13045 | need_version=no |
|
|
13046 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
|
13047 | soname_spec='${libname}${release}${shared_ext}$major' |
|
|
13048 | shlibpath_var=LD_LIBRARY_PATH |
|
|
13049 | hardcode_into_libs=yes |
|
|
13050 | if test "$with_gnu_ld" = yes; then |
|
|
13051 | sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
|
13052 | shlibpath_overrides_runpath=no |
|
|
13053 | else |
|
|
13054 | sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
|
13055 | shlibpath_overrides_runpath=yes |
|
|
13056 | case $host_os in |
|
|
13057 | sco3.2v5*) |
|
|
13058 | sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
|
13059 | ;; |
|
|
13060 | esac |
|
|
13061 | fi |
|
|
13062 | sys_lib_dlsearch_path_spec='/usr/lib' |
|
|
13063 | ;; |
|
|
13064 | |
11854 | uts4*) |
13065 | uts4*) |
11855 | version_type=linux |
13066 | version_type=linux |
11856 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
13067 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11857 | soname_spec='${libname}${release}${shared_ext}$major' |
13068 | soname_spec='${libname}${release}${shared_ext}$major' |
11858 | shlibpath_var=LD_LIBRARY_PATH |
13069 | shlibpath_var=LD_LIBRARY_PATH |
… | |
… | |
11860 | |
13071 | |
11861 | *) |
13072 | *) |
11862 | dynamic_linker=no |
13073 | dynamic_linker=no |
11863 | ;; |
13074 | ;; |
11864 | esac |
13075 | esac |
11865 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
13076 | { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
11866 | echo "${ECHO_T}$dynamic_linker" >&6 |
13077 | echo "${ECHO_T}$dynamic_linker" >&6; } |
11867 | test "$dynamic_linker" = no && can_build_shared=no |
13078 | test "$dynamic_linker" = no && can_build_shared=no |
11868 | |
13079 | |
|
|
13080 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
|
13081 | if test "$GCC" = yes; then |
|
|
13082 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
13083 | fi |
|
|
13084 | |
11869 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
13085 | { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
11870 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
13086 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } |
11871 | hardcode_action_CXX= |
13087 | hardcode_action_CXX= |
11872 | if test -n "$hardcode_libdir_flag_spec_CXX" || \ |
13088 | if test -n "$hardcode_libdir_flag_spec_CXX" || \ |
11873 | test -n "$runpath_var CXX" || \ |
13089 | test -n "$runpath_var_CXX" || \ |
11874 | test "X$hardcode_automatic_CXX"="Xyes" ; then |
13090 | test "X$hardcode_automatic_CXX" = "Xyes" ; then |
11875 | |
13091 | |
11876 | # We can hardcode non-existant directories. |
13092 | # We can hardcode non-existant directories. |
11877 | if test "$hardcode_direct_CXX" != no && |
13093 | if test "$hardcode_direct_CXX" != no && |
11878 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
13094 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
11879 | # have to relink, otherwise we might link with an installed library |
13095 | # have to relink, otherwise we might link with an installed library |
… | |
… | |
11889 | else |
13105 | else |
11890 | # We cannot hardcode anything, or else we can only hardcode existing |
13106 | # We cannot hardcode anything, or else we can only hardcode existing |
11891 | # directories. |
13107 | # directories. |
11892 | hardcode_action_CXX=unsupported |
13108 | hardcode_action_CXX=unsupported |
11893 | fi |
13109 | fi |
11894 | echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 |
13110 | { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 |
11895 | echo "${ECHO_T}$hardcode_action_CXX" >&6 |
13111 | echo "${ECHO_T}$hardcode_action_CXX" >&6; } |
11896 | |
13112 | |
11897 | if test "$hardcode_action_CXX" = relink; then |
13113 | if test "$hardcode_action_CXX" = relink; then |
11898 | # Fast installation is not supported |
13114 | # Fast installation is not supported |
11899 | enable_fast_install=no |
13115 | enable_fast_install=no |
11900 | elif test "$shlibpath_overrides_runpath" = yes || |
13116 | elif test "$shlibpath_overrides_runpath" = yes || |
11901 | test "$enable_shared" = no; then |
13117 | test "$enable_shared" = no; then |
11902 | # Fast installation is not necessary |
13118 | # Fast installation is not necessary |
11903 | enable_fast_install=needless |
13119 | enable_fast_install=needless |
11904 | fi |
|
|
11905 | |
|
|
11906 | striplib= |
|
|
11907 | old_striplib= |
|
|
11908 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
|
|
11909 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
|
|
11910 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
|
|
11911 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
|
11912 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
|
11913 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
11914 | echo "${ECHO_T}yes" >&6 |
|
|
11915 | else |
|
|
11916 | # FIXME - insert some real tests, host_os isn't really good enough |
|
|
11917 | case $host_os in |
|
|
11918 | darwin*) |
|
|
11919 | if test -n "$STRIP" ; then |
|
|
11920 | striplib="$STRIP -x" |
|
|
11921 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
11922 | echo "${ECHO_T}yes" >&6 |
|
|
11923 | else |
|
|
11924 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
11925 | echo "${ECHO_T}no" >&6 |
|
|
11926 | fi |
|
|
11927 | ;; |
|
|
11928 | *) |
|
|
11929 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
11930 | echo "${ECHO_T}no" >&6 |
|
|
11931 | ;; |
|
|
11932 | esac |
|
|
11933 | fi |
|
|
11934 | |
|
|
11935 | if test "x$enable_dlopen" != xyes; then |
|
|
11936 | enable_dlopen=unknown |
|
|
11937 | enable_dlopen_self=unknown |
|
|
11938 | enable_dlopen_self_static=unknown |
|
|
11939 | else |
|
|
11940 | lt_cv_dlopen=no |
|
|
11941 | lt_cv_dlopen_libs= |
|
|
11942 | |
|
|
11943 | case $host_os in |
|
|
11944 | beos*) |
|
|
11945 | lt_cv_dlopen="load_add_on" |
|
|
11946 | lt_cv_dlopen_libs= |
|
|
11947 | lt_cv_dlopen_self=yes |
|
|
11948 | ;; |
|
|
11949 | |
|
|
11950 | mingw* | pw32*) |
|
|
11951 | lt_cv_dlopen="LoadLibrary" |
|
|
11952 | lt_cv_dlopen_libs= |
|
|
11953 | ;; |
|
|
11954 | |
|
|
11955 | cygwin*) |
|
|
11956 | lt_cv_dlopen="dlopen" |
|
|
11957 | lt_cv_dlopen_libs= |
|
|
11958 | ;; |
|
|
11959 | |
|
|
11960 | darwin*) |
|
|
11961 | # if libdl is installed we need to link against it |
|
|
11962 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
|
11963 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
|
|
11964 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
|
|
11965 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11966 | else |
|
|
11967 | ac_check_lib_save_LIBS=$LIBS |
|
|
11968 | LIBS="-ldl $LIBS" |
|
|
11969 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11970 | /* confdefs.h. */ |
|
|
11971 | _ACEOF |
|
|
11972 | cat confdefs.h >>conftest.$ac_ext |
|
|
11973 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11974 | /* end confdefs.h. */ |
|
|
11975 | |
|
|
11976 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
11977 | #ifdef __cplusplus |
|
|
11978 | extern "C" |
|
|
11979 | #endif |
|
|
11980 | /* We use char because int might match the return type of a gcc2 |
|
|
11981 | builtin and then its argument prototype would still apply. */ |
|
|
11982 | char dlopen (); |
|
|
11983 | int |
|
|
11984 | main () |
|
|
11985 | { |
|
|
11986 | dlopen (); |
|
|
11987 | ; |
|
|
11988 | return 0; |
|
|
11989 | } |
|
|
11990 | _ACEOF |
|
|
11991 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
11992 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11993 | (eval $ac_link) 2>conftest.er1 |
|
|
11994 | ac_status=$? |
|
|
11995 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11996 | rm -f conftest.er1 |
|
|
11997 | cat conftest.err >&5 |
|
|
11998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11999 | (exit $ac_status); } && |
|
|
12000 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12001 | || test ! -s conftest.err' |
|
|
12002 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12003 | (eval $ac_try) 2>&5 |
|
|
12004 | ac_status=$? |
|
|
12005 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12006 | (exit $ac_status); }; } && |
|
|
12007 | { ac_try='test -s conftest$ac_exeext' |
|
|
12008 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12009 | (eval $ac_try) 2>&5 |
|
|
12010 | ac_status=$? |
|
|
12011 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12012 | (exit $ac_status); }; }; then |
|
|
12013 | ac_cv_lib_dl_dlopen=yes |
|
|
12014 | else |
|
|
12015 | echo "$as_me: failed program was:" >&5 |
|
|
12016 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12017 | |
|
|
12018 | ac_cv_lib_dl_dlopen=no |
|
|
12019 | fi |
|
|
12020 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12021 | conftest$ac_exeext conftest.$ac_ext |
|
|
12022 | LIBS=$ac_check_lib_save_LIBS |
|
|
12023 | fi |
|
|
12024 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
|
|
12025 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
|
|
12026 | if test $ac_cv_lib_dl_dlopen = yes; then |
|
|
12027 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
|
12028 | else |
|
|
12029 | |
|
|
12030 | lt_cv_dlopen="dyld" |
|
|
12031 | lt_cv_dlopen_libs= |
|
|
12032 | lt_cv_dlopen_self=yes |
|
|
12033 | |
|
|
12034 | fi |
|
|
12035 | |
|
|
12036 | ;; |
|
|
12037 | |
|
|
12038 | *) |
|
|
12039 | echo "$as_me:$LINENO: checking for shl_load" >&5 |
|
|
12040 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 |
|
|
12041 | if test "${ac_cv_func_shl_load+set}" = set; then |
|
|
12042 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12043 | else |
|
|
12044 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12045 | /* confdefs.h. */ |
|
|
12046 | _ACEOF |
|
|
12047 | cat confdefs.h >>conftest.$ac_ext |
|
|
12048 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12049 | /* end confdefs.h. */ |
|
|
12050 | /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
|
|
12051 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
12052 | #define shl_load innocuous_shl_load |
|
|
12053 | |
|
|
12054 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
12055 | which can conflict with char shl_load (); below. |
|
|
12056 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
12057 | <limits.h> exists even on freestanding compilers. */ |
|
|
12058 | |
|
|
12059 | #ifdef __STDC__ |
|
|
12060 | # include <limits.h> |
|
|
12061 | #else |
|
|
12062 | # include <assert.h> |
|
|
12063 | #endif |
|
|
12064 | |
|
|
12065 | #undef shl_load |
|
|
12066 | |
|
|
12067 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12068 | #ifdef __cplusplus |
|
|
12069 | extern "C" |
|
|
12070 | { |
|
|
12071 | #endif |
|
|
12072 | /* We use char because int might match the return type of a gcc2 |
|
|
12073 | builtin and then its argument prototype would still apply. */ |
|
|
12074 | char shl_load (); |
|
|
12075 | /* The GNU C library defines this for functions which it implements |
|
|
12076 | to always fail with ENOSYS. Some functions are actually named |
|
|
12077 | something starting with __ and the normal name is an alias. */ |
|
|
12078 | #if defined (__stub_shl_load) || defined (__stub___shl_load) |
|
|
12079 | choke me |
|
|
12080 | #else |
|
|
12081 | char (*f) () = shl_load; |
|
|
12082 | #endif |
|
|
12083 | #ifdef __cplusplus |
|
|
12084 | } |
|
|
12085 | #endif |
|
|
12086 | |
|
|
12087 | int |
|
|
12088 | main () |
|
|
12089 | { |
|
|
12090 | return f != shl_load; |
|
|
12091 | ; |
|
|
12092 | return 0; |
|
|
12093 | } |
|
|
12094 | _ACEOF |
|
|
12095 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12096 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12097 | (eval $ac_link) 2>conftest.er1 |
|
|
12098 | ac_status=$? |
|
|
12099 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12100 | rm -f conftest.er1 |
|
|
12101 | cat conftest.err >&5 |
|
|
12102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12103 | (exit $ac_status); } && |
|
|
12104 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12105 | || test ! -s conftest.err' |
|
|
12106 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12107 | (eval $ac_try) 2>&5 |
|
|
12108 | ac_status=$? |
|
|
12109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12110 | (exit $ac_status); }; } && |
|
|
12111 | { ac_try='test -s conftest$ac_exeext' |
|
|
12112 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12113 | (eval $ac_try) 2>&5 |
|
|
12114 | ac_status=$? |
|
|
12115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12116 | (exit $ac_status); }; }; then |
|
|
12117 | ac_cv_func_shl_load=yes |
|
|
12118 | else |
|
|
12119 | echo "$as_me: failed program was:" >&5 |
|
|
12120 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12121 | |
|
|
12122 | ac_cv_func_shl_load=no |
|
|
12123 | fi |
|
|
12124 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12125 | conftest$ac_exeext conftest.$ac_ext |
|
|
12126 | fi |
|
|
12127 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
|
|
12128 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
|
|
12129 | if test $ac_cv_func_shl_load = yes; then |
|
|
12130 | lt_cv_dlopen="shl_load" |
|
|
12131 | else |
|
|
12132 | echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
|
|
12133 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 |
|
|
12134 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
|
|
12135 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12136 | else |
|
|
12137 | ac_check_lib_save_LIBS=$LIBS |
|
|
12138 | LIBS="-ldld $LIBS" |
|
|
12139 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12140 | /* confdefs.h. */ |
|
|
12141 | _ACEOF |
|
|
12142 | cat confdefs.h >>conftest.$ac_ext |
|
|
12143 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12144 | /* end confdefs.h. */ |
|
|
12145 | |
|
|
12146 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12147 | #ifdef __cplusplus |
|
|
12148 | extern "C" |
|
|
12149 | #endif |
|
|
12150 | /* We use char because int might match the return type of a gcc2 |
|
|
12151 | builtin and then its argument prototype would still apply. */ |
|
|
12152 | char shl_load (); |
|
|
12153 | int |
|
|
12154 | main () |
|
|
12155 | { |
|
|
12156 | shl_load (); |
|
|
12157 | ; |
|
|
12158 | return 0; |
|
|
12159 | } |
|
|
12160 | _ACEOF |
|
|
12161 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12162 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12163 | (eval $ac_link) 2>conftest.er1 |
|
|
12164 | ac_status=$? |
|
|
12165 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12166 | rm -f conftest.er1 |
|
|
12167 | cat conftest.err >&5 |
|
|
12168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12169 | (exit $ac_status); } && |
|
|
12170 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12171 | || test ! -s conftest.err' |
|
|
12172 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12173 | (eval $ac_try) 2>&5 |
|
|
12174 | ac_status=$? |
|
|
12175 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12176 | (exit $ac_status); }; } && |
|
|
12177 | { ac_try='test -s conftest$ac_exeext' |
|
|
12178 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12179 | (eval $ac_try) 2>&5 |
|
|
12180 | ac_status=$? |
|
|
12181 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12182 | (exit $ac_status); }; }; then |
|
|
12183 | ac_cv_lib_dld_shl_load=yes |
|
|
12184 | else |
|
|
12185 | echo "$as_me: failed program was:" >&5 |
|
|
12186 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12187 | |
|
|
12188 | ac_cv_lib_dld_shl_load=no |
|
|
12189 | fi |
|
|
12190 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12191 | conftest$ac_exeext conftest.$ac_ext |
|
|
12192 | LIBS=$ac_check_lib_save_LIBS |
|
|
12193 | fi |
|
|
12194 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
|
|
12195 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 |
|
|
12196 | if test $ac_cv_lib_dld_shl_load = yes; then |
|
|
12197 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
|
|
12198 | else |
|
|
12199 | echo "$as_me:$LINENO: checking for dlopen" >&5 |
|
|
12200 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
|
|
12201 | if test "${ac_cv_func_dlopen+set}" = set; then |
|
|
12202 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12203 | else |
|
|
12204 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12205 | /* confdefs.h. */ |
|
|
12206 | _ACEOF |
|
|
12207 | cat confdefs.h >>conftest.$ac_ext |
|
|
12208 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12209 | /* end confdefs.h. */ |
|
|
12210 | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
|
|
12211 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
12212 | #define dlopen innocuous_dlopen |
|
|
12213 | |
|
|
12214 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
12215 | which can conflict with char dlopen (); below. |
|
|
12216 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
12217 | <limits.h> exists even on freestanding compilers. */ |
|
|
12218 | |
|
|
12219 | #ifdef __STDC__ |
|
|
12220 | # include <limits.h> |
|
|
12221 | #else |
|
|
12222 | # include <assert.h> |
|
|
12223 | #endif |
|
|
12224 | |
|
|
12225 | #undef dlopen |
|
|
12226 | |
|
|
12227 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12228 | #ifdef __cplusplus |
|
|
12229 | extern "C" |
|
|
12230 | { |
|
|
12231 | #endif |
|
|
12232 | /* We use char because int might match the return type of a gcc2 |
|
|
12233 | builtin and then its argument prototype would still apply. */ |
|
|
12234 | char dlopen (); |
|
|
12235 | /* The GNU C library defines this for functions which it implements |
|
|
12236 | to always fail with ENOSYS. Some functions are actually named |
|
|
12237 | something starting with __ and the normal name is an alias. */ |
|
|
12238 | #if defined (__stub_dlopen) || defined (__stub___dlopen) |
|
|
12239 | choke me |
|
|
12240 | #else |
|
|
12241 | char (*f) () = dlopen; |
|
|
12242 | #endif |
|
|
12243 | #ifdef __cplusplus |
|
|
12244 | } |
|
|
12245 | #endif |
|
|
12246 | |
|
|
12247 | int |
|
|
12248 | main () |
|
|
12249 | { |
|
|
12250 | return f != dlopen; |
|
|
12251 | ; |
|
|
12252 | return 0; |
|
|
12253 | } |
|
|
12254 | _ACEOF |
|
|
12255 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12256 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12257 | (eval $ac_link) 2>conftest.er1 |
|
|
12258 | ac_status=$? |
|
|
12259 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12260 | rm -f conftest.er1 |
|
|
12261 | cat conftest.err >&5 |
|
|
12262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12263 | (exit $ac_status); } && |
|
|
12264 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12265 | || test ! -s conftest.err' |
|
|
12266 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12267 | (eval $ac_try) 2>&5 |
|
|
12268 | ac_status=$? |
|
|
12269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12270 | (exit $ac_status); }; } && |
|
|
12271 | { ac_try='test -s conftest$ac_exeext' |
|
|
12272 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12273 | (eval $ac_try) 2>&5 |
|
|
12274 | ac_status=$? |
|
|
12275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12276 | (exit $ac_status); }; }; then |
|
|
12277 | ac_cv_func_dlopen=yes |
|
|
12278 | else |
|
|
12279 | echo "$as_me: failed program was:" >&5 |
|
|
12280 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12281 | |
|
|
12282 | ac_cv_func_dlopen=no |
|
|
12283 | fi |
|
|
12284 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12285 | conftest$ac_exeext conftest.$ac_ext |
|
|
12286 | fi |
|
|
12287 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
|
|
12288 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
|
|
12289 | if test $ac_cv_func_dlopen = yes; then |
|
|
12290 | lt_cv_dlopen="dlopen" |
|
|
12291 | else |
|
|
12292 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
|
12293 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
|
|
12294 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
|
|
12295 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12296 | else |
|
|
12297 | ac_check_lib_save_LIBS=$LIBS |
|
|
12298 | LIBS="-ldl $LIBS" |
|
|
12299 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12300 | /* confdefs.h. */ |
|
|
12301 | _ACEOF |
|
|
12302 | cat confdefs.h >>conftest.$ac_ext |
|
|
12303 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12304 | /* end confdefs.h. */ |
|
|
12305 | |
|
|
12306 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12307 | #ifdef __cplusplus |
|
|
12308 | extern "C" |
|
|
12309 | #endif |
|
|
12310 | /* We use char because int might match the return type of a gcc2 |
|
|
12311 | builtin and then its argument prototype would still apply. */ |
|
|
12312 | char dlopen (); |
|
|
12313 | int |
|
|
12314 | main () |
|
|
12315 | { |
|
|
12316 | dlopen (); |
|
|
12317 | ; |
|
|
12318 | return 0; |
|
|
12319 | } |
|
|
12320 | _ACEOF |
|
|
12321 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12322 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12323 | (eval $ac_link) 2>conftest.er1 |
|
|
12324 | ac_status=$? |
|
|
12325 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12326 | rm -f conftest.er1 |
|
|
12327 | cat conftest.err >&5 |
|
|
12328 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12329 | (exit $ac_status); } && |
|
|
12330 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12331 | || test ! -s conftest.err' |
|
|
12332 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12333 | (eval $ac_try) 2>&5 |
|
|
12334 | ac_status=$? |
|
|
12335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12336 | (exit $ac_status); }; } && |
|
|
12337 | { ac_try='test -s conftest$ac_exeext' |
|
|
12338 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12339 | (eval $ac_try) 2>&5 |
|
|
12340 | ac_status=$? |
|
|
12341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12342 | (exit $ac_status); }; }; then |
|
|
12343 | ac_cv_lib_dl_dlopen=yes |
|
|
12344 | else |
|
|
12345 | echo "$as_me: failed program was:" >&5 |
|
|
12346 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12347 | |
|
|
12348 | ac_cv_lib_dl_dlopen=no |
|
|
12349 | fi |
|
|
12350 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12351 | conftest$ac_exeext conftest.$ac_ext |
|
|
12352 | LIBS=$ac_check_lib_save_LIBS |
|
|
12353 | fi |
|
|
12354 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
|
|
12355 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
|
|
12356 | if test $ac_cv_lib_dl_dlopen = yes; then |
|
|
12357 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
|
12358 | else |
|
|
12359 | echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
|
|
12360 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 |
|
|
12361 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
|
|
12362 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12363 | else |
|
|
12364 | ac_check_lib_save_LIBS=$LIBS |
|
|
12365 | LIBS="-lsvld $LIBS" |
|
|
12366 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12367 | /* confdefs.h. */ |
|
|
12368 | _ACEOF |
|
|
12369 | cat confdefs.h >>conftest.$ac_ext |
|
|
12370 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12371 | /* end confdefs.h. */ |
|
|
12372 | |
|
|
12373 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12374 | #ifdef __cplusplus |
|
|
12375 | extern "C" |
|
|
12376 | #endif |
|
|
12377 | /* We use char because int might match the return type of a gcc2 |
|
|
12378 | builtin and then its argument prototype would still apply. */ |
|
|
12379 | char dlopen (); |
|
|
12380 | int |
|
|
12381 | main () |
|
|
12382 | { |
|
|
12383 | dlopen (); |
|
|
12384 | ; |
|
|
12385 | return 0; |
|
|
12386 | } |
|
|
12387 | _ACEOF |
|
|
12388 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12389 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12390 | (eval $ac_link) 2>conftest.er1 |
|
|
12391 | ac_status=$? |
|
|
12392 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12393 | rm -f conftest.er1 |
|
|
12394 | cat conftest.err >&5 |
|
|
12395 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12396 | (exit $ac_status); } && |
|
|
12397 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12398 | || test ! -s conftest.err' |
|
|
12399 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12400 | (eval $ac_try) 2>&5 |
|
|
12401 | ac_status=$? |
|
|
12402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12403 | (exit $ac_status); }; } && |
|
|
12404 | { ac_try='test -s conftest$ac_exeext' |
|
|
12405 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12406 | (eval $ac_try) 2>&5 |
|
|
12407 | ac_status=$? |
|
|
12408 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12409 | (exit $ac_status); }; }; then |
|
|
12410 | ac_cv_lib_svld_dlopen=yes |
|
|
12411 | else |
|
|
12412 | echo "$as_me: failed program was:" >&5 |
|
|
12413 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12414 | |
|
|
12415 | ac_cv_lib_svld_dlopen=no |
|
|
12416 | fi |
|
|
12417 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12418 | conftest$ac_exeext conftest.$ac_ext |
|
|
12419 | LIBS=$ac_check_lib_save_LIBS |
|
|
12420 | fi |
|
|
12421 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
|
|
12422 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 |
|
|
12423 | if test $ac_cv_lib_svld_dlopen = yes; then |
|
|
12424 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
|
|
12425 | else |
|
|
12426 | echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
|
|
12427 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 |
|
|
12428 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
|
|
12429 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12430 | else |
|
|
12431 | ac_check_lib_save_LIBS=$LIBS |
|
|
12432 | LIBS="-ldld $LIBS" |
|
|
12433 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12434 | /* confdefs.h. */ |
|
|
12435 | _ACEOF |
|
|
12436 | cat confdefs.h >>conftest.$ac_ext |
|
|
12437 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12438 | /* end confdefs.h. */ |
|
|
12439 | |
|
|
12440 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12441 | #ifdef __cplusplus |
|
|
12442 | extern "C" |
|
|
12443 | #endif |
|
|
12444 | /* We use char because int might match the return type of a gcc2 |
|
|
12445 | builtin and then its argument prototype would still apply. */ |
|
|
12446 | char dld_link (); |
|
|
12447 | int |
|
|
12448 | main () |
|
|
12449 | { |
|
|
12450 | dld_link (); |
|
|
12451 | ; |
|
|
12452 | return 0; |
|
|
12453 | } |
|
|
12454 | _ACEOF |
|
|
12455 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12456 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12457 | (eval $ac_link) 2>conftest.er1 |
|
|
12458 | ac_status=$? |
|
|
12459 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12460 | rm -f conftest.er1 |
|
|
12461 | cat conftest.err >&5 |
|
|
12462 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12463 | (exit $ac_status); } && |
|
|
12464 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12465 | || test ! -s conftest.err' |
|
|
12466 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12467 | (eval $ac_try) 2>&5 |
|
|
12468 | ac_status=$? |
|
|
12469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12470 | (exit $ac_status); }; } && |
|
|
12471 | { ac_try='test -s conftest$ac_exeext' |
|
|
12472 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12473 | (eval $ac_try) 2>&5 |
|
|
12474 | ac_status=$? |
|
|
12475 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12476 | (exit $ac_status); }; }; then |
|
|
12477 | ac_cv_lib_dld_dld_link=yes |
|
|
12478 | else |
|
|
12479 | echo "$as_me: failed program was:" >&5 |
|
|
12480 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12481 | |
|
|
12482 | ac_cv_lib_dld_dld_link=no |
|
|
12483 | fi |
|
|
12484 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12485 | conftest$ac_exeext conftest.$ac_ext |
|
|
12486 | LIBS=$ac_check_lib_save_LIBS |
|
|
12487 | fi |
|
|
12488 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
|
|
12489 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 |
|
|
12490 | if test $ac_cv_lib_dld_dld_link = yes; then |
|
|
12491 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
|
|
12492 | fi |
|
|
12493 | |
|
|
12494 | |
|
|
12495 | fi |
|
|
12496 | |
|
|
12497 | |
|
|
12498 | fi |
|
|
12499 | |
|
|
12500 | |
|
|
12501 | fi |
|
|
12502 | |
|
|
12503 | |
|
|
12504 | fi |
|
|
12505 | |
|
|
12506 | |
|
|
12507 | fi |
|
|
12508 | |
|
|
12509 | ;; |
|
|
12510 | esac |
|
|
12511 | |
|
|
12512 | if test "x$lt_cv_dlopen" != xno; then |
|
|
12513 | enable_dlopen=yes |
|
|
12514 | else |
|
|
12515 | enable_dlopen=no |
|
|
12516 | fi |
|
|
12517 | |
|
|
12518 | case $lt_cv_dlopen in |
|
|
12519 | dlopen) |
|
|
12520 | save_CPPFLAGS="$CPPFLAGS" |
|
|
12521 | test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
|
|
12522 | |
|
|
12523 | save_LDFLAGS="$LDFLAGS" |
|
|
12524 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
|
|
12525 | |
|
|
12526 | save_LIBS="$LIBS" |
|
|
12527 | LIBS="$lt_cv_dlopen_libs $LIBS" |
|
|
12528 | |
|
|
12529 | echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
|
|
12530 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 |
|
|
12531 | if test "${lt_cv_dlopen_self+set}" = set; then |
|
|
12532 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12533 | else |
|
|
12534 | if test "$cross_compiling" = yes; then : |
|
|
12535 | lt_cv_dlopen_self=cross |
|
|
12536 | else |
|
|
12537 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
|
12538 | lt_status=$lt_dlunknown |
|
|
12539 | cat > conftest.$ac_ext <<EOF |
|
|
12540 | #line 12540 "configure" |
|
|
12541 | #include "confdefs.h" |
|
|
12542 | |
|
|
12543 | #if HAVE_DLFCN_H |
|
|
12544 | #include <dlfcn.h> |
|
|
12545 | #endif |
|
|
12546 | |
|
|
12547 | #include <stdio.h> |
|
|
12548 | |
|
|
12549 | #ifdef RTLD_GLOBAL |
|
|
12550 | # define LT_DLGLOBAL RTLD_GLOBAL |
|
|
12551 | #else |
|
|
12552 | # ifdef DL_GLOBAL |
|
|
12553 | # define LT_DLGLOBAL DL_GLOBAL |
|
|
12554 | # else |
|
|
12555 | # define LT_DLGLOBAL 0 |
|
|
12556 | # endif |
|
|
12557 | #endif |
|
|
12558 | |
|
|
12559 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
|
12560 | find out it does not work in some platform. */ |
|
|
12561 | #ifndef LT_DLLAZY_OR_NOW |
|
|
12562 | # ifdef RTLD_LAZY |
|
|
12563 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
|
12564 | # else |
|
|
12565 | # ifdef DL_LAZY |
|
|
12566 | # define LT_DLLAZY_OR_NOW DL_LAZY |
|
|
12567 | # else |
|
|
12568 | # ifdef RTLD_NOW |
|
|
12569 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
|
|
12570 | # else |
|
|
12571 | # ifdef DL_NOW |
|
|
12572 | # define LT_DLLAZY_OR_NOW DL_NOW |
|
|
12573 | # else |
|
|
12574 | # define LT_DLLAZY_OR_NOW 0 |
|
|
12575 | # endif |
|
|
12576 | # endif |
|
|
12577 | # endif |
|
|
12578 | # endif |
|
|
12579 | #endif |
|
|
12580 | |
|
|
12581 | #ifdef __cplusplus |
|
|
12582 | extern "C" void exit (int); |
|
|
12583 | #endif |
|
|
12584 | |
|
|
12585 | void fnord() { int i=42;} |
|
|
12586 | int main () |
|
|
12587 | { |
|
|
12588 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
|
12589 | int status = $lt_dlunknown; |
|
|
12590 | |
|
|
12591 | if (self) |
|
|
12592 | { |
|
|
12593 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
|
12594 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
|
12595 | /* dlclose (self); */ |
|
|
12596 | } |
|
|
12597 | |
|
|
12598 | exit (status); |
|
|
12599 | } |
|
|
12600 | EOF |
|
|
12601 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12602 | (eval $ac_link) 2>&5 |
|
|
12603 | ac_status=$? |
|
|
12604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12605 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
|
12606 | (./conftest; exit; ) 2>/dev/null |
|
|
12607 | lt_status=$? |
|
|
12608 | case x$lt_status in |
|
|
12609 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
|
12610 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
|
12611 | x$lt_unknown|x*) lt_cv_dlopen_self=no ;; |
|
|
12612 | esac |
|
|
12613 | else : |
|
|
12614 | # compilation failed |
|
|
12615 | lt_cv_dlopen_self=no |
|
|
12616 | fi |
|
|
12617 | fi |
|
|
12618 | rm -fr conftest* |
|
|
12619 | |
|
|
12620 | |
|
|
12621 | fi |
|
|
12622 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
|
|
12623 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
|
|
12624 | |
|
|
12625 | if test "x$lt_cv_dlopen_self" = xyes; then |
|
|
12626 | LDFLAGS="$LDFLAGS $link_static_flag" |
|
|
12627 | echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
|
|
12628 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 |
|
|
12629 | if test "${lt_cv_dlopen_self_static+set}" = set; then |
|
|
12630 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12631 | else |
|
|
12632 | if test "$cross_compiling" = yes; then : |
|
|
12633 | lt_cv_dlopen_self_static=cross |
|
|
12634 | else |
|
|
12635 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
|
12636 | lt_status=$lt_dlunknown |
|
|
12637 | cat > conftest.$ac_ext <<EOF |
|
|
12638 | #line 12638 "configure" |
|
|
12639 | #include "confdefs.h" |
|
|
12640 | |
|
|
12641 | #if HAVE_DLFCN_H |
|
|
12642 | #include <dlfcn.h> |
|
|
12643 | #endif |
|
|
12644 | |
|
|
12645 | #include <stdio.h> |
|
|
12646 | |
|
|
12647 | #ifdef RTLD_GLOBAL |
|
|
12648 | # define LT_DLGLOBAL RTLD_GLOBAL |
|
|
12649 | #else |
|
|
12650 | # ifdef DL_GLOBAL |
|
|
12651 | # define LT_DLGLOBAL DL_GLOBAL |
|
|
12652 | # else |
|
|
12653 | # define LT_DLGLOBAL 0 |
|
|
12654 | # endif |
|
|
12655 | #endif |
|
|
12656 | |
|
|
12657 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
|
12658 | find out it does not work in some platform. */ |
|
|
12659 | #ifndef LT_DLLAZY_OR_NOW |
|
|
12660 | # ifdef RTLD_LAZY |
|
|
12661 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
|
12662 | # else |
|
|
12663 | # ifdef DL_LAZY |
|
|
12664 | # define LT_DLLAZY_OR_NOW DL_LAZY |
|
|
12665 | # else |
|
|
12666 | # ifdef RTLD_NOW |
|
|
12667 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
|
|
12668 | # else |
|
|
12669 | # ifdef DL_NOW |
|
|
12670 | # define LT_DLLAZY_OR_NOW DL_NOW |
|
|
12671 | # else |
|
|
12672 | # define LT_DLLAZY_OR_NOW 0 |
|
|
12673 | # endif |
|
|
12674 | # endif |
|
|
12675 | # endif |
|
|
12676 | # endif |
|
|
12677 | #endif |
|
|
12678 | |
|
|
12679 | #ifdef __cplusplus |
|
|
12680 | extern "C" void exit (int); |
|
|
12681 | #endif |
|
|
12682 | |
|
|
12683 | void fnord() { int i=42;} |
|
|
12684 | int main () |
|
|
12685 | { |
|
|
12686 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
|
12687 | int status = $lt_dlunknown; |
|
|
12688 | |
|
|
12689 | if (self) |
|
|
12690 | { |
|
|
12691 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
|
12692 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
|
12693 | /* dlclose (self); */ |
|
|
12694 | } |
|
|
12695 | |
|
|
12696 | exit (status); |
|
|
12697 | } |
|
|
12698 | EOF |
|
|
12699 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12700 | (eval $ac_link) 2>&5 |
|
|
12701 | ac_status=$? |
|
|
12702 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12703 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
|
12704 | (./conftest; exit; ) 2>/dev/null |
|
|
12705 | lt_status=$? |
|
|
12706 | case x$lt_status in |
|
|
12707 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
|
12708 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
|
12709 | x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; |
|
|
12710 | esac |
|
|
12711 | else : |
|
|
12712 | # compilation failed |
|
|
12713 | lt_cv_dlopen_self_static=no |
|
|
12714 | fi |
|
|
12715 | fi |
|
|
12716 | rm -fr conftest* |
|
|
12717 | |
|
|
12718 | |
|
|
12719 | fi |
|
|
12720 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
|
|
12721 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 |
|
|
12722 | fi |
|
|
12723 | |
|
|
12724 | CPPFLAGS="$save_CPPFLAGS" |
|
|
12725 | LDFLAGS="$save_LDFLAGS" |
|
|
12726 | LIBS="$save_LIBS" |
|
|
12727 | ;; |
|
|
12728 | esac |
|
|
12729 | |
|
|
12730 | case $lt_cv_dlopen_self in |
|
|
12731 | yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
|
|
12732 | *) enable_dlopen_self=unknown ;; |
|
|
12733 | esac |
|
|
12734 | |
|
|
12735 | case $lt_cv_dlopen_self_static in |
|
|
12736 | yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
|
|
12737 | *) enable_dlopen_self_static=unknown ;; |
|
|
12738 | esac |
|
|
12739 | fi |
13120 | fi |
12740 | |
13121 | |
12741 | |
13122 | |
12742 | # The else clause should only fire when bootstrapping the |
13123 | # The else clause should only fire when bootstrapping the |
12743 | # libtool distribution, otherwise you forgot to ship ltmain.sh |
13124 | # libtool distribution, otherwise you forgot to ship ltmain.sh |
… | |
… | |
12750 | setopt NO_GLOB_SUBST |
13131 | setopt NO_GLOB_SUBST |
12751 | fi |
13132 | fi |
12752 | # Now quote all the things that may contain metacharacters while being |
13133 | # Now quote all the things that may contain metacharacters while being |
12753 | # careful not to overquote the AC_SUBSTed values. We take copies of the |
13134 | # careful not to overquote the AC_SUBSTed values. We take copies of the |
12754 | # variables and quote the copies for generation of the libtool script. |
13135 | # variables and quote the copies for generation of the libtool script. |
12755 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
13136 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
12756 | SED SHELL STRIP \ |
13137 | SED SHELL STRIP \ |
12757 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
13138 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
12758 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
13139 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
12759 | deplibs_check_method reload_flag reload_cmds need_locks \ |
13140 | deplibs_check_method reload_flag reload_cmds need_locks \ |
12760 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
13141 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
… | |
… | |
12851 | fast_install=$enable_fast_install |
13232 | fast_install=$enable_fast_install |
12852 | |
13233 | |
12853 | # The host system. |
13234 | # The host system. |
12854 | host_alias=$host_alias |
13235 | host_alias=$host_alias |
12855 | host=$host |
13236 | host=$host |
|
|
13237 | host_os=$host_os |
|
|
13238 | |
|
|
13239 | # The build system. |
|
|
13240 | build_alias=$build_alias |
|
|
13241 | build=$build |
|
|
13242 | build_os=$build_os |
12856 | |
13243 | |
12857 | # An echo program that does not interpret backslashes. |
13244 | # An echo program that does not interpret backslashes. |
12858 | echo=$lt_echo |
13245 | echo=$lt_echo |
12859 | |
13246 | |
12860 | # The archiver. |
13247 | # The archiver. |
… | |
… | |
12862 | AR_FLAGS=$lt_AR_FLAGS |
13249 | AR_FLAGS=$lt_AR_FLAGS |
12863 | |
13250 | |
12864 | # A C compiler. |
13251 | # A C compiler. |
12865 | LTCC=$lt_LTCC |
13252 | LTCC=$lt_LTCC |
12866 | |
13253 | |
|
|
13254 | # LTCC compiler flags. |
|
|
13255 | LTCFLAGS=$lt_LTCFLAGS |
|
|
13256 | |
12867 | # A language-specific compiler. |
13257 | # A language-specific compiler. |
12868 | CC=$lt_compiler_CXX |
13258 | CC=$lt_compiler_CXX |
12869 | |
13259 | |
12870 | # Is the compiler the GNU C compiler? |
13260 | # Is the compiler the GNU C compiler? |
12871 | with_gcc=$GCC_CXX |
13261 | with_gcc=$GCC_CXX |
… | |
… | |
12912 | |
13302 | |
12913 | # Old archive suffix (normally "a"). |
13303 | # Old archive suffix (normally "a"). |
12914 | libext="$libext" |
13304 | libext="$libext" |
12915 | |
13305 | |
12916 | # Shared library suffix (normally ".so"). |
13306 | # Shared library suffix (normally ".so"). |
12917 | shrext='$shrext' |
13307 | shrext_cmds='$shrext_cmds' |
12918 | |
13308 | |
12919 | # Executable file suffix (normally ""). |
13309 | # Executable file suffix (normally ""). |
12920 | exeext="$exeext" |
13310 | exeext="$exeext" |
12921 | |
13311 | |
12922 | # Additional compiler flags for building library objects. |
13312 | # Additional compiler flags for building library objects. |
… | |
… | |
12927 | max_cmd_len=$lt_cv_sys_max_cmd_len |
13317 | max_cmd_len=$lt_cv_sys_max_cmd_len |
12928 | |
13318 | |
12929 | # Does compiler simultaneously support -c and -o options? |
13319 | # Does compiler simultaneously support -c and -o options? |
12930 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
13320 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
12931 | |
13321 | |
12932 | # Must we lock files when doing compilation ? |
13322 | # Must we lock files when doing compilation? |
12933 | need_locks=$lt_need_locks |
13323 | need_locks=$lt_need_locks |
12934 | |
13324 | |
12935 | # Do we need the lib prefix for modules? |
13325 | # Do we need the lib prefix for modules? |
12936 | need_lib_prefix=$need_lib_prefix |
13326 | need_lib_prefix=$need_lib_prefix |
12937 | |
13327 | |
… | |
… | |
13204 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
13594 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
13205 | |
13595 | |
13206 | # If no C compiler was specified, use CC. |
13596 | # If no C compiler was specified, use CC. |
13207 | LTCC=${LTCC-"$CC"} |
13597 | LTCC=${LTCC-"$CC"} |
13208 | |
13598 | |
|
|
13599 | # If no C compiler flags were specified, use CFLAGS. |
|
|
13600 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
13601 | |
13209 | # Allow CC to be a program name with arguments. |
13602 | # Allow CC to be a program name with arguments. |
13210 | compiler=$CC |
13603 | compiler=$CC |
|
|
13604 | |
|
|
13605 | |
|
|
13606 | # save warnings/boilerplate of simple test code |
|
|
13607 | ac_outfile=conftest.$ac_objext |
|
|
13608 | printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
|
13609 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
|
13610 | _lt_compiler_boilerplate=`cat conftest.err` |
|
|
13611 | $rm conftest* |
|
|
13612 | |
|
|
13613 | ac_outfile=conftest.$ac_objext |
|
|
13614 | printf "$lt_simple_link_test_code" >conftest.$ac_ext |
|
|
13615 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
|
13616 | _lt_linker_boilerplate=`cat conftest.err` |
|
|
13617 | $rm conftest* |
13211 | |
13618 | |
13212 | |
13619 | |
13213 | # Allow CC to be a program name with arguments. |
13620 | # Allow CC to be a program name with arguments. |
13214 | lt_save_CC="$CC" |
13621 | lt_save_CC="$CC" |
13215 | CC=${F77-"f77"} |
13622 | CC=${F77-"f77"} |
13216 | compiler=$CC |
13623 | compiler=$CC |
13217 | compiler_F77=$CC |
13624 | compiler_F77=$CC |
13218 | cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` |
13625 | for cc_temp in $compiler""; do |
|
|
13626 | case $cc_temp in |
|
|
13627 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
13628 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
13629 | \-*) ;; |
|
|
13630 | *) break;; |
|
|
13631 | esac |
|
|
13632 | done |
|
|
13633 | cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
13219 | |
13634 | |
|
|
13635 | |
13220 | echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
13636 | { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
13221 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
13637 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } |
13222 | echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
13638 | { echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
13223 | echo "${ECHO_T}$can_build_shared" >&6 |
13639 | echo "${ECHO_T}$can_build_shared" >&6; } |
13224 | |
13640 | |
13225 | echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
13641 | { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
13226 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 |
13642 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } |
13227 | test "$can_build_shared" = "no" && enable_shared=no |
13643 | test "$can_build_shared" = "no" && enable_shared=no |
13228 | |
13644 | |
13229 | # On AIX, shared libraries and static libraries use the same namespace, and |
13645 | # On AIX, shared libraries and static libraries use the same namespace, and |
13230 | # are all built from PIC. |
13646 | # are all built from PIC. |
13231 | case "$host_os" in |
13647 | case $host_os in |
13232 | aix3*) |
13648 | aix3*) |
13233 | test "$enable_shared" = yes && enable_static=no |
13649 | test "$enable_shared" = yes && enable_static=no |
13234 | if test -n "$RANLIB"; then |
13650 | if test -n "$RANLIB"; then |
13235 | archive_cmds="$archive_cmds~\$RANLIB \$lib" |
13651 | archive_cmds="$archive_cmds~\$RANLIB \$lib" |
13236 | postinstall_cmds='$RANLIB $lib' |
13652 | postinstall_cmds='$RANLIB $lib' |
13237 | fi |
13653 | fi |
13238 | ;; |
13654 | ;; |
13239 | aix4*) |
13655 | aix4* | aix5*) |
|
|
13656 | if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
13240 | test "$enable_shared" = yes && enable_static=no |
13657 | test "$enable_shared" = yes && enable_static=no |
|
|
13658 | fi |
13241 | ;; |
13659 | ;; |
13242 | esac |
13660 | esac |
13243 | echo "$as_me:$LINENO: result: $enable_shared" >&5 |
13661 | { echo "$as_me:$LINENO: result: $enable_shared" >&5 |
13244 | echo "${ECHO_T}$enable_shared" >&6 |
13662 | echo "${ECHO_T}$enable_shared" >&6; } |
13245 | |
13663 | |
13246 | echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
13664 | { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
13247 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 |
13665 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } |
13248 | # Make sure either enable_shared or enable_static is yes. |
13666 | # Make sure either enable_shared or enable_static is yes. |
13249 | test "$enable_shared" = yes || enable_static=yes |
13667 | test "$enable_shared" = yes || enable_static=yes |
13250 | echo "$as_me:$LINENO: result: $enable_static" >&5 |
13668 | { echo "$as_me:$LINENO: result: $enable_static" >&5 |
13251 | echo "${ECHO_T}$enable_static" >&6 |
13669 | echo "${ECHO_T}$enable_static" >&6; } |
13252 | |
|
|
13253 | test "$ld_shlibs_F77" = no && can_build_shared=no |
|
|
13254 | |
13670 | |
13255 | GCC_F77="$G77" |
13671 | GCC_F77="$G77" |
13256 | LD_F77="$LD" |
13672 | LD_F77="$LD" |
13257 | |
13673 | |
13258 | lt_prog_compiler_wl_F77= |
13674 | lt_prog_compiler_wl_F77= |
13259 | lt_prog_compiler_pic_F77= |
13675 | lt_prog_compiler_pic_F77= |
13260 | lt_prog_compiler_static_F77= |
13676 | lt_prog_compiler_static_F77= |
13261 | |
13677 | |
13262 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
13678 | { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
13263 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 |
13679 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
13264 | |
13680 | |
13265 | if test "$GCC" = yes; then |
13681 | if test "$GCC" = yes; then |
13266 | lt_prog_compiler_wl_F77='-Wl,' |
13682 | lt_prog_compiler_wl_F77='-Wl,' |
13267 | lt_prog_compiler_static_F77='-static' |
13683 | lt_prog_compiler_static_F77='-static' |
13268 | |
13684 | |
… | |
… | |
13296 | # PIC is the default on this platform |
13712 | # PIC is the default on this platform |
13297 | # Common symbols not allowed in MH_DYLIB files |
13713 | # Common symbols not allowed in MH_DYLIB files |
13298 | lt_prog_compiler_pic_F77='-fno-common' |
13714 | lt_prog_compiler_pic_F77='-fno-common' |
13299 | ;; |
13715 | ;; |
13300 | |
13716 | |
|
|
13717 | interix3*) |
|
|
13718 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
|
13719 | # Instead, we relocate shared libraries at runtime. |
|
|
13720 | ;; |
|
|
13721 | |
13301 | msdosdjgpp*) |
13722 | msdosdjgpp*) |
13302 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
13723 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
13303 | # on systems that don't support them. |
13724 | # on systems that don't support them. |
13304 | lt_prog_compiler_can_build_shared_F77=no |
13725 | lt_prog_compiler_can_build_shared_F77=no |
13305 | enable_shared=no |
13726 | enable_shared=no |
… | |
… | |
13312 | ;; |
13733 | ;; |
13313 | |
13734 | |
13314 | hpux*) |
13735 | hpux*) |
13315 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
13736 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
13316 | # not for PA HP-UX. |
13737 | # not for PA HP-UX. |
13317 | case "$host_cpu" in |
13738 | case $host_cpu in |
13318 | hppa*64*|ia64*) |
13739 | hppa*64*|ia64*) |
13319 | # +Z the default |
13740 | # +Z the default |
13320 | ;; |
13741 | ;; |
13321 | *) |
13742 | *) |
13322 | lt_prog_compiler_pic_F77='-fPIC' |
13743 | lt_prog_compiler_pic_F77='-fPIC' |
… | |
… | |
13338 | lt_prog_compiler_static_F77='-Bstatic' |
13759 | lt_prog_compiler_static_F77='-Bstatic' |
13339 | else |
13760 | else |
13340 | lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' |
13761 | lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' |
13341 | fi |
13762 | fi |
13342 | ;; |
13763 | ;; |
|
|
13764 | darwin*) |
|
|
13765 | # PIC is the default on this platform |
|
|
13766 | # Common symbols not allowed in MH_DYLIB files |
|
|
13767 | case $cc_basename in |
|
|
13768 | xlc*) |
|
|
13769 | lt_prog_compiler_pic_F77='-qnocommon' |
|
|
13770 | lt_prog_compiler_wl_F77='-Wl,' |
|
|
13771 | ;; |
|
|
13772 | esac |
|
|
13773 | ;; |
13343 | |
13774 | |
13344 | mingw* | pw32* | os2*) |
13775 | mingw* | pw32* | os2*) |
13345 | # This hack is so that the source file can tell whether it is being |
13776 | # This hack is so that the source file can tell whether it is being |
13346 | # built for inclusion in a dll (and should export symbols for example). |
13777 | # built for inclusion in a dll (and should export symbols for example). |
13347 | lt_prog_compiler_pic_F77='-DDLL_EXPORT' |
13778 | lt_prog_compiler_pic_F77='-DDLL_EXPORT' |
… | |
… | |
13349 | |
13780 | |
13350 | hpux9* | hpux10* | hpux11*) |
13781 | hpux9* | hpux10* | hpux11*) |
13351 | lt_prog_compiler_wl_F77='-Wl,' |
13782 | lt_prog_compiler_wl_F77='-Wl,' |
13352 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
13783 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
13353 | # not for PA HP-UX. |
13784 | # not for PA HP-UX. |
13354 | case "$host_cpu" in |
13785 | case $host_cpu in |
13355 | hppa*64*|ia64*) |
13786 | hppa*64*|ia64*) |
13356 | # +Z the default |
13787 | # +Z the default |
13357 | ;; |
13788 | ;; |
13358 | *) |
13789 | *) |
13359 | lt_prog_compiler_pic_F77='+Z' |
13790 | lt_prog_compiler_pic_F77='+Z' |
… | |
… | |
13372 | newsos6) |
13803 | newsos6) |
13373 | lt_prog_compiler_pic_F77='-KPIC' |
13804 | lt_prog_compiler_pic_F77='-KPIC' |
13374 | lt_prog_compiler_static_F77='-Bstatic' |
13805 | lt_prog_compiler_static_F77='-Bstatic' |
13375 | ;; |
13806 | ;; |
13376 | |
13807 | |
13377 | linux*) |
13808 | linux* | k*bsd*-gnu) |
13378 | case $CC in |
13809 | case $cc_basename in |
13379 | icc* | ecc*) |
13810 | icc* | ecc*) |
13380 | lt_prog_compiler_wl_F77='-Wl,' |
13811 | lt_prog_compiler_wl_F77='-Wl,' |
13381 | lt_prog_compiler_pic_F77='-KPIC' |
13812 | lt_prog_compiler_pic_F77='-KPIC' |
13382 | lt_prog_compiler_static_F77='-static' |
13813 | lt_prog_compiler_static_F77='-static' |
|
|
13814 | ;; |
|
|
13815 | pgcc* | pgf77* | pgf90* | pgf95*) |
|
|
13816 | # Portland Group compilers (*not* the Pentium gcc compiler, |
|
|
13817 | # which looks to be a dead project) |
|
|
13818 | lt_prog_compiler_wl_F77='-Wl,' |
|
|
13819 | lt_prog_compiler_pic_F77='-fpic' |
|
|
13820 | lt_prog_compiler_static_F77='-Bstatic' |
13383 | ;; |
13821 | ;; |
13384 | ccc*) |
13822 | ccc*) |
13385 | lt_prog_compiler_wl_F77='-Wl,' |
13823 | lt_prog_compiler_wl_F77='-Wl,' |
13386 | # All Alpha code is PIC. |
13824 | # All Alpha code is PIC. |
13387 | lt_prog_compiler_static_F77='-non_shared' |
13825 | lt_prog_compiler_static_F77='-non_shared' |
… | |
… | |
13393 | lt_prog_compiler_wl_F77='-Wl,' |
13831 | lt_prog_compiler_wl_F77='-Wl,' |
13394 | # All OSF/1 code is PIC. |
13832 | # All OSF/1 code is PIC. |
13395 | lt_prog_compiler_static_F77='-non_shared' |
13833 | lt_prog_compiler_static_F77='-non_shared' |
13396 | ;; |
13834 | ;; |
13397 | |
13835 | |
13398 | sco3.2v5*) |
|
|
13399 | lt_prog_compiler_pic_F77='-Kpic' |
|
|
13400 | lt_prog_compiler_static_F77='-dn' |
|
|
13401 | ;; |
|
|
13402 | |
|
|
13403 | solaris*) |
13836 | solaris*) |
13404 | lt_prog_compiler_wl_F77='-Wl,' |
|
|
13405 | lt_prog_compiler_pic_F77='-KPIC' |
13837 | lt_prog_compiler_pic_F77='-KPIC' |
13406 | lt_prog_compiler_static_F77='-Bstatic' |
13838 | lt_prog_compiler_static_F77='-Bstatic' |
|
|
13839 | case $cc_basename in |
|
|
13840 | f77* | f90* | f95*) |
|
|
13841 | lt_prog_compiler_wl_F77='-Qoption ld ';; |
|
|
13842 | *) |
|
|
13843 | lt_prog_compiler_wl_F77='-Wl,';; |
|
|
13844 | esac |
13407 | ;; |
13845 | ;; |
13408 | |
13846 | |
13409 | sunos4*) |
13847 | sunos4*) |
13410 | lt_prog_compiler_wl_F77='-Qoption ld ' |
13848 | lt_prog_compiler_wl_F77='-Qoption ld ' |
13411 | lt_prog_compiler_pic_F77='-PIC' |
13849 | lt_prog_compiler_pic_F77='-PIC' |
13412 | lt_prog_compiler_static_F77='-Bstatic' |
13850 | lt_prog_compiler_static_F77='-Bstatic' |
13413 | ;; |
13851 | ;; |
13414 | |
13852 | |
13415 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
13853 | sysv4 | sysv4.2uw2* | sysv4.3*) |
13416 | lt_prog_compiler_wl_F77='-Wl,' |
13854 | lt_prog_compiler_wl_F77='-Wl,' |
13417 | lt_prog_compiler_pic_F77='-KPIC' |
13855 | lt_prog_compiler_pic_F77='-KPIC' |
13418 | lt_prog_compiler_static_F77='-Bstatic' |
13856 | lt_prog_compiler_static_F77='-Bstatic' |
13419 | ;; |
13857 | ;; |
13420 | |
13858 | |
… | |
… | |
13423 | lt_prog_compiler_pic_F77='-Kconform_pic' |
13861 | lt_prog_compiler_pic_F77='-Kconform_pic' |
13424 | lt_prog_compiler_static_F77='-Bstatic' |
13862 | lt_prog_compiler_static_F77='-Bstatic' |
13425 | fi |
13863 | fi |
13426 | ;; |
13864 | ;; |
13427 | |
13865 | |
|
|
13866 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
|
13867 | lt_prog_compiler_wl_F77='-Wl,' |
|
|
13868 | lt_prog_compiler_pic_F77='-KPIC' |
|
|
13869 | lt_prog_compiler_static_F77='-Bstatic' |
|
|
13870 | ;; |
|
|
13871 | |
|
|
13872 | unicos*) |
|
|
13873 | lt_prog_compiler_wl_F77='-Wl,' |
|
|
13874 | lt_prog_compiler_can_build_shared_F77=no |
|
|
13875 | ;; |
|
|
13876 | |
13428 | uts4*) |
13877 | uts4*) |
13429 | lt_prog_compiler_pic_F77='-pic' |
13878 | lt_prog_compiler_pic_F77='-pic' |
13430 | lt_prog_compiler_static_F77='-Bstatic' |
13879 | lt_prog_compiler_static_F77='-Bstatic' |
13431 | ;; |
13880 | ;; |
13432 | |
13881 | |
… | |
… | |
13434 | lt_prog_compiler_can_build_shared_F77=no |
13883 | lt_prog_compiler_can_build_shared_F77=no |
13435 | ;; |
13884 | ;; |
13436 | esac |
13885 | esac |
13437 | fi |
13886 | fi |
13438 | |
13887 | |
13439 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 |
13888 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 |
13440 | echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 |
13889 | echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; } |
13441 | |
13890 | |
13442 | # |
13891 | # |
13443 | # Check to make sure the PIC flag actually works. |
13892 | # Check to make sure the PIC flag actually works. |
13444 | # |
13893 | # |
13445 | if test -n "$lt_prog_compiler_pic_F77"; then |
13894 | if test -n "$lt_prog_compiler_pic_F77"; then |
13446 | |
13895 | |
13447 | echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 |
13896 | { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 |
13448 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 |
13897 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } |
13449 | if test "${lt_prog_compiler_pic_works_F77+set}" = set; then |
13898 | if test "${lt_prog_compiler_pic_works_F77+set}" = set; then |
13450 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13899 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13451 | else |
13900 | else |
13452 | lt_prog_compiler_pic_works_F77=no |
13901 | lt_prog_compiler_pic_works_F77=no |
13453 | ac_outfile=conftest.$ac_objext |
13902 | ac_outfile=conftest.$ac_objext |
… | |
… | |
13457 | # (2) before a word containing "conftest.", or (3) at the end. |
13906 | # (2) before a word containing "conftest.", or (3) at the end. |
13458 | # Note that $ac_compile itself does not contain backslashes and begins |
13907 | # Note that $ac_compile itself does not contain backslashes and begins |
13459 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
13908 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
13460 | # The option is referenced via a variable to avoid confusing sed. |
13909 | # The option is referenced via a variable to avoid confusing sed. |
13461 | lt_compile=`echo "$ac_compile" | $SED \ |
13910 | lt_compile=`echo "$ac_compile" | $SED \ |
13462 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13911 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
13463 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13912 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13464 | -e 's:$: $lt_compiler_flag:'` |
13913 | -e 's:$: $lt_compiler_flag:'` |
13465 | (eval echo "\"\$as_me:13465: $lt_compile\"" >&5) |
13914 | (eval echo "\"\$as_me:13914: $lt_compile\"" >&5) |
13466 | (eval "$lt_compile" 2>conftest.err) |
13915 | (eval "$lt_compile" 2>conftest.err) |
13467 | ac_status=$? |
13916 | ac_status=$? |
13468 | cat conftest.err >&5 |
13917 | cat conftest.err >&5 |
13469 | echo "$as_me:13469: \$? = $ac_status" >&5 |
13918 | echo "$as_me:13918: \$? = $ac_status" >&5 |
13470 | if (exit $ac_status) && test -s "$ac_outfile"; then |
13919 | if (exit $ac_status) && test -s "$ac_outfile"; then |
13471 | # The compiler can only warn and ignore the option if not recognized |
13920 | # The compiler can only warn and ignore the option if not recognized |
13472 | # So say no if there are warnings |
13921 | # So say no if there are warnings other than the usual output. |
13473 | if test ! -s conftest.err; then |
13922 | $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
|
13923 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
13924 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
13474 | lt_prog_compiler_pic_works_F77=yes |
13925 | lt_prog_compiler_pic_works_F77=yes |
13475 | fi |
13926 | fi |
13476 | fi |
13927 | fi |
13477 | $rm conftest* |
13928 | $rm conftest* |
13478 | |
13929 | |
13479 | fi |
13930 | fi |
13480 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 |
13931 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 |
13481 | echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 |
13932 | echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; } |
13482 | |
13933 | |
13483 | if test x"$lt_prog_compiler_pic_works_F77" = xyes; then |
13934 | if test x"$lt_prog_compiler_pic_works_F77" = xyes; then |
13484 | case $lt_prog_compiler_pic_F77 in |
13935 | case $lt_prog_compiler_pic_F77 in |
13485 | "" | " "*) ;; |
13936 | "" | " "*) ;; |
13486 | *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; |
13937 | *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; |
… | |
… | |
13489 | lt_prog_compiler_pic_F77= |
13940 | lt_prog_compiler_pic_F77= |
13490 | lt_prog_compiler_can_build_shared_F77=no |
13941 | lt_prog_compiler_can_build_shared_F77=no |
13491 | fi |
13942 | fi |
13492 | |
13943 | |
13493 | fi |
13944 | fi |
13494 | case "$host_os" in |
13945 | case $host_os in |
13495 | # For platforms which do not support PIC, -DPIC is meaningless: |
13946 | # For platforms which do not support PIC, -DPIC is meaningless: |
13496 | *djgpp*) |
13947 | *djgpp*) |
13497 | lt_prog_compiler_pic_F77= |
13948 | lt_prog_compiler_pic_F77= |
13498 | ;; |
13949 | ;; |
13499 | *) |
13950 | *) |
13500 | lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" |
13951 | lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" |
13501 | ;; |
13952 | ;; |
13502 | esac |
13953 | esac |
13503 | |
13954 | |
|
|
13955 | # |
|
|
13956 | # Check to make sure the static flag actually works. |
|
|
13957 | # |
|
|
13958 | wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" |
|
|
13959 | { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
|
13960 | echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } |
|
|
13961 | if test "${lt_prog_compiler_static_works_F77+set}" = set; then |
|
|
13962 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
13963 | else |
|
|
13964 | lt_prog_compiler_static_works_F77=no |
|
|
13965 | save_LDFLAGS="$LDFLAGS" |
|
|
13966 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
|
13967 | printf "$lt_simple_link_test_code" > conftest.$ac_ext |
|
|
13968 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
|
13969 | # The linker can only warn and ignore the option if not recognized |
|
|
13970 | # So say no if there are warnings |
|
|
13971 | if test -s conftest.err; then |
|
|
13972 | # Append any errors to the config.log. |
|
|
13973 | cat conftest.err 1>&5 |
|
|
13974 | $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
|
|
13975 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
13976 | if diff conftest.exp conftest.er2 >/dev/null; then |
|
|
13977 | lt_prog_compiler_static_works_F77=yes |
|
|
13978 | fi |
|
|
13979 | else |
|
|
13980 | lt_prog_compiler_static_works_F77=yes |
|
|
13981 | fi |
|
|
13982 | fi |
|
|
13983 | $rm conftest* |
|
|
13984 | LDFLAGS="$save_LDFLAGS" |
|
|
13985 | |
|
|
13986 | fi |
|
|
13987 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 |
|
|
13988 | echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; } |
|
|
13989 | |
|
|
13990 | if test x"$lt_prog_compiler_static_works_F77" = xyes; then |
|
|
13991 | : |
|
|
13992 | else |
|
|
13993 | lt_prog_compiler_static_F77= |
|
|
13994 | fi |
|
|
13995 | |
|
|
13996 | |
13504 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
13997 | { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
13505 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
13998 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } |
13506 | if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then |
13999 | if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then |
13507 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14000 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13508 | else |
14001 | else |
13509 | lt_cv_prog_compiler_c_o_F77=no |
14002 | lt_cv_prog_compiler_c_o_F77=no |
13510 | $rm -r conftest 2>/dev/null |
14003 | $rm -r conftest 2>/dev/null |
… | |
… | |
13517 | # Insert the option either (1) after the last *FLAGS variable, or |
14010 | # Insert the option either (1) after the last *FLAGS variable, or |
13518 | # (2) before a word containing "conftest.", or (3) at the end. |
14011 | # (2) before a word containing "conftest.", or (3) at the end. |
13519 | # Note that $ac_compile itself does not contain backslashes and begins |
14012 | # Note that $ac_compile itself does not contain backslashes and begins |
13520 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
14013 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
13521 | lt_compile=`echo "$ac_compile" | $SED \ |
14014 | lt_compile=`echo "$ac_compile" | $SED \ |
13522 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
14015 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
13523 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
14016 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13524 | -e 's:$: $lt_compiler_flag:'` |
14017 | -e 's:$: $lt_compiler_flag:'` |
13525 | (eval echo "\"\$as_me:13525: $lt_compile\"" >&5) |
14018 | (eval echo "\"\$as_me:14018: $lt_compile\"" >&5) |
13526 | (eval "$lt_compile" 2>out/conftest.err) |
14019 | (eval "$lt_compile" 2>out/conftest.err) |
13527 | ac_status=$? |
14020 | ac_status=$? |
13528 | cat out/conftest.err >&5 |
14021 | cat out/conftest.err >&5 |
13529 | echo "$as_me:13529: \$? = $ac_status" >&5 |
14022 | echo "$as_me:14022: \$? = $ac_status" >&5 |
13530 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
14023 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
13531 | then |
14024 | then |
13532 | # The compiler can only warn and ignore the option if not recognized |
14025 | # The compiler can only warn and ignore the option if not recognized |
13533 | # So say no if there are warnings |
14026 | # So say no if there are warnings |
13534 | if test ! -s out/conftest.err; then |
14027 | $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
|
14028 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
|
14029 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
13535 | lt_cv_prog_compiler_c_o_F77=yes |
14030 | lt_cv_prog_compiler_c_o_F77=yes |
13536 | fi |
14031 | fi |
13537 | fi |
14032 | fi |
13538 | chmod u+w . |
14033 | chmod u+w . 2>&5 |
13539 | $rm conftest* |
14034 | $rm conftest* |
13540 | # SGI C++ compiler will create directory out/ii_files/ for |
14035 | # SGI C++ compiler will create directory out/ii_files/ for |
13541 | # template instantiation |
14036 | # template instantiation |
13542 | test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
14037 | test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
13543 | $rm out/* && rmdir out |
14038 | $rm out/* && rmdir out |
13544 | cd .. |
14039 | cd .. |
13545 | rmdir conftest |
14040 | rmdir conftest |
13546 | $rm conftest* |
14041 | $rm conftest* |
13547 | |
14042 | |
13548 | fi |
14043 | fi |
13549 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 |
14044 | { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 |
13550 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 |
14045 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; } |
13551 | |
14046 | |
13552 | |
14047 | |
13553 | hard_links="nottested" |
14048 | hard_links="nottested" |
13554 | if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then |
14049 | if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then |
13555 | # do not overwrite the value of need_locks provided by the user |
14050 | # do not overwrite the value of need_locks provided by the user |
13556 | echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
14051 | { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
13557 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 |
14052 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
13558 | hard_links=yes |
14053 | hard_links=yes |
13559 | $rm conftest* |
14054 | $rm conftest* |
13560 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
14055 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
13561 | touch conftest.a |
14056 | touch conftest.a |
13562 | ln conftest.a conftest.b 2>&5 || hard_links=no |
14057 | ln conftest.a conftest.b 2>&5 || hard_links=no |
13563 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
14058 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
13564 | echo "$as_me:$LINENO: result: $hard_links" >&5 |
14059 | { echo "$as_me:$LINENO: result: $hard_links" >&5 |
13565 | echo "${ECHO_T}$hard_links" >&6 |
14060 | echo "${ECHO_T}$hard_links" >&6; } |
13566 | if test "$hard_links" = no; then |
14061 | if test "$hard_links" = no; then |
13567 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
14062 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
13568 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
14063 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
13569 | need_locks=warn |
14064 | need_locks=warn |
13570 | fi |
14065 | fi |
13571 | else |
14066 | else |
13572 | need_locks=no |
14067 | need_locks=no |
13573 | fi |
14068 | fi |
13574 | |
14069 | |
13575 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
14070 | { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
13576 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 |
14071 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
13577 | |
14072 | |
13578 | runpath_var= |
14073 | runpath_var= |
13579 | allow_undefined_flag_F77= |
14074 | allow_undefined_flag_F77= |
13580 | enable_shared_with_static_runtimes_F77=no |
14075 | enable_shared_with_static_runtimes_F77=no |
13581 | archive_cmds_F77= |
14076 | archive_cmds_F77= |
… | |
… | |
13609 | # platforms (ab)use it in PIC code, but their linkers get confused if |
14104 | # platforms (ab)use it in PIC code, but their linkers get confused if |
13610 | # the symbol is explicitly referenced. Since portable code cannot |
14105 | # the symbol is explicitly referenced. Since portable code cannot |
13611 | # rely on this symbol name, it's probably fine to never include it in |
14106 | # rely on this symbol name, it's probably fine to never include it in |
13612 | # preloaded symbol tables. |
14107 | # preloaded symbol tables. |
13613 | extract_expsyms_cmds= |
14108 | extract_expsyms_cmds= |
|
|
14109 | # Just being paranoid about ensuring that cc_basename is set. |
|
|
14110 | for cc_temp in $compiler""; do |
|
|
14111 | case $cc_temp in |
|
|
14112 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
14113 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
14114 | \-*) ;; |
|
|
14115 | *) break;; |
|
|
14116 | esac |
|
|
14117 | done |
|
|
14118 | cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
13614 | |
14119 | |
13615 | case $host_os in |
14120 | case $host_os in |
13616 | cygwin* | mingw* | pw32*) |
14121 | cygwin* | mingw* | pw32*) |
13617 | # FIXME: the MSVC++ port hasn't been tested in a loooong time |
14122 | # FIXME: the MSVC++ port hasn't been tested in a loooong time |
13618 | # When not using gcc, we currently assume that we are using |
14123 | # When not using gcc, we currently assume that we are using |
13619 | # Microsoft Visual C++. |
14124 | # Microsoft Visual C++. |
13620 | if test "$GCC" != yes; then |
14125 | if test "$GCC" != yes; then |
13621 | with_gnu_ld=no |
14126 | with_gnu_ld=no |
13622 | fi |
14127 | fi |
13623 | ;; |
14128 | ;; |
|
|
14129 | interix*) |
|
|
14130 | # we just hope/assume this is gcc and not c89 (= MSVC++) |
|
|
14131 | with_gnu_ld=yes |
|
|
14132 | ;; |
13624 | openbsd*) |
14133 | openbsd*) |
13625 | with_gnu_ld=no |
14134 | with_gnu_ld=no |
13626 | ;; |
14135 | ;; |
13627 | esac |
14136 | esac |
13628 | |
14137 | |
13629 | ld_shlibs_F77=yes |
14138 | ld_shlibs_F77=yes |
13630 | if test "$with_gnu_ld" = yes; then |
14139 | if test "$with_gnu_ld" = yes; then |
13631 | # If archive_cmds runs LD, not CC, wlarc should be empty |
14140 | # If archive_cmds runs LD, not CC, wlarc should be empty |
13632 | wlarc='${wl}' |
14141 | wlarc='${wl}' |
|
|
14142 | |
|
|
14143 | # Set some defaults for GNU ld with shared library support. These |
|
|
14144 | # are reset later if shared libraries are not supported. Putting them |
|
|
14145 | # here allows them to be overridden if necessary. |
|
|
14146 | runpath_var=LD_RUN_PATH |
|
|
14147 | hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' |
|
|
14148 | export_dynamic_flag_spec_F77='${wl}--export-dynamic' |
|
|
14149 | # ancient GNU ld didn't support --whole-archive et. al. |
|
|
14150 | if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
|
14151 | whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
|
14152 | else |
|
|
14153 | whole_archive_flag_spec_F77= |
|
|
14154 | fi |
|
|
14155 | supports_anon_versioning=no |
|
|
14156 | case `$LD -v 2>/dev/null` in |
|
|
14157 | *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
|
14158 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
|
14159 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
|
14160 | *\ 2.11.*) ;; # other 2.11 versions |
|
|
14161 | *) supports_anon_versioning=yes ;; |
|
|
14162 | esac |
13633 | |
14163 | |
13634 | # See if GNU ld supports shared libraries. |
14164 | # See if GNU ld supports shared libraries. |
13635 | case $host_os in |
14165 | case $host_os in |
13636 | aix3* | aix4* | aix5*) |
14166 | aix3* | aix4* | aix5*) |
13637 | # On AIX/PPC, the GNU linker is very broken |
14167 | # On AIX/PPC, the GNU linker is very broken |
… | |
… | |
13679 | # as there is no search path for DLLs. |
14209 | # as there is no search path for DLLs. |
13680 | hardcode_libdir_flag_spec_F77='-L$libdir' |
14210 | hardcode_libdir_flag_spec_F77='-L$libdir' |
13681 | allow_undefined_flag_F77=unsupported |
14211 | allow_undefined_flag_F77=unsupported |
13682 | always_export_symbols_F77=no |
14212 | always_export_symbols_F77=no |
13683 | enable_shared_with_static_runtimes_F77=yes |
14213 | enable_shared_with_static_runtimes_F77=yes |
13684 | export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
14214 | export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
13685 | |
14215 | |
13686 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
14216 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
13687 | archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
14217 | archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
13688 | # If the export-symbols file already is a .def file (1st line |
14218 | # If the export-symbols file already is a .def file (1st line |
13689 | # is EXPORTS), use it as is; otherwise, prepend... |
14219 | # is EXPORTS), use it as is; otherwise, prepend... |
13690 | archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
14220 | archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
13691 | cp $export_symbols $output_objdir/$soname.def; |
14221 | cp $export_symbols $output_objdir/$soname.def; |
13692 | else |
14222 | else |
13693 | echo EXPORTS > $output_objdir/$soname.def; |
14223 | echo EXPORTS > $output_objdir/$soname.def; |
13694 | cat $export_symbols >> $output_objdir/$soname.def; |
14224 | cat $export_symbols >> $output_objdir/$soname.def; |
13695 | fi~ |
14225 | fi~ |
13696 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
14226 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
13697 | else |
14227 | else |
13698 | ld_shlibs=no |
14228 | ld_shlibs_F77=no |
13699 | fi |
14229 | fi |
13700 | ;; |
14230 | ;; |
13701 | |
14231 | |
13702 | netbsd*) |
14232 | interix3*) |
|
|
14233 | hardcode_direct_F77=no |
|
|
14234 | hardcode_shlibpath_var_F77=no |
|
|
14235 | hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
|
|
14236 | export_dynamic_flag_spec_F77='${wl}-E' |
|
|
14237 | # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
|
14238 | # Instead, shared libraries are loaded at an image base (0x10000000 by |
|
|
14239 | # default) and relocated if they conflict, which is a slow very memory |
|
|
14240 | # consuming and fragmenting process. To avoid this, we pick a random, |
|
|
14241 | # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
|
14242 | # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
|
14243 | 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' |
|
|
14244 | 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' |
|
|
14245 | ;; |
|
|
14246 | |
|
|
14247 | linux* | k*bsd*-gnu) |
|
|
14248 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
14249 | tmp_addflag= |
|
|
14250 | case $cc_basename,$host_cpu in |
|
|
14251 | pgcc*) # Portland Group C compiler |
|
|
14252 | whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
|
14253 | tmp_addflag=' $pic_flag' |
|
|
14254 | ;; |
|
|
14255 | pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
|
|
14256 | whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
|
14257 | tmp_addflag=' $pic_flag -Mnomain' ;; |
|
|
14258 | ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
|
14259 | tmp_addflag=' -i_dynamic' ;; |
|
|
14260 | efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
|
14261 | tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
|
14262 | ifc* | ifort*) # Intel Fortran compiler |
|
|
14263 | tmp_addflag=' -nofor_main' ;; |
|
|
14264 | esac |
|
|
14265 | archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
14266 | |
|
|
14267 | if test $supports_anon_versioning = yes; then |
|
|
14268 | archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
|
14269 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
|
14270 | $echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
|
14271 | $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
|
14272 | fi |
|
|
14273 | link_all_deplibs_F77=no |
|
|
14274 | else |
|
|
14275 | ld_shlibs_F77=no |
|
|
14276 | fi |
|
|
14277 | ;; |
|
|
14278 | |
|
|
14279 | netbsd* | netbsdelf*-gnu) |
13703 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
14280 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
13704 | archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
14281 | archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
13705 | wlarc= |
14282 | wlarc= |
13706 | else |
14283 | else |
13707 | archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
14284 | archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
13708 | archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
14285 | archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
13709 | fi |
14286 | fi |
13710 | ;; |
14287 | ;; |
13711 | |
14288 | |
13712 | solaris* | sysv5*) |
14289 | solaris*) |
13713 | if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
14290 | if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
13714 | ld_shlibs_F77=no |
14291 | ld_shlibs_F77=no |
13715 | cat <<EOF 1>&2 |
14292 | cat <<EOF 1>&2 |
13716 | |
14293 | |
13717 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
14294 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
… | |
… | |
13728 | else |
14305 | else |
13729 | ld_shlibs_F77=no |
14306 | ld_shlibs_F77=no |
13730 | fi |
14307 | fi |
13731 | ;; |
14308 | ;; |
13732 | |
14309 | |
|
|
14310 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
|
14311 | case `$LD -v 2>&1` in |
|
|
14312 | *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
|
14313 | ld_shlibs_F77=no |
|
|
14314 | cat <<_LT_EOF 1>&2 |
|
|
14315 | |
|
|
14316 | *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
|
14317 | *** reliably create shared libraries on SCO systems. Therefore, libtool |
|
|
14318 | *** is disabling shared libraries support. We urge you to upgrade GNU |
|
|
14319 | *** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
|
14320 | *** your PATH or compiler configuration so that the native linker is |
|
|
14321 | *** used, and then restart. |
|
|
14322 | |
|
|
14323 | _LT_EOF |
|
|
14324 | ;; |
|
|
14325 | *) |
|
|
14326 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
14327 | hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
|
|
14328 | archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
|
|
14329 | archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
|
|
14330 | else |
|
|
14331 | ld_shlibs_F77=no |
|
|
14332 | fi |
|
|
14333 | ;; |
|
|
14334 | esac |
|
|
14335 | ;; |
|
|
14336 | |
13733 | sunos4*) |
14337 | sunos4*) |
13734 | archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
14338 | archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
13735 | wlarc= |
14339 | wlarc= |
13736 | hardcode_direct_F77=yes |
14340 | hardcode_direct_F77=yes |
13737 | hardcode_shlibpath_var_F77=no |
14341 | hardcode_shlibpath_var_F77=no |
13738 | ;; |
14342 | ;; |
13739 | |
|
|
13740 | linux*) |
|
|
13741 | if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
|
|
13742 | tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
13743 | archive_cmds_F77="$tmp_archive_cmds" |
|
|
13744 | supports_anon_versioning=no |
|
|
13745 | case `$LD -v 2>/dev/null` in |
|
|
13746 | *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
|
13747 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
|
13748 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
|
13749 | *\ 2.11.*) ;; # other 2.11 versions |
|
|
13750 | *) supports_anon_versioning=yes ;; |
|
|
13751 | esac |
|
|
13752 | if test $supports_anon_versioning = yes; then |
|
|
13753 | archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
|
13754 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
|
13755 | $echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
|
13756 | $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
|
13757 | else |
|
|
13758 | archive_expsym_cmds_F77="$tmp_archive_cmds" |
|
|
13759 | fi |
|
|
13760 | else |
|
|
13761 | ld_shlibs_F77=no |
|
|
13762 | fi |
|
|
13763 | ;; |
|
|
13764 | |
14343 | |
13765 | *) |
14344 | *) |
13766 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
14345 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
13767 | archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
14346 | archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
13768 | archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
14347 | archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
… | |
… | |
13770 | ld_shlibs_F77=no |
14349 | ld_shlibs_F77=no |
13771 | fi |
14350 | fi |
13772 | ;; |
14351 | ;; |
13773 | esac |
14352 | esac |
13774 | |
14353 | |
13775 | if test "$ld_shlibs_F77" = yes; then |
14354 | if test "$ld_shlibs_F77" = no; then |
13776 | runpath_var=LD_RUN_PATH |
14355 | runpath_var= |
13777 | hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' |
14356 | hardcode_libdir_flag_spec_F77= |
13778 | export_dynamic_flag_spec_F77='${wl}--export-dynamic' |
14357 | export_dynamic_flag_spec_F77= |
13779 | # ancient GNU ld didn't support --whole-archive et. al. |
|
|
13780 | if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
|
13781 | whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
|
13782 | else |
|
|
13783 | whole_archive_flag_spec_F77= |
14358 | whole_archive_flag_spec_F77= |
13784 | fi |
|
|
13785 | fi |
14359 | fi |
13786 | else |
14360 | else |
13787 | # PORTME fill in a description of your system's linker (not GNU ld) |
14361 | # PORTME fill in a description of your system's linker (not GNU ld) |
13788 | case $host_os in |
14362 | case $host_os in |
13789 | aix3*) |
14363 | aix3*) |
… | |
… | |
13791 | always_export_symbols_F77=yes |
14365 | always_export_symbols_F77=yes |
13792 | 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' |
14366 | 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' |
13793 | # Note: this linker hardcodes the directories in LIBPATH if there |
14367 | # Note: this linker hardcodes the directories in LIBPATH if there |
13794 | # are no directories specified by -L. |
14368 | # are no directories specified by -L. |
13795 | hardcode_minus_L_F77=yes |
14369 | hardcode_minus_L_F77=yes |
13796 | if test "$GCC" = yes && test -z "$link_static_flag"; then |
14370 | if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
13797 | # Neither direct hardcoding nor static linking is supported with a |
14371 | # Neither direct hardcoding nor static linking is supported with a |
13798 | # broken collect2. |
14372 | # broken collect2. |
13799 | hardcode_direct_F77=unsupported |
14373 | hardcode_direct_F77=unsupported |
13800 | fi |
14374 | fi |
13801 | ;; |
14375 | ;; |
… | |
… | |
13825 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
14399 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
13826 | aix_use_runtimelinking=yes |
14400 | aix_use_runtimelinking=yes |
13827 | break |
14401 | break |
13828 | fi |
14402 | fi |
13829 | done |
14403 | done |
|
|
14404 | ;; |
13830 | esac |
14405 | esac |
13831 | |
14406 | |
13832 | exp_sym_flag='-bexport' |
14407 | exp_sym_flag='-bexport' |
13833 | no_entry_flag='-bnoentry' |
14408 | no_entry_flag='-bnoentry' |
13834 | fi |
14409 | fi |
… | |
… | |
13843 | hardcode_direct_F77=yes |
14418 | hardcode_direct_F77=yes |
13844 | hardcode_libdir_separator_F77=':' |
14419 | hardcode_libdir_separator_F77=':' |
13845 | link_all_deplibs_F77=yes |
14420 | link_all_deplibs_F77=yes |
13846 | |
14421 | |
13847 | if test "$GCC" = yes; then |
14422 | if test "$GCC" = yes; then |
13848 | case $host_os in aix4.012|aix4.012.*) |
14423 | case $host_os in aix4.[012]|aix4.[012].*) |
13849 | # We only want to do this on AIX 4.2 and lower, the check |
14424 | # We only want to do this on AIX 4.2 and lower, the check |
13850 | # below for broken collect2 doesn't work under 4.3+ |
14425 | # below for broken collect2 doesn't work under 4.3+ |
13851 | collect2name=`${CC} -print-prog-name=collect2` |
14426 | collect2name=`${CC} -print-prog-name=collect2` |
13852 | if test -f "$collect2name" && \ |
14427 | if test -f "$collect2name" && \ |
13853 | strings "$collect2name" | grep resolve_lib_name >/dev/null |
14428 | strings "$collect2name" | grep resolve_lib_name >/dev/null |
… | |
… | |
13862 | # to unsupported forces relinking |
14437 | # to unsupported forces relinking |
13863 | hardcode_minus_L_F77=yes |
14438 | hardcode_minus_L_F77=yes |
13864 | hardcode_libdir_flag_spec_F77='-L$libdir' |
14439 | hardcode_libdir_flag_spec_F77='-L$libdir' |
13865 | hardcode_libdir_separator_F77= |
14440 | hardcode_libdir_separator_F77= |
13866 | fi |
14441 | fi |
|
|
14442 | ;; |
13867 | esac |
14443 | esac |
13868 | shared_flag='-shared' |
14444 | shared_flag='-shared' |
|
|
14445 | if test "$aix_use_runtimelinking" = yes; then |
|
|
14446 | shared_flag="$shared_flag "'${wl}-G' |
|
|
14447 | fi |
13869 | else |
14448 | else |
13870 | # not using gcc |
14449 | # not using gcc |
13871 | if test "$host_cpu" = ia64; then |
14450 | if test "$host_cpu" = ia64; then |
13872 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
14451 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
13873 | # chokes on -Wl,-G. The following line is correct: |
14452 | # chokes on -Wl,-G. The following line is correct: |
13874 | shared_flag='-G' |
14453 | shared_flag='-G' |
13875 | else |
14454 | else |
13876 | if test "$aix_use_runtimelinking" = yes; then |
14455 | if test "$aix_use_runtimelinking" = yes; then |
13877 | shared_flag='${wl}-G' |
14456 | shared_flag='${wl}-G' |
13878 | else |
14457 | else |
13879 | shared_flag='${wl}-bM:SRE' |
14458 | shared_flag='${wl}-bM:SRE' |
13880 | fi |
14459 | fi |
13881 | fi |
14460 | fi |
13882 | fi |
14461 | fi |
13883 | |
14462 | |
13884 | # It seems that -bexpall does not export symbols beginning with |
14463 | # It seems that -bexpall does not export symbols beginning with |
13885 | # underscore (_), so it is better to generate a list of symbols to export. |
14464 | # underscore (_), so it is better to generate a list of symbols to export. |
… | |
… | |
13893 | program main |
14472 | program main |
13894 | |
14473 | |
13895 | end |
14474 | end |
13896 | _ACEOF |
14475 | _ACEOF |
13897 | rm -f conftest.$ac_objext conftest$ac_exeext |
14476 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
14477 | if { (ac_try="$ac_link" |
|
|
14478 | case "(($ac_try" in |
|
|
14479 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
14480 | *) ac_try_echo=$ac_try;; |
|
|
14481 | esac |
13898 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14482 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13899 | (eval $ac_link) 2>conftest.er1 |
14483 | (eval "$ac_link") 2>conftest.er1 |
13900 | ac_status=$? |
14484 | ac_status=$? |
13901 | grep -v '^ *+' conftest.er1 >conftest.err |
14485 | grep -v '^ *+' conftest.er1 >conftest.err |
13902 | rm -f conftest.er1 |
14486 | rm -f conftest.er1 |
13903 | cat conftest.err >&5 |
14487 | cat conftest.err >&5 |
13904 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13905 | (exit $ac_status); } && |
14489 | (exit $ac_status); } && { |
13906 | { ac_try='test -z "$ac_f77_werror_flag" |
14490 | test -z "$ac_f77_werror_flag" || |
13907 | || test ! -s conftest.err' |
14491 | test ! -s conftest.err |
13908 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14492 | } && test -s conftest$ac_exeext && |
13909 | (eval $ac_try) 2>&5 |
14493 | $as_test_x conftest$ac_exeext; then |
13910 | ac_status=$? |
|
|
13911 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13912 | (exit $ac_status); }; } && |
|
|
13913 | { ac_try='test -s conftest$ac_exeext' |
|
|
13914 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13915 | (eval $ac_try) 2>&5 |
|
|
13916 | ac_status=$? |
|
|
13917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13918 | (exit $ac_status); }; }; then |
|
|
13919 | |
14494 | |
13920 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
14495 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
13921 | }'` |
14496 | }'` |
13922 | # Check for a 64-bit object if we didn't find anything. |
14497 | # Check for a 64-bit object if we didn't find anything. |
13923 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
14498 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
13924 | }'`; fi |
14499 | }'`; fi |
13925 | else |
14500 | else |
13926 | echo "$as_me: failed program was:" >&5 |
14501 | echo "$as_me: failed program was:" >&5 |
13927 | sed 's/^/| /' conftest.$ac_ext >&5 |
14502 | sed 's/^/| /' conftest.$ac_ext >&5 |
13928 | |
14503 | |
|
|
14504 | |
13929 | fi |
14505 | fi |
13930 | rm -f conftest.err conftest.$ac_objext \ |
14506 | |
|
|
14507 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13931 | conftest$ac_exeext conftest.$ac_ext |
14508 | conftest$ac_exeext conftest.$ac_ext |
13932 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
14509 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
13933 | |
14510 | |
13934 | hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
14511 | hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
13935 | archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
14512 | archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
13936 | else |
14513 | else |
13937 | if test "$host_cpu" = ia64; then |
14514 | if test "$host_cpu" = ia64; then |
13938 | hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' |
14515 | hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' |
13939 | allow_undefined_flag_F77="-z nodefs" |
14516 | allow_undefined_flag_F77="-z nodefs" |
13940 | archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" |
14517 | 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" |
13941 | else |
14518 | else |
13942 | # Determine the default libpath from the value encoded in an empty executable. |
14519 | # Determine the default libpath from the value encoded in an empty executable. |
13943 | cat >conftest.$ac_ext <<_ACEOF |
14520 | cat >conftest.$ac_ext <<_ACEOF |
13944 | program main |
14521 | program main |
13945 | |
14522 | |
13946 | end |
14523 | end |
13947 | _ACEOF |
14524 | _ACEOF |
13948 | rm -f conftest.$ac_objext conftest$ac_exeext |
14525 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
14526 | if { (ac_try="$ac_link" |
|
|
14527 | case "(($ac_try" in |
|
|
14528 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
14529 | *) ac_try_echo=$ac_try;; |
|
|
14530 | esac |
13949 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14531 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13950 | (eval $ac_link) 2>conftest.er1 |
14532 | (eval "$ac_link") 2>conftest.er1 |
13951 | ac_status=$? |
14533 | ac_status=$? |
13952 | grep -v '^ *+' conftest.er1 >conftest.err |
14534 | grep -v '^ *+' conftest.er1 >conftest.err |
13953 | rm -f conftest.er1 |
14535 | rm -f conftest.er1 |
13954 | cat conftest.err >&5 |
14536 | cat conftest.err >&5 |
13955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13956 | (exit $ac_status); } && |
14538 | (exit $ac_status); } && { |
13957 | { ac_try='test -z "$ac_f77_werror_flag" |
14539 | test -z "$ac_f77_werror_flag" || |
13958 | || test ! -s conftest.err' |
14540 | test ! -s conftest.err |
13959 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14541 | } && test -s conftest$ac_exeext && |
13960 | (eval $ac_try) 2>&5 |
14542 | $as_test_x conftest$ac_exeext; then |
13961 | ac_status=$? |
|
|
13962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13963 | (exit $ac_status); }; } && |
|
|
13964 | { ac_try='test -s conftest$ac_exeext' |
|
|
13965 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13966 | (eval $ac_try) 2>&5 |
|
|
13967 | ac_status=$? |
|
|
13968 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13969 | (exit $ac_status); }; }; then |
|
|
13970 | |
14543 | |
13971 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
14544 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
13972 | }'` |
14545 | }'` |
13973 | # Check for a 64-bit object if we didn't find anything. |
14546 | # Check for a 64-bit object if we didn't find anything. |
13974 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
14547 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
13975 | }'`; fi |
14548 | }'`; fi |
13976 | else |
14549 | else |
13977 | echo "$as_me: failed program was:" >&5 |
14550 | echo "$as_me: failed program was:" >&5 |
13978 | sed 's/^/| /' conftest.$ac_ext >&5 |
14551 | sed 's/^/| /' conftest.$ac_ext >&5 |
13979 | |
14552 | |
|
|
14553 | |
13980 | fi |
14554 | fi |
13981 | rm -f conftest.err conftest.$ac_objext \ |
14555 | |
|
|
14556 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13982 | conftest$ac_exeext conftest.$ac_ext |
14557 | conftest$ac_exeext conftest.$ac_ext |
13983 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
14558 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
13984 | |
14559 | |
13985 | hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
14560 | hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
13986 | # Warning - without using the other run time loading flags, |
14561 | # Warning - without using the other run time loading flags, |
13987 | # -berok will link without error, but may produce a broken library. |
14562 | # -berok will link without error, but may produce a broken library. |
13988 | no_undefined_flag_F77=' ${wl}-bernotok' |
14563 | no_undefined_flag_F77=' ${wl}-bernotok' |
13989 | allow_undefined_flag_F77=' ${wl}-berok' |
14564 | allow_undefined_flag_F77=' ${wl}-berok' |
13990 | # -bexpall does not export symbols beginning with underscore (_) |
|
|
13991 | always_export_symbols_F77=yes |
|
|
13992 | # Exported symbols can be pulled into shared objects from archives |
14565 | # Exported symbols can be pulled into shared objects from archives |
13993 | whole_archive_flag_spec_F77=' ' |
14566 | whole_archive_flag_spec_F77='$convenience' |
13994 | archive_cmds_need_lc_F77=yes |
14567 | archive_cmds_need_lc_F77=yes |
13995 | # This is similar to how AIX traditionally builds it's shared libraries. |
14568 | # This is similar to how AIX traditionally builds its shared libraries. |
13996 | archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
14569 | 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' |
13997 | fi |
14570 | fi |
13998 | fi |
14571 | fi |
13999 | ;; |
14572 | ;; |
14000 | |
14573 | |
14001 | amigaos*) |
14574 | amigaos*) |
… | |
… | |
14004 | hardcode_minus_L_F77=yes |
14577 | hardcode_minus_L_F77=yes |
14005 | # see comment about different semantics on the GNU ld section |
14578 | # see comment about different semantics on the GNU ld section |
14006 | ld_shlibs_F77=no |
14579 | ld_shlibs_F77=no |
14007 | ;; |
14580 | ;; |
14008 | |
14581 | |
14009 | bsdi4*) |
14582 | bsdi[45]*) |
14010 | export_dynamic_flag_spec_F77=-rdynamic |
14583 | export_dynamic_flag_spec_F77=-rdynamic |
14011 | ;; |
14584 | ;; |
14012 | |
14585 | |
14013 | cygwin* | mingw* | pw32*) |
14586 | cygwin* | mingw* | pw32*) |
14014 | # When not using gcc, we currently assume that we are using |
14587 | # When not using gcc, we currently assume that we are using |
… | |
… | |
14018 | hardcode_libdir_flag_spec_F77=' ' |
14591 | hardcode_libdir_flag_spec_F77=' ' |
14019 | allow_undefined_flag_F77=unsupported |
14592 | allow_undefined_flag_F77=unsupported |
14020 | # Tell ltmain to make .lib files, not .a files. |
14593 | # Tell ltmain to make .lib files, not .a files. |
14021 | libext=lib |
14594 | libext=lib |
14022 | # Tell ltmain to make .dll files, not .so files. |
14595 | # Tell ltmain to make .dll files, not .so files. |
14023 | shrext=".dll" |
14596 | shrext_cmds=".dll" |
14024 | # FIXME: Setting linknames here is a bad hack. |
14597 | # FIXME: Setting linknames here is a bad hack. |
14025 | archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
14598 | archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
14026 | # The linker will automatically build a .lib file if we build a DLL. |
14599 | # The linker will automatically build a .lib file if we build a DLL. |
14027 | old_archive_From_new_cmds_F77='true' |
14600 | old_archive_From_new_cmds_F77='true' |
14028 | # FIXME: Should let the user specify the lib program. |
14601 | # FIXME: Should let the user specify the lib program. |
14029 | old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' |
14602 | old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' |
14030 | fix_srcfile_path='`cygpath -w "$srcfile"`' |
14603 | fix_srcfile_path_F77='`cygpath -w "$srcfile"`' |
14031 | enable_shared_with_static_runtimes_F77=yes |
14604 | enable_shared_with_static_runtimes_F77=yes |
14032 | ;; |
14605 | ;; |
14033 | |
14606 | |
14034 | darwin* | rhapsody*) |
14607 | darwin* | rhapsody*) |
14035 | if test "$GXX" = yes ; then |
14608 | case $host_os in |
|
|
14609 | rhapsody* | darwin1.[012]) |
|
|
14610 | allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' |
|
|
14611 | ;; |
|
|
14612 | *) # Darwin 1.3 on |
|
|
14613 | if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
|
|
14614 | allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
|
14615 | else |
|
|
14616 | case ${MACOSX_DEPLOYMENT_TARGET} in |
|
|
14617 | 10.[012]) |
|
|
14618 | allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
|
14619 | ;; |
|
|
14620 | 10.*) |
|
|
14621 | allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' |
|
|
14622 | ;; |
|
|
14623 | esac |
|
|
14624 | fi |
|
|
14625 | ;; |
|
|
14626 | esac |
14036 | archive_cmds_need_lc_F77=no |
14627 | archive_cmds_need_lc_F77=no |
14037 | case "$host_os" in |
|
|
14038 | rhapsody* | darwin1.[012]) |
|
|
14039 | allow_undefined_flag_F77='-undefined suppress' |
|
|
14040 | ;; |
|
|
14041 | *) # Darwin 1.3 on |
|
|
14042 | if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
|
|
14043 | allow_undefined_flag_F77='-flat_namespace -undefined suppress' |
|
|
14044 | else |
|
|
14045 | case ${MACOSX_DEPLOYMENT_TARGET} in |
|
|
14046 | 10.[012]) |
|
|
14047 | allow_undefined_flag_F77='-flat_namespace -undefined suppress' |
|
|
14048 | ;; |
|
|
14049 | 10.*) |
|
|
14050 | allow_undefined_flag_F77='-undefined dynamic_lookup' |
|
|
14051 | ;; |
|
|
14052 | esac |
|
|
14053 | fi |
|
|
14054 | ;; |
|
|
14055 | esac |
|
|
14056 | lt_int_apple_cc_single_mod=no |
|
|
14057 | output_verbose_link_cmd='echo' |
|
|
14058 | if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
|
|
14059 | lt_int_apple_cc_single_mod=yes |
|
|
14060 | fi |
|
|
14061 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
14062 | archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
14063 | else |
|
|
14064 | archive_cmds_F77='$CC -r ${wl}-bind_at_load -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' |
|
|
14065 | fi |
|
|
14066 | module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
14067 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
|
|
14068 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
14069 | archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
14070 | else |
|
|
14071 | archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
14072 | fi |
|
|
14073 | module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
14074 | hardcode_direct_F77=no |
14628 | hardcode_direct_F77=no |
14075 | hardcode_automatic_F77=yes |
14629 | hardcode_automatic_F77=yes |
14076 | hardcode_shlibpath_var_F77=unsupported |
14630 | hardcode_shlibpath_var_F77=unsupported |
14077 | whole_archive_flag_spec_F77='-all_load $convenience' |
14631 | whole_archive_flag_spec_F77='' |
14078 | link_all_deplibs_F77=yes |
14632 | link_all_deplibs_F77=yes |
|
|
14633 | if test "$GCC" = yes ; then |
|
|
14634 | output_verbose_link_cmd='echo' |
|
|
14635 | archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
14636 | module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
14637 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
|
|
14638 | archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
14639 | module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
14079 | else |
14640 | else |
|
|
14641 | case $cc_basename in |
|
|
14642 | xlc*) |
|
|
14643 | output_verbose_link_cmd='echo' |
|
|
14644 | archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
|
|
14645 | module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
14646 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
|
|
14647 | archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
14648 | module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
14649 | ;; |
|
|
14650 | *) |
14080 | ld_shlibs_F77=no |
14651 | ld_shlibs_F77=no |
|
|
14652 | ;; |
|
|
14653 | esac |
14081 | fi |
14654 | fi |
14082 | ;; |
14655 | ;; |
14083 | |
14656 | |
14084 | dgux*) |
14657 | dgux*) |
14085 | archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
14658 | archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
… | |
… | |
14109 | hardcode_minus_L_F77=yes |
14682 | hardcode_minus_L_F77=yes |
14110 | hardcode_shlibpath_var_F77=no |
14683 | hardcode_shlibpath_var_F77=no |
14111 | ;; |
14684 | ;; |
14112 | |
14685 | |
14113 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
14686 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
14114 | freebsd* | kfreebsd*-gnu) |
14687 | freebsd* | dragonfly*) |
14115 | archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
14688 | archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
14116 | hardcode_libdir_flag_spec_F77='-R$libdir' |
14689 | hardcode_libdir_flag_spec_F77='-R$libdir' |
14117 | hardcode_direct_F77=yes |
14690 | hardcode_direct_F77=yes |
14118 | hardcode_shlibpath_var_F77=no |
14691 | hardcode_shlibpath_var_F77=no |
14119 | ;; |
14692 | ;; |
… | |
… | |
14132 | # but as the default location of the library. |
14705 | # but as the default location of the library. |
14133 | hardcode_minus_L_F77=yes |
14706 | hardcode_minus_L_F77=yes |
14134 | export_dynamic_flag_spec_F77='${wl}-E' |
14707 | export_dynamic_flag_spec_F77='${wl}-E' |
14135 | ;; |
14708 | ;; |
14136 | |
14709 | |
14137 | hpux10* | hpux11*) |
14710 | hpux10*) |
14138 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
14711 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
|
14712 | archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
|
14713 | else |
|
|
14714 | archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
|
14715 | fi |
|
|
14716 | if test "$with_gnu_ld" = no; then |
|
|
14717 | hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
|
|
14718 | hardcode_libdir_separator_F77=: |
|
|
14719 | |
|
|
14720 | hardcode_direct_F77=yes |
|
|
14721 | export_dynamic_flag_spec_F77='${wl}-E' |
|
|
14722 | |
|
|
14723 | # hardcode_minus_L: Not really in the search PATH, |
|
|
14724 | # but as the default location of the library. |
|
|
14725 | hardcode_minus_L_F77=yes |
|
|
14726 | fi |
|
|
14727 | ;; |
|
|
14728 | |
|
|
14729 | hpux11*) |
|
|
14730 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
14139 | case "$host_cpu" in |
14731 | case $host_cpu in |
14140 | hppa*64*|ia64*) |
14732 | hppa*64*) |
14141 | archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
14733 | archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
14734 | ;; |
|
|
14735 | ia64*) |
|
|
14736 | archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
14142 | ;; |
14737 | ;; |
14143 | *) |
14738 | *) |
14144 | archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
14739 | archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
14145 | ;; |
14740 | ;; |
14146 | esac |
14741 | esac |
14147 | else |
14742 | else |
14148 | case "$host_cpu" in |
14743 | case $host_cpu in |
14149 | hppa*64*|ia64*) |
14744 | hppa*64*) |
14150 | archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' |
14745 | archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
14746 | ;; |
|
|
14747 | ia64*) |
|
|
14748 | archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
14151 | ;; |
14749 | ;; |
14152 | *) |
14750 | *) |
14153 | archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
14751 | archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
14154 | ;; |
14752 | ;; |
14155 | esac |
14753 | esac |
14156 | fi |
14754 | fi |
14157 | if test "$with_gnu_ld" = no; then |
14755 | if test "$with_gnu_ld" = no; then |
14158 | case "$host_cpu" in |
|
|
14159 | hppa*64*) |
|
|
14160 | hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
14756 | hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
|
|
14757 | hardcode_libdir_separator_F77=: |
|
|
14758 | |
|
|
14759 | case $host_cpu in |
|
|
14760 | hppa*64*|ia64*) |
14161 | hardcode_libdir_flag_spec_ld_F77='+b $libdir' |
14761 | hardcode_libdir_flag_spec_ld_F77='+b $libdir' |
14162 | hardcode_libdir_separator_F77=: |
|
|
14163 | hardcode_direct_F77=no |
14762 | hardcode_direct_F77=no |
14164 | hardcode_shlibpath_var_F77=no |
14763 | hardcode_shlibpath_var_F77=no |
14165 | ;; |
14764 | ;; |
14166 | ia64*) |
|
|
14167 | hardcode_libdir_flag_spec_F77='-L$libdir' |
|
|
14168 | hardcode_direct_F77=no |
|
|
14169 | hardcode_shlibpath_var_F77=no |
|
|
14170 | |
|
|
14171 | # hardcode_minus_L: Not really in the search PATH, |
|
|
14172 | # but as the default location of the library. |
|
|
14173 | hardcode_minus_L_F77=yes |
|
|
14174 | ;; |
|
|
14175 | *) |
14765 | *) |
14176 | hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
|
|
14177 | hardcode_libdir_separator_F77=: |
|
|
14178 | hardcode_direct_F77=yes |
14766 | hardcode_direct_F77=yes |
14179 | export_dynamic_flag_spec_F77='${wl}-E' |
14767 | export_dynamic_flag_spec_F77='${wl}-E' |
14180 | |
14768 | |
14181 | # hardcode_minus_L: Not really in the search PATH, |
14769 | # hardcode_minus_L: Not really in the search PATH, |
14182 | # but as the default location of the library. |
14770 | # but as the default location of the library. |
… | |
… | |
14196 | hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
14784 | hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
14197 | hardcode_libdir_separator_F77=: |
14785 | hardcode_libdir_separator_F77=: |
14198 | link_all_deplibs_F77=yes |
14786 | link_all_deplibs_F77=yes |
14199 | ;; |
14787 | ;; |
14200 | |
14788 | |
14201 | netbsd*) |
14789 | netbsd* | netbsdelf*-gnu) |
14202 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
14790 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
14203 | archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
14791 | archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
14204 | else |
14792 | else |
14205 | archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
14793 | archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
14206 | fi |
14794 | fi |
… | |
… | |
14220 | openbsd*) |
14808 | openbsd*) |
14221 | hardcode_direct_F77=yes |
14809 | hardcode_direct_F77=yes |
14222 | hardcode_shlibpath_var_F77=no |
14810 | hardcode_shlibpath_var_F77=no |
14223 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
14811 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
14224 | archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
14812 | archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
|
14813 | archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
14225 | hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
14814 | hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
14226 | export_dynamic_flag_spec_F77='${wl}-E' |
14815 | export_dynamic_flag_spec_F77='${wl}-E' |
14227 | else |
14816 | else |
14228 | case $host_os in |
14817 | case $host_os in |
14229 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
14818 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
… | |
… | |
14265 | hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
14854 | hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
14266 | else |
14855 | else |
14267 | allow_undefined_flag_F77=' -expect_unresolved \*' |
14856 | allow_undefined_flag_F77=' -expect_unresolved \*' |
14268 | archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
14857 | archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
14269 | archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
14858 | archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
14270 | $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' |
14859 | $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' |
14271 | |
14860 | |
14272 | # Both c and cxx compiler support -rpath directly |
14861 | # Both c and cxx compiler support -rpath directly |
14273 | hardcode_libdir_flag_spec_F77='-rpath $libdir' |
14862 | hardcode_libdir_flag_spec_F77='-rpath $libdir' |
14274 | fi |
14863 | fi |
14275 | hardcode_libdir_separator_F77=: |
14864 | hardcode_libdir_separator_F77=: |
14276 | ;; |
14865 | ;; |
14277 | |
14866 | |
14278 | sco3.2v5*) |
|
|
14279 | archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
14280 | hardcode_shlibpath_var_F77=no |
|
|
14281 | export_dynamic_flag_spec_F77='${wl}-Bexport' |
|
|
14282 | runpath_var=LD_RUN_PATH |
|
|
14283 | hardcode_runpath_var=yes |
|
|
14284 | ;; |
|
|
14285 | |
|
|
14286 | solaris*) |
14867 | solaris*) |
14287 | no_undefined_flag_F77=' -z text' |
14868 | no_undefined_flag_F77=' -z text' |
14288 | if test "$GCC" = yes; then |
14869 | if test "$GCC" = yes; then |
|
|
14870 | wlarc='${wl}' |
14289 | archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
14871 | archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
14290 | archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
14872 | archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
14291 | $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
14873 | $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
14292 | else |
14874 | else |
|
|
14875 | wlarc='' |
14293 | archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
14876 | archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
14294 | archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
14877 | archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
14295 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
14878 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
14296 | fi |
14879 | fi |
14297 | hardcode_libdir_flag_spec_F77='-R$libdir' |
14880 | hardcode_libdir_flag_spec_F77='-R$libdir' |
14298 | hardcode_shlibpath_var_F77=no |
14881 | hardcode_shlibpath_var_F77=no |
14299 | case $host_os in |
14882 | case $host_os in |
14300 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
14883 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
|
14884 | *) |
|
|
14885 | # The compiler driver will combine linker options so we |
|
|
14886 | # cannot just pass the convience library names through |
|
|
14887 | # without $wl, iff we do not link with $LD. |
|
|
14888 | # Luckily, gcc supports the same syntax we need for Sun Studio. |
14301 | *) # Supported since Solaris 2.6 (maybe 2.5.1?) |
14889 | # Supported since Solaris 2.6 (maybe 2.5.1?) |
|
|
14890 | case $wlarc in |
|
|
14891 | '') |
14302 | whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; |
14892 | whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; |
|
|
14893 | *) |
|
|
14894 | whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; |
|
|
14895 | esac ;; |
14303 | esac |
14896 | esac |
14304 | link_all_deplibs_F77=yes |
14897 | link_all_deplibs_F77=yes |
14305 | ;; |
14898 | ;; |
14306 | |
14899 | |
14307 | sunos4*) |
14900 | sunos4*) |
… | |
… | |
14354 | hardcode_runpath_var=yes |
14947 | hardcode_runpath_var=yes |
14355 | ld_shlibs_F77=yes |
14948 | ld_shlibs_F77=yes |
14356 | fi |
14949 | fi |
14357 | ;; |
14950 | ;; |
14358 | |
14951 | |
14359 | sysv4.2uw2*) |
14952 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) |
14360 | archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
|
14361 | hardcode_direct_F77=yes |
|
|
14362 | hardcode_minus_L_F77=no |
|
|
14363 | hardcode_shlibpath_var_F77=no |
|
|
14364 | hardcode_runpath_var=yes |
|
|
14365 | runpath_var=LD_RUN_PATH |
|
|
14366 | ;; |
|
|
14367 | |
|
|
14368 | sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) |
|
|
14369 | no_undefined_flag_F77='${wl}-z ${wl}text' |
14953 | no_undefined_flag_F77='${wl}-z,text' |
14370 | if test "$GCC" = yes; then |
14954 | archive_cmds_need_lc_F77=no |
14371 | archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
14372 | else |
|
|
14373 | archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
14374 | fi |
|
|
14375 | runpath_var='LD_RUN_PATH' |
|
|
14376 | hardcode_shlibpath_var_F77=no |
|
|
14377 | ;; |
|
|
14378 | |
|
|
14379 | sysv5*) |
|
|
14380 | no_undefined_flag_F77=' -z text' |
|
|
14381 | # $CC -shared without GNU ld will not create a library from C++ |
|
|
14382 | # object files and a static libstdc++, better avoid it by now |
|
|
14383 | archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
14384 | archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
|
14385 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
|
|
14386 | hardcode_libdir_flag_spec_F77= |
|
|
14387 | hardcode_shlibpath_var_F77=no |
14955 | hardcode_shlibpath_var_F77=no |
14388 | runpath_var='LD_RUN_PATH' |
14956 | runpath_var='LD_RUN_PATH' |
|
|
14957 | |
|
|
14958 | if test "$GCC" = yes; then |
|
|
14959 | archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
14960 | archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
14961 | else |
|
|
14962 | archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
14963 | archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
14964 | fi |
|
|
14965 | ;; |
|
|
14966 | |
|
|
14967 | sysv5* | sco3.2v5* | sco5v6*) |
|
|
14968 | # Note: We can NOT use -z defs as we might desire, because we do not |
|
|
14969 | # link with -lc, and that would cause any symbols used from libc to |
|
|
14970 | # always be unresolved, which means just about no library would |
|
|
14971 | # ever link correctly. If we're not using GNU ld we use -z text |
|
|
14972 | # though, which does catch some bad symbols but isn't as heavy-handed |
|
|
14973 | # as -z defs. |
|
|
14974 | no_undefined_flag_F77='${wl}-z,text' |
|
|
14975 | allow_undefined_flag_F77='${wl}-z,nodefs' |
|
|
14976 | archive_cmds_need_lc_F77=no |
|
|
14977 | hardcode_shlibpath_var_F77=no |
|
|
14978 | hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
|
14979 | hardcode_libdir_separator_F77=':' |
|
|
14980 | link_all_deplibs_F77=yes |
|
|
14981 | export_dynamic_flag_spec_F77='${wl}-Bexport' |
|
|
14982 | runpath_var='LD_RUN_PATH' |
|
|
14983 | |
|
|
14984 | if test "$GCC" = yes; then |
|
|
14985 | archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
14986 | archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
14987 | else |
|
|
14988 | archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
14989 | archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
14990 | fi |
14389 | ;; |
14991 | ;; |
14390 | |
14992 | |
14391 | uts4*) |
14993 | uts4*) |
14392 | archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
14994 | archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
14393 | hardcode_libdir_flag_spec_F77='-L$libdir' |
14995 | hardcode_libdir_flag_spec_F77='-L$libdir' |
… | |
… | |
14398 | ld_shlibs_F77=no |
15000 | ld_shlibs_F77=no |
14399 | ;; |
15001 | ;; |
14400 | esac |
15002 | esac |
14401 | fi |
15003 | fi |
14402 | |
15004 | |
14403 | echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 |
15005 | { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 |
14404 | echo "${ECHO_T}$ld_shlibs_F77" >&6 |
15006 | echo "${ECHO_T}$ld_shlibs_F77" >&6; } |
14405 | test "$ld_shlibs_F77" = no && can_build_shared=no |
15007 | test "$ld_shlibs_F77" = no && can_build_shared=no |
14406 | |
|
|
14407 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
|
14408 | if test "$GCC" = yes; then |
|
|
14409 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
14410 | fi |
|
|
14411 | |
15008 | |
14412 | # |
15009 | # |
14413 | # Do we need to explicitly link libc? |
15010 | # Do we need to explicitly link libc? |
14414 | # |
15011 | # |
14415 | case "x$archive_cmds_need_lc_F77" in |
15012 | case "x$archive_cmds_need_lc_F77" in |
… | |
… | |
14424 | ;; |
15021 | ;; |
14425 | '$CC '*) |
15022 | '$CC '*) |
14426 | # Test whether the compiler implicitly links with -lc since on some |
15023 | # Test whether the compiler implicitly links with -lc since on some |
14427 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
15024 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
14428 | # to ld, don't add -lc before -lgcc. |
15025 | # to ld, don't add -lc before -lgcc. |
14429 | echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
15026 | { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
14430 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 |
15027 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
14431 | $rm conftest* |
15028 | $rm conftest* |
14432 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
15029 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
14433 | |
15030 | |
14434 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
15031 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
14435 | (eval $ac_compile) 2>&5 |
15032 | (eval $ac_compile) 2>&5 |
… | |
… | |
14439 | soname=conftest |
15036 | soname=conftest |
14440 | lib=conftest |
15037 | lib=conftest |
14441 | libobjs=conftest.$ac_objext |
15038 | libobjs=conftest.$ac_objext |
14442 | deplibs= |
15039 | deplibs= |
14443 | wl=$lt_prog_compiler_wl_F77 |
15040 | wl=$lt_prog_compiler_wl_F77 |
|
|
15041 | pic_flag=$lt_prog_compiler_pic_F77 |
14444 | compiler_flags=-v |
15042 | compiler_flags=-v |
14445 | linker_flags=-v |
15043 | linker_flags=-v |
14446 | verstring= |
15044 | verstring= |
14447 | output_objdir=. |
15045 | output_objdir=. |
14448 | libname=conftest |
15046 | libname=conftest |
… | |
… | |
14461 | allow_undefined_flag_F77=$lt_save_allow_undefined_flag |
15059 | allow_undefined_flag_F77=$lt_save_allow_undefined_flag |
14462 | else |
15060 | else |
14463 | cat conftest.err 1>&5 |
15061 | cat conftest.err 1>&5 |
14464 | fi |
15062 | fi |
14465 | $rm conftest* |
15063 | $rm conftest* |
14466 | echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 |
15064 | { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 |
14467 | echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 |
15065 | echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; } |
14468 | ;; |
15066 | ;; |
14469 | esac |
15067 | esac |
14470 | fi |
15068 | fi |
14471 | ;; |
15069 | ;; |
14472 | esac |
15070 | esac |
14473 | |
15071 | |
14474 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
15072 | { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
14475 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
15073 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
14476 | library_names_spec= |
15074 | library_names_spec= |
14477 | libname_spec='lib$name' |
15075 | libname_spec='lib$name' |
14478 | soname_spec= |
15076 | soname_spec= |
14479 | shrext=".so" |
15077 | shrext_cmds=".so" |
14480 | postinstall_cmds= |
15078 | postinstall_cmds= |
14481 | postuninstall_cmds= |
15079 | postuninstall_cmds= |
14482 | finish_cmds= |
15080 | finish_cmds= |
14483 | finish_eval= |
15081 | finish_eval= |
14484 | shlibpath_var= |
15082 | shlibpath_var= |
… | |
… | |
14571 | library_names_spec='${libname}${shared_ext}' |
15169 | library_names_spec='${libname}${shared_ext}' |
14572 | dynamic_linker="$host_os ld.so" |
15170 | dynamic_linker="$host_os ld.so" |
14573 | shlibpath_var=LIBRARY_PATH |
15171 | shlibpath_var=LIBRARY_PATH |
14574 | ;; |
15172 | ;; |
14575 | |
15173 | |
14576 | bsdi4*) |
15174 | bsdi[45]*) |
14577 | version_type=linux |
15175 | version_type=linux |
14578 | need_version=no |
15176 | need_version=no |
14579 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
15177 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
14580 | soname_spec='${libname}${release}${shared_ext}$major' |
15178 | soname_spec='${libname}${release}${shared_ext}$major' |
14581 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
15179 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
… | |
… | |
14587 | # libtool to hard-code these into programs |
15185 | # libtool to hard-code these into programs |
14588 | ;; |
15186 | ;; |
14589 | |
15187 | |
14590 | cygwin* | mingw* | pw32*) |
15188 | cygwin* | mingw* | pw32*) |
14591 | version_type=windows |
15189 | version_type=windows |
14592 | shrext=".dll" |
15190 | shrext_cmds=".dll" |
14593 | need_version=no |
15191 | need_version=no |
14594 | need_lib_prefix=no |
15192 | need_lib_prefix=no |
14595 | |
15193 | |
14596 | case $GCC,$host_os in |
15194 | case $GCC,$host_os in |
14597 | yes,cygwin* | yes,mingw* | yes,pw32*) |
15195 | yes,cygwin* | yes,mingw* | yes,pw32*) |
… | |
… | |
14599 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
15197 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
14600 | postinstall_cmds='base_file=`basename \${file}`~ |
15198 | postinstall_cmds='base_file=`basename \${file}`~ |
14601 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
15199 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
14602 | dldir=$destdir/`dirname \$dlpath`~ |
15200 | dldir=$destdir/`dirname \$dlpath`~ |
14603 | test -d \$dldir || mkdir -p \$dldir~ |
15201 | test -d \$dldir || mkdir -p \$dldir~ |
14604 | $install_prog $dir/$dlname \$dldir/$dlname' |
15202 | $install_prog $dir/$dlname \$dldir/$dlname~ |
|
|
15203 | chmod a+x \$dldir/$dlname' |
14605 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
15204 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
14606 | dlpath=$dir/\$dldll~ |
15205 | dlpath=$dir/\$dldll~ |
14607 | $rm \$dlpath' |
15206 | $rm \$dlpath' |
14608 | shlibpath_overrides_runpath=yes |
15207 | shlibpath_overrides_runpath=yes |
14609 | |
15208 | |
… | |
… | |
14629 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
15228 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
14630 | fi |
15229 | fi |
14631 | ;; |
15230 | ;; |
14632 | pw32*) |
15231 | pw32*) |
14633 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
15232 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
14634 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' |
15233 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
14635 | ;; |
15234 | ;; |
14636 | esac |
15235 | esac |
14637 | ;; |
15236 | ;; |
14638 | |
15237 | |
14639 | *) |
15238 | *) |
… | |
… | |
14652 | need_version=no |
15251 | need_version=no |
14653 | library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
15252 | library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
14654 | soname_spec='${libname}${release}${major}$shared_ext' |
15253 | soname_spec='${libname}${release}${major}$shared_ext' |
14655 | shlibpath_overrides_runpath=yes |
15254 | shlibpath_overrides_runpath=yes |
14656 | shlibpath_var=DYLD_LIBRARY_PATH |
15255 | shlibpath_var=DYLD_LIBRARY_PATH |
14657 | shrext='$(test .$module = .yes && echo .so || echo .dylib)' |
15256 | shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
14658 | # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
15257 | # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
14659 | if test "$GCC" = yes; then |
15258 | if test "$GCC" = yes; then |
14660 | sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
15259 | sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
14661 | else |
15260 | else |
14662 | sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' |
15261 | sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' |
… | |
… | |
14675 | |
15274 | |
14676 | freebsd1*) |
15275 | freebsd1*) |
14677 | dynamic_linker=no |
15276 | dynamic_linker=no |
14678 | ;; |
15277 | ;; |
14679 | |
15278 | |
14680 | kfreebsd*-gnu) |
15279 | freebsd* | dragonfly*) |
14681 | version_type=linux |
15280 | # DragonFly does not have aout. When/if they implement a new |
14682 | need_lib_prefix=no |
15281 | # versioning mechanism, adjust this. |
14683 | need_version=no |
15282 | if test -x /usr/bin/objformat; then |
14684 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
15283 | objformat=`/usr/bin/objformat` |
14685 | soname_spec='${libname}${release}${shared_ext}$major' |
15284 | else |
14686 | shlibpath_var=LD_LIBRARY_PATH |
15285 | case $host_os in |
14687 | shlibpath_overrides_runpath=no |
15286 | freebsd[123]*) objformat=aout ;; |
14688 | hardcode_into_libs=yes |
15287 | *) objformat=elf ;; |
14689 | dynamic_linker='GNU ld.so' |
15288 | esac |
14690 | ;; |
15289 | fi |
14691 | |
|
|
14692 | freebsd*) |
|
|
14693 | objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
|
|
14694 | version_type=freebsd-$objformat |
15290 | version_type=freebsd-$objformat |
14695 | case $version_type in |
15291 | case $version_type in |
14696 | freebsd-elf*) |
15292 | freebsd-elf*) |
14697 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
15293 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
14698 | need_version=no |
15294 | need_version=no |
… | |
… | |
14706 | shlibpath_var=LD_LIBRARY_PATH |
15302 | shlibpath_var=LD_LIBRARY_PATH |
14707 | case $host_os in |
15303 | case $host_os in |
14708 | freebsd2*) |
15304 | freebsd2*) |
14709 | shlibpath_overrides_runpath=yes |
15305 | shlibpath_overrides_runpath=yes |
14710 | ;; |
15306 | ;; |
14711 | freebsd3.01* | freebsdelf3.01*) |
15307 | freebsd3.[01]* | freebsdelf3.[01]*) |
14712 | shlibpath_overrides_runpath=yes |
15308 | shlibpath_overrides_runpath=yes |
14713 | hardcode_into_libs=yes |
15309 | hardcode_into_libs=yes |
14714 | ;; |
15310 | ;; |
14715 | *) # from 3.2 on |
15311 | freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
|
15312 | freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
14716 | shlibpath_overrides_runpath=no |
15313 | shlibpath_overrides_runpath=no |
|
|
15314 | hardcode_into_libs=yes |
|
|
15315 | ;; |
|
|
15316 | freebsd*) # from 4.6 on |
|
|
15317 | shlibpath_overrides_runpath=yes |
14717 | hardcode_into_libs=yes |
15318 | hardcode_into_libs=yes |
14718 | ;; |
15319 | ;; |
14719 | esac |
15320 | esac |
14720 | ;; |
15321 | ;; |
14721 | |
15322 | |
… | |
… | |
14733 | # Give a soname corresponding to the major version so that dld.sl refuses to |
15334 | # Give a soname corresponding to the major version so that dld.sl refuses to |
14734 | # link against other versions. |
15335 | # link against other versions. |
14735 | version_type=sunos |
15336 | version_type=sunos |
14736 | need_lib_prefix=no |
15337 | need_lib_prefix=no |
14737 | need_version=no |
15338 | need_version=no |
14738 | case "$host_cpu" in |
15339 | case $host_cpu in |
14739 | ia64*) |
15340 | ia64*) |
14740 | shrext='.so' |
15341 | shrext_cmds='.so' |
14741 | hardcode_into_libs=yes |
15342 | hardcode_into_libs=yes |
14742 | dynamic_linker="$host_os dld.so" |
15343 | dynamic_linker="$host_os dld.so" |
14743 | shlibpath_var=LD_LIBRARY_PATH |
15344 | shlibpath_var=LD_LIBRARY_PATH |
14744 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
15345 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
14745 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
15346 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
… | |
… | |
14750 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
15351 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
14751 | fi |
15352 | fi |
14752 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
15353 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
14753 | ;; |
15354 | ;; |
14754 | hppa*64*) |
15355 | hppa*64*) |
14755 | shrext='.sl' |
15356 | shrext_cmds='.sl' |
14756 | hardcode_into_libs=yes |
15357 | hardcode_into_libs=yes |
14757 | dynamic_linker="$host_os dld.sl" |
15358 | dynamic_linker="$host_os dld.sl" |
14758 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
15359 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
14759 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
15360 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
14760 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
15361 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
14761 | soname_spec='${libname}${release}${shared_ext}$major' |
15362 | soname_spec='${libname}${release}${shared_ext}$major' |
14762 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
15363 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
14763 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
15364 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
14764 | ;; |
15365 | ;; |
14765 | *) |
15366 | *) |
14766 | shrext='.sl' |
15367 | shrext_cmds='.sl' |
14767 | dynamic_linker="$host_os dld.sl" |
15368 | dynamic_linker="$host_os dld.sl" |
14768 | shlibpath_var=SHLIB_PATH |
15369 | shlibpath_var=SHLIB_PATH |
14769 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
15370 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
14770 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
15371 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
14771 | soname_spec='${libname}${release}${shared_ext}$major' |
15372 | soname_spec='${libname}${release}${shared_ext}$major' |
14772 | ;; |
15373 | ;; |
14773 | esac |
15374 | esac |
14774 | # HP-UX runs *really* slowly unless shared libraries are mode 555. |
15375 | # HP-UX runs *really* slowly unless shared libraries are mode 555. |
14775 | postinstall_cmds='chmod 555 $lib' |
15376 | postinstall_cmds='chmod 555 $lib' |
|
|
15377 | ;; |
|
|
15378 | |
|
|
15379 | interix3*) |
|
|
15380 | version_type=linux |
|
|
15381 | need_lib_prefix=no |
|
|
15382 | need_version=no |
|
|
15383 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
|
15384 | soname_spec='${libname}${release}${shared_ext}$major' |
|
|
15385 | dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
|
15386 | shlibpath_var=LD_LIBRARY_PATH |
|
|
15387 | shlibpath_overrides_runpath=no |
|
|
15388 | hardcode_into_libs=yes |
14776 | ;; |
15389 | ;; |
14777 | |
15390 | |
14778 | irix5* | irix6* | nonstopux*) |
15391 | irix5* | irix6* | nonstopux*) |
14779 | case $host_os in |
15392 | case $host_os in |
14780 | nonstopux*) version_type=nonstopux ;; |
15393 | nonstopux*) version_type=nonstopux ;; |
… | |
… | |
14816 | linux*oldld* | linux*aout* | linux*coff*) |
15429 | linux*oldld* | linux*aout* | linux*coff*) |
14817 | dynamic_linker=no |
15430 | dynamic_linker=no |
14818 | ;; |
15431 | ;; |
14819 | |
15432 | |
14820 | # This must be Linux ELF. |
15433 | # This must be Linux ELF. |
14821 | linux*) |
15434 | linux* | k*bsd*-gnu) |
14822 | version_type=linux |
15435 | version_type=linux |
14823 | need_lib_prefix=no |
15436 | need_lib_prefix=no |
14824 | need_version=no |
15437 | need_version=no |
14825 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
15438 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
14826 | soname_spec='${libname}${release}${shared_ext}$major' |
15439 | soname_spec='${libname}${release}${shared_ext}$major' |
… | |
… | |
14832 | # before this can be enabled. |
15445 | # before this can be enabled. |
14833 | hardcode_into_libs=yes |
15446 | hardcode_into_libs=yes |
14834 | |
15447 | |
14835 | # Append ld.so.conf contents to the search path |
15448 | # Append ld.so.conf contents to the search path |
14836 | if test -f /etc/ld.so.conf; then |
15449 | if test -f /etc/ld.so.conf; then |
14837 | ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf` |
15450 | lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
14838 | sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra" |
15451 | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
14839 | fi |
15452 | fi |
14840 | |
15453 | |
14841 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
15454 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
14842 | # powerpc, because MkLinux only supported shared libraries with the |
15455 | # powerpc, because MkLinux only supported shared libraries with the |
14843 | # GNU dynamic linker. Since this was broken with cross compilers, |
15456 | # GNU dynamic linker. Since this was broken with cross compilers, |
… | |
… | |
14845 | # people can always --disable-shared, the test was removed, and we |
15458 | # people can always --disable-shared, the test was removed, and we |
14846 | # assume the GNU/Linux dynamic linker is in use. |
15459 | # assume the GNU/Linux dynamic linker is in use. |
14847 | dynamic_linker='GNU/Linux ld.so' |
15460 | dynamic_linker='GNU/Linux ld.so' |
14848 | ;; |
15461 | ;; |
14849 | |
15462 | |
14850 | knetbsd*-gnu) |
15463 | netbsdelf*-gnu) |
14851 | version_type=linux |
15464 | version_type=linux |
14852 | need_lib_prefix=no |
15465 | need_lib_prefix=no |
14853 | need_version=no |
15466 | need_version=no |
14854 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
15467 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
14855 | soname_spec='${libname}${release}${shared_ext}$major' |
15468 | soname_spec='${libname}${release}${shared_ext}$major' |
14856 | shlibpath_var=LD_LIBRARY_PATH |
15469 | shlibpath_var=LD_LIBRARY_PATH |
14857 | shlibpath_overrides_runpath=no |
15470 | shlibpath_overrides_runpath=no |
14858 | hardcode_into_libs=yes |
15471 | hardcode_into_libs=yes |
14859 | dynamic_linker='GNU ld.so' |
15472 | dynamic_linker='NetBSD ld.elf_so' |
14860 | ;; |
15473 | ;; |
14861 | |
15474 | |
14862 | netbsd*) |
15475 | netbsd*) |
14863 | version_type=sunos |
15476 | version_type=sunos |
14864 | need_lib_prefix=no |
15477 | need_lib_prefix=no |
… | |
… | |
14894 | shlibpath_overrides_runpath=yes |
15507 | shlibpath_overrides_runpath=yes |
14895 | ;; |
15508 | ;; |
14896 | |
15509 | |
14897 | openbsd*) |
15510 | openbsd*) |
14898 | version_type=sunos |
15511 | version_type=sunos |
|
|
15512 | sys_lib_dlsearch_path_spec="/usr/lib" |
14899 | need_lib_prefix=no |
15513 | need_lib_prefix=no |
14900 | need_version=yes |
15514 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
|
15515 | case $host_os in |
|
|
15516 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
|
15517 | *) need_version=no ;; |
|
|
15518 | esac |
14901 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
15519 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
14902 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
15520 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
14903 | shlibpath_var=LD_LIBRARY_PATH |
15521 | shlibpath_var=LD_LIBRARY_PATH |
14904 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
15522 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
14905 | case $host_os in |
15523 | case $host_os in |
… | |
… | |
14915 | fi |
15533 | fi |
14916 | ;; |
15534 | ;; |
14917 | |
15535 | |
14918 | os2*) |
15536 | os2*) |
14919 | libname_spec='$name' |
15537 | libname_spec='$name' |
14920 | shrext=".dll" |
15538 | shrext_cmds=".dll" |
14921 | need_lib_prefix=no |
15539 | need_lib_prefix=no |
14922 | library_names_spec='$libname${shared_ext} $libname.a' |
15540 | library_names_spec='$libname${shared_ext} $libname.a' |
14923 | dynamic_linker='OS/2 ld.exe' |
15541 | dynamic_linker='OS/2 ld.exe' |
14924 | shlibpath_var=LIBPATH |
15542 | shlibpath_var=LIBPATH |
14925 | ;; |
15543 | ;; |
… | |
… | |
14931 | soname_spec='${libname}${release}${shared_ext}$major' |
15549 | soname_spec='${libname}${release}${shared_ext}$major' |
14932 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
15550 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
14933 | shlibpath_var=LD_LIBRARY_PATH |
15551 | shlibpath_var=LD_LIBRARY_PATH |
14934 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
15552 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
14935 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
15553 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
14936 | ;; |
|
|
14937 | |
|
|
14938 | sco3.2v5*) |
|
|
14939 | version_type=osf |
|
|
14940 | soname_spec='${libname}${release}${shared_ext}$major' |
|
|
14941 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
14942 | shlibpath_var=LD_LIBRARY_PATH |
|
|
14943 | ;; |
15554 | ;; |
14944 | |
15555 | |
14945 | solaris*) |
15556 | solaris*) |
14946 | version_type=linux |
15557 | version_type=linux |
14947 | need_lib_prefix=no |
15558 | need_lib_prefix=no |
… | |
… | |
14965 | need_lib_prefix=no |
15576 | need_lib_prefix=no |
14966 | fi |
15577 | fi |
14967 | need_version=yes |
15578 | need_version=yes |
14968 | ;; |
15579 | ;; |
14969 | |
15580 | |
14970 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
15581 | sysv4 | sysv4.3*) |
14971 | version_type=linux |
15582 | version_type=linux |
14972 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
15583 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
14973 | soname_spec='${libname}${release}${shared_ext}$major' |
15584 | soname_spec='${libname}${release}${shared_ext}$major' |
14974 | shlibpath_var=LD_LIBRARY_PATH |
15585 | shlibpath_var=LD_LIBRARY_PATH |
14975 | case $host_vendor in |
15586 | case $host_vendor in |
… | |
… | |
14998 | soname_spec='$libname${shared_ext}.$major' |
15609 | soname_spec='$libname${shared_ext}.$major' |
14999 | shlibpath_var=LD_LIBRARY_PATH |
15610 | shlibpath_var=LD_LIBRARY_PATH |
15000 | fi |
15611 | fi |
15001 | ;; |
15612 | ;; |
15002 | |
15613 | |
|
|
15614 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
|
15615 | version_type=freebsd-elf |
|
|
15616 | need_lib_prefix=no |
|
|
15617 | need_version=no |
|
|
15618 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
|
15619 | soname_spec='${libname}${release}${shared_ext}$major' |
|
|
15620 | shlibpath_var=LD_LIBRARY_PATH |
|
|
15621 | hardcode_into_libs=yes |
|
|
15622 | if test "$with_gnu_ld" = yes; then |
|
|
15623 | sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
|
15624 | shlibpath_overrides_runpath=no |
|
|
15625 | else |
|
|
15626 | sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
|
15627 | shlibpath_overrides_runpath=yes |
|
|
15628 | case $host_os in |
|
|
15629 | sco3.2v5*) |
|
|
15630 | sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
|
15631 | ;; |
|
|
15632 | esac |
|
|
15633 | fi |
|
|
15634 | sys_lib_dlsearch_path_spec='/usr/lib' |
|
|
15635 | ;; |
|
|
15636 | |
15003 | uts4*) |
15637 | uts4*) |
15004 | version_type=linux |
15638 | version_type=linux |
15005 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
15639 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
15006 | soname_spec='${libname}${release}${shared_ext}$major' |
15640 | soname_spec='${libname}${release}${shared_ext}$major' |
15007 | shlibpath_var=LD_LIBRARY_PATH |
15641 | shlibpath_var=LD_LIBRARY_PATH |
… | |
… | |
15009 | |
15643 | |
15010 | *) |
15644 | *) |
15011 | dynamic_linker=no |
15645 | dynamic_linker=no |
15012 | ;; |
15646 | ;; |
15013 | esac |
15647 | esac |
15014 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
15648 | { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
15015 | echo "${ECHO_T}$dynamic_linker" >&6 |
15649 | echo "${ECHO_T}$dynamic_linker" >&6; } |
15016 | test "$dynamic_linker" = no && can_build_shared=no |
15650 | test "$dynamic_linker" = no && can_build_shared=no |
15017 | |
15651 | |
|
|
15652 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
|
15653 | if test "$GCC" = yes; then |
|
|
15654 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
15655 | fi |
|
|
15656 | |
15018 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
15657 | { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
15019 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
15658 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } |
15020 | hardcode_action_F77= |
15659 | hardcode_action_F77= |
15021 | if test -n "$hardcode_libdir_flag_spec_F77" || \ |
15660 | if test -n "$hardcode_libdir_flag_spec_F77" || \ |
15022 | test -n "$runpath_var F77" || \ |
15661 | test -n "$runpath_var_F77" || \ |
15023 | test "X$hardcode_automatic_F77"="Xyes" ; then |
15662 | test "X$hardcode_automatic_F77" = "Xyes" ; then |
15024 | |
15663 | |
15025 | # We can hardcode non-existant directories. |
15664 | # We can hardcode non-existant directories. |
15026 | if test "$hardcode_direct_F77" != no && |
15665 | if test "$hardcode_direct_F77" != no && |
15027 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
15666 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
15028 | # have to relink, otherwise we might link with an installed library |
15667 | # have to relink, otherwise we might link with an installed library |
… | |
… | |
15038 | else |
15677 | else |
15039 | # We cannot hardcode anything, or else we can only hardcode existing |
15678 | # We cannot hardcode anything, or else we can only hardcode existing |
15040 | # directories. |
15679 | # directories. |
15041 | hardcode_action_F77=unsupported |
15680 | hardcode_action_F77=unsupported |
15042 | fi |
15681 | fi |
15043 | echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 |
15682 | { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 |
15044 | echo "${ECHO_T}$hardcode_action_F77" >&6 |
15683 | echo "${ECHO_T}$hardcode_action_F77" >&6; } |
15045 | |
15684 | |
15046 | if test "$hardcode_action_F77" = relink; then |
15685 | if test "$hardcode_action_F77" = relink; then |
15047 | # Fast installation is not supported |
15686 | # Fast installation is not supported |
15048 | enable_fast_install=no |
15687 | enable_fast_install=no |
15049 | elif test "$shlibpath_overrides_runpath" = yes || |
15688 | elif test "$shlibpath_overrides_runpath" = yes || |
15050 | test "$enable_shared" = no; then |
15689 | test "$enable_shared" = no; then |
15051 | # Fast installation is not necessary |
15690 | # Fast installation is not necessary |
15052 | enable_fast_install=needless |
15691 | enable_fast_install=needless |
15053 | fi |
15692 | fi |
15054 | |
|
|
15055 | striplib= |
|
|
15056 | old_striplib= |
|
|
15057 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
|
|
15058 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
|
|
15059 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
|
|
15060 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
|
15061 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
|
15062 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
15063 | echo "${ECHO_T}yes" >&6 |
|
|
15064 | else |
|
|
15065 | # FIXME - insert some real tests, host_os isn't really good enough |
|
|
15066 | case $host_os in |
|
|
15067 | darwin*) |
|
|
15068 | if test -n "$STRIP" ; then |
|
|
15069 | striplib="$STRIP -x" |
|
|
15070 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
15071 | echo "${ECHO_T}yes" >&6 |
|
|
15072 | else |
|
|
15073 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
15074 | echo "${ECHO_T}no" >&6 |
|
|
15075 | fi |
|
|
15076 | ;; |
|
|
15077 | *) |
|
|
15078 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
15079 | echo "${ECHO_T}no" >&6 |
|
|
15080 | ;; |
|
|
15081 | esac |
|
|
15082 | fi |
|
|
15083 | |
|
|
15084 | |
15693 | |
15085 | |
15694 | |
15086 | # The else clause should only fire when bootstrapping the |
15695 | # The else clause should only fire when bootstrapping the |
15087 | # libtool distribution, otherwise you forgot to ship ltmain.sh |
15696 | # libtool distribution, otherwise you forgot to ship ltmain.sh |
15088 | # with your package, and you will get complaints that there are |
15697 | # with your package, and you will get complaints that there are |
… | |
… | |
15094 | setopt NO_GLOB_SUBST |
15703 | setopt NO_GLOB_SUBST |
15095 | fi |
15704 | fi |
15096 | # Now quote all the things that may contain metacharacters while being |
15705 | # Now quote all the things that may contain metacharacters while being |
15097 | # careful not to overquote the AC_SUBSTed values. We take copies of the |
15706 | # careful not to overquote the AC_SUBSTed values. We take copies of the |
15098 | # variables and quote the copies for generation of the libtool script. |
15707 | # variables and quote the copies for generation of the libtool script. |
15099 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
15708 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
15100 | SED SHELL STRIP \ |
15709 | SED SHELL STRIP \ |
15101 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
15710 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
15102 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
15711 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
15103 | deplibs_check_method reload_flag reload_cmds need_locks \ |
15712 | deplibs_check_method reload_flag reload_cmds need_locks \ |
15104 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
15713 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
… | |
… | |
15195 | fast_install=$enable_fast_install |
15804 | fast_install=$enable_fast_install |
15196 | |
15805 | |
15197 | # The host system. |
15806 | # The host system. |
15198 | host_alias=$host_alias |
15807 | host_alias=$host_alias |
15199 | host=$host |
15808 | host=$host |
|
|
15809 | host_os=$host_os |
|
|
15810 | |
|
|
15811 | # The build system. |
|
|
15812 | build_alias=$build_alias |
|
|
15813 | build=$build |
|
|
15814 | build_os=$build_os |
15200 | |
15815 | |
15201 | # An echo program that does not interpret backslashes. |
15816 | # An echo program that does not interpret backslashes. |
15202 | echo=$lt_echo |
15817 | echo=$lt_echo |
15203 | |
15818 | |
15204 | # The archiver. |
15819 | # The archiver. |
… | |
… | |
15206 | AR_FLAGS=$lt_AR_FLAGS |
15821 | AR_FLAGS=$lt_AR_FLAGS |
15207 | |
15822 | |
15208 | # A C compiler. |
15823 | # A C compiler. |
15209 | LTCC=$lt_LTCC |
15824 | LTCC=$lt_LTCC |
15210 | |
15825 | |
|
|
15826 | # LTCC compiler flags. |
|
|
15827 | LTCFLAGS=$lt_LTCFLAGS |
|
|
15828 | |
15211 | # A language-specific compiler. |
15829 | # A language-specific compiler. |
15212 | CC=$lt_compiler_F77 |
15830 | CC=$lt_compiler_F77 |
15213 | |
15831 | |
15214 | # Is the compiler the GNU C compiler? |
15832 | # Is the compiler the GNU C compiler? |
15215 | with_gcc=$GCC_F77 |
15833 | with_gcc=$GCC_F77 |
… | |
… | |
15256 | |
15874 | |
15257 | # Old archive suffix (normally "a"). |
15875 | # Old archive suffix (normally "a"). |
15258 | libext="$libext" |
15876 | libext="$libext" |
15259 | |
15877 | |
15260 | # Shared library suffix (normally ".so"). |
15878 | # Shared library suffix (normally ".so"). |
15261 | shrext='$shrext' |
15879 | shrext_cmds='$shrext_cmds' |
15262 | |
15880 | |
15263 | # Executable file suffix (normally ""). |
15881 | # Executable file suffix (normally ""). |
15264 | exeext="$exeext" |
15882 | exeext="$exeext" |
15265 | |
15883 | |
15266 | # Additional compiler flags for building library objects. |
15884 | # Additional compiler flags for building library objects. |
… | |
… | |
15271 | max_cmd_len=$lt_cv_sys_max_cmd_len |
15889 | max_cmd_len=$lt_cv_sys_max_cmd_len |
15272 | |
15890 | |
15273 | # Does compiler simultaneously support -c and -o options? |
15891 | # Does compiler simultaneously support -c and -o options? |
15274 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 |
15892 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 |
15275 | |
15893 | |
15276 | # Must we lock files when doing compilation ? |
15894 | # Must we lock files when doing compilation? |
15277 | need_locks=$lt_need_locks |
15895 | need_locks=$lt_need_locks |
15278 | |
15896 | |
15279 | # Do we need the lib prefix for modules? |
15897 | # Do we need the lib prefix for modules? |
15280 | need_lib_prefix=$need_lib_prefix |
15898 | need_lib_prefix=$need_lib_prefix |
15281 | |
15899 | |
… | |
… | |
15497 | |
16115 | |
15498 | GCJ) |
16116 | GCJ) |
15499 | if test -n "$GCJ" && test "X$GCJ" != "Xno"; then |
16117 | if test -n "$GCJ" && test "X$GCJ" != "Xno"; then |
15500 | |
16118 | |
15501 | |
16119 | |
15502 | |
|
|
15503 | # Source file extension for Java test sources. |
16120 | # Source file extension for Java test sources. |
15504 | ac_ext=java |
16121 | ac_ext=java |
15505 | |
16122 | |
15506 | # Object file extension for compiled Java test sources. |
16123 | # Object file extension for compiled Java test sources. |
15507 | objext=o |
16124 | objext=o |
… | |
… | |
15509 | |
16126 | |
15510 | # Code to be used in simple compile tests |
16127 | # Code to be used in simple compile tests |
15511 | lt_simple_compile_test_code="class foo {}\n" |
16128 | lt_simple_compile_test_code="class foo {}\n" |
15512 | |
16129 | |
15513 | # Code to be used in simple link tests |
16130 | # Code to be used in simple link tests |
15514 | lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' |
16131 | lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n' |
15515 | |
16132 | |
15516 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
16133 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
15517 | |
16134 | |
15518 | # If no C compiler was specified, use CC. |
16135 | # If no C compiler was specified, use CC. |
15519 | LTCC=${LTCC-"$CC"} |
16136 | LTCC=${LTCC-"$CC"} |
15520 | |
16137 | |
|
|
16138 | # If no C compiler flags were specified, use CFLAGS. |
|
|
16139 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
16140 | |
15521 | # Allow CC to be a program name with arguments. |
16141 | # Allow CC to be a program name with arguments. |
15522 | compiler=$CC |
16142 | compiler=$CC |
|
|
16143 | |
|
|
16144 | |
|
|
16145 | # save warnings/boilerplate of simple test code |
|
|
16146 | ac_outfile=conftest.$ac_objext |
|
|
16147 | printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
|
16148 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
|
16149 | _lt_compiler_boilerplate=`cat conftest.err` |
|
|
16150 | $rm conftest* |
|
|
16151 | |
|
|
16152 | ac_outfile=conftest.$ac_objext |
|
|
16153 | printf "$lt_simple_link_test_code" >conftest.$ac_ext |
|
|
16154 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
|
16155 | _lt_linker_boilerplate=`cat conftest.err` |
|
|
16156 | $rm conftest* |
15523 | |
16157 | |
15524 | |
16158 | |
15525 | # Allow CC to be a program name with arguments. |
16159 | # Allow CC to be a program name with arguments. |
15526 | lt_save_CC="$CC" |
16160 | lt_save_CC="$CC" |
15527 | CC=${GCJ-"gcj"} |
16161 | CC=${GCJ-"gcj"} |
15528 | compiler=$CC |
16162 | compiler=$CC |
15529 | compiler_GCJ=$CC |
16163 | compiler_GCJ=$CC |
|
|
16164 | for cc_temp in $compiler""; do |
|
|
16165 | case $cc_temp in |
|
|
16166 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
16167 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
16168 | \-*) ;; |
|
|
16169 | *) break;; |
|
|
16170 | esac |
|
|
16171 | done |
|
|
16172 | cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
|
16173 | |
15530 | |
16174 | |
15531 | # GCJ did not exist at the time GCC didn't implicitly link libc in. |
16175 | # GCJ did not exist at the time GCC didn't implicitly link libc in. |
15532 | archive_cmds_need_lc_GCJ=no |
16176 | archive_cmds_need_lc_GCJ=no |
15533 | |
16177 | |
|
|
16178 | old_archive_cmds_GCJ=$old_archive_cmds |
|
|
16179 | |
15534 | |
16180 | |
15535 | lt_prog_compiler_no_builtin_flag_GCJ= |
16181 | lt_prog_compiler_no_builtin_flag_GCJ= |
15536 | |
16182 | |
15537 | if test "$GCC" = yes; then |
16183 | if test "$GCC" = yes; then |
15538 | lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' |
16184 | lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' |
15539 | |
16185 | |
15540 | |
16186 | |
15541 | echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
16187 | { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
15542 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 |
16188 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } |
15543 | if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
16189 | if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
15544 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16190 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15545 | else |
16191 | else |
15546 | lt_cv_prog_compiler_rtti_exceptions=no |
16192 | lt_cv_prog_compiler_rtti_exceptions=no |
15547 | ac_outfile=conftest.$ac_objext |
16193 | ac_outfile=conftest.$ac_objext |
… | |
… | |
15551 | # (2) before a word containing "conftest.", or (3) at the end. |
16197 | # (2) before a word containing "conftest.", or (3) at the end. |
15552 | # Note that $ac_compile itself does not contain backslashes and begins |
16198 | # Note that $ac_compile itself does not contain backslashes and begins |
15553 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
16199 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
15554 | # The option is referenced via a variable to avoid confusing sed. |
16200 | # The option is referenced via a variable to avoid confusing sed. |
15555 | lt_compile=`echo "$ac_compile" | $SED \ |
16201 | lt_compile=`echo "$ac_compile" | $SED \ |
15556 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16202 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
15557 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16203 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15558 | -e 's:$: $lt_compiler_flag:'` |
16204 | -e 's:$: $lt_compiler_flag:'` |
15559 | (eval echo "\"\$as_me:15559: $lt_compile\"" >&5) |
16205 | (eval echo "\"\$as_me:16205: $lt_compile\"" >&5) |
15560 | (eval "$lt_compile" 2>conftest.err) |
16206 | (eval "$lt_compile" 2>conftest.err) |
15561 | ac_status=$? |
16207 | ac_status=$? |
15562 | cat conftest.err >&5 |
16208 | cat conftest.err >&5 |
15563 | echo "$as_me:15563: \$? = $ac_status" >&5 |
16209 | echo "$as_me:16209: \$? = $ac_status" >&5 |
15564 | if (exit $ac_status) && test -s "$ac_outfile"; then |
16210 | if (exit $ac_status) && test -s "$ac_outfile"; then |
15565 | # The compiler can only warn and ignore the option if not recognized |
16211 | # The compiler can only warn and ignore the option if not recognized |
15566 | # So say no if there are warnings |
16212 | # So say no if there are warnings other than the usual output. |
15567 | if test ! -s conftest.err; then |
16213 | $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
|
16214 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
16215 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
15568 | lt_cv_prog_compiler_rtti_exceptions=yes |
16216 | lt_cv_prog_compiler_rtti_exceptions=yes |
15569 | fi |
16217 | fi |
15570 | fi |
16218 | fi |
15571 | $rm conftest* |
16219 | $rm conftest* |
15572 | |
16220 | |
15573 | fi |
16221 | fi |
15574 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
16222 | { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
15575 | echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 |
16223 | echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
15576 | |
16224 | |
15577 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
16225 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
15578 | lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" |
16226 | lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" |
15579 | else |
16227 | else |
15580 | : |
16228 | : |
… | |
… | |
15584 | |
16232 | |
15585 | lt_prog_compiler_wl_GCJ= |
16233 | lt_prog_compiler_wl_GCJ= |
15586 | lt_prog_compiler_pic_GCJ= |
16234 | lt_prog_compiler_pic_GCJ= |
15587 | lt_prog_compiler_static_GCJ= |
16235 | lt_prog_compiler_static_GCJ= |
15588 | |
16236 | |
15589 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
16237 | { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
15590 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 |
16238 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
15591 | |
16239 | |
15592 | if test "$GCC" = yes; then |
16240 | if test "$GCC" = yes; then |
15593 | lt_prog_compiler_wl_GCJ='-Wl,' |
16241 | lt_prog_compiler_wl_GCJ='-Wl,' |
15594 | lt_prog_compiler_static_GCJ='-static' |
16242 | lt_prog_compiler_static_GCJ='-static' |
15595 | |
16243 | |
… | |
… | |
15623 | # PIC is the default on this platform |
16271 | # PIC is the default on this platform |
15624 | # Common symbols not allowed in MH_DYLIB files |
16272 | # Common symbols not allowed in MH_DYLIB files |
15625 | lt_prog_compiler_pic_GCJ='-fno-common' |
16273 | lt_prog_compiler_pic_GCJ='-fno-common' |
15626 | ;; |
16274 | ;; |
15627 | |
16275 | |
|
|
16276 | interix3*) |
|
|
16277 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
|
16278 | # Instead, we relocate shared libraries at runtime. |
|
|
16279 | ;; |
|
|
16280 | |
15628 | msdosdjgpp*) |
16281 | msdosdjgpp*) |
15629 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
16282 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
15630 | # on systems that don't support them. |
16283 | # on systems that don't support them. |
15631 | lt_prog_compiler_can_build_shared_GCJ=no |
16284 | lt_prog_compiler_can_build_shared_GCJ=no |
15632 | enable_shared=no |
16285 | enable_shared=no |
… | |
… | |
15639 | ;; |
16292 | ;; |
15640 | |
16293 | |
15641 | hpux*) |
16294 | hpux*) |
15642 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
16295 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
15643 | # not for PA HP-UX. |
16296 | # not for PA HP-UX. |
15644 | case "$host_cpu" in |
16297 | case $host_cpu in |
15645 | hppa*64*|ia64*) |
16298 | hppa*64*|ia64*) |
15646 | # +Z the default |
16299 | # +Z the default |
15647 | ;; |
16300 | ;; |
15648 | *) |
16301 | *) |
15649 | lt_prog_compiler_pic_GCJ='-fPIC' |
16302 | lt_prog_compiler_pic_GCJ='-fPIC' |
… | |
… | |
15665 | lt_prog_compiler_static_GCJ='-Bstatic' |
16318 | lt_prog_compiler_static_GCJ='-Bstatic' |
15666 | else |
16319 | else |
15667 | lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' |
16320 | lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' |
15668 | fi |
16321 | fi |
15669 | ;; |
16322 | ;; |
|
|
16323 | darwin*) |
|
|
16324 | # PIC is the default on this platform |
|
|
16325 | # Common symbols not allowed in MH_DYLIB files |
|
|
16326 | case $cc_basename in |
|
|
16327 | xlc*) |
|
|
16328 | lt_prog_compiler_pic_GCJ='-qnocommon' |
|
|
16329 | lt_prog_compiler_wl_GCJ='-Wl,' |
|
|
16330 | ;; |
|
|
16331 | esac |
|
|
16332 | ;; |
15670 | |
16333 | |
15671 | mingw* | pw32* | os2*) |
16334 | mingw* | pw32* | os2*) |
15672 | # This hack is so that the source file can tell whether it is being |
16335 | # This hack is so that the source file can tell whether it is being |
15673 | # built for inclusion in a dll (and should export symbols for example). |
16336 | # built for inclusion in a dll (and should export symbols for example). |
15674 | lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' |
16337 | lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' |
… | |
… | |
15676 | |
16339 | |
15677 | hpux9* | hpux10* | hpux11*) |
16340 | hpux9* | hpux10* | hpux11*) |
15678 | lt_prog_compiler_wl_GCJ='-Wl,' |
16341 | lt_prog_compiler_wl_GCJ='-Wl,' |
15679 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
16342 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
15680 | # not for PA HP-UX. |
16343 | # not for PA HP-UX. |
15681 | case "$host_cpu" in |
16344 | case $host_cpu in |
15682 | hppa*64*|ia64*) |
16345 | hppa*64*|ia64*) |
15683 | # +Z the default |
16346 | # +Z the default |
15684 | ;; |
16347 | ;; |
15685 | *) |
16348 | *) |
15686 | lt_prog_compiler_pic_GCJ='+Z' |
16349 | lt_prog_compiler_pic_GCJ='+Z' |
… | |
… | |
15699 | newsos6) |
16362 | newsos6) |
15700 | lt_prog_compiler_pic_GCJ='-KPIC' |
16363 | lt_prog_compiler_pic_GCJ='-KPIC' |
15701 | lt_prog_compiler_static_GCJ='-Bstatic' |
16364 | lt_prog_compiler_static_GCJ='-Bstatic' |
15702 | ;; |
16365 | ;; |
15703 | |
16366 | |
15704 | linux*) |
16367 | linux* | k*bsd*-gnu) |
15705 | case $CC in |
16368 | case $cc_basename in |
15706 | icc* | ecc*) |
16369 | icc* | ecc*) |
15707 | lt_prog_compiler_wl_GCJ='-Wl,' |
16370 | lt_prog_compiler_wl_GCJ='-Wl,' |
15708 | lt_prog_compiler_pic_GCJ='-KPIC' |
16371 | lt_prog_compiler_pic_GCJ='-KPIC' |
15709 | lt_prog_compiler_static_GCJ='-static' |
16372 | lt_prog_compiler_static_GCJ='-static' |
|
|
16373 | ;; |
|
|
16374 | pgcc* | pgf77* | pgf90* | pgf95*) |
|
|
16375 | # Portland Group compilers (*not* the Pentium gcc compiler, |
|
|
16376 | # which looks to be a dead project) |
|
|
16377 | lt_prog_compiler_wl_GCJ='-Wl,' |
|
|
16378 | lt_prog_compiler_pic_GCJ='-fpic' |
|
|
16379 | lt_prog_compiler_static_GCJ='-Bstatic' |
15710 | ;; |
16380 | ;; |
15711 | ccc*) |
16381 | ccc*) |
15712 | lt_prog_compiler_wl_GCJ='-Wl,' |
16382 | lt_prog_compiler_wl_GCJ='-Wl,' |
15713 | # All Alpha code is PIC. |
16383 | # All Alpha code is PIC. |
15714 | lt_prog_compiler_static_GCJ='-non_shared' |
16384 | lt_prog_compiler_static_GCJ='-non_shared' |
… | |
… | |
15720 | lt_prog_compiler_wl_GCJ='-Wl,' |
16390 | lt_prog_compiler_wl_GCJ='-Wl,' |
15721 | # All OSF/1 code is PIC. |
16391 | # All OSF/1 code is PIC. |
15722 | lt_prog_compiler_static_GCJ='-non_shared' |
16392 | lt_prog_compiler_static_GCJ='-non_shared' |
15723 | ;; |
16393 | ;; |
15724 | |
16394 | |
15725 | sco3.2v5*) |
|
|
15726 | lt_prog_compiler_pic_GCJ='-Kpic' |
|
|
15727 | lt_prog_compiler_static_GCJ='-dn' |
|
|
15728 | ;; |
|
|
15729 | |
|
|
15730 | solaris*) |
16395 | solaris*) |
15731 | lt_prog_compiler_wl_GCJ='-Wl,' |
|
|
15732 | lt_prog_compiler_pic_GCJ='-KPIC' |
16396 | lt_prog_compiler_pic_GCJ='-KPIC' |
15733 | lt_prog_compiler_static_GCJ='-Bstatic' |
16397 | lt_prog_compiler_static_GCJ='-Bstatic' |
|
|
16398 | case $cc_basename in |
|
|
16399 | f77* | f90* | f95*) |
|
|
16400 | lt_prog_compiler_wl_GCJ='-Qoption ld ';; |
|
|
16401 | *) |
|
|
16402 | lt_prog_compiler_wl_GCJ='-Wl,';; |
|
|
16403 | esac |
15734 | ;; |
16404 | ;; |
15735 | |
16405 | |
15736 | sunos4*) |
16406 | sunos4*) |
15737 | lt_prog_compiler_wl_GCJ='-Qoption ld ' |
16407 | lt_prog_compiler_wl_GCJ='-Qoption ld ' |
15738 | lt_prog_compiler_pic_GCJ='-PIC' |
16408 | lt_prog_compiler_pic_GCJ='-PIC' |
15739 | lt_prog_compiler_static_GCJ='-Bstatic' |
16409 | lt_prog_compiler_static_GCJ='-Bstatic' |
15740 | ;; |
16410 | ;; |
15741 | |
16411 | |
15742 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
16412 | sysv4 | sysv4.2uw2* | sysv4.3*) |
15743 | lt_prog_compiler_wl_GCJ='-Wl,' |
16413 | lt_prog_compiler_wl_GCJ='-Wl,' |
15744 | lt_prog_compiler_pic_GCJ='-KPIC' |
16414 | lt_prog_compiler_pic_GCJ='-KPIC' |
15745 | lt_prog_compiler_static_GCJ='-Bstatic' |
16415 | lt_prog_compiler_static_GCJ='-Bstatic' |
15746 | ;; |
16416 | ;; |
15747 | |
16417 | |
… | |
… | |
15750 | lt_prog_compiler_pic_GCJ='-Kconform_pic' |
16420 | lt_prog_compiler_pic_GCJ='-Kconform_pic' |
15751 | lt_prog_compiler_static_GCJ='-Bstatic' |
16421 | lt_prog_compiler_static_GCJ='-Bstatic' |
15752 | fi |
16422 | fi |
15753 | ;; |
16423 | ;; |
15754 | |
16424 | |
|
|
16425 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
|
16426 | lt_prog_compiler_wl_GCJ='-Wl,' |
|
|
16427 | lt_prog_compiler_pic_GCJ='-KPIC' |
|
|
16428 | lt_prog_compiler_static_GCJ='-Bstatic' |
|
|
16429 | ;; |
|
|
16430 | |
|
|
16431 | unicos*) |
|
|
16432 | lt_prog_compiler_wl_GCJ='-Wl,' |
|
|
16433 | lt_prog_compiler_can_build_shared_GCJ=no |
|
|
16434 | ;; |
|
|
16435 | |
15755 | uts4*) |
16436 | uts4*) |
15756 | lt_prog_compiler_pic_GCJ='-pic' |
16437 | lt_prog_compiler_pic_GCJ='-pic' |
15757 | lt_prog_compiler_static_GCJ='-Bstatic' |
16438 | lt_prog_compiler_static_GCJ='-Bstatic' |
15758 | ;; |
16439 | ;; |
15759 | |
16440 | |
… | |
… | |
15761 | lt_prog_compiler_can_build_shared_GCJ=no |
16442 | lt_prog_compiler_can_build_shared_GCJ=no |
15762 | ;; |
16443 | ;; |
15763 | esac |
16444 | esac |
15764 | fi |
16445 | fi |
15765 | |
16446 | |
15766 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 |
16447 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 |
15767 | echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 |
16448 | echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; } |
15768 | |
16449 | |
15769 | # |
16450 | # |
15770 | # Check to make sure the PIC flag actually works. |
16451 | # Check to make sure the PIC flag actually works. |
15771 | # |
16452 | # |
15772 | if test -n "$lt_prog_compiler_pic_GCJ"; then |
16453 | if test -n "$lt_prog_compiler_pic_GCJ"; then |
15773 | |
16454 | |
15774 | echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 |
16455 | { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 |
15775 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 |
16456 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } |
15776 | if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then |
16457 | if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then |
15777 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16458 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15778 | else |
16459 | else |
15779 | lt_prog_compiler_pic_works_GCJ=no |
16460 | lt_prog_compiler_pic_works_GCJ=no |
15780 | ac_outfile=conftest.$ac_objext |
16461 | ac_outfile=conftest.$ac_objext |
… | |
… | |
15784 | # (2) before a word containing "conftest.", or (3) at the end. |
16465 | # (2) before a word containing "conftest.", or (3) at the end. |
15785 | # Note that $ac_compile itself does not contain backslashes and begins |
16466 | # Note that $ac_compile itself does not contain backslashes and begins |
15786 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
16467 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
15787 | # The option is referenced via a variable to avoid confusing sed. |
16468 | # The option is referenced via a variable to avoid confusing sed. |
15788 | lt_compile=`echo "$ac_compile" | $SED \ |
16469 | lt_compile=`echo "$ac_compile" | $SED \ |
15789 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16470 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
15790 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16471 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15791 | -e 's:$: $lt_compiler_flag:'` |
16472 | -e 's:$: $lt_compiler_flag:'` |
15792 | (eval echo "\"\$as_me:15792: $lt_compile\"" >&5) |
16473 | (eval echo "\"\$as_me:16473: $lt_compile\"" >&5) |
15793 | (eval "$lt_compile" 2>conftest.err) |
16474 | (eval "$lt_compile" 2>conftest.err) |
15794 | ac_status=$? |
16475 | ac_status=$? |
15795 | cat conftest.err >&5 |
16476 | cat conftest.err >&5 |
15796 | echo "$as_me:15796: \$? = $ac_status" >&5 |
16477 | echo "$as_me:16477: \$? = $ac_status" >&5 |
15797 | if (exit $ac_status) && test -s "$ac_outfile"; then |
16478 | if (exit $ac_status) && test -s "$ac_outfile"; then |
15798 | # The compiler can only warn and ignore the option if not recognized |
16479 | # The compiler can only warn and ignore the option if not recognized |
15799 | # So say no if there are warnings |
16480 | # So say no if there are warnings other than the usual output. |
15800 | if test ! -s conftest.err; then |
16481 | $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
|
16482 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
16483 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
15801 | lt_prog_compiler_pic_works_GCJ=yes |
16484 | lt_prog_compiler_pic_works_GCJ=yes |
15802 | fi |
16485 | fi |
15803 | fi |
16486 | fi |
15804 | $rm conftest* |
16487 | $rm conftest* |
15805 | |
16488 | |
15806 | fi |
16489 | fi |
15807 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 |
16490 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 |
15808 | echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 |
16491 | echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; } |
15809 | |
16492 | |
15810 | if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then |
16493 | if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then |
15811 | case $lt_prog_compiler_pic_GCJ in |
16494 | case $lt_prog_compiler_pic_GCJ in |
15812 | "" | " "*) ;; |
16495 | "" | " "*) ;; |
15813 | *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; |
16496 | *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; |
… | |
… | |
15816 | lt_prog_compiler_pic_GCJ= |
16499 | lt_prog_compiler_pic_GCJ= |
15817 | lt_prog_compiler_can_build_shared_GCJ=no |
16500 | lt_prog_compiler_can_build_shared_GCJ=no |
15818 | fi |
16501 | fi |
15819 | |
16502 | |
15820 | fi |
16503 | fi |
15821 | case "$host_os" in |
16504 | case $host_os in |
15822 | # For platforms which do not support PIC, -DPIC is meaningless: |
16505 | # For platforms which do not support PIC, -DPIC is meaningless: |
15823 | *djgpp*) |
16506 | *djgpp*) |
15824 | lt_prog_compiler_pic_GCJ= |
16507 | lt_prog_compiler_pic_GCJ= |
15825 | ;; |
16508 | ;; |
15826 | *) |
16509 | *) |
15827 | lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" |
16510 | lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" |
15828 | ;; |
16511 | ;; |
15829 | esac |
16512 | esac |
15830 | |
16513 | |
|
|
16514 | # |
|
|
16515 | # Check to make sure the static flag actually works. |
|
|
16516 | # |
|
|
16517 | wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" |
|
|
16518 | { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
|
16519 | echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } |
|
|
16520 | if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then |
|
|
16521 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
16522 | else |
|
|
16523 | lt_prog_compiler_static_works_GCJ=no |
|
|
16524 | save_LDFLAGS="$LDFLAGS" |
|
|
16525 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
|
16526 | printf "$lt_simple_link_test_code" > conftest.$ac_ext |
|
|
16527 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
|
16528 | # The linker can only warn and ignore the option if not recognized |
|
|
16529 | # So say no if there are warnings |
|
|
16530 | if test -s conftest.err; then |
|
|
16531 | # Append any errors to the config.log. |
|
|
16532 | cat conftest.err 1>&5 |
|
|
16533 | $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
|
|
16534 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
|
16535 | if diff conftest.exp conftest.er2 >/dev/null; then |
|
|
16536 | lt_prog_compiler_static_works_GCJ=yes |
|
|
16537 | fi |
|
|
16538 | else |
|
|
16539 | lt_prog_compiler_static_works_GCJ=yes |
|
|
16540 | fi |
|
|
16541 | fi |
|
|
16542 | $rm conftest* |
|
|
16543 | LDFLAGS="$save_LDFLAGS" |
|
|
16544 | |
|
|
16545 | fi |
|
|
16546 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 |
|
|
16547 | echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; } |
|
|
16548 | |
|
|
16549 | if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then |
|
|
16550 | : |
|
|
16551 | else |
|
|
16552 | lt_prog_compiler_static_GCJ= |
|
|
16553 | fi |
|
|
16554 | |
|
|
16555 | |
15831 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
16556 | { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
15832 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
16557 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } |
15833 | if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then |
16558 | if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then |
15834 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16559 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15835 | else |
16560 | else |
15836 | lt_cv_prog_compiler_c_o_GCJ=no |
16561 | lt_cv_prog_compiler_c_o_GCJ=no |
15837 | $rm -r conftest 2>/dev/null |
16562 | $rm -r conftest 2>/dev/null |
… | |
… | |
15844 | # Insert the option either (1) after the last *FLAGS variable, or |
16569 | # Insert the option either (1) after the last *FLAGS variable, or |
15845 | # (2) before a word containing "conftest.", or (3) at the end. |
16570 | # (2) before a word containing "conftest.", or (3) at the end. |
15846 | # Note that $ac_compile itself does not contain backslashes and begins |
16571 | # Note that $ac_compile itself does not contain backslashes and begins |
15847 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
16572 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
15848 | lt_compile=`echo "$ac_compile" | $SED \ |
16573 | lt_compile=`echo "$ac_compile" | $SED \ |
15849 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16574 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
15850 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16575 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15851 | -e 's:$: $lt_compiler_flag:'` |
16576 | -e 's:$: $lt_compiler_flag:'` |
15852 | (eval echo "\"\$as_me:15852: $lt_compile\"" >&5) |
16577 | (eval echo "\"\$as_me:16577: $lt_compile\"" >&5) |
15853 | (eval "$lt_compile" 2>out/conftest.err) |
16578 | (eval "$lt_compile" 2>out/conftest.err) |
15854 | ac_status=$? |
16579 | ac_status=$? |
15855 | cat out/conftest.err >&5 |
16580 | cat out/conftest.err >&5 |
15856 | echo "$as_me:15856: \$? = $ac_status" >&5 |
16581 | echo "$as_me:16581: \$? = $ac_status" >&5 |
15857 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
16582 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
15858 | then |
16583 | then |
15859 | # The compiler can only warn and ignore the option if not recognized |
16584 | # The compiler can only warn and ignore the option if not recognized |
15860 | # So say no if there are warnings |
16585 | # So say no if there are warnings |
15861 | if test ! -s out/conftest.err; then |
16586 | $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
|
16587 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
|
16588 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
15862 | lt_cv_prog_compiler_c_o_GCJ=yes |
16589 | lt_cv_prog_compiler_c_o_GCJ=yes |
15863 | fi |
16590 | fi |
15864 | fi |
16591 | fi |
15865 | chmod u+w . |
16592 | chmod u+w . 2>&5 |
15866 | $rm conftest* |
16593 | $rm conftest* |
15867 | # SGI C++ compiler will create directory out/ii_files/ for |
16594 | # SGI C++ compiler will create directory out/ii_files/ for |
15868 | # template instantiation |
16595 | # template instantiation |
15869 | test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
16596 | test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
15870 | $rm out/* && rmdir out |
16597 | $rm out/* && rmdir out |
15871 | cd .. |
16598 | cd .. |
15872 | rmdir conftest |
16599 | rmdir conftest |
15873 | $rm conftest* |
16600 | $rm conftest* |
15874 | |
16601 | |
15875 | fi |
16602 | fi |
15876 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 |
16603 | { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 |
15877 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 |
16604 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; } |
15878 | |
16605 | |
15879 | |
16606 | |
15880 | hard_links="nottested" |
16607 | hard_links="nottested" |
15881 | if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then |
16608 | if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then |
15882 | # do not overwrite the value of need_locks provided by the user |
16609 | # do not overwrite the value of need_locks provided by the user |
15883 | echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
16610 | { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
15884 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 |
16611 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
15885 | hard_links=yes |
16612 | hard_links=yes |
15886 | $rm conftest* |
16613 | $rm conftest* |
15887 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
16614 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
15888 | touch conftest.a |
16615 | touch conftest.a |
15889 | ln conftest.a conftest.b 2>&5 || hard_links=no |
16616 | ln conftest.a conftest.b 2>&5 || hard_links=no |
15890 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
16617 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
15891 | echo "$as_me:$LINENO: result: $hard_links" >&5 |
16618 | { echo "$as_me:$LINENO: result: $hard_links" >&5 |
15892 | echo "${ECHO_T}$hard_links" >&6 |
16619 | echo "${ECHO_T}$hard_links" >&6; } |
15893 | if test "$hard_links" = no; then |
16620 | if test "$hard_links" = no; then |
15894 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
16621 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
15895 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
16622 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
15896 | need_locks=warn |
16623 | need_locks=warn |
15897 | fi |
16624 | fi |
15898 | else |
16625 | else |
15899 | need_locks=no |
16626 | need_locks=no |
15900 | fi |
16627 | fi |
15901 | |
16628 | |
15902 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
16629 | { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
15903 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 |
16630 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
15904 | |
16631 | |
15905 | runpath_var= |
16632 | runpath_var= |
15906 | allow_undefined_flag_GCJ= |
16633 | allow_undefined_flag_GCJ= |
15907 | enable_shared_with_static_runtimes_GCJ=no |
16634 | enable_shared_with_static_runtimes_GCJ=no |
15908 | archive_cmds_GCJ= |
16635 | archive_cmds_GCJ= |
… | |
… | |
15936 | # platforms (ab)use it in PIC code, but their linkers get confused if |
16663 | # platforms (ab)use it in PIC code, but their linkers get confused if |
15937 | # the symbol is explicitly referenced. Since portable code cannot |
16664 | # the symbol is explicitly referenced. Since portable code cannot |
15938 | # rely on this symbol name, it's probably fine to never include it in |
16665 | # rely on this symbol name, it's probably fine to never include it in |
15939 | # preloaded symbol tables. |
16666 | # preloaded symbol tables. |
15940 | extract_expsyms_cmds= |
16667 | extract_expsyms_cmds= |
|
|
16668 | # Just being paranoid about ensuring that cc_basename is set. |
|
|
16669 | for cc_temp in $compiler""; do |
|
|
16670 | case $cc_temp in |
|
|
16671 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
16672 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
16673 | \-*) ;; |
|
|
16674 | *) break;; |
|
|
16675 | esac |
|
|
16676 | done |
|
|
16677 | cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
15941 | |
16678 | |
15942 | case $host_os in |
16679 | case $host_os in |
15943 | cygwin* | mingw* | pw32*) |
16680 | cygwin* | mingw* | pw32*) |
15944 | # FIXME: the MSVC++ port hasn't been tested in a loooong time |
16681 | # FIXME: the MSVC++ port hasn't been tested in a loooong time |
15945 | # When not using gcc, we currently assume that we are using |
16682 | # When not using gcc, we currently assume that we are using |
15946 | # Microsoft Visual C++. |
16683 | # Microsoft Visual C++. |
15947 | if test "$GCC" != yes; then |
16684 | if test "$GCC" != yes; then |
15948 | with_gnu_ld=no |
16685 | with_gnu_ld=no |
15949 | fi |
16686 | fi |
15950 | ;; |
16687 | ;; |
|
|
16688 | interix*) |
|
|
16689 | # we just hope/assume this is gcc and not c89 (= MSVC++) |
|
|
16690 | with_gnu_ld=yes |
|
|
16691 | ;; |
15951 | openbsd*) |
16692 | openbsd*) |
15952 | with_gnu_ld=no |
16693 | with_gnu_ld=no |
15953 | ;; |
16694 | ;; |
15954 | esac |
16695 | esac |
15955 | |
16696 | |
15956 | ld_shlibs_GCJ=yes |
16697 | ld_shlibs_GCJ=yes |
15957 | if test "$with_gnu_ld" = yes; then |
16698 | if test "$with_gnu_ld" = yes; then |
15958 | # If archive_cmds runs LD, not CC, wlarc should be empty |
16699 | # If archive_cmds runs LD, not CC, wlarc should be empty |
15959 | wlarc='${wl}' |
16700 | wlarc='${wl}' |
|
|
16701 | |
|
|
16702 | # Set some defaults for GNU ld with shared library support. These |
|
|
16703 | # are reset later if shared libraries are not supported. Putting them |
|
|
16704 | # here allows them to be overridden if necessary. |
|
|
16705 | runpath_var=LD_RUN_PATH |
|
|
16706 | hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' |
|
|
16707 | export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' |
|
|
16708 | # ancient GNU ld didn't support --whole-archive et. al. |
|
|
16709 | if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
|
16710 | whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
|
16711 | else |
|
|
16712 | whole_archive_flag_spec_GCJ= |
|
|
16713 | fi |
|
|
16714 | supports_anon_versioning=no |
|
|
16715 | case `$LD -v 2>/dev/null` in |
|
|
16716 | *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
|
16717 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
|
16718 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
|
16719 | *\ 2.11.*) ;; # other 2.11 versions |
|
|
16720 | *) supports_anon_versioning=yes ;; |
|
|
16721 | esac |
15960 | |
16722 | |
15961 | # See if GNU ld supports shared libraries. |
16723 | # See if GNU ld supports shared libraries. |
15962 | case $host_os in |
16724 | case $host_os in |
15963 | aix3* | aix4* | aix5*) |
16725 | aix3* | aix4* | aix5*) |
15964 | # On AIX/PPC, the GNU linker is very broken |
16726 | # On AIX/PPC, the GNU linker is very broken |
… | |
… | |
16006 | # as there is no search path for DLLs. |
16768 | # as there is no search path for DLLs. |
16007 | hardcode_libdir_flag_spec_GCJ='-L$libdir' |
16769 | hardcode_libdir_flag_spec_GCJ='-L$libdir' |
16008 | allow_undefined_flag_GCJ=unsupported |
16770 | allow_undefined_flag_GCJ=unsupported |
16009 | always_export_symbols_GCJ=no |
16771 | always_export_symbols_GCJ=no |
16010 | enable_shared_with_static_runtimes_GCJ=yes |
16772 | enable_shared_with_static_runtimes_GCJ=yes |
16011 | export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
16773 | export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
16012 | |
16774 | |
16013 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
16775 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
16014 | archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
16776 | archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
16015 | # If the export-symbols file already is a .def file (1st line |
16777 | # If the export-symbols file already is a .def file (1st line |
16016 | # is EXPORTS), use it as is; otherwise, prepend... |
16778 | # is EXPORTS), use it as is; otherwise, prepend... |
16017 | archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
16779 | archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
16018 | cp $export_symbols $output_objdir/$soname.def; |
16780 | cp $export_symbols $output_objdir/$soname.def; |
16019 | else |
16781 | else |
16020 | echo EXPORTS > $output_objdir/$soname.def; |
16782 | echo EXPORTS > $output_objdir/$soname.def; |
16021 | cat $export_symbols >> $output_objdir/$soname.def; |
16783 | cat $export_symbols >> $output_objdir/$soname.def; |
16022 | fi~ |
16784 | fi~ |
16023 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
16785 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
16024 | else |
16786 | else |
16025 | ld_shlibs=no |
16787 | ld_shlibs_GCJ=no |
16026 | fi |
16788 | fi |
16027 | ;; |
16789 | ;; |
16028 | |
16790 | |
16029 | netbsd*) |
16791 | interix3*) |
|
|
16792 | hardcode_direct_GCJ=no |
|
|
16793 | hardcode_shlibpath_var_GCJ=no |
|
|
16794 | hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
|
|
16795 | export_dynamic_flag_spec_GCJ='${wl}-E' |
|
|
16796 | # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
|
16797 | # Instead, shared libraries are loaded at an image base (0x10000000 by |
|
|
16798 | # default) and relocated if they conflict, which is a slow very memory |
|
|
16799 | # consuming and fragmenting process. To avoid this, we pick a random, |
|
|
16800 | # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
|
16801 | # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
|
16802 | archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
|
16803 | archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
|
16804 | ;; |
|
|
16805 | |
|
|
16806 | linux* | k*bsd*-gnu) |
|
|
16807 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
16808 | tmp_addflag= |
|
|
16809 | case $cc_basename,$host_cpu in |
|
|
16810 | pgcc*) # Portland Group C compiler |
|
|
16811 | whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
|
16812 | tmp_addflag=' $pic_flag' |
|
|
16813 | ;; |
|
|
16814 | pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
|
|
16815 | whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
|
16816 | tmp_addflag=' $pic_flag -Mnomain' ;; |
|
|
16817 | ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
|
16818 | tmp_addflag=' -i_dynamic' ;; |
|
|
16819 | efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
|
16820 | tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
|
16821 | ifc* | ifort*) # Intel Fortran compiler |
|
|
16822 | tmp_addflag=' -nofor_main' ;; |
|
|
16823 | esac |
|
|
16824 | archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
16825 | |
|
|
16826 | if test $supports_anon_versioning = yes; then |
|
|
16827 | archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
|
16828 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
|
16829 | $echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
|
16830 | $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
|
16831 | fi |
|
|
16832 | link_all_deplibs_GCJ=no |
|
|
16833 | else |
|
|
16834 | ld_shlibs_GCJ=no |
|
|
16835 | fi |
|
|
16836 | ;; |
|
|
16837 | |
|
|
16838 | netbsd* | netbsdelf*-gnu) |
16030 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
16839 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
16031 | archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
16840 | archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
16032 | wlarc= |
16841 | wlarc= |
16033 | else |
16842 | else |
16034 | archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
16843 | archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
16035 | archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
16844 | archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
16036 | fi |
16845 | fi |
16037 | ;; |
16846 | ;; |
16038 | |
16847 | |
16039 | solaris* | sysv5*) |
16848 | solaris*) |
16040 | if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
16849 | if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
16041 | ld_shlibs_GCJ=no |
16850 | ld_shlibs_GCJ=no |
16042 | cat <<EOF 1>&2 |
16851 | cat <<EOF 1>&2 |
16043 | |
16852 | |
16044 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
16853 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
… | |
… | |
16055 | else |
16864 | else |
16056 | ld_shlibs_GCJ=no |
16865 | ld_shlibs_GCJ=no |
16057 | fi |
16866 | fi |
16058 | ;; |
16867 | ;; |
16059 | |
16868 | |
|
|
16869 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
|
16870 | case `$LD -v 2>&1` in |
|
|
16871 | *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
|
16872 | ld_shlibs_GCJ=no |
|
|
16873 | cat <<_LT_EOF 1>&2 |
|
|
16874 | |
|
|
16875 | *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
|
16876 | *** reliably create shared libraries on SCO systems. Therefore, libtool |
|
|
16877 | *** is disabling shared libraries support. We urge you to upgrade GNU |
|
|
16878 | *** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
|
16879 | *** your PATH or compiler configuration so that the native linker is |
|
|
16880 | *** used, and then restart. |
|
|
16881 | |
|
|
16882 | _LT_EOF |
|
|
16883 | ;; |
|
|
16884 | *) |
|
|
16885 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
|
16886 | hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
|
|
16887 | archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
|
|
16888 | archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
|
|
16889 | else |
|
|
16890 | ld_shlibs_GCJ=no |
|
|
16891 | fi |
|
|
16892 | ;; |
|
|
16893 | esac |
|
|
16894 | ;; |
|
|
16895 | |
16060 | sunos4*) |
16896 | sunos4*) |
16061 | archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
16897 | archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
16062 | wlarc= |
16898 | wlarc= |
16063 | hardcode_direct_GCJ=yes |
16899 | hardcode_direct_GCJ=yes |
16064 | hardcode_shlibpath_var_GCJ=no |
16900 | hardcode_shlibpath_var_GCJ=no |
16065 | ;; |
16901 | ;; |
16066 | |
|
|
16067 | linux*) |
|
|
16068 | if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
|
|
16069 | tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
16070 | archive_cmds_GCJ="$tmp_archive_cmds" |
|
|
16071 | supports_anon_versioning=no |
|
|
16072 | case `$LD -v 2>/dev/null` in |
|
|
16073 | *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
|
16074 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
|
16075 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
|
16076 | *\ 2.11.*) ;; # other 2.11 versions |
|
|
16077 | *) supports_anon_versioning=yes ;; |
|
|
16078 | esac |
|
|
16079 | if test $supports_anon_versioning = yes; then |
|
|
16080 | archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
|
16081 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
|
16082 | $echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
|
16083 | $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
|
16084 | else |
|
|
16085 | archive_expsym_cmds_GCJ="$tmp_archive_cmds" |
|
|
16086 | fi |
|
|
16087 | else |
|
|
16088 | ld_shlibs_GCJ=no |
|
|
16089 | fi |
|
|
16090 | ;; |
|
|
16091 | |
16902 | |
16092 | *) |
16903 | *) |
16093 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
16904 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
16094 | archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
16905 | archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
16095 | archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
16906 | archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
… | |
… | |
16097 | ld_shlibs_GCJ=no |
16908 | ld_shlibs_GCJ=no |
16098 | fi |
16909 | fi |
16099 | ;; |
16910 | ;; |
16100 | esac |
16911 | esac |
16101 | |
16912 | |
16102 | if test "$ld_shlibs_GCJ" = yes; then |
16913 | if test "$ld_shlibs_GCJ" = no; then |
16103 | runpath_var=LD_RUN_PATH |
16914 | runpath_var= |
16104 | hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' |
16915 | hardcode_libdir_flag_spec_GCJ= |
16105 | export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' |
16916 | export_dynamic_flag_spec_GCJ= |
16106 | # ancient GNU ld didn't support --whole-archive et. al. |
|
|
16107 | if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
|
16108 | whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
|
16109 | else |
|
|
16110 | whole_archive_flag_spec_GCJ= |
16917 | whole_archive_flag_spec_GCJ= |
16111 | fi |
|
|
16112 | fi |
16918 | fi |
16113 | else |
16919 | else |
16114 | # PORTME fill in a description of your system's linker (not GNU ld) |
16920 | # PORTME fill in a description of your system's linker (not GNU ld) |
16115 | case $host_os in |
16921 | case $host_os in |
16116 | aix3*) |
16922 | aix3*) |
… | |
… | |
16118 | always_export_symbols_GCJ=yes |
16924 | always_export_symbols_GCJ=yes |
16119 | archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
16925 | archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
16120 | # Note: this linker hardcodes the directories in LIBPATH if there |
16926 | # Note: this linker hardcodes the directories in LIBPATH if there |
16121 | # are no directories specified by -L. |
16927 | # are no directories specified by -L. |
16122 | hardcode_minus_L_GCJ=yes |
16928 | hardcode_minus_L_GCJ=yes |
16123 | if test "$GCC" = yes && test -z "$link_static_flag"; then |
16929 | if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
16124 | # Neither direct hardcoding nor static linking is supported with a |
16930 | # Neither direct hardcoding nor static linking is supported with a |
16125 | # broken collect2. |
16931 | # broken collect2. |
16126 | hardcode_direct_GCJ=unsupported |
16932 | hardcode_direct_GCJ=unsupported |
16127 | fi |
16933 | fi |
16128 | ;; |
16934 | ;; |
… | |
… | |
16152 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
16958 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
16153 | aix_use_runtimelinking=yes |
16959 | aix_use_runtimelinking=yes |
16154 | break |
16960 | break |
16155 | fi |
16961 | fi |
16156 | done |
16962 | done |
|
|
16963 | ;; |
16157 | esac |
16964 | esac |
16158 | |
16965 | |
16159 | exp_sym_flag='-bexport' |
16966 | exp_sym_flag='-bexport' |
16160 | no_entry_flag='-bnoentry' |
16967 | no_entry_flag='-bnoentry' |
16161 | fi |
16968 | fi |
… | |
… | |
16170 | hardcode_direct_GCJ=yes |
16977 | hardcode_direct_GCJ=yes |
16171 | hardcode_libdir_separator_GCJ=':' |
16978 | hardcode_libdir_separator_GCJ=':' |
16172 | link_all_deplibs_GCJ=yes |
16979 | link_all_deplibs_GCJ=yes |
16173 | |
16980 | |
16174 | if test "$GCC" = yes; then |
16981 | if test "$GCC" = yes; then |
16175 | case $host_os in aix4.012|aix4.012.*) |
16982 | case $host_os in aix4.[012]|aix4.[012].*) |
16176 | # We only want to do this on AIX 4.2 and lower, the check |
16983 | # We only want to do this on AIX 4.2 and lower, the check |
16177 | # below for broken collect2 doesn't work under 4.3+ |
16984 | # below for broken collect2 doesn't work under 4.3+ |
16178 | collect2name=`${CC} -print-prog-name=collect2` |
16985 | collect2name=`${CC} -print-prog-name=collect2` |
16179 | if test -f "$collect2name" && \ |
16986 | if test -f "$collect2name" && \ |
16180 | strings "$collect2name" | grep resolve_lib_name >/dev/null |
16987 | strings "$collect2name" | grep resolve_lib_name >/dev/null |
… | |
… | |
16189 | # to unsupported forces relinking |
16996 | # to unsupported forces relinking |
16190 | hardcode_minus_L_GCJ=yes |
16997 | hardcode_minus_L_GCJ=yes |
16191 | hardcode_libdir_flag_spec_GCJ='-L$libdir' |
16998 | hardcode_libdir_flag_spec_GCJ='-L$libdir' |
16192 | hardcode_libdir_separator_GCJ= |
16999 | hardcode_libdir_separator_GCJ= |
16193 | fi |
17000 | fi |
|
|
17001 | ;; |
16194 | esac |
17002 | esac |
16195 | shared_flag='-shared' |
17003 | shared_flag='-shared' |
|
|
17004 | if test "$aix_use_runtimelinking" = yes; then |
|
|
17005 | shared_flag="$shared_flag "'${wl}-G' |
|
|
17006 | fi |
16196 | else |
17007 | else |
16197 | # not using gcc |
17008 | # not using gcc |
16198 | if test "$host_cpu" = ia64; then |
17009 | if test "$host_cpu" = ia64; then |
16199 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
17010 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
16200 | # chokes on -Wl,-G. The following line is correct: |
17011 | # chokes on -Wl,-G. The following line is correct: |
16201 | shared_flag='-G' |
17012 | shared_flag='-G' |
16202 | else |
17013 | else |
16203 | if test "$aix_use_runtimelinking" = yes; then |
17014 | if test "$aix_use_runtimelinking" = yes; then |
16204 | shared_flag='${wl}-G' |
17015 | shared_flag='${wl}-G' |
16205 | else |
17016 | else |
16206 | shared_flag='${wl}-bM:SRE' |
17017 | shared_flag='${wl}-bM:SRE' |
16207 | fi |
17018 | fi |
16208 | fi |
17019 | fi |
16209 | fi |
17020 | fi |
16210 | |
17021 | |
16211 | # It seems that -bexpall does not export symbols beginning with |
17022 | # It seems that -bexpall does not export symbols beginning with |
16212 | # underscore (_), so it is better to generate a list of symbols to export. |
17023 | # underscore (_), so it is better to generate a list of symbols to export. |
… | |
… | |
16230 | ; |
17041 | ; |
16231 | return 0; |
17042 | return 0; |
16232 | } |
17043 | } |
16233 | _ACEOF |
17044 | _ACEOF |
16234 | rm -f conftest.$ac_objext conftest$ac_exeext |
17045 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
17046 | if { (ac_try="$ac_link" |
|
|
17047 | case "(($ac_try" in |
|
|
17048 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
17049 | *) ac_try_echo=$ac_try;; |
|
|
17050 | esac |
16235 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17051 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16236 | (eval $ac_link) 2>conftest.er1 |
17052 | (eval "$ac_link") 2>conftest.er1 |
16237 | ac_status=$? |
17053 | ac_status=$? |
16238 | grep -v '^ *+' conftest.er1 >conftest.err |
17054 | grep -v '^ *+' conftest.er1 >conftest.err |
16239 | rm -f conftest.er1 |
17055 | rm -f conftest.er1 |
16240 | cat conftest.err >&5 |
17056 | cat conftest.err >&5 |
16241 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17057 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16242 | (exit $ac_status); } && |
17058 | (exit $ac_status); } && { |
16243 | { ac_try='test -z "$ac_c_werror_flag" |
17059 | test -z "$ac_c_werror_flag" || |
16244 | || test ! -s conftest.err' |
17060 | test ! -s conftest.err |
16245 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17061 | } && test -s conftest$ac_exeext && |
16246 | (eval $ac_try) 2>&5 |
17062 | $as_test_x conftest$ac_exeext; then |
16247 | ac_status=$? |
|
|
16248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16249 | (exit $ac_status); }; } && |
|
|
16250 | { ac_try='test -s conftest$ac_exeext' |
|
|
16251 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16252 | (eval $ac_try) 2>&5 |
|
|
16253 | ac_status=$? |
|
|
16254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16255 | (exit $ac_status); }; }; then |
|
|
16256 | |
17063 | |
16257 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
17064 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
16258 | }'` |
17065 | }'` |
16259 | # Check for a 64-bit object if we didn't find anything. |
17066 | # Check for a 64-bit object if we didn't find anything. |
16260 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
17067 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
16261 | }'`; fi |
17068 | }'`; fi |
16262 | else |
17069 | else |
16263 | echo "$as_me: failed program was:" >&5 |
17070 | echo "$as_me: failed program was:" >&5 |
16264 | sed 's/^/| /' conftest.$ac_ext >&5 |
17071 | sed 's/^/| /' conftest.$ac_ext >&5 |
16265 | |
17072 | |
|
|
17073 | |
16266 | fi |
17074 | fi |
16267 | rm -f conftest.err conftest.$ac_objext \ |
17075 | |
|
|
17076 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16268 | conftest$ac_exeext conftest.$ac_ext |
17077 | conftest$ac_exeext conftest.$ac_ext |
16269 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
17078 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16270 | |
17079 | |
16271 | hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
17080 | hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
16272 | archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
17081 | archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
16273 | else |
17082 | else |
16274 | if test "$host_cpu" = ia64; then |
17083 | if test "$host_cpu" = ia64; then |
16275 | hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' |
17084 | hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' |
16276 | allow_undefined_flag_GCJ="-z nodefs" |
17085 | allow_undefined_flag_GCJ="-z nodefs" |
16277 | archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" |
17086 | archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
16278 | else |
17087 | else |
16279 | # Determine the default libpath from the value encoded in an empty executable. |
17088 | # Determine the default libpath from the value encoded in an empty executable. |
16280 | cat >conftest.$ac_ext <<_ACEOF |
17089 | cat >conftest.$ac_ext <<_ACEOF |
16281 | /* confdefs.h. */ |
17090 | /* confdefs.h. */ |
16282 | _ACEOF |
17091 | _ACEOF |
… | |
… | |
16291 | ; |
17100 | ; |
16292 | return 0; |
17101 | return 0; |
16293 | } |
17102 | } |
16294 | _ACEOF |
17103 | _ACEOF |
16295 | rm -f conftest.$ac_objext conftest$ac_exeext |
17104 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
17105 | if { (ac_try="$ac_link" |
|
|
17106 | case "(($ac_try" in |
|
|
17107 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
17108 | *) ac_try_echo=$ac_try;; |
|
|
17109 | esac |
16296 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17110 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16297 | (eval $ac_link) 2>conftest.er1 |
17111 | (eval "$ac_link") 2>conftest.er1 |
16298 | ac_status=$? |
17112 | ac_status=$? |
16299 | grep -v '^ *+' conftest.er1 >conftest.err |
17113 | grep -v '^ *+' conftest.er1 >conftest.err |
16300 | rm -f conftest.er1 |
17114 | rm -f conftest.er1 |
16301 | cat conftest.err >&5 |
17115 | cat conftest.err >&5 |
16302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17116 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16303 | (exit $ac_status); } && |
17117 | (exit $ac_status); } && { |
16304 | { ac_try='test -z "$ac_c_werror_flag" |
17118 | test -z "$ac_c_werror_flag" || |
16305 | || test ! -s conftest.err' |
17119 | test ! -s conftest.err |
16306 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17120 | } && test -s conftest$ac_exeext && |
16307 | (eval $ac_try) 2>&5 |
17121 | $as_test_x conftest$ac_exeext; then |
16308 | ac_status=$? |
|
|
16309 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16310 | (exit $ac_status); }; } && |
|
|
16311 | { ac_try='test -s conftest$ac_exeext' |
|
|
16312 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16313 | (eval $ac_try) 2>&5 |
|
|
16314 | ac_status=$? |
|
|
16315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16316 | (exit $ac_status); }; }; then |
|
|
16317 | |
17122 | |
16318 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
17123 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
16319 | }'` |
17124 | }'` |
16320 | # Check for a 64-bit object if we didn't find anything. |
17125 | # Check for a 64-bit object if we didn't find anything. |
16321 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
17126 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
16322 | }'`; fi |
17127 | }'`; fi |
16323 | else |
17128 | else |
16324 | echo "$as_me: failed program was:" >&5 |
17129 | echo "$as_me: failed program was:" >&5 |
16325 | sed 's/^/| /' conftest.$ac_ext >&5 |
17130 | sed 's/^/| /' conftest.$ac_ext >&5 |
16326 | |
17131 | |
|
|
17132 | |
16327 | fi |
17133 | fi |
16328 | rm -f conftest.err conftest.$ac_objext \ |
17134 | |
|
|
17135 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16329 | conftest$ac_exeext conftest.$ac_ext |
17136 | conftest$ac_exeext conftest.$ac_ext |
16330 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
17137 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16331 | |
17138 | |
16332 | hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
17139 | hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
16333 | # Warning - without using the other run time loading flags, |
17140 | # Warning - without using the other run time loading flags, |
16334 | # -berok will link without error, but may produce a broken library. |
17141 | # -berok will link without error, but may produce a broken library. |
16335 | no_undefined_flag_GCJ=' ${wl}-bernotok' |
17142 | no_undefined_flag_GCJ=' ${wl}-bernotok' |
16336 | allow_undefined_flag_GCJ=' ${wl}-berok' |
17143 | allow_undefined_flag_GCJ=' ${wl}-berok' |
16337 | # -bexpall does not export symbols beginning with underscore (_) |
|
|
16338 | always_export_symbols_GCJ=yes |
|
|
16339 | # Exported symbols can be pulled into shared objects from archives |
17144 | # Exported symbols can be pulled into shared objects from archives |
16340 | whole_archive_flag_spec_GCJ=' ' |
17145 | whole_archive_flag_spec_GCJ='$convenience' |
16341 | archive_cmds_need_lc_GCJ=yes |
17146 | archive_cmds_need_lc_GCJ=yes |
16342 | # This is similar to how AIX traditionally builds it's shared libraries. |
17147 | # This is similar to how AIX traditionally builds its shared libraries. |
16343 | archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
17148 | archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
16344 | fi |
17149 | fi |
16345 | fi |
17150 | fi |
16346 | ;; |
17151 | ;; |
16347 | |
17152 | |
16348 | amigaos*) |
17153 | amigaos*) |
… | |
… | |
16351 | hardcode_minus_L_GCJ=yes |
17156 | hardcode_minus_L_GCJ=yes |
16352 | # see comment about different semantics on the GNU ld section |
17157 | # see comment about different semantics on the GNU ld section |
16353 | ld_shlibs_GCJ=no |
17158 | ld_shlibs_GCJ=no |
16354 | ;; |
17159 | ;; |
16355 | |
17160 | |
16356 | bsdi4*) |
17161 | bsdi[45]*) |
16357 | export_dynamic_flag_spec_GCJ=-rdynamic |
17162 | export_dynamic_flag_spec_GCJ=-rdynamic |
16358 | ;; |
17163 | ;; |
16359 | |
17164 | |
16360 | cygwin* | mingw* | pw32*) |
17165 | cygwin* | mingw* | pw32*) |
16361 | # When not using gcc, we currently assume that we are using |
17166 | # When not using gcc, we currently assume that we are using |
… | |
… | |
16365 | hardcode_libdir_flag_spec_GCJ=' ' |
17170 | hardcode_libdir_flag_spec_GCJ=' ' |
16366 | allow_undefined_flag_GCJ=unsupported |
17171 | allow_undefined_flag_GCJ=unsupported |
16367 | # Tell ltmain to make .lib files, not .a files. |
17172 | # Tell ltmain to make .lib files, not .a files. |
16368 | libext=lib |
17173 | libext=lib |
16369 | # Tell ltmain to make .dll files, not .so files. |
17174 | # Tell ltmain to make .dll files, not .so files. |
16370 | shrext=".dll" |
17175 | shrext_cmds=".dll" |
16371 | # FIXME: Setting linknames here is a bad hack. |
17176 | # FIXME: Setting linknames here is a bad hack. |
16372 | archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
17177 | archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
16373 | # The linker will automatically build a .lib file if we build a DLL. |
17178 | # The linker will automatically build a .lib file if we build a DLL. |
16374 | old_archive_From_new_cmds_GCJ='true' |
17179 | old_archive_From_new_cmds_GCJ='true' |
16375 | # FIXME: Should let the user specify the lib program. |
17180 | # FIXME: Should let the user specify the lib program. |
16376 | old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' |
17181 | old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' |
16377 | fix_srcfile_path='`cygpath -w "$srcfile"`' |
17182 | fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' |
16378 | enable_shared_with_static_runtimes_GCJ=yes |
17183 | enable_shared_with_static_runtimes_GCJ=yes |
16379 | ;; |
17184 | ;; |
16380 | |
17185 | |
16381 | darwin* | rhapsody*) |
17186 | darwin* | rhapsody*) |
16382 | if test "$GXX" = yes ; then |
17187 | case $host_os in |
|
|
17188 | rhapsody* | darwin1.[012]) |
|
|
17189 | allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' |
|
|
17190 | ;; |
|
|
17191 | *) # Darwin 1.3 on |
|
|
17192 | if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
|
|
17193 | allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
|
17194 | else |
|
|
17195 | case ${MACOSX_DEPLOYMENT_TARGET} in |
|
|
17196 | 10.[012]) |
|
|
17197 | allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
|
17198 | ;; |
|
|
17199 | 10.*) |
|
|
17200 | allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' |
|
|
17201 | ;; |
|
|
17202 | esac |
|
|
17203 | fi |
|
|
17204 | ;; |
|
|
17205 | esac |
16383 | archive_cmds_need_lc_GCJ=no |
17206 | archive_cmds_need_lc_GCJ=no |
16384 | case "$host_os" in |
|
|
16385 | rhapsody* | darwin1.[012]) |
|
|
16386 | allow_undefined_flag_GCJ='-undefined suppress' |
|
|
16387 | ;; |
|
|
16388 | *) # Darwin 1.3 on |
|
|
16389 | if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
|
|
16390 | allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' |
|
|
16391 | else |
|
|
16392 | case ${MACOSX_DEPLOYMENT_TARGET} in |
|
|
16393 | 10.[012]) |
|
|
16394 | allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' |
|
|
16395 | ;; |
|
|
16396 | 10.*) |
|
|
16397 | allow_undefined_flag_GCJ='-undefined dynamic_lookup' |
|
|
16398 | ;; |
|
|
16399 | esac |
|
|
16400 | fi |
|
|
16401 | ;; |
|
|
16402 | esac |
|
|
16403 | lt_int_apple_cc_single_mod=no |
|
|
16404 | output_verbose_link_cmd='echo' |
|
|
16405 | if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then |
|
|
16406 | lt_int_apple_cc_single_mod=yes |
|
|
16407 | fi |
|
|
16408 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
16409 | archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
16410 | else |
|
|
16411 | archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -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' |
|
|
16412 | fi |
|
|
16413 | module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
16414 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
|
|
16415 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
|
16416 | archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
16417 | else |
|
|
16418 | archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
16419 | fi |
|
|
16420 | module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
16421 | hardcode_direct_GCJ=no |
17207 | hardcode_direct_GCJ=no |
16422 | hardcode_automatic_GCJ=yes |
17208 | hardcode_automatic_GCJ=yes |
16423 | hardcode_shlibpath_var_GCJ=unsupported |
17209 | hardcode_shlibpath_var_GCJ=unsupported |
16424 | whole_archive_flag_spec_GCJ='-all_load $convenience' |
17210 | whole_archive_flag_spec_GCJ='' |
16425 | link_all_deplibs_GCJ=yes |
17211 | link_all_deplibs_GCJ=yes |
|
|
17212 | if test "$GCC" = yes ; then |
|
|
17213 | output_verbose_link_cmd='echo' |
|
|
17214 | archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
|
17215 | module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
17216 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
|
|
17217 | archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
17218 | module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
16426 | else |
17219 | else |
|
|
17220 | case $cc_basename in |
|
|
17221 | xlc*) |
|
|
17222 | output_verbose_link_cmd='echo' |
|
|
17223 | archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' |
|
|
17224 | module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
|
17225 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
|
|
17226 | archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
17227 | module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
|
17228 | ;; |
|
|
17229 | *) |
16427 | ld_shlibs_GCJ=no |
17230 | ld_shlibs_GCJ=no |
|
|
17231 | ;; |
|
|
17232 | esac |
16428 | fi |
17233 | fi |
16429 | ;; |
17234 | ;; |
16430 | |
17235 | |
16431 | dgux*) |
17236 | dgux*) |
16432 | archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
17237 | archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
… | |
… | |
16456 | hardcode_minus_L_GCJ=yes |
17261 | hardcode_minus_L_GCJ=yes |
16457 | hardcode_shlibpath_var_GCJ=no |
17262 | hardcode_shlibpath_var_GCJ=no |
16458 | ;; |
17263 | ;; |
16459 | |
17264 | |
16460 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
17265 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
16461 | freebsd* | kfreebsd*-gnu) |
17266 | freebsd* | dragonfly*) |
16462 | archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
17267 | archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
16463 | hardcode_libdir_flag_spec_GCJ='-R$libdir' |
17268 | hardcode_libdir_flag_spec_GCJ='-R$libdir' |
16464 | hardcode_direct_GCJ=yes |
17269 | hardcode_direct_GCJ=yes |
16465 | hardcode_shlibpath_var_GCJ=no |
17270 | hardcode_shlibpath_var_GCJ=no |
16466 | ;; |
17271 | ;; |
… | |
… | |
16479 | # but as the default location of the library. |
17284 | # but as the default location of the library. |
16480 | hardcode_minus_L_GCJ=yes |
17285 | hardcode_minus_L_GCJ=yes |
16481 | export_dynamic_flag_spec_GCJ='${wl}-E' |
17286 | export_dynamic_flag_spec_GCJ='${wl}-E' |
16482 | ;; |
17287 | ;; |
16483 | |
17288 | |
16484 | hpux10* | hpux11*) |
17289 | hpux10*) |
16485 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
17290 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
|
17291 | archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
|
17292 | else |
|
|
17293 | archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
|
17294 | fi |
|
|
17295 | if test "$with_gnu_ld" = no; then |
|
|
17296 | hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
|
|
17297 | hardcode_libdir_separator_GCJ=: |
|
|
17298 | |
|
|
17299 | hardcode_direct_GCJ=yes |
|
|
17300 | export_dynamic_flag_spec_GCJ='${wl}-E' |
|
|
17301 | |
|
|
17302 | # hardcode_minus_L: Not really in the search PATH, |
|
|
17303 | # but as the default location of the library. |
|
|
17304 | hardcode_minus_L_GCJ=yes |
|
|
17305 | fi |
|
|
17306 | ;; |
|
|
17307 | |
|
|
17308 | hpux11*) |
|
|
17309 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
16486 | case "$host_cpu" in |
17310 | case $host_cpu in |
16487 | hppa*64*|ia64*) |
17311 | hppa*64*) |
16488 | archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
17312 | archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
17313 | ;; |
|
|
17314 | ia64*) |
|
|
17315 | archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
16489 | ;; |
17316 | ;; |
16490 | *) |
17317 | *) |
16491 | archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
17318 | archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
16492 | ;; |
17319 | ;; |
16493 | esac |
17320 | esac |
16494 | else |
17321 | else |
16495 | case "$host_cpu" in |
17322 | case $host_cpu in |
16496 | hppa*64*|ia64*) |
17323 | hppa*64*) |
16497 | archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' |
17324 | archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
17325 | ;; |
|
|
17326 | ia64*) |
|
|
17327 | archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
16498 | ;; |
17328 | ;; |
16499 | *) |
17329 | *) |
16500 | archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
17330 | archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
16501 | ;; |
17331 | ;; |
16502 | esac |
17332 | esac |
16503 | fi |
17333 | fi |
16504 | if test "$with_gnu_ld" = no; then |
17334 | if test "$with_gnu_ld" = no; then |
16505 | case "$host_cpu" in |
|
|
16506 | hppa*64*) |
|
|
16507 | hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
17335 | hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
|
|
17336 | hardcode_libdir_separator_GCJ=: |
|
|
17337 | |
|
|
17338 | case $host_cpu in |
|
|
17339 | hppa*64*|ia64*) |
16508 | hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' |
17340 | hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' |
16509 | hardcode_libdir_separator_GCJ=: |
|
|
16510 | hardcode_direct_GCJ=no |
17341 | hardcode_direct_GCJ=no |
16511 | hardcode_shlibpath_var_GCJ=no |
17342 | hardcode_shlibpath_var_GCJ=no |
16512 | ;; |
17343 | ;; |
16513 | ia64*) |
|
|
16514 | hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
|
16515 | hardcode_direct_GCJ=no |
|
|
16516 | hardcode_shlibpath_var_GCJ=no |
|
|
16517 | |
|
|
16518 | # hardcode_minus_L: Not really in the search PATH, |
|
|
16519 | # but as the default location of the library. |
|
|
16520 | hardcode_minus_L_GCJ=yes |
|
|
16521 | ;; |
|
|
16522 | *) |
17344 | *) |
16523 | hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
|
|
16524 | hardcode_libdir_separator_GCJ=: |
|
|
16525 | hardcode_direct_GCJ=yes |
17345 | hardcode_direct_GCJ=yes |
16526 | export_dynamic_flag_spec_GCJ='${wl}-E' |
17346 | export_dynamic_flag_spec_GCJ='${wl}-E' |
16527 | |
17347 | |
16528 | # hardcode_minus_L: Not really in the search PATH, |
17348 | # hardcode_minus_L: Not really in the search PATH, |
16529 | # but as the default location of the library. |
17349 | # but as the default location of the library. |
… | |
… | |
16543 | hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' |
17363 | hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' |
16544 | hardcode_libdir_separator_GCJ=: |
17364 | hardcode_libdir_separator_GCJ=: |
16545 | link_all_deplibs_GCJ=yes |
17365 | link_all_deplibs_GCJ=yes |
16546 | ;; |
17366 | ;; |
16547 | |
17367 | |
16548 | netbsd*) |
17368 | netbsd* | netbsdelf*-gnu) |
16549 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
17369 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
16550 | archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
17370 | archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
16551 | else |
17371 | else |
16552 | archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
17372 | archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
16553 | fi |
17373 | fi |
… | |
… | |
16567 | openbsd*) |
17387 | openbsd*) |
16568 | hardcode_direct_GCJ=yes |
17388 | hardcode_direct_GCJ=yes |
16569 | hardcode_shlibpath_var_GCJ=no |
17389 | hardcode_shlibpath_var_GCJ=no |
16570 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
17390 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
16571 | archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
17391 | archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
|
17392 | archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
16572 | hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
17393 | hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
16573 | export_dynamic_flag_spec_GCJ='${wl}-E' |
17394 | export_dynamic_flag_spec_GCJ='${wl}-E' |
16574 | else |
17395 | else |
16575 | case $host_os in |
17396 | case $host_os in |
16576 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
17397 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
… | |
… | |
16612 | hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' |
17433 | hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' |
16613 | else |
17434 | else |
16614 | allow_undefined_flag_GCJ=' -expect_unresolved \*' |
17435 | allow_undefined_flag_GCJ=' -expect_unresolved \*' |
16615 | archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
17436 | archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
16616 | archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
17437 | archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
16617 | $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' |
17438 | $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' |
16618 | |
17439 | |
16619 | # Both c and cxx compiler support -rpath directly |
17440 | # Both c and cxx compiler support -rpath directly |
16620 | hardcode_libdir_flag_spec_GCJ='-rpath $libdir' |
17441 | hardcode_libdir_flag_spec_GCJ='-rpath $libdir' |
16621 | fi |
17442 | fi |
16622 | hardcode_libdir_separator_GCJ=: |
17443 | hardcode_libdir_separator_GCJ=: |
16623 | ;; |
17444 | ;; |
16624 | |
17445 | |
16625 | sco3.2v5*) |
|
|
16626 | archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
16627 | hardcode_shlibpath_var_GCJ=no |
|
|
16628 | export_dynamic_flag_spec_GCJ='${wl}-Bexport' |
|
|
16629 | runpath_var=LD_RUN_PATH |
|
|
16630 | hardcode_runpath_var=yes |
|
|
16631 | ;; |
|
|
16632 | |
|
|
16633 | solaris*) |
17446 | solaris*) |
16634 | no_undefined_flag_GCJ=' -z text' |
17447 | no_undefined_flag_GCJ=' -z text' |
16635 | if test "$GCC" = yes; then |
17448 | if test "$GCC" = yes; then |
|
|
17449 | wlarc='${wl}' |
16636 | archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
17450 | archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
16637 | archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
17451 | archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
16638 | $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
17452 | $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
16639 | else |
17453 | else |
|
|
17454 | wlarc='' |
16640 | archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
17455 | archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
16641 | archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
17456 | archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
16642 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
17457 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
16643 | fi |
17458 | fi |
16644 | hardcode_libdir_flag_spec_GCJ='-R$libdir' |
17459 | hardcode_libdir_flag_spec_GCJ='-R$libdir' |
16645 | hardcode_shlibpath_var_GCJ=no |
17460 | hardcode_shlibpath_var_GCJ=no |
16646 | case $host_os in |
17461 | case $host_os in |
16647 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
17462 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
|
17463 | *) |
|
|
17464 | # The compiler driver will combine linker options so we |
|
|
17465 | # cannot just pass the convience library names through |
|
|
17466 | # without $wl, iff we do not link with $LD. |
|
|
17467 | # Luckily, gcc supports the same syntax we need for Sun Studio. |
16648 | *) # Supported since Solaris 2.6 (maybe 2.5.1?) |
17468 | # Supported since Solaris 2.6 (maybe 2.5.1?) |
|
|
17469 | case $wlarc in |
|
|
17470 | '') |
16649 | whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; |
17471 | whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; |
|
|
17472 | *) |
|
|
17473 | whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; |
|
|
17474 | esac ;; |
16650 | esac |
17475 | esac |
16651 | link_all_deplibs_GCJ=yes |
17476 | link_all_deplibs_GCJ=yes |
16652 | ;; |
17477 | ;; |
16653 | |
17478 | |
16654 | sunos4*) |
17479 | sunos4*) |
… | |
… | |
16701 | hardcode_runpath_var=yes |
17526 | hardcode_runpath_var=yes |
16702 | ld_shlibs_GCJ=yes |
17527 | ld_shlibs_GCJ=yes |
16703 | fi |
17528 | fi |
16704 | ;; |
17529 | ;; |
16705 | |
17530 | |
16706 | sysv4.2uw2*) |
17531 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) |
16707 | archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
|
16708 | hardcode_direct_GCJ=yes |
|
|
16709 | hardcode_minus_L_GCJ=no |
|
|
16710 | hardcode_shlibpath_var_GCJ=no |
|
|
16711 | hardcode_runpath_var=yes |
|
|
16712 | runpath_var=LD_RUN_PATH |
|
|
16713 | ;; |
|
|
16714 | |
|
|
16715 | sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) |
|
|
16716 | no_undefined_flag_GCJ='${wl}-z ${wl}text' |
17532 | no_undefined_flag_GCJ='${wl}-z,text' |
16717 | if test "$GCC" = yes; then |
17533 | archive_cmds_need_lc_GCJ=no |
16718 | archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
16719 | else |
|
|
16720 | archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
16721 | fi |
|
|
16722 | runpath_var='LD_RUN_PATH' |
|
|
16723 | hardcode_shlibpath_var_GCJ=no |
|
|
16724 | ;; |
|
|
16725 | |
|
|
16726 | sysv5*) |
|
|
16727 | no_undefined_flag_GCJ=' -z text' |
|
|
16728 | # $CC -shared without GNU ld will not create a library from C++ |
|
|
16729 | # object files and a static libstdc++, better avoid it by now |
|
|
16730 | archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
16731 | archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
|
16732 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
|
|
16733 | hardcode_libdir_flag_spec_GCJ= |
|
|
16734 | hardcode_shlibpath_var_GCJ=no |
17534 | hardcode_shlibpath_var_GCJ=no |
16735 | runpath_var='LD_RUN_PATH' |
17535 | runpath_var='LD_RUN_PATH' |
|
|
17536 | |
|
|
17537 | if test "$GCC" = yes; then |
|
|
17538 | archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
17539 | archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
17540 | else |
|
|
17541 | archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
17542 | archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
17543 | fi |
|
|
17544 | ;; |
|
|
17545 | |
|
|
17546 | sysv5* | sco3.2v5* | sco5v6*) |
|
|
17547 | # Note: We can NOT use -z defs as we might desire, because we do not |
|
|
17548 | # link with -lc, and that would cause any symbols used from libc to |
|
|
17549 | # always be unresolved, which means just about no library would |
|
|
17550 | # ever link correctly. If we're not using GNU ld we use -z text |
|
|
17551 | # though, which does catch some bad symbols but isn't as heavy-handed |
|
|
17552 | # as -z defs. |
|
|
17553 | no_undefined_flag_GCJ='${wl}-z,text' |
|
|
17554 | allow_undefined_flag_GCJ='${wl}-z,nodefs' |
|
|
17555 | archive_cmds_need_lc_GCJ=no |
|
|
17556 | hardcode_shlibpath_var_GCJ=no |
|
|
17557 | hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
|
17558 | hardcode_libdir_separator_GCJ=':' |
|
|
17559 | link_all_deplibs_GCJ=yes |
|
|
17560 | export_dynamic_flag_spec_GCJ='${wl}-Bexport' |
|
|
17561 | runpath_var='LD_RUN_PATH' |
|
|
17562 | |
|
|
17563 | if test "$GCC" = yes; then |
|
|
17564 | archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
17565 | archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
17566 | else |
|
|
17567 | archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
17568 | archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
17569 | fi |
16736 | ;; |
17570 | ;; |
16737 | |
17571 | |
16738 | uts4*) |
17572 | uts4*) |
16739 | archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
17573 | archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
16740 | hardcode_libdir_flag_spec_GCJ='-L$libdir' |
17574 | hardcode_libdir_flag_spec_GCJ='-L$libdir' |
… | |
… | |
16745 | ld_shlibs_GCJ=no |
17579 | ld_shlibs_GCJ=no |
16746 | ;; |
17580 | ;; |
16747 | esac |
17581 | esac |
16748 | fi |
17582 | fi |
16749 | |
17583 | |
16750 | echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 |
17584 | { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 |
16751 | echo "${ECHO_T}$ld_shlibs_GCJ" >&6 |
17585 | echo "${ECHO_T}$ld_shlibs_GCJ" >&6; } |
16752 | test "$ld_shlibs_GCJ" = no && can_build_shared=no |
17586 | test "$ld_shlibs_GCJ" = no && can_build_shared=no |
16753 | |
|
|
16754 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
|
16755 | if test "$GCC" = yes; then |
|
|
16756 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
16757 | fi |
|
|
16758 | |
17587 | |
16759 | # |
17588 | # |
16760 | # Do we need to explicitly link libc? |
17589 | # Do we need to explicitly link libc? |
16761 | # |
17590 | # |
16762 | case "x$archive_cmds_need_lc_GCJ" in |
17591 | case "x$archive_cmds_need_lc_GCJ" in |
… | |
… | |
16771 | ;; |
17600 | ;; |
16772 | '$CC '*) |
17601 | '$CC '*) |
16773 | # Test whether the compiler implicitly links with -lc since on some |
17602 | # Test whether the compiler implicitly links with -lc since on some |
16774 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
17603 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
16775 | # to ld, don't add -lc before -lgcc. |
17604 | # to ld, don't add -lc before -lgcc. |
16776 | echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
17605 | { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
16777 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 |
17606 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
16778 | $rm conftest* |
17607 | $rm conftest* |
16779 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
17608 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
16780 | |
17609 | |
16781 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
17610 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
16782 | (eval $ac_compile) 2>&5 |
17611 | (eval $ac_compile) 2>&5 |
… | |
… | |
16786 | soname=conftest |
17615 | soname=conftest |
16787 | lib=conftest |
17616 | lib=conftest |
16788 | libobjs=conftest.$ac_objext |
17617 | libobjs=conftest.$ac_objext |
16789 | deplibs= |
17618 | deplibs= |
16790 | wl=$lt_prog_compiler_wl_GCJ |
17619 | wl=$lt_prog_compiler_wl_GCJ |
|
|
17620 | pic_flag=$lt_prog_compiler_pic_GCJ |
16791 | compiler_flags=-v |
17621 | compiler_flags=-v |
16792 | linker_flags=-v |
17622 | linker_flags=-v |
16793 | verstring= |
17623 | verstring= |
16794 | output_objdir=. |
17624 | output_objdir=. |
16795 | libname=conftest |
17625 | libname=conftest |
… | |
… | |
16808 | allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag |
17638 | allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag |
16809 | else |
17639 | else |
16810 | cat conftest.err 1>&5 |
17640 | cat conftest.err 1>&5 |
16811 | fi |
17641 | fi |
16812 | $rm conftest* |
17642 | $rm conftest* |
16813 | echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 |
17643 | { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 |
16814 | echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 |
17644 | echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; } |
16815 | ;; |
17645 | ;; |
16816 | esac |
17646 | esac |
16817 | fi |
17647 | fi |
16818 | ;; |
17648 | ;; |
16819 | esac |
17649 | esac |
16820 | |
17650 | |
16821 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
17651 | { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
16822 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
17652 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
16823 | library_names_spec= |
17653 | library_names_spec= |
16824 | libname_spec='lib$name' |
17654 | libname_spec='lib$name' |
16825 | soname_spec= |
17655 | soname_spec= |
16826 | shrext=".so" |
17656 | shrext_cmds=".so" |
16827 | postinstall_cmds= |
17657 | postinstall_cmds= |
16828 | postuninstall_cmds= |
17658 | postuninstall_cmds= |
16829 | finish_cmds= |
17659 | finish_cmds= |
16830 | finish_eval= |
17660 | finish_eval= |
16831 | shlibpath_var= |
17661 | shlibpath_var= |
… | |
… | |
16918 | library_names_spec='${libname}${shared_ext}' |
17748 | library_names_spec='${libname}${shared_ext}' |
16919 | dynamic_linker="$host_os ld.so" |
17749 | dynamic_linker="$host_os ld.so" |
16920 | shlibpath_var=LIBRARY_PATH |
17750 | shlibpath_var=LIBRARY_PATH |
16921 | ;; |
17751 | ;; |
16922 | |
17752 | |
16923 | bsdi4*) |
17753 | bsdi[45]*) |
16924 | version_type=linux |
17754 | version_type=linux |
16925 | need_version=no |
17755 | need_version=no |
16926 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
17756 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
16927 | soname_spec='${libname}${release}${shared_ext}$major' |
17757 | soname_spec='${libname}${release}${shared_ext}$major' |
16928 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
17758 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
… | |
… | |
16934 | # libtool to hard-code these into programs |
17764 | # libtool to hard-code these into programs |
16935 | ;; |
17765 | ;; |
16936 | |
17766 | |
16937 | cygwin* | mingw* | pw32*) |
17767 | cygwin* | mingw* | pw32*) |
16938 | version_type=windows |
17768 | version_type=windows |
16939 | shrext=".dll" |
17769 | shrext_cmds=".dll" |
16940 | need_version=no |
17770 | need_version=no |
16941 | need_lib_prefix=no |
17771 | need_lib_prefix=no |
16942 | |
17772 | |
16943 | case $GCC,$host_os in |
17773 | case $GCC,$host_os in |
16944 | yes,cygwin* | yes,mingw* | yes,pw32*) |
17774 | yes,cygwin* | yes,mingw* | yes,pw32*) |
… | |
… | |
16946 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
17776 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
16947 | postinstall_cmds='base_file=`basename \${file}`~ |
17777 | postinstall_cmds='base_file=`basename \${file}`~ |
16948 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
17778 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
16949 | dldir=$destdir/`dirname \$dlpath`~ |
17779 | dldir=$destdir/`dirname \$dlpath`~ |
16950 | test -d \$dldir || mkdir -p \$dldir~ |
17780 | test -d \$dldir || mkdir -p \$dldir~ |
16951 | $install_prog $dir/$dlname \$dldir/$dlname' |
17781 | $install_prog $dir/$dlname \$dldir/$dlname~ |
|
|
17782 | chmod a+x \$dldir/$dlname' |
16952 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
17783 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
16953 | dlpath=$dir/\$dldll~ |
17784 | dlpath=$dir/\$dldll~ |
16954 | $rm \$dlpath' |
17785 | $rm \$dlpath' |
16955 | shlibpath_overrides_runpath=yes |
17786 | shlibpath_overrides_runpath=yes |
16956 | |
17787 | |
… | |
… | |
16976 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
17807 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
16977 | fi |
17808 | fi |
16978 | ;; |
17809 | ;; |
16979 | pw32*) |
17810 | pw32*) |
16980 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
17811 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
16981 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' |
17812 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
16982 | ;; |
17813 | ;; |
16983 | esac |
17814 | esac |
16984 | ;; |
17815 | ;; |
16985 | |
17816 | |
16986 | *) |
17817 | *) |
… | |
… | |
16999 | need_version=no |
17830 | need_version=no |
17000 | library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
17831 | library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
17001 | soname_spec='${libname}${release}${major}$shared_ext' |
17832 | soname_spec='${libname}${release}${major}$shared_ext' |
17002 | shlibpath_overrides_runpath=yes |
17833 | shlibpath_overrides_runpath=yes |
17003 | shlibpath_var=DYLD_LIBRARY_PATH |
17834 | shlibpath_var=DYLD_LIBRARY_PATH |
17004 | shrext='$(test .$module = .yes && echo .so || echo .dylib)' |
17835 | shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
17005 | # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
17836 | # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
17006 | if test "$GCC" = yes; then |
17837 | if test "$GCC" = yes; then |
17007 | sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
17838 | sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
17008 | else |
17839 | else |
17009 | sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' |
17840 | sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' |
… | |
… | |
17022 | |
17853 | |
17023 | freebsd1*) |
17854 | freebsd1*) |
17024 | dynamic_linker=no |
17855 | dynamic_linker=no |
17025 | ;; |
17856 | ;; |
17026 | |
17857 | |
17027 | kfreebsd*-gnu) |
17858 | freebsd* | dragonfly*) |
17028 | version_type=linux |
17859 | # DragonFly does not have aout. When/if they implement a new |
17029 | need_lib_prefix=no |
17860 | # versioning mechanism, adjust this. |
17030 | need_version=no |
17861 | if test -x /usr/bin/objformat; then |
17031 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
17862 | objformat=`/usr/bin/objformat` |
17032 | soname_spec='${libname}${release}${shared_ext}$major' |
17863 | else |
17033 | shlibpath_var=LD_LIBRARY_PATH |
17864 | case $host_os in |
17034 | shlibpath_overrides_runpath=no |
17865 | freebsd[123]*) objformat=aout ;; |
17035 | hardcode_into_libs=yes |
17866 | *) objformat=elf ;; |
17036 | dynamic_linker='GNU ld.so' |
17867 | esac |
17037 | ;; |
17868 | fi |
17038 | |
|
|
17039 | freebsd*) |
|
|
17040 | objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
|
|
17041 | version_type=freebsd-$objformat |
17869 | version_type=freebsd-$objformat |
17042 | case $version_type in |
17870 | case $version_type in |
17043 | freebsd-elf*) |
17871 | freebsd-elf*) |
17044 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
17872 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
17045 | need_version=no |
17873 | need_version=no |
… | |
… | |
17053 | shlibpath_var=LD_LIBRARY_PATH |
17881 | shlibpath_var=LD_LIBRARY_PATH |
17054 | case $host_os in |
17882 | case $host_os in |
17055 | freebsd2*) |
17883 | freebsd2*) |
17056 | shlibpath_overrides_runpath=yes |
17884 | shlibpath_overrides_runpath=yes |
17057 | ;; |
17885 | ;; |
17058 | freebsd3.01* | freebsdelf3.01*) |
17886 | freebsd3.[01]* | freebsdelf3.[01]*) |
17059 | shlibpath_overrides_runpath=yes |
17887 | shlibpath_overrides_runpath=yes |
17060 | hardcode_into_libs=yes |
17888 | hardcode_into_libs=yes |
17061 | ;; |
17889 | ;; |
17062 | *) # from 3.2 on |
17890 | freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
|
17891 | freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
17063 | shlibpath_overrides_runpath=no |
17892 | shlibpath_overrides_runpath=no |
|
|
17893 | hardcode_into_libs=yes |
|
|
17894 | ;; |
|
|
17895 | freebsd*) # from 4.6 on |
|
|
17896 | shlibpath_overrides_runpath=yes |
17064 | hardcode_into_libs=yes |
17897 | hardcode_into_libs=yes |
17065 | ;; |
17898 | ;; |
17066 | esac |
17899 | esac |
17067 | ;; |
17900 | ;; |
17068 | |
17901 | |
… | |
… | |
17080 | # Give a soname corresponding to the major version so that dld.sl refuses to |
17913 | # Give a soname corresponding to the major version so that dld.sl refuses to |
17081 | # link against other versions. |
17914 | # link against other versions. |
17082 | version_type=sunos |
17915 | version_type=sunos |
17083 | need_lib_prefix=no |
17916 | need_lib_prefix=no |
17084 | need_version=no |
17917 | need_version=no |
17085 | case "$host_cpu" in |
17918 | case $host_cpu in |
17086 | ia64*) |
17919 | ia64*) |
17087 | shrext='.so' |
17920 | shrext_cmds='.so' |
17088 | hardcode_into_libs=yes |
17921 | hardcode_into_libs=yes |
17089 | dynamic_linker="$host_os dld.so" |
17922 | dynamic_linker="$host_os dld.so" |
17090 | shlibpath_var=LD_LIBRARY_PATH |
17923 | shlibpath_var=LD_LIBRARY_PATH |
17091 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
17924 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
17092 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
17925 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
… | |
… | |
17097 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
17930 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
17098 | fi |
17931 | fi |
17099 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
17932 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
17100 | ;; |
17933 | ;; |
17101 | hppa*64*) |
17934 | hppa*64*) |
17102 | shrext='.sl' |
17935 | shrext_cmds='.sl' |
17103 | hardcode_into_libs=yes |
17936 | hardcode_into_libs=yes |
17104 | dynamic_linker="$host_os dld.sl" |
17937 | dynamic_linker="$host_os dld.sl" |
17105 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
17938 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
17106 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
17939 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
17107 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
17940 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
17108 | soname_spec='${libname}${release}${shared_ext}$major' |
17941 | soname_spec='${libname}${release}${shared_ext}$major' |
17109 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
17942 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
17110 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
17943 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
17111 | ;; |
17944 | ;; |
17112 | *) |
17945 | *) |
17113 | shrext='.sl' |
17946 | shrext_cmds='.sl' |
17114 | dynamic_linker="$host_os dld.sl" |
17947 | dynamic_linker="$host_os dld.sl" |
17115 | shlibpath_var=SHLIB_PATH |
17948 | shlibpath_var=SHLIB_PATH |
17116 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
17949 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
17117 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
17950 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
17118 | soname_spec='${libname}${release}${shared_ext}$major' |
17951 | soname_spec='${libname}${release}${shared_ext}$major' |
17119 | ;; |
17952 | ;; |
17120 | esac |
17953 | esac |
17121 | # HP-UX runs *really* slowly unless shared libraries are mode 555. |
17954 | # HP-UX runs *really* slowly unless shared libraries are mode 555. |
17122 | postinstall_cmds='chmod 555 $lib' |
17955 | postinstall_cmds='chmod 555 $lib' |
|
|
17956 | ;; |
|
|
17957 | |
|
|
17958 | interix3*) |
|
|
17959 | version_type=linux |
|
|
17960 | need_lib_prefix=no |
|
|
17961 | need_version=no |
|
|
17962 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
|
17963 | soname_spec='${libname}${release}${shared_ext}$major' |
|
|
17964 | dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
|
17965 | shlibpath_var=LD_LIBRARY_PATH |
|
|
17966 | shlibpath_overrides_runpath=no |
|
|
17967 | hardcode_into_libs=yes |
17123 | ;; |
17968 | ;; |
17124 | |
17969 | |
17125 | irix5* | irix6* | nonstopux*) |
17970 | irix5* | irix6* | nonstopux*) |
17126 | case $host_os in |
17971 | case $host_os in |
17127 | nonstopux*) version_type=nonstopux ;; |
17972 | nonstopux*) version_type=nonstopux ;; |
… | |
… | |
17163 | linux*oldld* | linux*aout* | linux*coff*) |
18008 | linux*oldld* | linux*aout* | linux*coff*) |
17164 | dynamic_linker=no |
18009 | dynamic_linker=no |
17165 | ;; |
18010 | ;; |
17166 | |
18011 | |
17167 | # This must be Linux ELF. |
18012 | # This must be Linux ELF. |
17168 | linux*) |
18013 | linux* | k*bsd*-gnu) |
17169 | version_type=linux |
18014 | version_type=linux |
17170 | need_lib_prefix=no |
18015 | need_lib_prefix=no |
17171 | need_version=no |
18016 | need_version=no |
17172 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
18017 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
17173 | soname_spec='${libname}${release}${shared_ext}$major' |
18018 | soname_spec='${libname}${release}${shared_ext}$major' |
… | |
… | |
17179 | # before this can be enabled. |
18024 | # before this can be enabled. |
17180 | hardcode_into_libs=yes |
18025 | hardcode_into_libs=yes |
17181 | |
18026 | |
17182 | # Append ld.so.conf contents to the search path |
18027 | # Append ld.so.conf contents to the search path |
17183 | if test -f /etc/ld.so.conf; then |
18028 | if test -f /etc/ld.so.conf; then |
17184 | ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf` |
18029 | lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
17185 | sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra" |
18030 | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
17186 | fi |
18031 | fi |
17187 | |
18032 | |
17188 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
18033 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
17189 | # powerpc, because MkLinux only supported shared libraries with the |
18034 | # powerpc, because MkLinux only supported shared libraries with the |
17190 | # GNU dynamic linker. Since this was broken with cross compilers, |
18035 | # GNU dynamic linker. Since this was broken with cross compilers, |
… | |
… | |
17192 | # people can always --disable-shared, the test was removed, and we |
18037 | # people can always --disable-shared, the test was removed, and we |
17193 | # assume the GNU/Linux dynamic linker is in use. |
18038 | # assume the GNU/Linux dynamic linker is in use. |
17194 | dynamic_linker='GNU/Linux ld.so' |
18039 | dynamic_linker='GNU/Linux ld.so' |
17195 | ;; |
18040 | ;; |
17196 | |
18041 | |
17197 | knetbsd*-gnu) |
18042 | netbsdelf*-gnu) |
17198 | version_type=linux |
18043 | version_type=linux |
17199 | need_lib_prefix=no |
18044 | need_lib_prefix=no |
17200 | need_version=no |
18045 | need_version=no |
17201 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
18046 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
17202 | soname_spec='${libname}${release}${shared_ext}$major' |
18047 | soname_spec='${libname}${release}${shared_ext}$major' |
17203 | shlibpath_var=LD_LIBRARY_PATH |
18048 | shlibpath_var=LD_LIBRARY_PATH |
17204 | shlibpath_overrides_runpath=no |
18049 | shlibpath_overrides_runpath=no |
17205 | hardcode_into_libs=yes |
18050 | hardcode_into_libs=yes |
17206 | dynamic_linker='GNU ld.so' |
18051 | dynamic_linker='NetBSD ld.elf_so' |
17207 | ;; |
18052 | ;; |
17208 | |
18053 | |
17209 | netbsd*) |
18054 | netbsd*) |
17210 | version_type=sunos |
18055 | version_type=sunos |
17211 | need_lib_prefix=no |
18056 | need_lib_prefix=no |
… | |
… | |
17241 | shlibpath_overrides_runpath=yes |
18086 | shlibpath_overrides_runpath=yes |
17242 | ;; |
18087 | ;; |
17243 | |
18088 | |
17244 | openbsd*) |
18089 | openbsd*) |
17245 | version_type=sunos |
18090 | version_type=sunos |
|
|
18091 | sys_lib_dlsearch_path_spec="/usr/lib" |
17246 | need_lib_prefix=no |
18092 | need_lib_prefix=no |
17247 | need_version=yes |
18093 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
|
18094 | case $host_os in |
|
|
18095 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
|
18096 | *) need_version=no ;; |
|
|
18097 | esac |
17248 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
18098 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
17249 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
18099 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
17250 | shlibpath_var=LD_LIBRARY_PATH |
18100 | shlibpath_var=LD_LIBRARY_PATH |
17251 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
18101 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
17252 | case $host_os in |
18102 | case $host_os in |
… | |
… | |
17262 | fi |
18112 | fi |
17263 | ;; |
18113 | ;; |
17264 | |
18114 | |
17265 | os2*) |
18115 | os2*) |
17266 | libname_spec='$name' |
18116 | libname_spec='$name' |
17267 | shrext=".dll" |
18117 | shrext_cmds=".dll" |
17268 | need_lib_prefix=no |
18118 | need_lib_prefix=no |
17269 | library_names_spec='$libname${shared_ext} $libname.a' |
18119 | library_names_spec='$libname${shared_ext} $libname.a' |
17270 | dynamic_linker='OS/2 ld.exe' |
18120 | dynamic_linker='OS/2 ld.exe' |
17271 | shlibpath_var=LIBPATH |
18121 | shlibpath_var=LIBPATH |
17272 | ;; |
18122 | ;; |
… | |
… | |
17278 | soname_spec='${libname}${release}${shared_ext}$major' |
18128 | soname_spec='${libname}${release}${shared_ext}$major' |
17279 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
18129 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
17280 | shlibpath_var=LD_LIBRARY_PATH |
18130 | shlibpath_var=LD_LIBRARY_PATH |
17281 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
18131 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
17282 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
18132 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
17283 | ;; |
|
|
17284 | |
|
|
17285 | sco3.2v5*) |
|
|
17286 | version_type=osf |
|
|
17287 | soname_spec='${libname}${release}${shared_ext}$major' |
|
|
17288 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
|
17289 | shlibpath_var=LD_LIBRARY_PATH |
|
|
17290 | ;; |
18133 | ;; |
17291 | |
18134 | |
17292 | solaris*) |
18135 | solaris*) |
17293 | version_type=linux |
18136 | version_type=linux |
17294 | need_lib_prefix=no |
18137 | need_lib_prefix=no |
… | |
… | |
17312 | need_lib_prefix=no |
18155 | need_lib_prefix=no |
17313 | fi |
18156 | fi |
17314 | need_version=yes |
18157 | need_version=yes |
17315 | ;; |
18158 | ;; |
17316 | |
18159 | |
17317 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
18160 | sysv4 | sysv4.3*) |
17318 | version_type=linux |
18161 | version_type=linux |
17319 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
18162 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
17320 | soname_spec='${libname}${release}${shared_ext}$major' |
18163 | soname_spec='${libname}${release}${shared_ext}$major' |
17321 | shlibpath_var=LD_LIBRARY_PATH |
18164 | shlibpath_var=LD_LIBRARY_PATH |
17322 | case $host_vendor in |
18165 | case $host_vendor in |
… | |
… | |
17345 | soname_spec='$libname${shared_ext}.$major' |
18188 | soname_spec='$libname${shared_ext}.$major' |
17346 | shlibpath_var=LD_LIBRARY_PATH |
18189 | shlibpath_var=LD_LIBRARY_PATH |
17347 | fi |
18190 | fi |
17348 | ;; |
18191 | ;; |
17349 | |
18192 | |
|
|
18193 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
|
18194 | version_type=freebsd-elf |
|
|
18195 | need_lib_prefix=no |
|
|
18196 | need_version=no |
|
|
18197 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
|
18198 | soname_spec='${libname}${release}${shared_ext}$major' |
|
|
18199 | shlibpath_var=LD_LIBRARY_PATH |
|
|
18200 | hardcode_into_libs=yes |
|
|
18201 | if test "$with_gnu_ld" = yes; then |
|
|
18202 | sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
|
18203 | shlibpath_overrides_runpath=no |
|
|
18204 | else |
|
|
18205 | sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
|
18206 | shlibpath_overrides_runpath=yes |
|
|
18207 | case $host_os in |
|
|
18208 | sco3.2v5*) |
|
|
18209 | sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
|
18210 | ;; |
|
|
18211 | esac |
|
|
18212 | fi |
|
|
18213 | sys_lib_dlsearch_path_spec='/usr/lib' |
|
|
18214 | ;; |
|
|
18215 | |
17350 | uts4*) |
18216 | uts4*) |
17351 | version_type=linux |
18217 | version_type=linux |
17352 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
18218 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
17353 | soname_spec='${libname}${release}${shared_ext}$major' |
18219 | soname_spec='${libname}${release}${shared_ext}$major' |
17354 | shlibpath_var=LD_LIBRARY_PATH |
18220 | shlibpath_var=LD_LIBRARY_PATH |
… | |
… | |
17356 | |
18222 | |
17357 | *) |
18223 | *) |
17358 | dynamic_linker=no |
18224 | dynamic_linker=no |
17359 | ;; |
18225 | ;; |
17360 | esac |
18226 | esac |
17361 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
18227 | { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
17362 | echo "${ECHO_T}$dynamic_linker" >&6 |
18228 | echo "${ECHO_T}$dynamic_linker" >&6; } |
17363 | test "$dynamic_linker" = no && can_build_shared=no |
18229 | test "$dynamic_linker" = no && can_build_shared=no |
17364 | |
18230 | |
|
|
18231 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
|
18232 | if test "$GCC" = yes; then |
|
|
18233 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
18234 | fi |
|
|
18235 | |
17365 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
18236 | { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
17366 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
18237 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } |
17367 | hardcode_action_GCJ= |
18238 | hardcode_action_GCJ= |
17368 | if test -n "$hardcode_libdir_flag_spec_GCJ" || \ |
18239 | if test -n "$hardcode_libdir_flag_spec_GCJ" || \ |
17369 | test -n "$runpath_var GCJ" || \ |
18240 | test -n "$runpath_var_GCJ" || \ |
17370 | test "X$hardcode_automatic_GCJ"="Xyes" ; then |
18241 | test "X$hardcode_automatic_GCJ" = "Xyes" ; then |
17371 | |
18242 | |
17372 | # We can hardcode non-existant directories. |
18243 | # We can hardcode non-existant directories. |
17373 | if test "$hardcode_direct_GCJ" != no && |
18244 | if test "$hardcode_direct_GCJ" != no && |
17374 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
18245 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
17375 | # have to relink, otherwise we might link with an installed library |
18246 | # have to relink, otherwise we might link with an installed library |
… | |
… | |
17385 | else |
18256 | else |
17386 | # We cannot hardcode anything, or else we can only hardcode existing |
18257 | # We cannot hardcode anything, or else we can only hardcode existing |
17387 | # directories. |
18258 | # directories. |
17388 | hardcode_action_GCJ=unsupported |
18259 | hardcode_action_GCJ=unsupported |
17389 | fi |
18260 | fi |
17390 | echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 |
18261 | { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 |
17391 | echo "${ECHO_T}$hardcode_action_GCJ" >&6 |
18262 | echo "${ECHO_T}$hardcode_action_GCJ" >&6; } |
17392 | |
18263 | |
17393 | if test "$hardcode_action_GCJ" = relink; then |
18264 | if test "$hardcode_action_GCJ" = relink; then |
17394 | # Fast installation is not supported |
18265 | # Fast installation is not supported |
17395 | enable_fast_install=no |
18266 | enable_fast_install=no |
17396 | elif test "$shlibpath_overrides_runpath" = yes || |
18267 | elif test "$shlibpath_overrides_runpath" = yes || |
17397 | test "$enable_shared" = no; then |
18268 | test "$enable_shared" = no; then |
17398 | # Fast installation is not necessary |
18269 | # Fast installation is not necessary |
17399 | enable_fast_install=needless |
18270 | enable_fast_install=needless |
17400 | fi |
|
|
17401 | |
|
|
17402 | striplib= |
|
|
17403 | old_striplib= |
|
|
17404 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
|
|
17405 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
|
|
17406 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
|
|
17407 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
|
17408 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
|
17409 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
17410 | echo "${ECHO_T}yes" >&6 |
|
|
17411 | else |
|
|
17412 | # FIXME - insert some real tests, host_os isn't really good enough |
|
|
17413 | case $host_os in |
|
|
17414 | darwin*) |
|
|
17415 | if test -n "$STRIP" ; then |
|
|
17416 | striplib="$STRIP -x" |
|
|
17417 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
17418 | echo "${ECHO_T}yes" >&6 |
|
|
17419 | else |
|
|
17420 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
17421 | echo "${ECHO_T}no" >&6 |
|
|
17422 | fi |
|
|
17423 | ;; |
|
|
17424 | *) |
|
|
17425 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
17426 | echo "${ECHO_T}no" >&6 |
|
|
17427 | ;; |
|
|
17428 | esac |
|
|
17429 | fi |
|
|
17430 | |
|
|
17431 | if test "x$enable_dlopen" != xyes; then |
|
|
17432 | enable_dlopen=unknown |
|
|
17433 | enable_dlopen_self=unknown |
|
|
17434 | enable_dlopen_self_static=unknown |
|
|
17435 | else |
|
|
17436 | lt_cv_dlopen=no |
|
|
17437 | lt_cv_dlopen_libs= |
|
|
17438 | |
|
|
17439 | case $host_os in |
|
|
17440 | beos*) |
|
|
17441 | lt_cv_dlopen="load_add_on" |
|
|
17442 | lt_cv_dlopen_libs= |
|
|
17443 | lt_cv_dlopen_self=yes |
|
|
17444 | ;; |
|
|
17445 | |
|
|
17446 | mingw* | pw32*) |
|
|
17447 | lt_cv_dlopen="LoadLibrary" |
|
|
17448 | lt_cv_dlopen_libs= |
|
|
17449 | ;; |
|
|
17450 | |
|
|
17451 | cygwin*) |
|
|
17452 | lt_cv_dlopen="dlopen" |
|
|
17453 | lt_cv_dlopen_libs= |
|
|
17454 | ;; |
|
|
17455 | |
|
|
17456 | darwin*) |
|
|
17457 | # if libdl is installed we need to link against it |
|
|
17458 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
|
17459 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
|
|
17460 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
|
|
17461 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
17462 | else |
|
|
17463 | ac_check_lib_save_LIBS=$LIBS |
|
|
17464 | LIBS="-ldl $LIBS" |
|
|
17465 | cat >conftest.$ac_ext <<_ACEOF |
|
|
17466 | /* confdefs.h. */ |
|
|
17467 | _ACEOF |
|
|
17468 | cat confdefs.h >>conftest.$ac_ext |
|
|
17469 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
17470 | /* end confdefs.h. */ |
|
|
17471 | |
|
|
17472 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17473 | #ifdef __cplusplus |
|
|
17474 | extern "C" |
|
|
17475 | #endif |
|
|
17476 | /* We use char because int might match the return type of a gcc2 |
|
|
17477 | builtin and then its argument prototype would still apply. */ |
|
|
17478 | char dlopen (); |
|
|
17479 | int |
|
|
17480 | main () |
|
|
17481 | { |
|
|
17482 | dlopen (); |
|
|
17483 | ; |
|
|
17484 | return 0; |
|
|
17485 | } |
|
|
17486 | _ACEOF |
|
|
17487 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
17488 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
17489 | (eval $ac_link) 2>conftest.er1 |
|
|
17490 | ac_status=$? |
|
|
17491 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
17492 | rm -f conftest.er1 |
|
|
17493 | cat conftest.err >&5 |
|
|
17494 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17495 | (exit $ac_status); } && |
|
|
17496 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
17497 | || test ! -s conftest.err' |
|
|
17498 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17499 | (eval $ac_try) 2>&5 |
|
|
17500 | ac_status=$? |
|
|
17501 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17502 | (exit $ac_status); }; } && |
|
|
17503 | { ac_try='test -s conftest$ac_exeext' |
|
|
17504 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17505 | (eval $ac_try) 2>&5 |
|
|
17506 | ac_status=$? |
|
|
17507 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17508 | (exit $ac_status); }; }; then |
|
|
17509 | ac_cv_lib_dl_dlopen=yes |
|
|
17510 | else |
|
|
17511 | echo "$as_me: failed program was:" >&5 |
|
|
17512 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
17513 | |
|
|
17514 | ac_cv_lib_dl_dlopen=no |
|
|
17515 | fi |
|
|
17516 | rm -f conftest.err conftest.$ac_objext \ |
|
|
17517 | conftest$ac_exeext conftest.$ac_ext |
|
|
17518 | LIBS=$ac_check_lib_save_LIBS |
|
|
17519 | fi |
|
|
17520 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
|
|
17521 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
|
|
17522 | if test $ac_cv_lib_dl_dlopen = yes; then |
|
|
17523 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
|
17524 | else |
|
|
17525 | |
|
|
17526 | lt_cv_dlopen="dyld" |
|
|
17527 | lt_cv_dlopen_libs= |
|
|
17528 | lt_cv_dlopen_self=yes |
|
|
17529 | |
|
|
17530 | fi |
|
|
17531 | |
|
|
17532 | ;; |
|
|
17533 | |
|
|
17534 | *) |
|
|
17535 | echo "$as_me:$LINENO: checking for shl_load" >&5 |
|
|
17536 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 |
|
|
17537 | if test "${ac_cv_func_shl_load+set}" = set; then |
|
|
17538 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
17539 | else |
|
|
17540 | cat >conftest.$ac_ext <<_ACEOF |
|
|
17541 | /* confdefs.h. */ |
|
|
17542 | _ACEOF |
|
|
17543 | cat confdefs.h >>conftest.$ac_ext |
|
|
17544 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
17545 | /* end confdefs.h. */ |
|
|
17546 | /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
|
|
17547 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
17548 | #define shl_load innocuous_shl_load |
|
|
17549 | |
|
|
17550 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
17551 | which can conflict with char shl_load (); below. |
|
|
17552 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
17553 | <limits.h> exists even on freestanding compilers. */ |
|
|
17554 | |
|
|
17555 | #ifdef __STDC__ |
|
|
17556 | # include <limits.h> |
|
|
17557 | #else |
|
|
17558 | # include <assert.h> |
|
|
17559 | #endif |
|
|
17560 | |
|
|
17561 | #undef shl_load |
|
|
17562 | |
|
|
17563 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17564 | #ifdef __cplusplus |
|
|
17565 | extern "C" |
|
|
17566 | { |
|
|
17567 | #endif |
|
|
17568 | /* We use char because int might match the return type of a gcc2 |
|
|
17569 | builtin and then its argument prototype would still apply. */ |
|
|
17570 | char shl_load (); |
|
|
17571 | /* The GNU C library defines this for functions which it implements |
|
|
17572 | to always fail with ENOSYS. Some functions are actually named |
|
|
17573 | something starting with __ and the normal name is an alias. */ |
|
|
17574 | #if defined (__stub_shl_load) || defined (__stub___shl_load) |
|
|
17575 | choke me |
|
|
17576 | #else |
|
|
17577 | char (*f) () = shl_load; |
|
|
17578 | #endif |
|
|
17579 | #ifdef __cplusplus |
|
|
17580 | } |
|
|
17581 | #endif |
|
|
17582 | |
|
|
17583 | int |
|
|
17584 | main () |
|
|
17585 | { |
|
|
17586 | return f != shl_load; |
|
|
17587 | ; |
|
|
17588 | return 0; |
|
|
17589 | } |
|
|
17590 | _ACEOF |
|
|
17591 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
17592 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
17593 | (eval $ac_link) 2>conftest.er1 |
|
|
17594 | ac_status=$? |
|
|
17595 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
17596 | rm -f conftest.er1 |
|
|
17597 | cat conftest.err >&5 |
|
|
17598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17599 | (exit $ac_status); } && |
|
|
17600 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
17601 | || test ! -s conftest.err' |
|
|
17602 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17603 | (eval $ac_try) 2>&5 |
|
|
17604 | ac_status=$? |
|
|
17605 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17606 | (exit $ac_status); }; } && |
|
|
17607 | { ac_try='test -s conftest$ac_exeext' |
|
|
17608 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17609 | (eval $ac_try) 2>&5 |
|
|
17610 | ac_status=$? |
|
|
17611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17612 | (exit $ac_status); }; }; then |
|
|
17613 | ac_cv_func_shl_load=yes |
|
|
17614 | else |
|
|
17615 | echo "$as_me: failed program was:" >&5 |
|
|
17616 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
17617 | |
|
|
17618 | ac_cv_func_shl_load=no |
|
|
17619 | fi |
|
|
17620 | rm -f conftest.err conftest.$ac_objext \ |
|
|
17621 | conftest$ac_exeext conftest.$ac_ext |
|
|
17622 | fi |
|
|
17623 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
|
|
17624 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
|
|
17625 | if test $ac_cv_func_shl_load = yes; then |
|
|
17626 | lt_cv_dlopen="shl_load" |
|
|
17627 | else |
|
|
17628 | echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
|
|
17629 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 |
|
|
17630 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
|
|
17631 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
17632 | else |
|
|
17633 | ac_check_lib_save_LIBS=$LIBS |
|
|
17634 | LIBS="-ldld $LIBS" |
|
|
17635 | cat >conftest.$ac_ext <<_ACEOF |
|
|
17636 | /* confdefs.h. */ |
|
|
17637 | _ACEOF |
|
|
17638 | cat confdefs.h >>conftest.$ac_ext |
|
|
17639 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
17640 | /* end confdefs.h. */ |
|
|
17641 | |
|
|
17642 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17643 | #ifdef __cplusplus |
|
|
17644 | extern "C" |
|
|
17645 | #endif |
|
|
17646 | /* We use char because int might match the return type of a gcc2 |
|
|
17647 | builtin and then its argument prototype would still apply. */ |
|
|
17648 | char shl_load (); |
|
|
17649 | int |
|
|
17650 | main () |
|
|
17651 | { |
|
|
17652 | shl_load (); |
|
|
17653 | ; |
|
|
17654 | return 0; |
|
|
17655 | } |
|
|
17656 | _ACEOF |
|
|
17657 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
17658 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
17659 | (eval $ac_link) 2>conftest.er1 |
|
|
17660 | ac_status=$? |
|
|
17661 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
17662 | rm -f conftest.er1 |
|
|
17663 | cat conftest.err >&5 |
|
|
17664 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17665 | (exit $ac_status); } && |
|
|
17666 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
17667 | || test ! -s conftest.err' |
|
|
17668 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17669 | (eval $ac_try) 2>&5 |
|
|
17670 | ac_status=$? |
|
|
17671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17672 | (exit $ac_status); }; } && |
|
|
17673 | { ac_try='test -s conftest$ac_exeext' |
|
|
17674 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17675 | (eval $ac_try) 2>&5 |
|
|
17676 | ac_status=$? |
|
|
17677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17678 | (exit $ac_status); }; }; then |
|
|
17679 | ac_cv_lib_dld_shl_load=yes |
|
|
17680 | else |
|
|
17681 | echo "$as_me: failed program was:" >&5 |
|
|
17682 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
17683 | |
|
|
17684 | ac_cv_lib_dld_shl_load=no |
|
|
17685 | fi |
|
|
17686 | rm -f conftest.err conftest.$ac_objext \ |
|
|
17687 | conftest$ac_exeext conftest.$ac_ext |
|
|
17688 | LIBS=$ac_check_lib_save_LIBS |
|
|
17689 | fi |
|
|
17690 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
|
|
17691 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 |
|
|
17692 | if test $ac_cv_lib_dld_shl_load = yes; then |
|
|
17693 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
|
|
17694 | else |
|
|
17695 | echo "$as_me:$LINENO: checking for dlopen" >&5 |
|
|
17696 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
|
|
17697 | if test "${ac_cv_func_dlopen+set}" = set; then |
|
|
17698 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
17699 | else |
|
|
17700 | cat >conftest.$ac_ext <<_ACEOF |
|
|
17701 | /* confdefs.h. */ |
|
|
17702 | _ACEOF |
|
|
17703 | cat confdefs.h >>conftest.$ac_ext |
|
|
17704 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
17705 | /* end confdefs.h. */ |
|
|
17706 | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
|
|
17707 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
17708 | #define dlopen innocuous_dlopen |
|
|
17709 | |
|
|
17710 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
17711 | which can conflict with char dlopen (); below. |
|
|
17712 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
17713 | <limits.h> exists even on freestanding compilers. */ |
|
|
17714 | |
|
|
17715 | #ifdef __STDC__ |
|
|
17716 | # include <limits.h> |
|
|
17717 | #else |
|
|
17718 | # include <assert.h> |
|
|
17719 | #endif |
|
|
17720 | |
|
|
17721 | #undef dlopen |
|
|
17722 | |
|
|
17723 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17724 | #ifdef __cplusplus |
|
|
17725 | extern "C" |
|
|
17726 | { |
|
|
17727 | #endif |
|
|
17728 | /* We use char because int might match the return type of a gcc2 |
|
|
17729 | builtin and then its argument prototype would still apply. */ |
|
|
17730 | char dlopen (); |
|
|
17731 | /* The GNU C library defines this for functions which it implements |
|
|
17732 | to always fail with ENOSYS. Some functions are actually named |
|
|
17733 | something starting with __ and the normal name is an alias. */ |
|
|
17734 | #if defined (__stub_dlopen) || defined (__stub___dlopen) |
|
|
17735 | choke me |
|
|
17736 | #else |
|
|
17737 | char (*f) () = dlopen; |
|
|
17738 | #endif |
|
|
17739 | #ifdef __cplusplus |
|
|
17740 | } |
|
|
17741 | #endif |
|
|
17742 | |
|
|
17743 | int |
|
|
17744 | main () |
|
|
17745 | { |
|
|
17746 | return f != dlopen; |
|
|
17747 | ; |
|
|
17748 | return 0; |
|
|
17749 | } |
|
|
17750 | _ACEOF |
|
|
17751 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
17752 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
17753 | (eval $ac_link) 2>conftest.er1 |
|
|
17754 | ac_status=$? |
|
|
17755 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
17756 | rm -f conftest.er1 |
|
|
17757 | cat conftest.err >&5 |
|
|
17758 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17759 | (exit $ac_status); } && |
|
|
17760 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
17761 | || test ! -s conftest.err' |
|
|
17762 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17763 | (eval $ac_try) 2>&5 |
|
|
17764 | ac_status=$? |
|
|
17765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17766 | (exit $ac_status); }; } && |
|
|
17767 | { ac_try='test -s conftest$ac_exeext' |
|
|
17768 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17769 | (eval $ac_try) 2>&5 |
|
|
17770 | ac_status=$? |
|
|
17771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17772 | (exit $ac_status); }; }; then |
|
|
17773 | ac_cv_func_dlopen=yes |
|
|
17774 | else |
|
|
17775 | echo "$as_me: failed program was:" >&5 |
|
|
17776 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
17777 | |
|
|
17778 | ac_cv_func_dlopen=no |
|
|
17779 | fi |
|
|
17780 | rm -f conftest.err conftest.$ac_objext \ |
|
|
17781 | conftest$ac_exeext conftest.$ac_ext |
|
|
17782 | fi |
|
|
17783 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
|
|
17784 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
|
|
17785 | if test $ac_cv_func_dlopen = yes; then |
|
|
17786 | lt_cv_dlopen="dlopen" |
|
|
17787 | else |
|
|
17788 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
|
17789 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
|
|
17790 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
|
|
17791 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
17792 | else |
|
|
17793 | ac_check_lib_save_LIBS=$LIBS |
|
|
17794 | LIBS="-ldl $LIBS" |
|
|
17795 | cat >conftest.$ac_ext <<_ACEOF |
|
|
17796 | /* confdefs.h. */ |
|
|
17797 | _ACEOF |
|
|
17798 | cat confdefs.h >>conftest.$ac_ext |
|
|
17799 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
17800 | /* end confdefs.h. */ |
|
|
17801 | |
|
|
17802 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17803 | #ifdef __cplusplus |
|
|
17804 | extern "C" |
|
|
17805 | #endif |
|
|
17806 | /* We use char because int might match the return type of a gcc2 |
|
|
17807 | builtin and then its argument prototype would still apply. */ |
|
|
17808 | char dlopen (); |
|
|
17809 | int |
|
|
17810 | main () |
|
|
17811 | { |
|
|
17812 | dlopen (); |
|
|
17813 | ; |
|
|
17814 | return 0; |
|
|
17815 | } |
|
|
17816 | _ACEOF |
|
|
17817 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
17818 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
17819 | (eval $ac_link) 2>conftest.er1 |
|
|
17820 | ac_status=$? |
|
|
17821 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
17822 | rm -f conftest.er1 |
|
|
17823 | cat conftest.err >&5 |
|
|
17824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17825 | (exit $ac_status); } && |
|
|
17826 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
17827 | || test ! -s conftest.err' |
|
|
17828 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17829 | (eval $ac_try) 2>&5 |
|
|
17830 | ac_status=$? |
|
|
17831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17832 | (exit $ac_status); }; } && |
|
|
17833 | { ac_try='test -s conftest$ac_exeext' |
|
|
17834 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17835 | (eval $ac_try) 2>&5 |
|
|
17836 | ac_status=$? |
|
|
17837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17838 | (exit $ac_status); }; }; then |
|
|
17839 | ac_cv_lib_dl_dlopen=yes |
|
|
17840 | else |
|
|
17841 | echo "$as_me: failed program was:" >&5 |
|
|
17842 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
17843 | |
|
|
17844 | ac_cv_lib_dl_dlopen=no |
|
|
17845 | fi |
|
|
17846 | rm -f conftest.err conftest.$ac_objext \ |
|
|
17847 | conftest$ac_exeext conftest.$ac_ext |
|
|
17848 | LIBS=$ac_check_lib_save_LIBS |
|
|
17849 | fi |
|
|
17850 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
|
|
17851 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
|
|
17852 | if test $ac_cv_lib_dl_dlopen = yes; then |
|
|
17853 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
|
17854 | else |
|
|
17855 | echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
|
|
17856 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 |
|
|
17857 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
|
|
17858 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
17859 | else |
|
|
17860 | ac_check_lib_save_LIBS=$LIBS |
|
|
17861 | LIBS="-lsvld $LIBS" |
|
|
17862 | cat >conftest.$ac_ext <<_ACEOF |
|
|
17863 | /* confdefs.h. */ |
|
|
17864 | _ACEOF |
|
|
17865 | cat confdefs.h >>conftest.$ac_ext |
|
|
17866 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
17867 | /* end confdefs.h. */ |
|
|
17868 | |
|
|
17869 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17870 | #ifdef __cplusplus |
|
|
17871 | extern "C" |
|
|
17872 | #endif |
|
|
17873 | /* We use char because int might match the return type of a gcc2 |
|
|
17874 | builtin and then its argument prototype would still apply. */ |
|
|
17875 | char dlopen (); |
|
|
17876 | int |
|
|
17877 | main () |
|
|
17878 | { |
|
|
17879 | dlopen (); |
|
|
17880 | ; |
|
|
17881 | return 0; |
|
|
17882 | } |
|
|
17883 | _ACEOF |
|
|
17884 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
17885 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
17886 | (eval $ac_link) 2>conftest.er1 |
|
|
17887 | ac_status=$? |
|
|
17888 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
17889 | rm -f conftest.er1 |
|
|
17890 | cat conftest.err >&5 |
|
|
17891 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17892 | (exit $ac_status); } && |
|
|
17893 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
17894 | || test ! -s conftest.err' |
|
|
17895 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17896 | (eval $ac_try) 2>&5 |
|
|
17897 | ac_status=$? |
|
|
17898 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17899 | (exit $ac_status); }; } && |
|
|
17900 | { ac_try='test -s conftest$ac_exeext' |
|
|
17901 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17902 | (eval $ac_try) 2>&5 |
|
|
17903 | ac_status=$? |
|
|
17904 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17905 | (exit $ac_status); }; }; then |
|
|
17906 | ac_cv_lib_svld_dlopen=yes |
|
|
17907 | else |
|
|
17908 | echo "$as_me: failed program was:" >&5 |
|
|
17909 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
17910 | |
|
|
17911 | ac_cv_lib_svld_dlopen=no |
|
|
17912 | fi |
|
|
17913 | rm -f conftest.err conftest.$ac_objext \ |
|
|
17914 | conftest$ac_exeext conftest.$ac_ext |
|
|
17915 | LIBS=$ac_check_lib_save_LIBS |
|
|
17916 | fi |
|
|
17917 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
|
|
17918 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 |
|
|
17919 | if test $ac_cv_lib_svld_dlopen = yes; then |
|
|
17920 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
|
|
17921 | else |
|
|
17922 | echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
|
|
17923 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 |
|
|
17924 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
|
|
17925 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
17926 | else |
|
|
17927 | ac_check_lib_save_LIBS=$LIBS |
|
|
17928 | LIBS="-ldld $LIBS" |
|
|
17929 | cat >conftest.$ac_ext <<_ACEOF |
|
|
17930 | /* confdefs.h. */ |
|
|
17931 | _ACEOF |
|
|
17932 | cat confdefs.h >>conftest.$ac_ext |
|
|
17933 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
17934 | /* end confdefs.h. */ |
|
|
17935 | |
|
|
17936 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17937 | #ifdef __cplusplus |
|
|
17938 | extern "C" |
|
|
17939 | #endif |
|
|
17940 | /* We use char because int might match the return type of a gcc2 |
|
|
17941 | builtin and then its argument prototype would still apply. */ |
|
|
17942 | char dld_link (); |
|
|
17943 | int |
|
|
17944 | main () |
|
|
17945 | { |
|
|
17946 | dld_link (); |
|
|
17947 | ; |
|
|
17948 | return 0; |
|
|
17949 | } |
|
|
17950 | _ACEOF |
|
|
17951 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
17952 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
17953 | (eval $ac_link) 2>conftest.er1 |
|
|
17954 | ac_status=$? |
|
|
17955 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
17956 | rm -f conftest.er1 |
|
|
17957 | cat conftest.err >&5 |
|
|
17958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17959 | (exit $ac_status); } && |
|
|
17960 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
17961 | || test ! -s conftest.err' |
|
|
17962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17963 | (eval $ac_try) 2>&5 |
|
|
17964 | ac_status=$? |
|
|
17965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17966 | (exit $ac_status); }; } && |
|
|
17967 | { ac_try='test -s conftest$ac_exeext' |
|
|
17968 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17969 | (eval $ac_try) 2>&5 |
|
|
17970 | ac_status=$? |
|
|
17971 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17972 | (exit $ac_status); }; }; then |
|
|
17973 | ac_cv_lib_dld_dld_link=yes |
|
|
17974 | else |
|
|
17975 | echo "$as_me: failed program was:" >&5 |
|
|
17976 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
17977 | |
|
|
17978 | ac_cv_lib_dld_dld_link=no |
|
|
17979 | fi |
|
|
17980 | rm -f conftest.err conftest.$ac_objext \ |
|
|
17981 | conftest$ac_exeext conftest.$ac_ext |
|
|
17982 | LIBS=$ac_check_lib_save_LIBS |
|
|
17983 | fi |
|
|
17984 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
|
|
17985 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 |
|
|
17986 | if test $ac_cv_lib_dld_dld_link = yes; then |
|
|
17987 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
|
|
17988 | fi |
|
|
17989 | |
|
|
17990 | |
|
|
17991 | fi |
|
|
17992 | |
|
|
17993 | |
|
|
17994 | fi |
|
|
17995 | |
|
|
17996 | |
|
|
17997 | fi |
|
|
17998 | |
|
|
17999 | |
|
|
18000 | fi |
|
|
18001 | |
|
|
18002 | |
|
|
18003 | fi |
|
|
18004 | |
|
|
18005 | ;; |
|
|
18006 | esac |
|
|
18007 | |
|
|
18008 | if test "x$lt_cv_dlopen" != xno; then |
|
|
18009 | enable_dlopen=yes |
|
|
18010 | else |
|
|
18011 | enable_dlopen=no |
|
|
18012 | fi |
|
|
18013 | |
|
|
18014 | case $lt_cv_dlopen in |
|
|
18015 | dlopen) |
|
|
18016 | save_CPPFLAGS="$CPPFLAGS" |
|
|
18017 | test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
|
|
18018 | |
|
|
18019 | save_LDFLAGS="$LDFLAGS" |
|
|
18020 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
|
|
18021 | |
|
|
18022 | save_LIBS="$LIBS" |
|
|
18023 | LIBS="$lt_cv_dlopen_libs $LIBS" |
|
|
18024 | |
|
|
18025 | echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
|
|
18026 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 |
|
|
18027 | if test "${lt_cv_dlopen_self+set}" = set; then |
|
|
18028 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
18029 | else |
|
|
18030 | if test "$cross_compiling" = yes; then : |
|
|
18031 | lt_cv_dlopen_self=cross |
|
|
18032 | else |
|
|
18033 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
|
18034 | lt_status=$lt_dlunknown |
|
|
18035 | cat > conftest.$ac_ext <<EOF |
|
|
18036 | #line 18036 "configure" |
|
|
18037 | #include "confdefs.h" |
|
|
18038 | |
|
|
18039 | #if HAVE_DLFCN_H |
|
|
18040 | #include <dlfcn.h> |
|
|
18041 | #endif |
|
|
18042 | |
|
|
18043 | #include <stdio.h> |
|
|
18044 | |
|
|
18045 | #ifdef RTLD_GLOBAL |
|
|
18046 | # define LT_DLGLOBAL RTLD_GLOBAL |
|
|
18047 | #else |
|
|
18048 | # ifdef DL_GLOBAL |
|
|
18049 | # define LT_DLGLOBAL DL_GLOBAL |
|
|
18050 | # else |
|
|
18051 | # define LT_DLGLOBAL 0 |
|
|
18052 | # endif |
|
|
18053 | #endif |
|
|
18054 | |
|
|
18055 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
|
18056 | find out it does not work in some platform. */ |
|
|
18057 | #ifndef LT_DLLAZY_OR_NOW |
|
|
18058 | # ifdef RTLD_LAZY |
|
|
18059 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
|
18060 | # else |
|
|
18061 | # ifdef DL_LAZY |
|
|
18062 | # define LT_DLLAZY_OR_NOW DL_LAZY |
|
|
18063 | # else |
|
|
18064 | # ifdef RTLD_NOW |
|
|
18065 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
|
|
18066 | # else |
|
|
18067 | # ifdef DL_NOW |
|
|
18068 | # define LT_DLLAZY_OR_NOW DL_NOW |
|
|
18069 | # else |
|
|
18070 | # define LT_DLLAZY_OR_NOW 0 |
|
|
18071 | # endif |
|
|
18072 | # endif |
|
|
18073 | # endif |
|
|
18074 | # endif |
|
|
18075 | #endif |
|
|
18076 | |
|
|
18077 | #ifdef __cplusplus |
|
|
18078 | extern "C" void exit (int); |
|
|
18079 | #endif |
|
|
18080 | |
|
|
18081 | void fnord() { int i=42;} |
|
|
18082 | int main () |
|
|
18083 | { |
|
|
18084 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
|
18085 | int status = $lt_dlunknown; |
|
|
18086 | |
|
|
18087 | if (self) |
|
|
18088 | { |
|
|
18089 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
|
18090 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
|
18091 | /* dlclose (self); */ |
|
|
18092 | } |
|
|
18093 | |
|
|
18094 | exit (status); |
|
|
18095 | } |
|
|
18096 | EOF |
|
|
18097 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
18098 | (eval $ac_link) 2>&5 |
|
|
18099 | ac_status=$? |
|
|
18100 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
18101 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
|
18102 | (./conftest; exit; ) 2>/dev/null |
|
|
18103 | lt_status=$? |
|
|
18104 | case x$lt_status in |
|
|
18105 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
|
18106 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
|
18107 | x$lt_unknown|x*) lt_cv_dlopen_self=no ;; |
|
|
18108 | esac |
|
|
18109 | else : |
|
|
18110 | # compilation failed |
|
|
18111 | lt_cv_dlopen_self=no |
|
|
18112 | fi |
|
|
18113 | fi |
|
|
18114 | rm -fr conftest* |
|
|
18115 | |
|
|
18116 | |
|
|
18117 | fi |
|
|
18118 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
|
|
18119 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
|
|
18120 | |
|
|
18121 | if test "x$lt_cv_dlopen_self" = xyes; then |
|
|
18122 | LDFLAGS="$LDFLAGS $link_static_flag" |
|
|
18123 | echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
|
|
18124 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 |
|
|
18125 | if test "${lt_cv_dlopen_self_static+set}" = set; then |
|
|
18126 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
18127 | else |
|
|
18128 | if test "$cross_compiling" = yes; then : |
|
|
18129 | lt_cv_dlopen_self_static=cross |
|
|
18130 | else |
|
|
18131 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
|
18132 | lt_status=$lt_dlunknown |
|
|
18133 | cat > conftest.$ac_ext <<EOF |
|
|
18134 | #line 18134 "configure" |
|
|
18135 | #include "confdefs.h" |
|
|
18136 | |
|
|
18137 | #if HAVE_DLFCN_H |
|
|
18138 | #include <dlfcn.h> |
|
|
18139 | #endif |
|
|
18140 | |
|
|
18141 | #include <stdio.h> |
|
|
18142 | |
|
|
18143 | #ifdef RTLD_GLOBAL |
|
|
18144 | # define LT_DLGLOBAL RTLD_GLOBAL |
|
|
18145 | #else |
|
|
18146 | # ifdef DL_GLOBAL |
|
|
18147 | # define LT_DLGLOBAL DL_GLOBAL |
|
|
18148 | # else |
|
|
18149 | # define LT_DLGLOBAL 0 |
|
|
18150 | # endif |
|
|
18151 | #endif |
|
|
18152 | |
|
|
18153 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
|
18154 | find out it does not work in some platform. */ |
|
|
18155 | #ifndef LT_DLLAZY_OR_NOW |
|
|
18156 | # ifdef RTLD_LAZY |
|
|
18157 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
|
18158 | # else |
|
|
18159 | # ifdef DL_LAZY |
|
|
18160 | # define LT_DLLAZY_OR_NOW DL_LAZY |
|
|
18161 | # else |
|
|
18162 | # ifdef RTLD_NOW |
|
|
18163 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
|
|
18164 | # else |
|
|
18165 | # ifdef DL_NOW |
|
|
18166 | # define LT_DLLAZY_OR_NOW DL_NOW |
|
|
18167 | # else |
|
|
18168 | # define LT_DLLAZY_OR_NOW 0 |
|
|
18169 | # endif |
|
|
18170 | # endif |
|
|
18171 | # endif |
|
|
18172 | # endif |
|
|
18173 | #endif |
|
|
18174 | |
|
|
18175 | #ifdef __cplusplus |
|
|
18176 | extern "C" void exit (int); |
|
|
18177 | #endif |
|
|
18178 | |
|
|
18179 | void fnord() { int i=42;} |
|
|
18180 | int main () |
|
|
18181 | { |
|
|
18182 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
|
18183 | int status = $lt_dlunknown; |
|
|
18184 | |
|
|
18185 | if (self) |
|
|
18186 | { |
|
|
18187 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
|
18188 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
|
18189 | /* dlclose (self); */ |
|
|
18190 | } |
|
|
18191 | |
|
|
18192 | exit (status); |
|
|
18193 | } |
|
|
18194 | EOF |
|
|
18195 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
18196 | (eval $ac_link) 2>&5 |
|
|
18197 | ac_status=$? |
|
|
18198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
18199 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
|
18200 | (./conftest; exit; ) 2>/dev/null |
|
|
18201 | lt_status=$? |
|
|
18202 | case x$lt_status in |
|
|
18203 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
|
18204 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
|
18205 | x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; |
|
|
18206 | esac |
|
|
18207 | else : |
|
|
18208 | # compilation failed |
|
|
18209 | lt_cv_dlopen_self_static=no |
|
|
18210 | fi |
|
|
18211 | fi |
|
|
18212 | rm -fr conftest* |
|
|
18213 | |
|
|
18214 | |
|
|
18215 | fi |
|
|
18216 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
|
|
18217 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 |
|
|
18218 | fi |
|
|
18219 | |
|
|
18220 | CPPFLAGS="$save_CPPFLAGS" |
|
|
18221 | LDFLAGS="$save_LDFLAGS" |
|
|
18222 | LIBS="$save_LIBS" |
|
|
18223 | ;; |
|
|
18224 | esac |
|
|
18225 | |
|
|
18226 | case $lt_cv_dlopen_self in |
|
|
18227 | yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
|
|
18228 | *) enable_dlopen_self=unknown ;; |
|
|
18229 | esac |
|
|
18230 | |
|
|
18231 | case $lt_cv_dlopen_self_static in |
|
|
18232 | yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
|
|
18233 | *) enable_dlopen_self_static=unknown ;; |
|
|
18234 | esac |
|
|
18235 | fi |
18271 | fi |
18236 | |
18272 | |
18237 | |
18273 | |
18238 | # The else clause should only fire when bootstrapping the |
18274 | # The else clause should only fire when bootstrapping the |
18239 | # libtool distribution, otherwise you forgot to ship ltmain.sh |
18275 | # libtool distribution, otherwise you forgot to ship ltmain.sh |
… | |
… | |
18246 | setopt NO_GLOB_SUBST |
18282 | setopt NO_GLOB_SUBST |
18247 | fi |
18283 | fi |
18248 | # Now quote all the things that may contain metacharacters while being |
18284 | # Now quote all the things that may contain metacharacters while being |
18249 | # careful not to overquote the AC_SUBSTed values. We take copies of the |
18285 | # careful not to overquote the AC_SUBSTed values. We take copies of the |
18250 | # variables and quote the copies for generation of the libtool script. |
18286 | # variables and quote the copies for generation of the libtool script. |
18251 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
18287 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
18252 | SED SHELL STRIP \ |
18288 | SED SHELL STRIP \ |
18253 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
18289 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
18254 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
18290 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
18255 | deplibs_check_method reload_flag reload_cmds need_locks \ |
18291 | deplibs_check_method reload_flag reload_cmds need_locks \ |
18256 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
18292 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
… | |
… | |
18347 | fast_install=$enable_fast_install |
18383 | fast_install=$enable_fast_install |
18348 | |
18384 | |
18349 | # The host system. |
18385 | # The host system. |
18350 | host_alias=$host_alias |
18386 | host_alias=$host_alias |
18351 | host=$host |
18387 | host=$host |
|
|
18388 | host_os=$host_os |
|
|
18389 | |
|
|
18390 | # The build system. |
|
|
18391 | build_alias=$build_alias |
|
|
18392 | build=$build |
|
|
18393 | build_os=$build_os |
18352 | |
18394 | |
18353 | # An echo program that does not interpret backslashes. |
18395 | # An echo program that does not interpret backslashes. |
18354 | echo=$lt_echo |
18396 | echo=$lt_echo |
18355 | |
18397 | |
18356 | # The archiver. |
18398 | # The archiver. |
… | |
… | |
18358 | AR_FLAGS=$lt_AR_FLAGS |
18400 | AR_FLAGS=$lt_AR_FLAGS |
18359 | |
18401 | |
18360 | # A C compiler. |
18402 | # A C compiler. |
18361 | LTCC=$lt_LTCC |
18403 | LTCC=$lt_LTCC |
18362 | |
18404 | |
|
|
18405 | # LTCC compiler flags. |
|
|
18406 | LTCFLAGS=$lt_LTCFLAGS |
|
|
18407 | |
18363 | # A language-specific compiler. |
18408 | # A language-specific compiler. |
18364 | CC=$lt_compiler_GCJ |
18409 | CC=$lt_compiler_GCJ |
18365 | |
18410 | |
18366 | # Is the compiler the GNU C compiler? |
18411 | # Is the compiler the GNU C compiler? |
18367 | with_gcc=$GCC_GCJ |
18412 | with_gcc=$GCC_GCJ |
… | |
… | |
18408 | |
18453 | |
18409 | # Old archive suffix (normally "a"). |
18454 | # Old archive suffix (normally "a"). |
18410 | libext="$libext" |
18455 | libext="$libext" |
18411 | |
18456 | |
18412 | # Shared library suffix (normally ".so"). |
18457 | # Shared library suffix (normally ".so"). |
18413 | shrext='$shrext' |
18458 | shrext_cmds='$shrext_cmds' |
18414 | |
18459 | |
18415 | # Executable file suffix (normally ""). |
18460 | # Executable file suffix (normally ""). |
18416 | exeext="$exeext" |
18461 | exeext="$exeext" |
18417 | |
18462 | |
18418 | # Additional compiler flags for building library objects. |
18463 | # Additional compiler flags for building library objects. |
… | |
… | |
18423 | max_cmd_len=$lt_cv_sys_max_cmd_len |
18468 | max_cmd_len=$lt_cv_sys_max_cmd_len |
18424 | |
18469 | |
18425 | # Does compiler simultaneously support -c and -o options? |
18470 | # Does compiler simultaneously support -c and -o options? |
18426 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ |
18471 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ |
18427 | |
18472 | |
18428 | # Must we lock files when doing compilation ? |
18473 | # Must we lock files when doing compilation? |
18429 | need_locks=$lt_need_locks |
18474 | need_locks=$lt_need_locks |
18430 | |
18475 | |
18431 | # Do we need the lib prefix for modules? |
18476 | # Do we need the lib prefix for modules? |
18432 | need_lib_prefix=$need_lib_prefix |
18477 | need_lib_prefix=$need_lib_prefix |
18433 | |
18478 | |
… | |
… | |
18648 | ;; |
18693 | ;; |
18649 | |
18694 | |
18650 | RC) |
18695 | RC) |
18651 | |
18696 | |
18652 | |
18697 | |
18653 | |
|
|
18654 | # Source file extension for RC test sources. |
18698 | # Source file extension for RC test sources. |
18655 | ac_ext=rc |
18699 | ac_ext=rc |
18656 | |
18700 | |
18657 | # Object file extension for compiled RC test sources. |
18701 | # Object file extension for compiled RC test sources. |
18658 | objext=o |
18702 | objext=o |
… | |
… | |
18667 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
18711 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
18668 | |
18712 | |
18669 | # If no C compiler was specified, use CC. |
18713 | # If no C compiler was specified, use CC. |
18670 | LTCC=${LTCC-"$CC"} |
18714 | LTCC=${LTCC-"$CC"} |
18671 | |
18715 | |
|
|
18716 | # If no C compiler flags were specified, use CFLAGS. |
|
|
18717 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
18718 | |
18672 | # Allow CC to be a program name with arguments. |
18719 | # Allow CC to be a program name with arguments. |
18673 | compiler=$CC |
18720 | compiler=$CC |
|
|
18721 | |
|
|
18722 | |
|
|
18723 | # save warnings/boilerplate of simple test code |
|
|
18724 | ac_outfile=conftest.$ac_objext |
|
|
18725 | printf "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
|
18726 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
|
18727 | _lt_compiler_boilerplate=`cat conftest.err` |
|
|
18728 | $rm conftest* |
|
|
18729 | |
|
|
18730 | ac_outfile=conftest.$ac_objext |
|
|
18731 | printf "$lt_simple_link_test_code" >conftest.$ac_ext |
|
|
18732 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
|
18733 | _lt_linker_boilerplate=`cat conftest.err` |
|
|
18734 | $rm conftest* |
18674 | |
18735 | |
18675 | |
18736 | |
18676 | # Allow CC to be a program name with arguments. |
18737 | # Allow CC to be a program name with arguments. |
18677 | lt_save_CC="$CC" |
18738 | lt_save_CC="$CC" |
18678 | CC=${RC-"windres"} |
18739 | CC=${RC-"windres"} |
18679 | compiler=$CC |
18740 | compiler=$CC |
18680 | compiler_RC=$CC |
18741 | compiler_RC=$CC |
|
|
18742 | for cc_temp in $compiler""; do |
|
|
18743 | case $cc_temp in |
|
|
18744 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
|
18745 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
|
18746 | \-*) ;; |
|
|
18747 | *) break;; |
|
|
18748 | esac |
|
|
18749 | done |
|
|
18750 | cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
|
18751 | |
18681 | lt_cv_prog_compiler_c_o_RC=yes |
18752 | lt_cv_prog_compiler_c_o_RC=yes |
18682 | |
18753 | |
18683 | # The else clause should only fire when bootstrapping the |
18754 | # The else clause should only fire when bootstrapping the |
18684 | # libtool distribution, otherwise you forgot to ship ltmain.sh |
18755 | # libtool distribution, otherwise you forgot to ship ltmain.sh |
18685 | # with your package, and you will get complaints that there are |
18756 | # with your package, and you will get complaints that there are |
… | |
… | |
18691 | setopt NO_GLOB_SUBST |
18762 | setopt NO_GLOB_SUBST |
18692 | fi |
18763 | fi |
18693 | # Now quote all the things that may contain metacharacters while being |
18764 | # Now quote all the things that may contain metacharacters while being |
18694 | # careful not to overquote the AC_SUBSTed values. We take copies of the |
18765 | # careful not to overquote the AC_SUBSTed values. We take copies of the |
18695 | # variables and quote the copies for generation of the libtool script. |
18766 | # variables and quote the copies for generation of the libtool script. |
18696 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \ |
18767 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
18697 | SED SHELL STRIP \ |
18768 | SED SHELL STRIP \ |
18698 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
18769 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
18699 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
18770 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
18700 | deplibs_check_method reload_flag reload_cmds need_locks \ |
18771 | deplibs_check_method reload_flag reload_cmds need_locks \ |
18701 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
18772 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
… | |
… | |
18792 | fast_install=$enable_fast_install |
18863 | fast_install=$enable_fast_install |
18793 | |
18864 | |
18794 | # The host system. |
18865 | # The host system. |
18795 | host_alias=$host_alias |
18866 | host_alias=$host_alias |
18796 | host=$host |
18867 | host=$host |
|
|
18868 | host_os=$host_os |
|
|
18869 | |
|
|
18870 | # The build system. |
|
|
18871 | build_alias=$build_alias |
|
|
18872 | build=$build |
|
|
18873 | build_os=$build_os |
18797 | |
18874 | |
18798 | # An echo program that does not interpret backslashes. |
18875 | # An echo program that does not interpret backslashes. |
18799 | echo=$lt_echo |
18876 | echo=$lt_echo |
18800 | |
18877 | |
18801 | # The archiver. |
18878 | # The archiver. |
… | |
… | |
18803 | AR_FLAGS=$lt_AR_FLAGS |
18880 | AR_FLAGS=$lt_AR_FLAGS |
18804 | |
18881 | |
18805 | # A C compiler. |
18882 | # A C compiler. |
18806 | LTCC=$lt_LTCC |
18883 | LTCC=$lt_LTCC |
18807 | |
18884 | |
|
|
18885 | # LTCC compiler flags. |
|
|
18886 | LTCFLAGS=$lt_LTCFLAGS |
|
|
18887 | |
18808 | # A language-specific compiler. |
18888 | # A language-specific compiler. |
18809 | CC=$lt_compiler_RC |
18889 | CC=$lt_compiler_RC |
18810 | |
18890 | |
18811 | # Is the compiler the GNU C compiler? |
18891 | # Is the compiler the GNU C compiler? |
18812 | with_gcc=$GCC_RC |
18892 | with_gcc=$GCC_RC |
… | |
… | |
18853 | |
18933 | |
18854 | # Old archive suffix (normally "a"). |
18934 | # Old archive suffix (normally "a"). |
18855 | libext="$libext" |
18935 | libext="$libext" |
18856 | |
18936 | |
18857 | # Shared library suffix (normally ".so"). |
18937 | # Shared library suffix (normally ".so"). |
18858 | shrext='$shrext' |
18938 | shrext_cmds='$shrext_cmds' |
18859 | |
18939 | |
18860 | # Executable file suffix (normally ""). |
18940 | # Executable file suffix (normally ""). |
18861 | exeext="$exeext" |
18941 | exeext="$exeext" |
18862 | |
18942 | |
18863 | # Additional compiler flags for building library objects. |
18943 | # Additional compiler flags for building library objects. |
… | |
… | |
18868 | max_cmd_len=$lt_cv_sys_max_cmd_len |
18948 | max_cmd_len=$lt_cv_sys_max_cmd_len |
18869 | |
18949 | |
18870 | # Does compiler simultaneously support -c and -o options? |
18950 | # Does compiler simultaneously support -c and -o options? |
18871 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC |
18951 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC |
18872 | |
18952 | |
18873 | # Must we lock files when doing compilation ? |
18953 | # Must we lock files when doing compilation? |
18874 | need_locks=$lt_need_locks |
18954 | need_locks=$lt_need_locks |
18875 | |
18955 | |
18876 | # Do we need the lib prefix for modules? |
18956 | # Do we need the lib prefix for modules? |
18877 | need_lib_prefix=$need_lib_prefix |
18957 | need_lib_prefix=$need_lib_prefix |
18878 | |
18958 | |
… | |
… | |
19210 | #------------------------------------------------------------------------------- |
19290 | #------------------------------------------------------------------------------- |
19211 | # Check for some library functions |
19291 | # Check for some library functions |
19212 | #------------------------------------------------------------------------------- |
19292 | #------------------------------------------------------------------------------- |
19213 | |
19293 | |
19214 | |
19294 | |
19215 | echo "$as_me:$LINENO: checking for exit in -lc" >&5 |
19295 | { echo "$as_me:$LINENO: checking for exit in -lc" >&5 |
19216 | echo $ECHO_N "checking for exit in -lc... $ECHO_C" >&6 |
19296 | echo $ECHO_N "checking for exit in -lc... $ECHO_C" >&6; } |
19217 | if test "${ac_cv_lib_c_exit+set}" = set; then |
19297 | if test "${ac_cv_lib_c_exit+set}" = set; then |
19218 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19298 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19219 | else |
19299 | else |
19220 | ac_check_lib_save_LIBS=$LIBS |
19300 | ac_check_lib_save_LIBS=$LIBS |
19221 | LIBS="-lc $LIBS" |
19301 | LIBS="-lc $LIBS" |
… | |
… | |
19224 | _ACEOF |
19304 | _ACEOF |
19225 | cat confdefs.h >>conftest.$ac_ext |
19305 | cat confdefs.h >>conftest.$ac_ext |
19226 | cat >>conftest.$ac_ext <<_ACEOF |
19306 | cat >>conftest.$ac_ext <<_ACEOF |
19227 | /* end confdefs.h. */ |
19307 | /* end confdefs.h. */ |
19228 | |
19308 | |
19229 | /* Override any gcc2 internal prototype to avoid an error. */ |
19309 | /* Override any GCC internal prototype to avoid an error. |
|
|
19310 | Use char because int might match the return type of a GCC |
|
|
19311 | builtin and then its argument prototype would still apply. */ |
19230 | #ifdef __cplusplus |
19312 | #ifdef __cplusplus |
19231 | extern "C" |
19313 | extern "C" |
19232 | #endif |
19314 | #endif |
19233 | /* We use char because int might match the return type of a gcc2 |
|
|
19234 | builtin and then its argument prototype would still apply. */ |
|
|
19235 | char exit (); |
19315 | char exit (); |
19236 | int |
19316 | int |
19237 | main () |
19317 | main () |
19238 | { |
19318 | { |
19239 | exit (); |
19319 | return exit (); |
19240 | ; |
19320 | ; |
19241 | return 0; |
19321 | return 0; |
19242 | } |
19322 | } |
19243 | _ACEOF |
19323 | _ACEOF |
19244 | rm -f conftest.$ac_objext conftest$ac_exeext |
19324 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
19325 | if { (ac_try="$ac_link" |
|
|
19326 | case "(($ac_try" in |
|
|
19327 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
19328 | *) ac_try_echo=$ac_try;; |
|
|
19329 | esac |
19245 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19330 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19246 | (eval $ac_link) 2>conftest.er1 |
19331 | (eval "$ac_link") 2>conftest.er1 |
19247 | ac_status=$? |
19332 | ac_status=$? |
19248 | grep -v '^ *+' conftest.er1 >conftest.err |
19333 | grep -v '^ *+' conftest.er1 >conftest.err |
19249 | rm -f conftest.er1 |
19334 | rm -f conftest.er1 |
19250 | cat conftest.err >&5 |
19335 | cat conftest.err >&5 |
19251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19252 | (exit $ac_status); } && |
19337 | (exit $ac_status); } && { |
19253 | { ac_try='test -z "$ac_c_werror_flag" |
19338 | test -z "$ac_c_werror_flag" || |
19254 | || test ! -s conftest.err' |
19339 | test ! -s conftest.err |
19255 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19340 | } && test -s conftest$ac_exeext && |
19256 | (eval $ac_try) 2>&5 |
19341 | $as_test_x conftest$ac_exeext; then |
19257 | ac_status=$? |
|
|
19258 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19259 | (exit $ac_status); }; } && |
|
|
19260 | { ac_try='test -s conftest$ac_exeext' |
|
|
19261 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19262 | (eval $ac_try) 2>&5 |
|
|
19263 | ac_status=$? |
|
|
19264 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19265 | (exit $ac_status); }; }; then |
|
|
19266 | ac_cv_lib_c_exit=yes |
19342 | ac_cv_lib_c_exit=yes |
19267 | else |
19343 | else |
19268 | echo "$as_me: failed program was:" >&5 |
19344 | echo "$as_me: failed program was:" >&5 |
19269 | sed 's/^/| /' conftest.$ac_ext >&5 |
19345 | sed 's/^/| /' conftest.$ac_ext >&5 |
19270 | |
19346 | |
19271 | ac_cv_lib_c_exit=no |
19347 | ac_cv_lib_c_exit=no |
19272 | fi |
19348 | fi |
19273 | rm -f conftest.err conftest.$ac_objext \ |
19349 | |
|
|
19350 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
19274 | conftest$ac_exeext conftest.$ac_ext |
19351 | conftest$ac_exeext conftest.$ac_ext |
19275 | LIBS=$ac_check_lib_save_LIBS |
19352 | LIBS=$ac_check_lib_save_LIBS |
19276 | fi |
19353 | fi |
19277 | echo "$as_me:$LINENO: result: $ac_cv_lib_c_exit" >&5 |
19354 | { echo "$as_me:$LINENO: result: $ac_cv_lib_c_exit" >&5 |
19278 | echo "${ECHO_T}$ac_cv_lib_c_exit" >&6 |
19355 | echo "${ECHO_T}$ac_cv_lib_c_exit" >&6; } |
19279 | if test $ac_cv_lib_c_exit = yes; then |
19356 | if test $ac_cv_lib_c_exit = yes; then |
19280 | cat >>confdefs.h <<_ACEOF |
19357 | cat >>confdefs.h <<_ACEOF |
19281 | #define HAVE_LIBC 1 |
19358 | #define HAVE_LIBC 1 |
19282 | _ACEOF |
19359 | _ACEOF |
19283 | |
19360 | |
19284 | LIBS="-lc $LIBS" |
19361 | LIBS="-lc $LIBS" |
19285 | |
19362 | |
19286 | fi |
19363 | fi |
19287 | |
19364 | |
19288 | |
19365 | |
19289 | echo "$as_me:$LINENO: checking for inet_pton in -lnsl" >&5 |
19366 | { echo "$as_me:$LINENO: checking for inet_pton in -lnsl" >&5 |
19290 | echo $ECHO_N "checking for inet_pton in -lnsl... $ECHO_C" >&6 |
19367 | echo $ECHO_N "checking for inet_pton in -lnsl... $ECHO_C" >&6; } |
19291 | if test "${ac_cv_lib_nsl_inet_pton+set}" = set; then |
19368 | if test "${ac_cv_lib_nsl_inet_pton+set}" = set; then |
19292 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19369 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19293 | else |
19370 | else |
19294 | ac_check_lib_save_LIBS=$LIBS |
19371 | ac_check_lib_save_LIBS=$LIBS |
19295 | LIBS="-lnsl $LIBS" |
19372 | LIBS="-lnsl $LIBS" |
… | |
… | |
19298 | _ACEOF |
19375 | _ACEOF |
19299 | cat confdefs.h >>conftest.$ac_ext |
19376 | cat confdefs.h >>conftest.$ac_ext |
19300 | cat >>conftest.$ac_ext <<_ACEOF |
19377 | cat >>conftest.$ac_ext <<_ACEOF |
19301 | /* end confdefs.h. */ |
19378 | /* end confdefs.h. */ |
19302 | |
19379 | |
19303 | /* Override any gcc2 internal prototype to avoid an error. */ |
19380 | /* Override any GCC internal prototype to avoid an error. |
|
|
19381 | Use char because int might match the return type of a GCC |
|
|
19382 | builtin and then its argument prototype would still apply. */ |
19304 | #ifdef __cplusplus |
19383 | #ifdef __cplusplus |
19305 | extern "C" |
19384 | extern "C" |
19306 | #endif |
19385 | #endif |
19307 | /* We use char because int might match the return type of a gcc2 |
|
|
19308 | builtin and then its argument prototype would still apply. */ |
|
|
19309 | char inet_pton (); |
19386 | char inet_pton (); |
19310 | int |
19387 | int |
19311 | main () |
19388 | main () |
19312 | { |
19389 | { |
19313 | inet_pton (); |
19390 | return inet_pton (); |
19314 | ; |
19391 | ; |
19315 | return 0; |
19392 | return 0; |
19316 | } |
19393 | } |
19317 | _ACEOF |
19394 | _ACEOF |
19318 | rm -f conftest.$ac_objext conftest$ac_exeext |
19395 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
19396 | if { (ac_try="$ac_link" |
|
|
19397 | case "(($ac_try" in |
|
|
19398 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
19399 | *) ac_try_echo=$ac_try;; |
|
|
19400 | esac |
19319 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19401 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19320 | (eval $ac_link) 2>conftest.er1 |
19402 | (eval "$ac_link") 2>conftest.er1 |
19321 | ac_status=$? |
19403 | ac_status=$? |
19322 | grep -v '^ *+' conftest.er1 >conftest.err |
19404 | grep -v '^ *+' conftest.er1 >conftest.err |
19323 | rm -f conftest.er1 |
19405 | rm -f conftest.er1 |
19324 | cat conftest.err >&5 |
19406 | cat conftest.err >&5 |
19325 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19407 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19326 | (exit $ac_status); } && |
19408 | (exit $ac_status); } && { |
19327 | { ac_try='test -z "$ac_c_werror_flag" |
19409 | test -z "$ac_c_werror_flag" || |
19328 | || test ! -s conftest.err' |
19410 | test ! -s conftest.err |
19329 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19411 | } && test -s conftest$ac_exeext && |
19330 | (eval $ac_try) 2>&5 |
19412 | $as_test_x conftest$ac_exeext; then |
19331 | ac_status=$? |
|
|
19332 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19333 | (exit $ac_status); }; } && |
|
|
19334 | { ac_try='test -s conftest$ac_exeext' |
|
|
19335 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19336 | (eval $ac_try) 2>&5 |
|
|
19337 | ac_status=$? |
|
|
19338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19339 | (exit $ac_status); }; }; then |
|
|
19340 | ac_cv_lib_nsl_inet_pton=yes |
19413 | ac_cv_lib_nsl_inet_pton=yes |
19341 | else |
19414 | else |
19342 | echo "$as_me: failed program was:" >&5 |
19415 | echo "$as_me: failed program was:" >&5 |
19343 | sed 's/^/| /' conftest.$ac_ext >&5 |
19416 | sed 's/^/| /' conftest.$ac_ext >&5 |
19344 | |
19417 | |
19345 | ac_cv_lib_nsl_inet_pton=no |
19418 | ac_cv_lib_nsl_inet_pton=no |
19346 | fi |
19419 | fi |
19347 | rm -f conftest.err conftest.$ac_objext \ |
19420 | |
|
|
19421 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
19348 | conftest$ac_exeext conftest.$ac_ext |
19422 | conftest$ac_exeext conftest.$ac_ext |
19349 | LIBS=$ac_check_lib_save_LIBS |
19423 | LIBS=$ac_check_lib_save_LIBS |
19350 | fi |
19424 | fi |
19351 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_pton" >&5 |
19425 | { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_pton" >&5 |
19352 | echo "${ECHO_T}$ac_cv_lib_nsl_inet_pton" >&6 |
19426 | echo "${ECHO_T}$ac_cv_lib_nsl_inet_pton" >&6; } |
19353 | if test $ac_cv_lib_nsl_inet_pton = yes; then |
19427 | if test $ac_cv_lib_nsl_inet_pton = yes; then |
19354 | cat >>confdefs.h <<_ACEOF |
19428 | cat >>confdefs.h <<_ACEOF |
19355 | #define HAVE_LIBNSL 1 |
19429 | #define HAVE_LIBNSL 1 |
19356 | _ACEOF |
19430 | _ACEOF |
19357 | |
19431 | |
19358 | LIBS="-lnsl $LIBS" |
19432 | LIBS="-lnsl $LIBS" |
19359 | |
19433 | |
19360 | fi |
19434 | fi |
19361 | |
19435 | |
19362 | |
19436 | |
19363 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
19437 | { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
19364 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
19438 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } |
19365 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
19439 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
19366 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19440 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19367 | else |
19441 | else |
19368 | ac_check_lib_save_LIBS=$LIBS |
19442 | ac_check_lib_save_LIBS=$LIBS |
19369 | LIBS="-lsocket $LIBS" |
19443 | LIBS="-lsocket $LIBS" |
… | |
… | |
19372 | _ACEOF |
19446 | _ACEOF |
19373 | cat confdefs.h >>conftest.$ac_ext |
19447 | cat confdefs.h >>conftest.$ac_ext |
19374 | cat >>conftest.$ac_ext <<_ACEOF |
19448 | cat >>conftest.$ac_ext <<_ACEOF |
19375 | /* end confdefs.h. */ |
19449 | /* end confdefs.h. */ |
19376 | |
19450 | |
19377 | /* Override any gcc2 internal prototype to avoid an error. */ |
19451 | /* Override any GCC internal prototype to avoid an error. |
|
|
19452 | Use char because int might match the return type of a GCC |
|
|
19453 | builtin and then its argument prototype would still apply. */ |
19378 | #ifdef __cplusplus |
19454 | #ifdef __cplusplus |
19379 | extern "C" |
19455 | extern "C" |
19380 | #endif |
19456 | #endif |
19381 | /* We use char because int might match the return type of a gcc2 |
|
|
19382 | builtin and then its argument prototype would still apply. */ |
|
|
19383 | char socket (); |
19457 | char socket (); |
19384 | int |
19458 | int |
19385 | main () |
19459 | main () |
19386 | { |
19460 | { |
19387 | socket (); |
19461 | return socket (); |
19388 | ; |
19462 | ; |
19389 | return 0; |
19463 | return 0; |
19390 | } |
19464 | } |
19391 | _ACEOF |
19465 | _ACEOF |
19392 | rm -f conftest.$ac_objext conftest$ac_exeext |
19466 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
19467 | if { (ac_try="$ac_link" |
|
|
19468 | case "(($ac_try" in |
|
|
19469 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
19470 | *) ac_try_echo=$ac_try;; |
|
|
19471 | esac |
19393 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19472 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19394 | (eval $ac_link) 2>conftest.er1 |
19473 | (eval "$ac_link") 2>conftest.er1 |
19395 | ac_status=$? |
19474 | ac_status=$? |
19396 | grep -v '^ *+' conftest.er1 >conftest.err |
19475 | grep -v '^ *+' conftest.er1 >conftest.err |
19397 | rm -f conftest.er1 |
19476 | rm -f conftest.er1 |
19398 | cat conftest.err >&5 |
19477 | cat conftest.err >&5 |
19399 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19478 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19400 | (exit $ac_status); } && |
19479 | (exit $ac_status); } && { |
19401 | { ac_try='test -z "$ac_c_werror_flag" |
19480 | test -z "$ac_c_werror_flag" || |
19402 | || test ! -s conftest.err' |
19481 | test ! -s conftest.err |
19403 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19482 | } && test -s conftest$ac_exeext && |
19404 | (eval $ac_try) 2>&5 |
19483 | $as_test_x conftest$ac_exeext; then |
19405 | ac_status=$? |
|
|
19406 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19407 | (exit $ac_status); }; } && |
|
|
19408 | { ac_try='test -s conftest$ac_exeext' |
|
|
19409 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19410 | (eval $ac_try) 2>&5 |
|
|
19411 | ac_status=$? |
|
|
19412 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19413 | (exit $ac_status); }; }; then |
|
|
19414 | ac_cv_lib_socket_socket=yes |
19484 | ac_cv_lib_socket_socket=yes |
19415 | else |
19485 | else |
19416 | echo "$as_me: failed program was:" >&5 |
19486 | echo "$as_me: failed program was:" >&5 |
19417 | sed 's/^/| /' conftest.$ac_ext >&5 |
19487 | sed 's/^/| /' conftest.$ac_ext >&5 |
19418 | |
19488 | |
19419 | ac_cv_lib_socket_socket=no |
19489 | ac_cv_lib_socket_socket=no |
19420 | fi |
19490 | fi |
19421 | rm -f conftest.err conftest.$ac_objext \ |
19491 | |
|
|
19492 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
19422 | conftest$ac_exeext conftest.$ac_ext |
19493 | conftest$ac_exeext conftest.$ac_ext |
19423 | LIBS=$ac_check_lib_save_LIBS |
19494 | LIBS=$ac_check_lib_save_LIBS |
19424 | fi |
19495 | fi |
19425 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
19496 | { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
19426 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
19497 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } |
19427 | if test $ac_cv_lib_socket_socket = yes; then |
19498 | if test $ac_cv_lib_socket_socket = yes; then |
19428 | cat >>confdefs.h <<_ACEOF |
19499 | cat >>confdefs.h <<_ACEOF |
19429 | #define HAVE_LIBSOCKET 1 |
19500 | #define HAVE_LIBSOCKET 1 |
19430 | _ACEOF |
19501 | _ACEOF |
19431 | |
19502 | |
19432 | LIBS="-lsocket $LIBS" |
19503 | LIBS="-lsocket $LIBS" |
19433 | |
19504 | |
19434 | fi |
19505 | fi |
19435 | |
19506 | |
19436 | |
19507 | |
19437 | echo "$as_me:$LINENO: checking for SPF_sanitize in -lspf2" >&5 |
19508 | { echo "$as_me:$LINENO: checking for SPF_sanitize in -lspf2" >&5 |
19438 | echo $ECHO_N "checking for SPF_sanitize in -lspf2... $ECHO_C" >&6 |
19509 | echo $ECHO_N "checking for SPF_sanitize in -lspf2... $ECHO_C" >&6; } |
19439 | if test "${ac_cv_lib_spf2_SPF_sanitize+set}" = set; then |
19510 | if test "${ac_cv_lib_spf2_SPF_sanitize+set}" = set; then |
19440 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19511 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19441 | else |
19512 | else |
19442 | ac_check_lib_save_LIBS=$LIBS |
19513 | ac_check_lib_save_LIBS=$LIBS |
19443 | LIBS="-lspf2 $LIBS" |
19514 | LIBS="-lspf2 $LIBS" |
… | |
… | |
19446 | _ACEOF |
19517 | _ACEOF |
19447 | cat confdefs.h >>conftest.$ac_ext |
19518 | cat confdefs.h >>conftest.$ac_ext |
19448 | cat >>conftest.$ac_ext <<_ACEOF |
19519 | cat >>conftest.$ac_ext <<_ACEOF |
19449 | /* end confdefs.h. */ |
19520 | /* end confdefs.h. */ |
19450 | |
19521 | |
19451 | /* Override any gcc2 internal prototype to avoid an error. */ |
19522 | /* Override any GCC internal prototype to avoid an error. |
|
|
19523 | Use char because int might match the return type of a GCC |
|
|
19524 | builtin and then its argument prototype would still apply. */ |
19452 | #ifdef __cplusplus |
19525 | #ifdef __cplusplus |
19453 | extern "C" |
19526 | extern "C" |
19454 | #endif |
19527 | #endif |
19455 | /* We use char because int might match the return type of a gcc2 |
|
|
19456 | builtin and then its argument prototype would still apply. */ |
|
|
19457 | char SPF_sanitize (); |
19528 | char SPF_sanitize (); |
19458 | int |
19529 | int |
19459 | main () |
19530 | main () |
19460 | { |
19531 | { |
19461 | SPF_sanitize (); |
19532 | return SPF_sanitize (); |
19462 | ; |
19533 | ; |
19463 | return 0; |
19534 | return 0; |
19464 | } |
19535 | } |
19465 | _ACEOF |
19536 | _ACEOF |
19466 | rm -f conftest.$ac_objext conftest$ac_exeext |
19537 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
19538 | if { (ac_try="$ac_link" |
|
|
19539 | case "(($ac_try" in |
|
|
19540 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
19541 | *) ac_try_echo=$ac_try;; |
|
|
19542 | esac |
19467 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19543 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19468 | (eval $ac_link) 2>conftest.er1 |
19544 | (eval "$ac_link") 2>conftest.er1 |
19469 | ac_status=$? |
19545 | ac_status=$? |
19470 | grep -v '^ *+' conftest.er1 >conftest.err |
19546 | grep -v '^ *+' conftest.er1 >conftest.err |
19471 | rm -f conftest.er1 |
19547 | rm -f conftest.er1 |
19472 | cat conftest.err >&5 |
19548 | cat conftest.err >&5 |
19473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19474 | (exit $ac_status); } && |
19550 | (exit $ac_status); } && { |
19475 | { ac_try='test -z "$ac_c_werror_flag" |
19551 | test -z "$ac_c_werror_flag" || |
19476 | || test ! -s conftest.err' |
19552 | test ! -s conftest.err |
19477 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19553 | } && test -s conftest$ac_exeext && |
19478 | (eval $ac_try) 2>&5 |
19554 | $as_test_x conftest$ac_exeext; then |
19479 | ac_status=$? |
|
|
19480 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19481 | (exit $ac_status); }; } && |
|
|
19482 | { ac_try='test -s conftest$ac_exeext' |
|
|
19483 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19484 | (eval $ac_try) 2>&5 |
|
|
19485 | ac_status=$? |
|
|
19486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19487 | (exit $ac_status); }; }; then |
|
|
19488 | ac_cv_lib_spf2_SPF_sanitize=yes |
19555 | ac_cv_lib_spf2_SPF_sanitize=yes |
19489 | else |
19556 | else |
19490 | echo "$as_me: failed program was:" >&5 |
19557 | echo "$as_me: failed program was:" >&5 |
19491 | sed 's/^/| /' conftest.$ac_ext >&5 |
19558 | sed 's/^/| /' conftest.$ac_ext >&5 |
19492 | |
19559 | |
19493 | ac_cv_lib_spf2_SPF_sanitize=no |
19560 | ac_cv_lib_spf2_SPF_sanitize=no |
19494 | fi |
19561 | fi |
19495 | rm -f conftest.err conftest.$ac_objext \ |
19562 | |
|
|
19563 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
19496 | conftest$ac_exeext conftest.$ac_ext |
19564 | conftest$ac_exeext conftest.$ac_ext |
19497 | LIBS=$ac_check_lib_save_LIBS |
19565 | LIBS=$ac_check_lib_save_LIBS |
19498 | fi |
19566 | fi |
19499 | echo "$as_me:$LINENO: result: $ac_cv_lib_spf2_SPF_sanitize" >&5 |
19567 | { echo "$as_me:$LINENO: result: $ac_cv_lib_spf2_SPF_sanitize" >&5 |
19500 | echo "${ECHO_T}$ac_cv_lib_spf2_SPF_sanitize" >&6 |
19568 | echo "${ECHO_T}$ac_cv_lib_spf2_SPF_sanitize" >&6; } |
19501 | if test $ac_cv_lib_spf2_SPF_sanitize = yes; then |
19569 | if test $ac_cv_lib_spf2_SPF_sanitize = yes; then |
19502 | LIBSPF2_POOPOO="true" |
19570 | LIBSPF2_POOPOO="true" |
19503 | fi |
19571 | fi |
19504 | |
19572 | |
19505 | if test "$LIBSPF2_POOPOO" ; then |
19573 | if test "$LIBSPF2_POOPOO" ; then |
… | |
… | |
19515 | #------------------------------------------------------------------------------- |
19583 | #------------------------------------------------------------------------------- |
19516 | # Check up on GCC |
19584 | # Check up on GCC |
19517 | #------------------------------------------------------------------------------- |
19585 | #------------------------------------------------------------------------------- |
19518 | |
19586 | |
19519 | # We don't want gcc 2.7 |
19587 | # We don't want gcc 2.7 |
19520 | echo "$as_me:$LINENO: checking for a supported version of gcc" >&5 |
19588 | { echo "$as_me:$LINENO: checking for a supported version of gcc" >&5 |
19521 | echo $ECHO_N "checking for a supported version of gcc... $ECHO_C" >&6 |
19589 | echo $ECHO_N "checking for a supported version of gcc... $ECHO_C" >&6; } |
19522 | |
19590 | |
19523 | gcc_version=`${CC} --version | head -n 1` |
19591 | gcc_version=`${CC} --version | head -n 1` |
19524 | gcc_special_cflags="" |
19592 | gcc_special_cflags="" |
19525 | case "${gcc_version}" in |
19593 | case "${gcc_version}" in |
19526 | 2.7.*) |
19594 | 2.7.*) |
19527 | echo "$as_me:$LINENO: result: no (${gcc_version})" >&5 |
19595 | { echo "$as_me:$LINENO: result: no (${gcc_version})" >&5 |
19528 | echo "${ECHO_T}no (${gcc_version})" >&6 |
19596 | echo "${ECHO_T}no (${gcc_version})" >&6; } |
19529 | { { echo "$as_me:$LINENO: error: please use a recent (>= gcc-2.95) version of gcc" >&5 |
19597 | { { echo "$as_me:$LINENO: error: please use a recent (>= gcc-2.95) version of gcc" >&5 |
19530 | echo "$as_me: error: please use a recent (>= gcc-2.95) version of gcc" >&2;} |
19598 | echo "$as_me: error: please use a recent (>= gcc-2.95) version of gcc" >&2;} |
19531 | { (exit 1); exit 1; }; } |
19599 | { (exit 1); exit 1; }; } |
19532 | ;; |
19600 | ;; |
19533 | 2.95.*) |
19601 | 2.95.*) |
19534 | echo "$as_me:$LINENO: result: yes (${gcc_version}) using %d instead of %zu" >&5 |
19602 | { echo "$as_me:$LINENO: result: yes (${gcc_version}) using %d instead of %zu" >&5 |
19535 | echo "${ECHO_T}yes (${gcc_version}) using %d instead of %zu" >&6 |
19603 | echo "${ECHO_T}yes (${gcc_version}) using %d instead of %zu" >&6; } |
19536 | UNSIGNED_INT_ARG="%d" |
19604 | UNSIGNED_INT_ARG="%d" |
19537 | |
19605 | |
19538 | gcc_special_cflags="-mcpu=pentium -malign-loops=5 -malign-jumps=5 -malign-functions=5" |
19606 | gcc_special_cflags="-mcpu=pentium -malign-loops=5 -malign-jumps=5 -malign-functions=5" |
19539 | ;; |
19607 | ;; |
19540 | 3.*) |
19608 | 3.*) |
19541 | echo "$as_me:$LINENO: result: yes (${gcc_version}) using -falign instead of -malign" >&5 |
19609 | { echo "$as_me:$LINENO: result: yes (${gcc_version}) using -falign instead of -malign" >&5 |
19542 | echo "${ECHO_T}yes (${gcc_version}) using -falign instead of -malign" >&6 |
19610 | echo "${ECHO_T}yes (${gcc_version}) using -falign instead of -malign" >&6; } |
19543 | UNSIGNED_INT_ARG="%zu" |
19611 | UNSIGNED_INT_ARG="%zu" |
19544 | |
19612 | |
19545 | gcc_special_cflags="-mcpu=pentium -falign-loops=5 -falign-jumps=5 -falign-functions=5" |
19613 | gcc_special_cflags="-mcpu=pentium -falign-loops=5 -falign-jumps=5 -falign-functions=5" |
19546 | ;; |
19614 | ;; |
19547 | 4.*) |
19615 | 4.*) |
19548 | echo "$as_me:$LINENO: result: yes (${gcc_version}) using -falign instead of -malign" >&5 |
19616 | { echo "$as_me:$LINENO: result: yes (${gcc_version}) using -falign instead of -malign" >&5 |
19549 | echo "${ECHO_T}yes (${gcc_version}) using -falign instead of -malign" >&6 |
19617 | echo "${ECHO_T}yes (${gcc_version}) using -falign instead of -malign" >&6; } |
19550 | UNSIGNED_INT_ARG="%zu" |
19618 | UNSIGNED_INT_ARG="%zu" |
19551 | |
19619 | |
19552 | gcc_special_cflags="-mcpu=pentium -falign-loops=5 -falign-jumps=5 -falign-functions=5" |
19620 | gcc_special_cflags="-mcpu=pentium -falign-loops=5 -falign-jumps=5 -falign-functions=5" |
19553 | ;; |
19621 | ;; |
19554 | *) |
19622 | *) |
19555 | echo "$as_me:$LINENO: result: ok (${gcc_version})" >&5 |
19623 | { echo "$as_me:$LINENO: result: ok (${gcc_version})" >&5 |
19556 | echo "${ECHO_T}ok (${gcc_version})" >&6 |
19624 | echo "${ECHO_T}ok (${gcc_version})" >&6; } |
19557 | UNSIGNED_INT_ARG="%zu" |
19625 | UNSIGNED_INT_ARG="%zu" |
19558 | |
19626 | |
19559 | ;; |
19627 | ;; |
19560 | esac |
19628 | esac |
19561 | |
19629 | |
… | |
… | |
19610 | |
19678 | |
19611 | #------------------------------------------------------------------------------- |
19679 | #------------------------------------------------------------------------------- |
19612 | # Checks for header files. |
19680 | # Checks for header files. |
19613 | #------------------------------------------------------------------------------- |
19681 | #------------------------------------------------------------------------------- |
19614 | |
19682 | |
19615 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
19683 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
19616 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
19684 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
19617 | if test "${ac_cv_header_stdc+set}" = set; then |
19685 | if test "${ac_cv_header_stdc+set}" = set; then |
19618 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19686 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19619 | else |
19687 | else |
19620 | cat >conftest.$ac_ext <<_ACEOF |
19688 | cat >conftest.$ac_ext <<_ACEOF |
19621 | /* confdefs.h. */ |
19689 | /* confdefs.h. */ |
… | |
… | |
19635 | ; |
19703 | ; |
19636 | return 0; |
19704 | return 0; |
19637 | } |
19705 | } |
19638 | _ACEOF |
19706 | _ACEOF |
19639 | rm -f conftest.$ac_objext |
19707 | rm -f conftest.$ac_objext |
|
|
19708 | if { (ac_try="$ac_compile" |
|
|
19709 | case "(($ac_try" in |
|
|
19710 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
19711 | *) ac_try_echo=$ac_try;; |
|
|
19712 | esac |
19640 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19713 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19641 | (eval $ac_compile) 2>conftest.er1 |
19714 | (eval "$ac_compile") 2>conftest.er1 |
19642 | ac_status=$? |
19715 | ac_status=$? |
19643 | grep -v '^ *+' conftest.er1 >conftest.err |
19716 | grep -v '^ *+' conftest.er1 >conftest.err |
19644 | rm -f conftest.er1 |
19717 | rm -f conftest.er1 |
19645 | cat conftest.err >&5 |
19718 | cat conftest.err >&5 |
19646 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19647 | (exit $ac_status); } && |
19720 | (exit $ac_status); } && { |
19648 | { ac_try='test -z "$ac_c_werror_flag" |
19721 | test -z "$ac_c_werror_flag" || |
19649 | || test ! -s conftest.err' |
19722 | test ! -s conftest.err |
19650 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19723 | } && test -s conftest.$ac_objext; then |
19651 | (eval $ac_try) 2>&5 |
|
|
19652 | ac_status=$? |
|
|
19653 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19654 | (exit $ac_status); }; } && |
|
|
19655 | { ac_try='test -s conftest.$ac_objext' |
|
|
19656 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19657 | (eval $ac_try) 2>&5 |
|
|
19658 | ac_status=$? |
|
|
19659 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19660 | (exit $ac_status); }; }; then |
|
|
19661 | ac_cv_header_stdc=yes |
19724 | ac_cv_header_stdc=yes |
19662 | else |
19725 | else |
19663 | echo "$as_me: failed program was:" >&5 |
19726 | echo "$as_me: failed program was:" >&5 |
19664 | sed 's/^/| /' conftest.$ac_ext >&5 |
19727 | sed 's/^/| /' conftest.$ac_ext >&5 |
19665 | |
19728 | |
19666 | ac_cv_header_stdc=no |
19729 | ac_cv_header_stdc=no |
19667 | fi |
19730 | fi |
|
|
19731 | |
19668 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19732 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19669 | |
19733 | |
19670 | if test $ac_cv_header_stdc = yes; then |
19734 | if test $ac_cv_header_stdc = yes; then |
19671 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
19735 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
19672 | cat >conftest.$ac_ext <<_ACEOF |
19736 | cat >conftest.$ac_ext <<_ACEOF |
19673 | /* confdefs.h. */ |
19737 | /* confdefs.h. */ |
… | |
… | |
19719 | _ACEOF |
19783 | _ACEOF |
19720 | cat confdefs.h >>conftest.$ac_ext |
19784 | cat confdefs.h >>conftest.$ac_ext |
19721 | cat >>conftest.$ac_ext <<_ACEOF |
19785 | cat >>conftest.$ac_ext <<_ACEOF |
19722 | /* end confdefs.h. */ |
19786 | /* end confdefs.h. */ |
19723 | #include <ctype.h> |
19787 | #include <ctype.h> |
|
|
19788 | #include <stdlib.h> |
19724 | #if ((' ' & 0x0FF) == 0x020) |
19789 | #if ((' ' & 0x0FF) == 0x020) |
19725 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
19790 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
19726 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
19791 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
19727 | #else |
19792 | #else |
19728 | # define ISLOWER(c) \ |
19793 | # define ISLOWER(c) \ |
… | |
… | |
19738 | { |
19803 | { |
19739 | int i; |
19804 | int i; |
19740 | for (i = 0; i < 256; i++) |
19805 | for (i = 0; i < 256; i++) |
19741 | if (XOR (islower (i), ISLOWER (i)) |
19806 | if (XOR (islower (i), ISLOWER (i)) |
19742 | || toupper (i) != TOUPPER (i)) |
19807 | || toupper (i) != TOUPPER (i)) |
19743 | exit(2); |
19808 | return 2; |
19744 | exit (0); |
19809 | return 0; |
19745 | } |
19810 | } |
19746 | _ACEOF |
19811 | _ACEOF |
19747 | rm -f conftest$ac_exeext |
19812 | rm -f conftest$ac_exeext |
|
|
19813 | if { (ac_try="$ac_link" |
|
|
19814 | case "(($ac_try" in |
|
|
19815 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
19816 | *) ac_try_echo=$ac_try;; |
|
|
19817 | esac |
19748 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19818 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19749 | (eval $ac_link) 2>&5 |
19819 | (eval "$ac_link") 2>&5 |
19750 | ac_status=$? |
19820 | ac_status=$? |
19751 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19752 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
19822 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
19823 | { (case "(($ac_try" in |
|
|
19824 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
19825 | *) ac_try_echo=$ac_try;; |
|
|
19826 | esac |
19753 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19827 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19754 | (eval $ac_try) 2>&5 |
19828 | (eval "$ac_try") 2>&5 |
19755 | ac_status=$? |
19829 | ac_status=$? |
19756 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19757 | (exit $ac_status); }; }; then |
19831 | (exit $ac_status); }; }; then |
19758 | : |
19832 | : |
19759 | else |
19833 | else |
… | |
… | |
19762 | sed 's/^/| /' conftest.$ac_ext >&5 |
19836 | sed 's/^/| /' conftest.$ac_ext >&5 |
19763 | |
19837 | |
19764 | ( exit $ac_status ) |
19838 | ( exit $ac_status ) |
19765 | ac_cv_header_stdc=no |
19839 | ac_cv_header_stdc=no |
19766 | fi |
19840 | fi |
19767 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
19841 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
19768 | fi |
19842 | fi |
|
|
19843 | |
|
|
19844 | |
19769 | fi |
19845 | fi |
19770 | fi |
19846 | fi |
19771 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
19847 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
19772 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
19848 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
19773 | if test $ac_cv_header_stdc = yes; then |
19849 | if test $ac_cv_header_stdc = yes; then |
19774 | |
19850 | |
19775 | cat >>confdefs.h <<\_ACEOF |
19851 | cat >>confdefs.h <<\_ACEOF |
19776 | #define STDC_HEADERS 1 |
19852 | #define STDC_HEADERS 1 |
19777 | _ACEOF |
19853 | _ACEOF |
… | |
… | |
19790 | |
19866 | |
19791 | for ac_header in arpa/inet.h, netdb.h, netinet/in.h, stdlib.h, \ |
19867 | for ac_header in arpa/inet.h, netdb.h, netinet/in.h, stdlib.h, \ |
19792 | string.h, strings.h, sys/socket.h unistd.h, error.h, inttypes.h |
19868 | string.h, strings.h, sys/socket.h unistd.h, error.h, inttypes.h |
19793 | do |
19869 | do |
19794 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19870 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19795 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19871 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19796 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19872 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19797 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
19873 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19798 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19874 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19799 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19875 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19800 | fi |
19876 | fi |
19801 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
19877 | ac_res=`eval echo '${'$as_ac_Header'}'` |
19802 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
19878 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
19879 | echo "${ECHO_T}$ac_res" >&6; } |
19803 | else |
19880 | else |
19804 | # Is the header compilable? |
19881 | # Is the header compilable? |
19805 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19882 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19806 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
19883 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
19807 | cat >conftest.$ac_ext <<_ACEOF |
19884 | cat >conftest.$ac_ext <<_ACEOF |
19808 | /* confdefs.h. */ |
19885 | /* confdefs.h. */ |
19809 | _ACEOF |
19886 | _ACEOF |
19810 | cat confdefs.h >>conftest.$ac_ext |
19887 | cat confdefs.h >>conftest.$ac_ext |
19811 | cat >>conftest.$ac_ext <<_ACEOF |
19888 | cat >>conftest.$ac_ext <<_ACEOF |
19812 | /* end confdefs.h. */ |
19889 | /* end confdefs.h. */ |
19813 | $ac_includes_default |
19890 | $ac_includes_default |
19814 | #include <$ac_header> |
19891 | #include <$ac_header> |
19815 | _ACEOF |
19892 | _ACEOF |
19816 | rm -f conftest.$ac_objext |
19893 | rm -f conftest.$ac_objext |
|
|
19894 | if { (ac_try="$ac_compile" |
|
|
19895 | case "(($ac_try" in |
|
|
19896 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
19897 | *) ac_try_echo=$ac_try;; |
|
|
19898 | esac |
19817 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19899 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19818 | (eval $ac_compile) 2>conftest.er1 |
19900 | (eval "$ac_compile") 2>conftest.er1 |
19819 | ac_status=$? |
19901 | ac_status=$? |
19820 | grep -v '^ *+' conftest.er1 >conftest.err |
19902 | grep -v '^ *+' conftest.er1 >conftest.err |
19821 | rm -f conftest.er1 |
19903 | rm -f conftest.er1 |
19822 | cat conftest.err >&5 |
19904 | cat conftest.err >&5 |
19823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19905 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19824 | (exit $ac_status); } && |
19906 | (exit $ac_status); } && { |
19825 | { ac_try='test -z "$ac_c_werror_flag" |
19907 | test -z "$ac_c_werror_flag" || |
19826 | || test ! -s conftest.err' |
19908 | test ! -s conftest.err |
19827 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19909 | } && test -s conftest.$ac_objext; then |
19828 | (eval $ac_try) 2>&5 |
|
|
19829 | ac_status=$? |
|
|
19830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19831 | (exit $ac_status); }; } && |
|
|
19832 | { ac_try='test -s conftest.$ac_objext' |
|
|
19833 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19834 | (eval $ac_try) 2>&5 |
|
|
19835 | ac_status=$? |
|
|
19836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19837 | (exit $ac_status); }; }; then |
|
|
19838 | ac_header_compiler=yes |
19910 | ac_header_compiler=yes |
19839 | else |
19911 | else |
19840 | echo "$as_me: failed program was:" >&5 |
19912 | echo "$as_me: failed program was:" >&5 |
19841 | sed 's/^/| /' conftest.$ac_ext >&5 |
19913 | sed 's/^/| /' conftest.$ac_ext >&5 |
19842 | |
19914 | |
19843 | ac_header_compiler=no |
19915 | ac_header_compiler=no |
19844 | fi |
19916 | fi |
|
|
19917 | |
19845 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19918 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19846 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19919 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19847 | echo "${ECHO_T}$ac_header_compiler" >&6 |
19920 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
19848 | |
19921 | |
19849 | # Is the header present? |
19922 | # Is the header present? |
19850 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19923 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19851 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
19924 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
19852 | cat >conftest.$ac_ext <<_ACEOF |
19925 | cat >conftest.$ac_ext <<_ACEOF |
19853 | /* confdefs.h. */ |
19926 | /* confdefs.h. */ |
19854 | _ACEOF |
19927 | _ACEOF |
19855 | cat confdefs.h >>conftest.$ac_ext |
19928 | cat confdefs.h >>conftest.$ac_ext |
19856 | cat >>conftest.$ac_ext <<_ACEOF |
19929 | cat >>conftest.$ac_ext <<_ACEOF |
19857 | /* end confdefs.h. */ |
19930 | /* end confdefs.h. */ |
19858 | #include <$ac_header> |
19931 | #include <$ac_header> |
19859 | _ACEOF |
19932 | _ACEOF |
19860 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
19933 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
19934 | case "(($ac_try" in |
|
|
19935 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
19936 | *) ac_try_echo=$ac_try;; |
|
|
19937 | esac |
|
|
19938 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19861 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
19939 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
19862 | ac_status=$? |
19940 | ac_status=$? |
19863 | grep -v '^ *+' conftest.er1 >conftest.err |
19941 | grep -v '^ *+' conftest.er1 >conftest.err |
19864 | rm -f conftest.er1 |
19942 | rm -f conftest.er1 |
19865 | cat conftest.err >&5 |
19943 | cat conftest.err >&5 |
19866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19867 | (exit $ac_status); } >/dev/null; then |
19945 | (exit $ac_status); } >/dev/null && { |
|
|
19946 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
19868 | if test -s conftest.err; then |
19947 | test ! -s conftest.err |
19869 | ac_cpp_err=$ac_c_preproc_warn_flag |
19948 | }; then |
19870 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
19871 | else |
|
|
19872 | ac_cpp_err= |
|
|
19873 | fi |
|
|
19874 | else |
|
|
19875 | ac_cpp_err=yes |
|
|
19876 | fi |
|
|
19877 | if test -z "$ac_cpp_err"; then |
|
|
19878 | ac_header_preproc=yes |
19949 | ac_header_preproc=yes |
19879 | else |
19950 | else |
19880 | echo "$as_me: failed program was:" >&5 |
19951 | echo "$as_me: failed program was:" >&5 |
19881 | sed 's/^/| /' conftest.$ac_ext >&5 |
19952 | sed 's/^/| /' conftest.$ac_ext >&5 |
19882 | |
19953 | |
19883 | ac_header_preproc=no |
19954 | ac_header_preproc=no |
19884 | fi |
19955 | fi |
|
|
19956 | |
19885 | rm -f conftest.err conftest.$ac_ext |
19957 | rm -f conftest.err conftest.$ac_ext |
19886 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19958 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19887 | echo "${ECHO_T}$ac_header_preproc" >&6 |
19959 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
19888 | |
19960 | |
19889 | # So? What about this header? |
19961 | # So? What about this header? |
19890 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
19962 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
19891 | yes:no: ) |
19963 | yes:no: ) |
19892 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
19964 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
… | |
… | |
19906 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
19978 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
19907 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
19979 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
19908 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
19980 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
19909 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
19981 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
19910 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
19982 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
19911 | ( |
|
|
19912 | cat <<\_ASBOX |
19983 | ( cat <<\_ASBOX |
19913 | ## ------------------------------------ ## |
19984 | ## ------------------------------------ ## |
19914 | ## Report this to jcouzens@codeshare.ca ## |
19985 | ## Report this to jcouzens@codeshare.ca ## |
19915 | ## ------------------------------------ ## |
19986 | ## ------------------------------------ ## |
19916 | _ASBOX |
19987 | _ASBOX |
19917 | ) | |
|
|
19918 | sed "s/^/$as_me: WARNING: /" >&2 |
19988 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
19919 | ;; |
19989 | ;; |
19920 | esac |
19990 | esac |
19921 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19991 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19922 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
19992 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19923 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19993 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19924 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19994 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19925 | else |
19995 | else |
19926 | eval "$as_ac_Header=\$ac_header_preproc" |
19996 | eval "$as_ac_Header=\$ac_header_preproc" |
19927 | fi |
19997 | fi |
19928 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
19998 | ac_res=`eval echo '${'$as_ac_Header'}'` |
19929 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
19999 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
20000 | echo "${ECHO_T}$ac_res" >&6; } |
19930 | |
20001 | |
19931 | fi |
20002 | fi |
19932 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20003 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
19933 | cat >>confdefs.h <<_ACEOF |
20004 | cat >>confdefs.h <<_ACEOF |
19934 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20005 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
… | |
… | |
19942 | |
20013 | |
19943 | #------------------------------------------------------------------------------- |
20014 | #------------------------------------------------------------------------------- |
19944 | # Required Types, structures and other compiler requirements |
20015 | # Required Types, structures and other compiler requirements |
19945 | #------------------------------------------------------------------------------- |
20016 | #------------------------------------------------------------------------------- |
19946 | |
20017 | |
19947 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
20018 | { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
19948 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
20019 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
19949 | if test "${ac_cv_c_const+set}" = set; then |
20020 | if test "${ac_cv_c_const+set}" = set; then |
19950 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20021 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19951 | else |
20022 | else |
19952 | cat >conftest.$ac_ext <<_ACEOF |
20023 | cat >conftest.$ac_ext <<_ACEOF |
19953 | /* confdefs.h. */ |
20024 | /* confdefs.h. */ |
… | |
… | |
19961 | { |
20032 | { |
19962 | /* FIXME: Include the comments suggested by Paul. */ |
20033 | /* FIXME: Include the comments suggested by Paul. */ |
19963 | #ifndef __cplusplus |
20034 | #ifndef __cplusplus |
19964 | /* Ultrix mips cc rejects this. */ |
20035 | /* Ultrix mips cc rejects this. */ |
19965 | typedef int charset[2]; |
20036 | typedef int charset[2]; |
19966 | const charset x; |
20037 | const charset cs; |
19967 | /* SunOS 4.1.1 cc rejects this. */ |
20038 | /* SunOS 4.1.1 cc rejects this. */ |
19968 | char const *const *ccp; |
20039 | char const *const *pcpcc; |
19969 | char **p; |
20040 | char **ppc; |
19970 | /* NEC SVR4.0.2 mips cc rejects this. */ |
20041 | /* NEC SVR4.0.2 mips cc rejects this. */ |
19971 | struct point {int x, y;}; |
20042 | struct point {int x, y;}; |
19972 | static struct point const zero = {0,0}; |
20043 | static struct point const zero = {0,0}; |
19973 | /* AIX XL C 1.02.0.0 rejects this. |
20044 | /* AIX XL C 1.02.0.0 rejects this. |
19974 | It does not let you subtract one const X* pointer from another in |
20045 | It does not let you subtract one const X* pointer from another in |
19975 | an arm of an if-expression whose if-part is not a constant |
20046 | an arm of an if-expression whose if-part is not a constant |
19976 | expression */ |
20047 | expression */ |
19977 | const char *g = "string"; |
20048 | const char *g = "string"; |
19978 | ccp = &g + (g ? g-g : 0); |
20049 | pcpcc = &g + (g ? g-g : 0); |
19979 | /* HPUX 7.0 cc rejects these. */ |
20050 | /* HPUX 7.0 cc rejects these. */ |
19980 | ++ccp; |
20051 | ++pcpcc; |
19981 | p = (char**) ccp; |
20052 | ppc = (char**) pcpcc; |
19982 | ccp = (char const *const *) p; |
20053 | pcpcc = (char const *const *) ppc; |
19983 | { /* SCO 3.2v4 cc rejects this. */ |
20054 | { /* SCO 3.2v4 cc rejects this. */ |
19984 | char *t; |
20055 | char *t; |
19985 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
20056 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
19986 | |
20057 | |
19987 | *t++ = 0; |
20058 | *t++ = 0; |
|
|
20059 | if (s) return 0; |
19988 | } |
20060 | } |
19989 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
20061 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
19990 | int x[] = {25, 17}; |
20062 | int x[] = {25, 17}; |
19991 | const int *foo = &x[0]; |
20063 | const int *foo = &x[0]; |
19992 | ++foo; |
20064 | ++foo; |
… | |
… | |
20001 | struct s { int j; const int *ap[3]; }; |
20073 | struct s { int j; const int *ap[3]; }; |
20002 | struct s *b; b->j = 5; |
20074 | struct s *b; b->j = 5; |
20003 | } |
20075 | } |
20004 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
20076 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
20005 | const int foo = 10; |
20077 | const int foo = 10; |
|
|
20078 | if (!foo) return 0; |
20006 | } |
20079 | } |
|
|
20080 | return !cs[0] && !zero.x; |
20007 | #endif |
20081 | #endif |
20008 | |
20082 | |
20009 | ; |
20083 | ; |
20010 | return 0; |
20084 | return 0; |
20011 | } |
20085 | } |
20012 | _ACEOF |
20086 | _ACEOF |
20013 | rm -f conftest.$ac_objext |
20087 | rm -f conftest.$ac_objext |
|
|
20088 | if { (ac_try="$ac_compile" |
|
|
20089 | case "(($ac_try" in |
|
|
20090 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20091 | *) ac_try_echo=$ac_try;; |
|
|
20092 | esac |
20014 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20093 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20015 | (eval $ac_compile) 2>conftest.er1 |
20094 | (eval "$ac_compile") 2>conftest.er1 |
20016 | ac_status=$? |
20095 | ac_status=$? |
20017 | grep -v '^ *+' conftest.er1 >conftest.err |
20096 | grep -v '^ *+' conftest.er1 >conftest.err |
20018 | rm -f conftest.er1 |
20097 | rm -f conftest.er1 |
20019 | cat conftest.err >&5 |
20098 | cat conftest.err >&5 |
20020 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20099 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20021 | (exit $ac_status); } && |
20100 | (exit $ac_status); } && { |
20022 | { ac_try='test -z "$ac_c_werror_flag" |
20101 | test -z "$ac_c_werror_flag" || |
20023 | || test ! -s conftest.err' |
20102 | test ! -s conftest.err |
20024 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20103 | } && test -s conftest.$ac_objext; then |
20025 | (eval $ac_try) 2>&5 |
|
|
20026 | ac_status=$? |
|
|
20027 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20028 | (exit $ac_status); }; } && |
|
|
20029 | { ac_try='test -s conftest.$ac_objext' |
|
|
20030 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20031 | (eval $ac_try) 2>&5 |
|
|
20032 | ac_status=$? |
|
|
20033 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20034 | (exit $ac_status); }; }; then |
|
|
20035 | ac_cv_c_const=yes |
20104 | ac_cv_c_const=yes |
20036 | else |
20105 | else |
20037 | echo "$as_me: failed program was:" >&5 |
20106 | echo "$as_me: failed program was:" >&5 |
20038 | sed 's/^/| /' conftest.$ac_ext >&5 |
20107 | sed 's/^/| /' conftest.$ac_ext >&5 |
20039 | |
20108 | |
20040 | ac_cv_c_const=no |
20109 | ac_cv_c_const=no |
20041 | fi |
20110 | fi |
|
|
20111 | |
20042 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20112 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20043 | fi |
20113 | fi |
20044 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
20114 | { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
20045 | echo "${ECHO_T}$ac_cv_c_const" >&6 |
20115 | echo "${ECHO_T}$ac_cv_c_const" >&6; } |
20046 | if test $ac_cv_c_const = no; then |
20116 | if test $ac_cv_c_const = no; then |
20047 | |
20117 | |
20048 | cat >>confdefs.h <<\_ACEOF |
20118 | cat >>confdefs.h <<\_ACEOF |
20049 | #define const |
20119 | #define const |
20050 | _ACEOF |
20120 | _ACEOF |
20051 | |
20121 | |
20052 | fi |
20122 | fi |
20053 | |
20123 | |
20054 | echo "$as_me:$LINENO: checking for inline" >&5 |
20124 | { echo "$as_me:$LINENO: checking for inline" >&5 |
20055 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
20125 | echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
20056 | if test "${ac_cv_c_inline+set}" = set; then |
20126 | if test "${ac_cv_c_inline+set}" = set; then |
20057 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20127 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20058 | else |
20128 | else |
20059 | ac_cv_c_inline=no |
20129 | ac_cv_c_inline=no |
20060 | for ac_kw in inline __inline__ __inline; do |
20130 | for ac_kw in inline __inline__ __inline; do |
… | |
… | |
20070 | $ac_kw foo_t foo () {return 0; } |
20140 | $ac_kw foo_t foo () {return 0; } |
20071 | #endif |
20141 | #endif |
20072 | |
20142 | |
20073 | _ACEOF |
20143 | _ACEOF |
20074 | rm -f conftest.$ac_objext |
20144 | rm -f conftest.$ac_objext |
|
|
20145 | if { (ac_try="$ac_compile" |
|
|
20146 | case "(($ac_try" in |
|
|
20147 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20148 | *) ac_try_echo=$ac_try;; |
|
|
20149 | esac |
20075 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20150 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20076 | (eval $ac_compile) 2>conftest.er1 |
20151 | (eval "$ac_compile") 2>conftest.er1 |
20077 | ac_status=$? |
20152 | ac_status=$? |
20078 | grep -v '^ *+' conftest.er1 >conftest.err |
20153 | grep -v '^ *+' conftest.er1 >conftest.err |
20079 | rm -f conftest.er1 |
20154 | rm -f conftest.er1 |
20080 | cat conftest.err >&5 |
20155 | cat conftest.err >&5 |
20081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20156 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20082 | (exit $ac_status); } && |
20157 | (exit $ac_status); } && { |
20083 | { ac_try='test -z "$ac_c_werror_flag" |
20158 | test -z "$ac_c_werror_flag" || |
20084 | || test ! -s conftest.err' |
20159 | test ! -s conftest.err |
20085 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20160 | } && test -s conftest.$ac_objext; then |
20086 | (eval $ac_try) 2>&5 |
|
|
20087 | ac_status=$? |
|
|
20088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20089 | (exit $ac_status); }; } && |
|
|
20090 | { ac_try='test -s conftest.$ac_objext' |
|
|
20091 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20092 | (eval $ac_try) 2>&5 |
|
|
20093 | ac_status=$? |
|
|
20094 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20095 | (exit $ac_status); }; }; then |
|
|
20096 | ac_cv_c_inline=$ac_kw; break |
20161 | ac_cv_c_inline=$ac_kw |
20097 | else |
20162 | else |
20098 | echo "$as_me: failed program was:" >&5 |
20163 | echo "$as_me: failed program was:" >&5 |
20099 | sed 's/^/| /' conftest.$ac_ext >&5 |
20164 | sed 's/^/| /' conftest.$ac_ext >&5 |
20100 | |
20165 | |
|
|
20166 | |
20101 | fi |
20167 | fi |
|
|
20168 | |
20102 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20169 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
20170 | test "$ac_cv_c_inline" != no && break |
20103 | done |
20171 | done |
20104 | |
20172 | |
20105 | fi |
20173 | fi |
20106 | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
20174 | { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
20107 | echo "${ECHO_T}$ac_cv_c_inline" >&6 |
20175 | echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
20108 | |
20176 | |
20109 | |
20177 | |
20110 | case $ac_cv_c_inline in |
20178 | case $ac_cv_c_inline in |
20111 | inline | yes) ;; |
20179 | inline | yes) ;; |
20112 | *) |
20180 | *) |
… | |
… | |
20120 | #endif |
20188 | #endif |
20121 | _ACEOF |
20189 | _ACEOF |
20122 | ;; |
20190 | ;; |
20123 | esac |
20191 | esac |
20124 | |
20192 | |
20125 | echo "$as_me:$LINENO: checking for size_t" >&5 |
20193 | { echo "$as_me:$LINENO: checking for size_t" >&5 |
20126 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
20194 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } |
20127 | if test "${ac_cv_type_size_t+set}" = set; then |
20195 | if test "${ac_cv_type_size_t+set}" = set; then |
20128 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20196 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20129 | else |
20197 | else |
20130 | cat >conftest.$ac_ext <<_ACEOF |
20198 | cat >conftest.$ac_ext <<_ACEOF |
20131 | /* confdefs.h. */ |
20199 | /* confdefs.h. */ |
20132 | _ACEOF |
20200 | _ACEOF |
20133 | cat confdefs.h >>conftest.$ac_ext |
20201 | cat confdefs.h >>conftest.$ac_ext |
20134 | cat >>conftest.$ac_ext <<_ACEOF |
20202 | cat >>conftest.$ac_ext <<_ACEOF |
20135 | /* end confdefs.h. */ |
20203 | /* end confdefs.h. */ |
20136 | $ac_includes_default |
20204 | $ac_includes_default |
|
|
20205 | typedef size_t ac__type_new_; |
20137 | int |
20206 | int |
20138 | main () |
20207 | main () |
20139 | { |
20208 | { |
20140 | if ((size_t *) 0) |
20209 | if ((ac__type_new_ *) 0) |
20141 | return 0; |
20210 | return 0; |
20142 | if (sizeof (size_t)) |
20211 | if (sizeof (ac__type_new_)) |
20143 | return 0; |
20212 | return 0; |
20144 | ; |
20213 | ; |
20145 | return 0; |
20214 | return 0; |
20146 | } |
20215 | } |
20147 | _ACEOF |
20216 | _ACEOF |
20148 | rm -f conftest.$ac_objext |
20217 | rm -f conftest.$ac_objext |
|
|
20218 | if { (ac_try="$ac_compile" |
|
|
20219 | case "(($ac_try" in |
|
|
20220 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20221 | *) ac_try_echo=$ac_try;; |
|
|
20222 | esac |
20149 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20223 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20150 | (eval $ac_compile) 2>conftest.er1 |
20224 | (eval "$ac_compile") 2>conftest.er1 |
20151 | ac_status=$? |
20225 | ac_status=$? |
20152 | grep -v '^ *+' conftest.er1 >conftest.err |
20226 | grep -v '^ *+' conftest.er1 >conftest.err |
20153 | rm -f conftest.er1 |
20227 | rm -f conftest.er1 |
20154 | cat conftest.err >&5 |
20228 | cat conftest.err >&5 |
20155 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20229 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20156 | (exit $ac_status); } && |
20230 | (exit $ac_status); } && { |
20157 | { ac_try='test -z "$ac_c_werror_flag" |
20231 | test -z "$ac_c_werror_flag" || |
20158 | || test ! -s conftest.err' |
20232 | test ! -s conftest.err |
20159 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20233 | } && test -s conftest.$ac_objext; then |
20160 | (eval $ac_try) 2>&5 |
|
|
20161 | ac_status=$? |
|
|
20162 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20163 | (exit $ac_status); }; } && |
|
|
20164 | { ac_try='test -s conftest.$ac_objext' |
|
|
20165 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20166 | (eval $ac_try) 2>&5 |
|
|
20167 | ac_status=$? |
|
|
20168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20169 | (exit $ac_status); }; }; then |
|
|
20170 | ac_cv_type_size_t=yes |
20234 | ac_cv_type_size_t=yes |
20171 | else |
20235 | else |
20172 | echo "$as_me: failed program was:" >&5 |
20236 | echo "$as_me: failed program was:" >&5 |
20173 | sed 's/^/| /' conftest.$ac_ext >&5 |
20237 | sed 's/^/| /' conftest.$ac_ext >&5 |
20174 | |
20238 | |
20175 | ac_cv_type_size_t=no |
20239 | ac_cv_type_size_t=no |
20176 | fi |
20240 | fi |
|
|
20241 | |
20177 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20242 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20178 | fi |
20243 | fi |
20179 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
20244 | { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
20180 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
20245 | echo "${ECHO_T}$ac_cv_type_size_t" >&6; } |
20181 | if test $ac_cv_type_size_t = yes; then |
20246 | if test $ac_cv_type_size_t = yes; then |
20182 | : |
20247 | : |
20183 | else |
20248 | else |
20184 | |
20249 | |
20185 | cat >>confdefs.h <<_ACEOF |
20250 | cat >>confdefs.h <<_ACEOF |
20186 | #define size_t unsigned |
20251 | #define size_t unsigned int |
20187 | _ACEOF |
20252 | _ACEOF |
20188 | |
20253 | |
20189 | fi |
20254 | fi |
20190 | |
20255 | |
20191 | echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
20256 | { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
20192 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 |
20257 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } |
20193 | if test "${ac_cv_struct_tm+set}" = set; then |
20258 | if test "${ac_cv_struct_tm+set}" = set; then |
20194 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20259 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20195 | else |
20260 | else |
20196 | cat >conftest.$ac_ext <<_ACEOF |
20261 | cat >conftest.$ac_ext <<_ACEOF |
20197 | /* confdefs.h. */ |
20262 | /* confdefs.h. */ |
… | |
… | |
20203 | #include <time.h> |
20268 | #include <time.h> |
20204 | |
20269 | |
20205 | int |
20270 | int |
20206 | main () |
20271 | main () |
20207 | { |
20272 | { |
20208 | struct tm *tp; tp->tm_sec; |
20273 | struct tm tm; |
|
|
20274 | int *p = &tm.tm_sec; |
|
|
20275 | return !p; |
20209 | ; |
20276 | ; |
20210 | return 0; |
20277 | return 0; |
20211 | } |
20278 | } |
20212 | _ACEOF |
20279 | _ACEOF |
20213 | rm -f conftest.$ac_objext |
20280 | rm -f conftest.$ac_objext |
|
|
20281 | if { (ac_try="$ac_compile" |
|
|
20282 | case "(($ac_try" in |
|
|
20283 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20284 | *) ac_try_echo=$ac_try;; |
|
|
20285 | esac |
20214 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20286 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20215 | (eval $ac_compile) 2>conftest.er1 |
20287 | (eval "$ac_compile") 2>conftest.er1 |
20216 | ac_status=$? |
20288 | ac_status=$? |
20217 | grep -v '^ *+' conftest.er1 >conftest.err |
20289 | grep -v '^ *+' conftest.er1 >conftest.err |
20218 | rm -f conftest.er1 |
20290 | rm -f conftest.er1 |
20219 | cat conftest.err >&5 |
20291 | cat conftest.err >&5 |
20220 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20221 | (exit $ac_status); } && |
20293 | (exit $ac_status); } && { |
20222 | { ac_try='test -z "$ac_c_werror_flag" |
20294 | test -z "$ac_c_werror_flag" || |
20223 | || test ! -s conftest.err' |
20295 | test ! -s conftest.err |
20224 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20296 | } && test -s conftest.$ac_objext; then |
20225 | (eval $ac_try) 2>&5 |
|
|
20226 | ac_status=$? |
|
|
20227 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20228 | (exit $ac_status); }; } && |
|
|
20229 | { ac_try='test -s conftest.$ac_objext' |
|
|
20230 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20231 | (eval $ac_try) 2>&5 |
|
|
20232 | ac_status=$? |
|
|
20233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20234 | (exit $ac_status); }; }; then |
|
|
20235 | ac_cv_struct_tm=time.h |
20297 | ac_cv_struct_tm=time.h |
20236 | else |
20298 | else |
20237 | echo "$as_me: failed program was:" >&5 |
20299 | echo "$as_me: failed program was:" >&5 |
20238 | sed 's/^/| /' conftest.$ac_ext >&5 |
20300 | sed 's/^/| /' conftest.$ac_ext >&5 |
20239 | |
20301 | |
20240 | ac_cv_struct_tm=sys/time.h |
20302 | ac_cv_struct_tm=sys/time.h |
20241 | fi |
20303 | fi |
|
|
20304 | |
20242 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20305 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20243 | fi |
20306 | fi |
20244 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
20307 | { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
20245 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 |
20308 | echo "${ECHO_T}$ac_cv_struct_tm" >&6; } |
20246 | if test $ac_cv_struct_tm = sys/time.h; then |
20309 | if test $ac_cv_struct_tm = sys/time.h; then |
20247 | |
20310 | |
20248 | cat >>confdefs.h <<\_ACEOF |
20311 | cat >>confdefs.h <<\_ACEOF |
20249 | #define TM_IN_SYS_TIME 1 |
20312 | #define TM_IN_SYS_TIME 1 |
20250 | _ACEOF |
20313 | _ACEOF |
20251 | |
20314 | |
20252 | fi |
20315 | fi |
20253 | |
20316 | |
20254 | |
20317 | |
20255 | echo "$as_me:$LINENO: checking whether char is unsigned" >&5 |
20318 | { echo "$as_me:$LINENO: checking whether char is unsigned" >&5 |
20256 | echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6 |
20319 | echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; } |
20257 | if test "${ac_cv_c_char_unsigned+set}" = set; then |
20320 | if test "${ac_cv_c_char_unsigned+set}" = set; then |
20258 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20321 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20259 | else |
20322 | else |
20260 | cat >conftest.$ac_ext <<_ACEOF |
20323 | cat >conftest.$ac_ext <<_ACEOF |
20261 | /* confdefs.h. */ |
20324 | /* confdefs.h. */ |
… | |
… | |
20273 | ; |
20336 | ; |
20274 | return 0; |
20337 | return 0; |
20275 | } |
20338 | } |
20276 | _ACEOF |
20339 | _ACEOF |
20277 | rm -f conftest.$ac_objext |
20340 | rm -f conftest.$ac_objext |
|
|
20341 | if { (ac_try="$ac_compile" |
|
|
20342 | case "(($ac_try" in |
|
|
20343 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20344 | *) ac_try_echo=$ac_try;; |
|
|
20345 | esac |
20278 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20346 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20279 | (eval $ac_compile) 2>conftest.er1 |
20347 | (eval "$ac_compile") 2>conftest.er1 |
20280 | ac_status=$? |
20348 | ac_status=$? |
20281 | grep -v '^ *+' conftest.er1 >conftest.err |
20349 | grep -v '^ *+' conftest.er1 >conftest.err |
20282 | rm -f conftest.er1 |
20350 | rm -f conftest.er1 |
20283 | cat conftest.err >&5 |
20351 | cat conftest.err >&5 |
20284 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20352 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20285 | (exit $ac_status); } && |
20353 | (exit $ac_status); } && { |
20286 | { ac_try='test -z "$ac_c_werror_flag" |
20354 | test -z "$ac_c_werror_flag" || |
20287 | || test ! -s conftest.err' |
20355 | test ! -s conftest.err |
20288 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20356 | } && test -s conftest.$ac_objext; then |
20289 | (eval $ac_try) 2>&5 |
|
|
20290 | ac_status=$? |
|
|
20291 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20292 | (exit $ac_status); }; } && |
|
|
20293 | { ac_try='test -s conftest.$ac_objext' |
|
|
20294 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20295 | (eval $ac_try) 2>&5 |
|
|
20296 | ac_status=$? |
|
|
20297 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20298 | (exit $ac_status); }; }; then |
|
|
20299 | ac_cv_c_char_unsigned=no |
20357 | ac_cv_c_char_unsigned=no |
20300 | else |
20358 | else |
20301 | echo "$as_me: failed program was:" >&5 |
20359 | echo "$as_me: failed program was:" >&5 |
20302 | sed 's/^/| /' conftest.$ac_ext >&5 |
20360 | sed 's/^/| /' conftest.$ac_ext >&5 |
20303 | |
20361 | |
20304 | ac_cv_c_char_unsigned=yes |
20362 | ac_cv_c_char_unsigned=yes |
20305 | fi |
20363 | fi |
|
|
20364 | |
20306 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20365 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20307 | fi |
20366 | fi |
20308 | echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5 |
20367 | { echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5 |
20309 | echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6 |
20368 | echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; } |
20310 | if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then |
20369 | if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then |
20311 | cat >>confdefs.h <<\_ACEOF |
20370 | cat >>confdefs.h <<\_ACEOF |
20312 | #define __CHAR_UNSIGNED__ 1 |
20371 | #define __CHAR_UNSIGNED__ 1 |
20313 | _ACEOF |
20372 | _ACEOF |
20314 | |
20373 | |
20315 | fi |
20374 | fi |
20316 | |
20375 | |
20317 | echo "$as_me:$LINENO: checking for u_char" >&5 |
20376 | { echo "$as_me:$LINENO: checking for u_char" >&5 |
20318 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6 |
20377 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6; } |
20319 | if test "${ac_cv_type_u_char+set}" = set; then |
20378 | if test "${ac_cv_type_u_char+set}" = set; then |
20320 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20379 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20321 | else |
20380 | else |
20322 | cat >conftest.$ac_ext <<_ACEOF |
20381 | cat >conftest.$ac_ext <<_ACEOF |
20323 | /* confdefs.h. */ |
20382 | /* confdefs.h. */ |
20324 | _ACEOF |
20383 | _ACEOF |
20325 | cat confdefs.h >>conftest.$ac_ext |
20384 | cat confdefs.h >>conftest.$ac_ext |
20326 | cat >>conftest.$ac_ext <<_ACEOF |
20385 | cat >>conftest.$ac_ext <<_ACEOF |
20327 | /* end confdefs.h. */ |
20386 | /* end confdefs.h. */ |
20328 | $ac_includes_default |
20387 | $ac_includes_default |
|
|
20388 | typedef u_char ac__type_new_; |
20329 | int |
20389 | int |
20330 | main () |
20390 | main () |
20331 | { |
20391 | { |
20332 | if ((u_char *) 0) |
20392 | if ((ac__type_new_ *) 0) |
20333 | return 0; |
20393 | return 0; |
20334 | if (sizeof (u_char)) |
20394 | if (sizeof (ac__type_new_)) |
20335 | return 0; |
20395 | return 0; |
20336 | ; |
20396 | ; |
20337 | return 0; |
20397 | return 0; |
20338 | } |
20398 | } |
20339 | _ACEOF |
20399 | _ACEOF |
20340 | rm -f conftest.$ac_objext |
20400 | rm -f conftest.$ac_objext |
|
|
20401 | if { (ac_try="$ac_compile" |
|
|
20402 | case "(($ac_try" in |
|
|
20403 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20404 | *) ac_try_echo=$ac_try;; |
|
|
20405 | esac |
20341 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20406 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20342 | (eval $ac_compile) 2>conftest.er1 |
20407 | (eval "$ac_compile") 2>conftest.er1 |
20343 | ac_status=$? |
20408 | ac_status=$? |
20344 | grep -v '^ *+' conftest.er1 >conftest.err |
20409 | grep -v '^ *+' conftest.er1 >conftest.err |
20345 | rm -f conftest.er1 |
20410 | rm -f conftest.er1 |
20346 | cat conftest.err >&5 |
20411 | cat conftest.err >&5 |
20347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20412 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20348 | (exit $ac_status); } && |
20413 | (exit $ac_status); } && { |
20349 | { ac_try='test -z "$ac_c_werror_flag" |
20414 | test -z "$ac_c_werror_flag" || |
20350 | || test ! -s conftest.err' |
20415 | test ! -s conftest.err |
20351 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20416 | } && test -s conftest.$ac_objext; then |
20352 | (eval $ac_try) 2>&5 |
|
|
20353 | ac_status=$? |
|
|
20354 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20355 | (exit $ac_status); }; } && |
|
|
20356 | { ac_try='test -s conftest.$ac_objext' |
|
|
20357 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20358 | (eval $ac_try) 2>&5 |
|
|
20359 | ac_status=$? |
|
|
20360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20361 | (exit $ac_status); }; }; then |
|
|
20362 | ac_cv_type_u_char=yes |
20417 | ac_cv_type_u_char=yes |
20363 | else |
20418 | else |
20364 | echo "$as_me: failed program was:" >&5 |
20419 | echo "$as_me: failed program was:" >&5 |
20365 | sed 's/^/| /' conftest.$ac_ext >&5 |
20420 | sed 's/^/| /' conftest.$ac_ext >&5 |
20366 | |
20421 | |
20367 | ac_cv_type_u_char=no |
20422 | ac_cv_type_u_char=no |
20368 | fi |
20423 | fi |
|
|
20424 | |
20369 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20425 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20370 | fi |
20426 | fi |
20371 | echo "$as_me:$LINENO: result: $ac_cv_type_u_char" >&5 |
20427 | { echo "$as_me:$LINENO: result: $ac_cv_type_u_char" >&5 |
20372 | echo "${ECHO_T}$ac_cv_type_u_char" >&6 |
20428 | echo "${ECHO_T}$ac_cv_type_u_char" >&6; } |
20373 | if test $ac_cv_type_u_char = yes; then |
20429 | if test $ac_cv_type_u_char = yes; then |
20374 | |
20430 | |
20375 | cat >>confdefs.h <<_ACEOF |
20431 | cat >>confdefs.h <<_ACEOF |
20376 | #define HAVE_U_CHAR 1 |
20432 | #define HAVE_U_CHAR 1 |
20377 | _ACEOF |
20433 | _ACEOF |
20378 | |
20434 | |
20379 | |
20435 | |
20380 | fi |
20436 | fi |
20381 | echo "$as_me:$LINENO: checking for time_t" >&5 |
20437 | { echo "$as_me:$LINENO: checking for time_t" >&5 |
20382 | echo $ECHO_N "checking for time_t... $ECHO_C" >&6 |
20438 | echo $ECHO_N "checking for time_t... $ECHO_C" >&6; } |
20383 | if test "${ac_cv_type_time_t+set}" = set; then |
20439 | if test "${ac_cv_type_time_t+set}" = set; then |
20384 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20440 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20385 | else |
20441 | else |
20386 | cat >conftest.$ac_ext <<_ACEOF |
20442 | cat >conftest.$ac_ext <<_ACEOF |
20387 | /* confdefs.h. */ |
20443 | /* confdefs.h. */ |
20388 | _ACEOF |
20444 | _ACEOF |
20389 | cat confdefs.h >>conftest.$ac_ext |
20445 | cat confdefs.h >>conftest.$ac_ext |
20390 | cat >>conftest.$ac_ext <<_ACEOF |
20446 | cat >>conftest.$ac_ext <<_ACEOF |
20391 | /* end confdefs.h. */ |
20447 | /* end confdefs.h. */ |
20392 | $ac_includes_default |
20448 | $ac_includes_default |
|
|
20449 | typedef time_t ac__type_new_; |
20393 | int |
20450 | int |
20394 | main () |
20451 | main () |
20395 | { |
20452 | { |
20396 | if ((time_t *) 0) |
20453 | if ((ac__type_new_ *) 0) |
20397 | return 0; |
20454 | return 0; |
20398 | if (sizeof (time_t)) |
20455 | if (sizeof (ac__type_new_)) |
20399 | return 0; |
20456 | return 0; |
20400 | ; |
20457 | ; |
20401 | return 0; |
20458 | return 0; |
20402 | } |
20459 | } |
20403 | _ACEOF |
20460 | _ACEOF |
20404 | rm -f conftest.$ac_objext |
20461 | rm -f conftest.$ac_objext |
|
|
20462 | if { (ac_try="$ac_compile" |
|
|
20463 | case "(($ac_try" in |
|
|
20464 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20465 | *) ac_try_echo=$ac_try;; |
|
|
20466 | esac |
20405 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20467 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20406 | (eval $ac_compile) 2>conftest.er1 |
20468 | (eval "$ac_compile") 2>conftest.er1 |
20407 | ac_status=$? |
20469 | ac_status=$? |
20408 | grep -v '^ *+' conftest.er1 >conftest.err |
20470 | grep -v '^ *+' conftest.er1 >conftest.err |
20409 | rm -f conftest.er1 |
20471 | rm -f conftest.er1 |
20410 | cat conftest.err >&5 |
20472 | cat conftest.err >&5 |
20411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20412 | (exit $ac_status); } && |
20474 | (exit $ac_status); } && { |
20413 | { ac_try='test -z "$ac_c_werror_flag" |
20475 | test -z "$ac_c_werror_flag" || |
20414 | || test ! -s conftest.err' |
20476 | test ! -s conftest.err |
20415 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20477 | } && test -s conftest.$ac_objext; then |
20416 | (eval $ac_try) 2>&5 |
|
|
20417 | ac_status=$? |
|
|
20418 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20419 | (exit $ac_status); }; } && |
|
|
20420 | { ac_try='test -s conftest.$ac_objext' |
|
|
20421 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20422 | (eval $ac_try) 2>&5 |
|
|
20423 | ac_status=$? |
|
|
20424 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20425 | (exit $ac_status); }; }; then |
|
|
20426 | ac_cv_type_time_t=yes |
20478 | ac_cv_type_time_t=yes |
20427 | else |
20479 | else |
20428 | echo "$as_me: failed program was:" >&5 |
20480 | echo "$as_me: failed program was:" >&5 |
20429 | sed 's/^/| /' conftest.$ac_ext >&5 |
20481 | sed 's/^/| /' conftest.$ac_ext >&5 |
20430 | |
20482 | |
20431 | ac_cv_type_time_t=no |
20483 | ac_cv_type_time_t=no |
20432 | fi |
20484 | fi |
|
|
20485 | |
20433 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20486 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20434 | fi |
20487 | fi |
20435 | echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5 |
20488 | { echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5 |
20436 | echo "${ECHO_T}$ac_cv_type_time_t" >&6 |
20489 | echo "${ECHO_T}$ac_cv_type_time_t" >&6; } |
20437 | if test $ac_cv_type_time_t = yes; then |
20490 | if test $ac_cv_type_time_t = yes; then |
20438 | |
20491 | |
20439 | cat >>confdefs.h <<_ACEOF |
20492 | cat >>confdefs.h <<_ACEOF |
20440 | #define HAVE_TIME_T 1 |
20493 | #define HAVE_TIME_T 1 |
20441 | _ACEOF |
20494 | _ACEOF |
… | |
… | |
20451 | |
20504 | |
20452 | |
20505 | |
20453 | for ac_header in stdlib.h |
20506 | for ac_header in stdlib.h |
20454 | do |
20507 | do |
20455 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20508 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20456 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20509 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20457 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20510 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20458 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
20511 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20459 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20512 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20460 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20513 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20461 | fi |
20514 | fi |
20462 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
20515 | ac_res=`eval echo '${'$as_ac_Header'}'` |
20463 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
20516 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
20517 | echo "${ECHO_T}$ac_res" >&6; } |
20464 | else |
20518 | else |
20465 | # Is the header compilable? |
20519 | # Is the header compilable? |
20466 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20520 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20467 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
20521 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
20468 | cat >conftest.$ac_ext <<_ACEOF |
20522 | cat >conftest.$ac_ext <<_ACEOF |
20469 | /* confdefs.h. */ |
20523 | /* confdefs.h. */ |
20470 | _ACEOF |
20524 | _ACEOF |
20471 | cat confdefs.h >>conftest.$ac_ext |
20525 | cat confdefs.h >>conftest.$ac_ext |
20472 | cat >>conftest.$ac_ext <<_ACEOF |
20526 | cat >>conftest.$ac_ext <<_ACEOF |
20473 | /* end confdefs.h. */ |
20527 | /* end confdefs.h. */ |
20474 | $ac_includes_default |
20528 | $ac_includes_default |
20475 | #include <$ac_header> |
20529 | #include <$ac_header> |
20476 | _ACEOF |
20530 | _ACEOF |
20477 | rm -f conftest.$ac_objext |
20531 | rm -f conftest.$ac_objext |
|
|
20532 | if { (ac_try="$ac_compile" |
|
|
20533 | case "(($ac_try" in |
|
|
20534 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20535 | *) ac_try_echo=$ac_try;; |
|
|
20536 | esac |
20478 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20537 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20479 | (eval $ac_compile) 2>conftest.er1 |
20538 | (eval "$ac_compile") 2>conftest.er1 |
20480 | ac_status=$? |
20539 | ac_status=$? |
20481 | grep -v '^ *+' conftest.er1 >conftest.err |
20540 | grep -v '^ *+' conftest.er1 >conftest.err |
20482 | rm -f conftest.er1 |
20541 | rm -f conftest.er1 |
20483 | cat conftest.err >&5 |
20542 | cat conftest.err >&5 |
20484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20485 | (exit $ac_status); } && |
20544 | (exit $ac_status); } && { |
20486 | { ac_try='test -z "$ac_c_werror_flag" |
20545 | test -z "$ac_c_werror_flag" || |
20487 | || test ! -s conftest.err' |
20546 | test ! -s conftest.err |
20488 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20547 | } && test -s conftest.$ac_objext; then |
20489 | (eval $ac_try) 2>&5 |
|
|
20490 | ac_status=$? |
|
|
20491 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20492 | (exit $ac_status); }; } && |
|
|
20493 | { ac_try='test -s conftest.$ac_objext' |
|
|
20494 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20495 | (eval $ac_try) 2>&5 |
|
|
20496 | ac_status=$? |
|
|
20497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20498 | (exit $ac_status); }; }; then |
|
|
20499 | ac_header_compiler=yes |
20548 | ac_header_compiler=yes |
20500 | else |
20549 | else |
20501 | echo "$as_me: failed program was:" >&5 |
20550 | echo "$as_me: failed program was:" >&5 |
20502 | sed 's/^/| /' conftest.$ac_ext >&5 |
20551 | sed 's/^/| /' conftest.$ac_ext >&5 |
20503 | |
20552 | |
20504 | ac_header_compiler=no |
20553 | ac_header_compiler=no |
20505 | fi |
20554 | fi |
|
|
20555 | |
20506 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20556 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20507 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20557 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20508 | echo "${ECHO_T}$ac_header_compiler" >&6 |
20558 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
20509 | |
20559 | |
20510 | # Is the header present? |
20560 | # Is the header present? |
20511 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20561 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20512 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
20562 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
20513 | cat >conftest.$ac_ext <<_ACEOF |
20563 | cat >conftest.$ac_ext <<_ACEOF |
20514 | /* confdefs.h. */ |
20564 | /* confdefs.h. */ |
20515 | _ACEOF |
20565 | _ACEOF |
20516 | cat confdefs.h >>conftest.$ac_ext |
20566 | cat confdefs.h >>conftest.$ac_ext |
20517 | cat >>conftest.$ac_ext <<_ACEOF |
20567 | cat >>conftest.$ac_ext <<_ACEOF |
20518 | /* end confdefs.h. */ |
20568 | /* end confdefs.h. */ |
20519 | #include <$ac_header> |
20569 | #include <$ac_header> |
20520 | _ACEOF |
20570 | _ACEOF |
20521 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
20571 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
20572 | case "(($ac_try" in |
|
|
20573 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20574 | *) ac_try_echo=$ac_try;; |
|
|
20575 | esac |
|
|
20576 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20522 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
20577 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
20523 | ac_status=$? |
20578 | ac_status=$? |
20524 | grep -v '^ *+' conftest.er1 >conftest.err |
20579 | grep -v '^ *+' conftest.er1 >conftest.err |
20525 | rm -f conftest.er1 |
20580 | rm -f conftest.er1 |
20526 | cat conftest.err >&5 |
20581 | cat conftest.err >&5 |
20527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20582 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20528 | (exit $ac_status); } >/dev/null; then |
20583 | (exit $ac_status); } >/dev/null && { |
|
|
20584 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
20529 | if test -s conftest.err; then |
20585 | test ! -s conftest.err |
20530 | ac_cpp_err=$ac_c_preproc_warn_flag |
20586 | }; then |
20531 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
20532 | else |
|
|
20533 | ac_cpp_err= |
|
|
20534 | fi |
|
|
20535 | else |
|
|
20536 | ac_cpp_err=yes |
|
|
20537 | fi |
|
|
20538 | if test -z "$ac_cpp_err"; then |
|
|
20539 | ac_header_preproc=yes |
20587 | ac_header_preproc=yes |
20540 | else |
20588 | else |
20541 | echo "$as_me: failed program was:" >&5 |
20589 | echo "$as_me: failed program was:" >&5 |
20542 | sed 's/^/| /' conftest.$ac_ext >&5 |
20590 | sed 's/^/| /' conftest.$ac_ext >&5 |
20543 | |
20591 | |
20544 | ac_header_preproc=no |
20592 | ac_header_preproc=no |
20545 | fi |
20593 | fi |
|
|
20594 | |
20546 | rm -f conftest.err conftest.$ac_ext |
20595 | rm -f conftest.err conftest.$ac_ext |
20547 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20596 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20548 | echo "${ECHO_T}$ac_header_preproc" >&6 |
20597 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
20549 | |
20598 | |
20550 | # So? What about this header? |
20599 | # So? What about this header? |
20551 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20600 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20552 | yes:no: ) |
20601 | yes:no: ) |
20553 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20602 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
… | |
… | |
20567 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20616 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20568 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20617 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20569 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20618 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20570 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20619 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20571 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20620 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20572 | ( |
|
|
20573 | cat <<\_ASBOX |
20621 | ( cat <<\_ASBOX |
20574 | ## ------------------------------------ ## |
20622 | ## ------------------------------------ ## |
20575 | ## Report this to jcouzens@codeshare.ca ## |
20623 | ## Report this to jcouzens@codeshare.ca ## |
20576 | ## ------------------------------------ ## |
20624 | ## ------------------------------------ ## |
20577 | _ASBOX |
20625 | _ASBOX |
20578 | ) | |
|
|
20579 | sed "s/^/$as_me: WARNING: /" >&2 |
20626 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
20580 | ;; |
20627 | ;; |
20581 | esac |
20628 | esac |
20582 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20629 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20583 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
20630 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20584 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20631 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20585 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20632 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20586 | else |
20633 | else |
20587 | eval "$as_ac_Header=\$ac_header_preproc" |
20634 | eval "$as_ac_Header=\$ac_header_preproc" |
20588 | fi |
20635 | fi |
20589 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
20636 | ac_res=`eval echo '${'$as_ac_Header'}'` |
20590 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
20637 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
20638 | echo "${ECHO_T}$ac_res" >&6; } |
20591 | |
20639 | |
20592 | fi |
20640 | fi |
20593 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20641 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20594 | cat >>confdefs.h <<_ACEOF |
20642 | cat >>confdefs.h <<_ACEOF |
20595 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20643 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
… | |
… | |
20597 | |
20645 | |
20598 | fi |
20646 | fi |
20599 | |
20647 | |
20600 | done |
20648 | done |
20601 | |
20649 | |
20602 | echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 |
20650 | { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 |
20603 | echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 |
20651 | echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; } |
20604 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then |
20652 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then |
20605 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20653 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20606 | else |
20654 | else |
20607 | if test "$cross_compiling" = yes; then |
20655 | if test "$cross_compiling" = yes; then |
20608 | ac_cv_func_malloc_0_nonnull=no |
20656 | ac_cv_func_malloc_0_nonnull=no |
… | |
… | |
20611 | /* confdefs.h. */ |
20659 | /* confdefs.h. */ |
20612 | _ACEOF |
20660 | _ACEOF |
20613 | cat confdefs.h >>conftest.$ac_ext |
20661 | cat confdefs.h >>conftest.$ac_ext |
20614 | cat >>conftest.$ac_ext <<_ACEOF |
20662 | cat >>conftest.$ac_ext <<_ACEOF |
20615 | /* end confdefs.h. */ |
20663 | /* end confdefs.h. */ |
20616 | #if STDC_HEADERS || HAVE_STDLIB_H |
20664 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H |
20617 | # include <stdlib.h> |
20665 | # include <stdlib.h> |
20618 | #else |
20666 | #else |
20619 | char *malloc (); |
20667 | char *malloc (); |
20620 | #endif |
20668 | #endif |
20621 | |
20669 | |
20622 | int |
20670 | int |
20623 | main () |
20671 | main () |
20624 | { |
20672 | { |
20625 | exit (malloc (0) ? 0 : 1); |
20673 | return ! malloc (0); |
20626 | ; |
20674 | ; |
20627 | return 0; |
20675 | return 0; |
20628 | } |
20676 | } |
20629 | _ACEOF |
20677 | _ACEOF |
20630 | rm -f conftest$ac_exeext |
20678 | rm -f conftest$ac_exeext |
|
|
20679 | if { (ac_try="$ac_link" |
|
|
20680 | case "(($ac_try" in |
|
|
20681 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20682 | *) ac_try_echo=$ac_try;; |
|
|
20683 | esac |
20631 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20684 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20632 | (eval $ac_link) 2>&5 |
20685 | (eval "$ac_link") 2>&5 |
20633 | ac_status=$? |
20686 | ac_status=$? |
20634 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20687 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20635 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
20688 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
20689 | { (case "(($ac_try" in |
|
|
20690 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20691 | *) ac_try_echo=$ac_try;; |
|
|
20692 | esac |
20636 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20693 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20637 | (eval $ac_try) 2>&5 |
20694 | (eval "$ac_try") 2>&5 |
20638 | ac_status=$? |
20695 | ac_status=$? |
20639 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20696 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20640 | (exit $ac_status); }; }; then |
20697 | (exit $ac_status); }; }; then |
20641 | ac_cv_func_malloc_0_nonnull=yes |
20698 | ac_cv_func_malloc_0_nonnull=yes |
20642 | else |
20699 | else |
… | |
… | |
20645 | sed 's/^/| /' conftest.$ac_ext >&5 |
20702 | sed 's/^/| /' conftest.$ac_ext >&5 |
20646 | |
20703 | |
20647 | ( exit $ac_status ) |
20704 | ( exit $ac_status ) |
20648 | ac_cv_func_malloc_0_nonnull=no |
20705 | ac_cv_func_malloc_0_nonnull=no |
20649 | fi |
20706 | fi |
20650 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
20707 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
20651 | fi |
20708 | fi |
|
|
20709 | |
|
|
20710 | |
20652 | fi |
20711 | fi |
20653 | echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 |
20712 | { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 |
20654 | echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 |
20713 | echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; } |
20655 | if test $ac_cv_func_malloc_0_nonnull = yes; then |
20714 | if test $ac_cv_func_malloc_0_nonnull = yes; then |
20656 | |
20715 | |
20657 | cat >>confdefs.h <<\_ACEOF |
20716 | cat >>confdefs.h <<\_ACEOF |
20658 | #define HAVE_MALLOC 1 |
20717 | #define HAVE_MALLOC 1 |
20659 | _ACEOF |
20718 | _ACEOF |
… | |
… | |
20661 | else |
20720 | else |
20662 | cat >>confdefs.h <<\_ACEOF |
20721 | cat >>confdefs.h <<\_ACEOF |
20663 | #define HAVE_MALLOC 0 |
20722 | #define HAVE_MALLOC 0 |
20664 | _ACEOF |
20723 | _ACEOF |
20665 | |
20724 | |
20666 | case $LIBOBJS in |
20725 | case " $LIBOBJS " in |
20667 | "malloc.$ac_objext" | \ |
|
|
20668 | *" malloc.$ac_objext" | \ |
|
|
20669 | "malloc.$ac_objext "* | \ |
|
|
20670 | *" malloc.$ac_objext "* ) ;; |
20726 | *" malloc.$ac_objext "* ) ;; |
20671 | *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; |
20727 | *) LIBOBJS="$LIBOBJS malloc.$ac_objext" |
|
|
20728 | ;; |
20672 | esac |
20729 | esac |
20673 | |
20730 | |
20674 | |
20731 | |
20675 | cat >>confdefs.h <<\_ACEOF |
20732 | cat >>confdefs.h <<\_ACEOF |
20676 | #define malloc rpl_malloc |
20733 | #define malloc rpl_malloc |
… | |
… | |
20682 | |
20739 | |
20683 | |
20740 | |
20684 | for ac_header in stdlib.h |
20741 | for ac_header in stdlib.h |
20685 | do |
20742 | do |
20686 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20743 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20687 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20744 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20688 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20745 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20689 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
20746 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20690 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20747 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20691 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20748 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20692 | fi |
20749 | fi |
20693 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
20750 | ac_res=`eval echo '${'$as_ac_Header'}'` |
20694 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
20751 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
20752 | echo "${ECHO_T}$ac_res" >&6; } |
20695 | else |
20753 | else |
20696 | # Is the header compilable? |
20754 | # Is the header compilable? |
20697 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20755 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20698 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
20756 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
20699 | cat >conftest.$ac_ext <<_ACEOF |
20757 | cat >conftest.$ac_ext <<_ACEOF |
20700 | /* confdefs.h. */ |
20758 | /* confdefs.h. */ |
20701 | _ACEOF |
20759 | _ACEOF |
20702 | cat confdefs.h >>conftest.$ac_ext |
20760 | cat confdefs.h >>conftest.$ac_ext |
20703 | cat >>conftest.$ac_ext <<_ACEOF |
20761 | cat >>conftest.$ac_ext <<_ACEOF |
20704 | /* end confdefs.h. */ |
20762 | /* end confdefs.h. */ |
20705 | $ac_includes_default |
20763 | $ac_includes_default |
20706 | #include <$ac_header> |
20764 | #include <$ac_header> |
20707 | _ACEOF |
20765 | _ACEOF |
20708 | rm -f conftest.$ac_objext |
20766 | rm -f conftest.$ac_objext |
|
|
20767 | if { (ac_try="$ac_compile" |
|
|
20768 | case "(($ac_try" in |
|
|
20769 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20770 | *) ac_try_echo=$ac_try;; |
|
|
20771 | esac |
20709 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20772 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20710 | (eval $ac_compile) 2>conftest.er1 |
20773 | (eval "$ac_compile") 2>conftest.er1 |
20711 | ac_status=$? |
20774 | ac_status=$? |
20712 | grep -v '^ *+' conftest.er1 >conftest.err |
20775 | grep -v '^ *+' conftest.er1 >conftest.err |
20713 | rm -f conftest.er1 |
20776 | rm -f conftest.er1 |
20714 | cat conftest.err >&5 |
20777 | cat conftest.err >&5 |
20715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20778 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20716 | (exit $ac_status); } && |
20779 | (exit $ac_status); } && { |
20717 | { ac_try='test -z "$ac_c_werror_flag" |
20780 | test -z "$ac_c_werror_flag" || |
20718 | || test ! -s conftest.err' |
20781 | test ! -s conftest.err |
20719 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20782 | } && test -s conftest.$ac_objext; then |
20720 | (eval $ac_try) 2>&5 |
|
|
20721 | ac_status=$? |
|
|
20722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20723 | (exit $ac_status); }; } && |
|
|
20724 | { ac_try='test -s conftest.$ac_objext' |
|
|
20725 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20726 | (eval $ac_try) 2>&5 |
|
|
20727 | ac_status=$? |
|
|
20728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20729 | (exit $ac_status); }; }; then |
|
|
20730 | ac_header_compiler=yes |
20783 | ac_header_compiler=yes |
20731 | else |
20784 | else |
20732 | echo "$as_me: failed program was:" >&5 |
20785 | echo "$as_me: failed program was:" >&5 |
20733 | sed 's/^/| /' conftest.$ac_ext >&5 |
20786 | sed 's/^/| /' conftest.$ac_ext >&5 |
20734 | |
20787 | |
20735 | ac_header_compiler=no |
20788 | ac_header_compiler=no |
20736 | fi |
20789 | fi |
|
|
20790 | |
20737 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20791 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20738 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20792 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20739 | echo "${ECHO_T}$ac_header_compiler" >&6 |
20793 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
20740 | |
20794 | |
20741 | # Is the header present? |
20795 | # Is the header present? |
20742 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20796 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20743 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
20797 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
20744 | cat >conftest.$ac_ext <<_ACEOF |
20798 | cat >conftest.$ac_ext <<_ACEOF |
20745 | /* confdefs.h. */ |
20799 | /* confdefs.h. */ |
20746 | _ACEOF |
20800 | _ACEOF |
20747 | cat confdefs.h >>conftest.$ac_ext |
20801 | cat confdefs.h >>conftest.$ac_ext |
20748 | cat >>conftest.$ac_ext <<_ACEOF |
20802 | cat >>conftest.$ac_ext <<_ACEOF |
20749 | /* end confdefs.h. */ |
20803 | /* end confdefs.h. */ |
20750 | #include <$ac_header> |
20804 | #include <$ac_header> |
20751 | _ACEOF |
20805 | _ACEOF |
20752 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
20806 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
20807 | case "(($ac_try" in |
|
|
20808 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20809 | *) ac_try_echo=$ac_try;; |
|
|
20810 | esac |
|
|
20811 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20753 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
20812 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
20754 | ac_status=$? |
20813 | ac_status=$? |
20755 | grep -v '^ *+' conftest.er1 >conftest.err |
20814 | grep -v '^ *+' conftest.er1 >conftest.err |
20756 | rm -f conftest.er1 |
20815 | rm -f conftest.er1 |
20757 | cat conftest.err >&5 |
20816 | cat conftest.err >&5 |
20758 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20759 | (exit $ac_status); } >/dev/null; then |
20818 | (exit $ac_status); } >/dev/null && { |
|
|
20819 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
20760 | if test -s conftest.err; then |
20820 | test ! -s conftest.err |
20761 | ac_cpp_err=$ac_c_preproc_warn_flag |
20821 | }; then |
20762 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
20763 | else |
|
|
20764 | ac_cpp_err= |
|
|
20765 | fi |
|
|
20766 | else |
|
|
20767 | ac_cpp_err=yes |
|
|
20768 | fi |
|
|
20769 | if test -z "$ac_cpp_err"; then |
|
|
20770 | ac_header_preproc=yes |
20822 | ac_header_preproc=yes |
20771 | else |
20823 | else |
20772 | echo "$as_me: failed program was:" >&5 |
20824 | echo "$as_me: failed program was:" >&5 |
20773 | sed 's/^/| /' conftest.$ac_ext >&5 |
20825 | sed 's/^/| /' conftest.$ac_ext >&5 |
20774 | |
20826 | |
20775 | ac_header_preproc=no |
20827 | ac_header_preproc=no |
20776 | fi |
20828 | fi |
|
|
20829 | |
20777 | rm -f conftest.err conftest.$ac_ext |
20830 | rm -f conftest.err conftest.$ac_ext |
20778 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20831 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20779 | echo "${ECHO_T}$ac_header_preproc" >&6 |
20832 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
20780 | |
20833 | |
20781 | # So? What about this header? |
20834 | # So? What about this header? |
20782 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20835 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20783 | yes:no: ) |
20836 | yes:no: ) |
20784 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20837 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
… | |
… | |
20798 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20851 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20799 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20852 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20800 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20853 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20801 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20854 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20802 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20855 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20803 | ( |
|
|
20804 | cat <<\_ASBOX |
20856 | ( cat <<\_ASBOX |
20805 | ## ------------------------------------ ## |
20857 | ## ------------------------------------ ## |
20806 | ## Report this to jcouzens@codeshare.ca ## |
20858 | ## Report this to jcouzens@codeshare.ca ## |
20807 | ## ------------------------------------ ## |
20859 | ## ------------------------------------ ## |
20808 | _ASBOX |
20860 | _ASBOX |
20809 | ) | |
|
|
20810 | sed "s/^/$as_me: WARNING: /" >&2 |
20861 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
20811 | ;; |
20862 | ;; |
20812 | esac |
20863 | esac |
20813 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20864 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20814 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
20865 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20815 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20866 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20816 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20867 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20817 | else |
20868 | else |
20818 | eval "$as_ac_Header=\$ac_header_preproc" |
20869 | eval "$as_ac_Header=\$ac_header_preproc" |
20819 | fi |
20870 | fi |
20820 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
20871 | ac_res=`eval echo '${'$as_ac_Header'}'` |
20821 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
20872 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
20873 | echo "${ECHO_T}$ac_res" >&6; } |
20822 | |
20874 | |
20823 | fi |
20875 | fi |
20824 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20876 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20825 | cat >>confdefs.h <<_ACEOF |
20877 | cat >>confdefs.h <<_ACEOF |
20826 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20878 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
… | |
… | |
20828 | |
20880 | |
20829 | fi |
20881 | fi |
20830 | |
20882 | |
20831 | done |
20883 | done |
20832 | |
20884 | |
20833 | echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 |
20885 | { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 |
20834 | echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6 |
20886 | echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; } |
20835 | if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then |
20887 | if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then |
20836 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20888 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20837 | else |
20889 | else |
20838 | if test "$cross_compiling" = yes; then |
20890 | if test "$cross_compiling" = yes; then |
20839 | ac_cv_func_realloc_0_nonnull=no |
20891 | ac_cv_func_realloc_0_nonnull=no |
… | |
… | |
20842 | /* confdefs.h. */ |
20894 | /* confdefs.h. */ |
20843 | _ACEOF |
20895 | _ACEOF |
20844 | cat confdefs.h >>conftest.$ac_ext |
20896 | cat confdefs.h >>conftest.$ac_ext |
20845 | cat >>conftest.$ac_ext <<_ACEOF |
20897 | cat >>conftest.$ac_ext <<_ACEOF |
20846 | /* end confdefs.h. */ |
20898 | /* end confdefs.h. */ |
20847 | #if STDC_HEADERS || HAVE_STDLIB_H |
20899 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H |
20848 | # include <stdlib.h> |
20900 | # include <stdlib.h> |
20849 | #else |
20901 | #else |
20850 | char *realloc (); |
20902 | char *realloc (); |
20851 | #endif |
20903 | #endif |
20852 | |
20904 | |
20853 | int |
20905 | int |
20854 | main () |
20906 | main () |
20855 | { |
20907 | { |
20856 | exit (realloc (0, 0) ? 0 : 1); |
20908 | return ! realloc (0, 0); |
20857 | ; |
20909 | ; |
20858 | return 0; |
20910 | return 0; |
20859 | } |
20911 | } |
20860 | _ACEOF |
20912 | _ACEOF |
20861 | rm -f conftest$ac_exeext |
20913 | rm -f conftest$ac_exeext |
|
|
20914 | if { (ac_try="$ac_link" |
|
|
20915 | case "(($ac_try" in |
|
|
20916 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20917 | *) ac_try_echo=$ac_try;; |
|
|
20918 | esac |
20862 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20919 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20863 | (eval $ac_link) 2>&5 |
20920 | (eval "$ac_link") 2>&5 |
20864 | ac_status=$? |
20921 | ac_status=$? |
20865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20922 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20866 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
20923 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
20924 | { (case "(($ac_try" in |
|
|
20925 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20926 | *) ac_try_echo=$ac_try;; |
|
|
20927 | esac |
20867 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20928 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20868 | (eval $ac_try) 2>&5 |
20929 | (eval "$ac_try") 2>&5 |
20869 | ac_status=$? |
20930 | ac_status=$? |
20870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20871 | (exit $ac_status); }; }; then |
20932 | (exit $ac_status); }; }; then |
20872 | ac_cv_func_realloc_0_nonnull=yes |
20933 | ac_cv_func_realloc_0_nonnull=yes |
20873 | else |
20934 | else |
… | |
… | |
20876 | sed 's/^/| /' conftest.$ac_ext >&5 |
20937 | sed 's/^/| /' conftest.$ac_ext >&5 |
20877 | |
20938 | |
20878 | ( exit $ac_status ) |
20939 | ( exit $ac_status ) |
20879 | ac_cv_func_realloc_0_nonnull=no |
20940 | ac_cv_func_realloc_0_nonnull=no |
20880 | fi |
20941 | fi |
20881 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
20942 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
20882 | fi |
20943 | fi |
|
|
20944 | |
|
|
20945 | |
20883 | fi |
20946 | fi |
20884 | echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 |
20947 | { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 |
20885 | echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6 |
20948 | echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; } |
20886 | if test $ac_cv_func_realloc_0_nonnull = yes; then |
20949 | if test $ac_cv_func_realloc_0_nonnull = yes; then |
20887 | |
20950 | |
20888 | cat >>confdefs.h <<\_ACEOF |
20951 | cat >>confdefs.h <<\_ACEOF |
20889 | #define HAVE_REALLOC 1 |
20952 | #define HAVE_REALLOC 1 |
20890 | _ACEOF |
20953 | _ACEOF |
… | |
… | |
20892 | else |
20955 | else |
20893 | cat >>confdefs.h <<\_ACEOF |
20956 | cat >>confdefs.h <<\_ACEOF |
20894 | #define HAVE_REALLOC 0 |
20957 | #define HAVE_REALLOC 0 |
20895 | _ACEOF |
20958 | _ACEOF |
20896 | |
20959 | |
20897 | case $LIBOBJS in |
20960 | case " $LIBOBJS " in |
20898 | "realloc.$ac_objext" | \ |
|
|
20899 | *" realloc.$ac_objext" | \ |
|
|
20900 | "realloc.$ac_objext "* | \ |
|
|
20901 | *" realloc.$ac_objext "* ) ;; |
20961 | *" realloc.$ac_objext "* ) ;; |
20902 | *) LIBOBJS="$LIBOBJS realloc.$ac_objext" ;; |
20962 | *) LIBOBJS="$LIBOBJS realloc.$ac_objext" |
|
|
20963 | ;; |
20903 | esac |
20964 | esac |
20904 | |
20965 | |
20905 | |
20966 | |
20906 | cat >>confdefs.h <<\_ACEOF |
20967 | cat >>confdefs.h <<\_ACEOF |
20907 | #define realloc rpl_realloc |
20968 | #define realloc rpl_realloc |
… | |
… | |
20913 | |
20974 | |
20914 | |
20975 | |
20915 | for ac_func in strftime |
20976 | for ac_func in strftime |
20916 | do |
20977 | do |
20917 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
20978 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
20918 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
20979 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
20919 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
20980 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
20920 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
20981 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
20921 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20982 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20922 | else |
20983 | else |
20923 | cat >conftest.$ac_ext <<_ACEOF |
20984 | cat >conftest.$ac_ext <<_ACEOF |
20924 | /* confdefs.h. */ |
20985 | /* confdefs.h. */ |
20925 | _ACEOF |
20986 | _ACEOF |
… | |
… | |
20941 | # include <assert.h> |
21002 | # include <assert.h> |
20942 | #endif |
21003 | #endif |
20943 | |
21004 | |
20944 | #undef $ac_func |
21005 | #undef $ac_func |
20945 | |
21006 | |
20946 | /* Override any gcc2 internal prototype to avoid an error. */ |
21007 | /* Override any GCC internal prototype to avoid an error. |
|
|
21008 | Use char because int might match the return type of a GCC |
|
|
21009 | builtin and then its argument prototype would still apply. */ |
20947 | #ifdef __cplusplus |
21010 | #ifdef __cplusplus |
20948 | extern "C" |
21011 | extern "C" |
20949 | { |
|
|
20950 | #endif |
21012 | #endif |
20951 | /* We use char because int might match the return type of a gcc2 |
|
|
20952 | builtin and then its argument prototype would still apply. */ |
|
|
20953 | char $ac_func (); |
21013 | char $ac_func (); |
20954 | /* The GNU C library defines this for functions which it implements |
21014 | /* The GNU C library defines this for functions which it implements |
20955 | to always fail with ENOSYS. Some functions are actually named |
21015 | to always fail with ENOSYS. Some functions are actually named |
20956 | something starting with __ and the normal name is an alias. */ |
21016 | something starting with __ and the normal name is an alias. */ |
20957 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
21017 | #if defined __stub_$ac_func || defined __stub___$ac_func |
20958 | choke me |
21018 | choke me |
20959 | #else |
|
|
20960 | char (*f) () = $ac_func; |
|
|
20961 | #endif |
|
|
20962 | #ifdef __cplusplus |
|
|
20963 | } |
|
|
20964 | #endif |
21019 | #endif |
20965 | |
21020 | |
20966 | int |
21021 | int |
20967 | main () |
21022 | main () |
20968 | { |
21023 | { |
20969 | return f != $ac_func; |
21024 | return $ac_func (); |
20970 | ; |
21025 | ; |
20971 | return 0; |
21026 | return 0; |
20972 | } |
21027 | } |
20973 | _ACEOF |
21028 | _ACEOF |
20974 | rm -f conftest.$ac_objext conftest$ac_exeext |
21029 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
21030 | if { (ac_try="$ac_link" |
|
|
21031 | case "(($ac_try" in |
|
|
21032 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21033 | *) ac_try_echo=$ac_try;; |
|
|
21034 | esac |
20975 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21035 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20976 | (eval $ac_link) 2>conftest.er1 |
21036 | (eval "$ac_link") 2>conftest.er1 |
20977 | ac_status=$? |
21037 | ac_status=$? |
20978 | grep -v '^ *+' conftest.er1 >conftest.err |
21038 | grep -v '^ *+' conftest.er1 >conftest.err |
20979 | rm -f conftest.er1 |
21039 | rm -f conftest.er1 |
20980 | cat conftest.err >&5 |
21040 | cat conftest.err >&5 |
20981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21041 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20982 | (exit $ac_status); } && |
21042 | (exit $ac_status); } && { |
20983 | { ac_try='test -z "$ac_c_werror_flag" |
21043 | test -z "$ac_c_werror_flag" || |
20984 | || test ! -s conftest.err' |
21044 | test ! -s conftest.err |
20985 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21045 | } && test -s conftest$ac_exeext && |
20986 | (eval $ac_try) 2>&5 |
21046 | $as_test_x conftest$ac_exeext; then |
20987 | ac_status=$? |
|
|
20988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20989 | (exit $ac_status); }; } && |
|
|
20990 | { ac_try='test -s conftest$ac_exeext' |
|
|
20991 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20992 | (eval $ac_try) 2>&5 |
|
|
20993 | ac_status=$? |
|
|
20994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20995 | (exit $ac_status); }; }; then |
|
|
20996 | eval "$as_ac_var=yes" |
21047 | eval "$as_ac_var=yes" |
20997 | else |
21048 | else |
20998 | echo "$as_me: failed program was:" >&5 |
21049 | echo "$as_me: failed program was:" >&5 |
20999 | sed 's/^/| /' conftest.$ac_ext >&5 |
21050 | sed 's/^/| /' conftest.$ac_ext >&5 |
21000 | |
21051 | |
21001 | eval "$as_ac_var=no" |
21052 | eval "$as_ac_var=no" |
21002 | fi |
21053 | fi |
21003 | rm -f conftest.err conftest.$ac_objext \ |
21054 | |
|
|
21055 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
21004 | conftest$ac_exeext conftest.$ac_ext |
21056 | conftest$ac_exeext conftest.$ac_ext |
21005 | fi |
21057 | fi |
21006 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
21058 | ac_res=`eval echo '${'$as_ac_var'}'` |
21007 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
21059 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
21060 | echo "${ECHO_T}$ac_res" >&6; } |
21008 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
21061 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
21009 | cat >>confdefs.h <<_ACEOF |
21062 | cat >>confdefs.h <<_ACEOF |
21010 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
21063 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
21011 | _ACEOF |
21064 | _ACEOF |
21012 | |
21065 | |
21013 | else |
21066 | else |
21014 | # strftime is in -lintl on SCO UNIX. |
21067 | # strftime is in -lintl on SCO UNIX. |
21015 | echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
21068 | { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
21016 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 |
21069 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } |
21017 | if test "${ac_cv_lib_intl_strftime+set}" = set; then |
21070 | if test "${ac_cv_lib_intl_strftime+set}" = set; then |
21018 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21071 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21019 | else |
21072 | else |
21020 | ac_check_lib_save_LIBS=$LIBS |
21073 | ac_check_lib_save_LIBS=$LIBS |
21021 | LIBS="-lintl $LIBS" |
21074 | LIBS="-lintl $LIBS" |
… | |
… | |
21024 | _ACEOF |
21077 | _ACEOF |
21025 | cat confdefs.h >>conftest.$ac_ext |
21078 | cat confdefs.h >>conftest.$ac_ext |
21026 | cat >>conftest.$ac_ext <<_ACEOF |
21079 | cat >>conftest.$ac_ext <<_ACEOF |
21027 | /* end confdefs.h. */ |
21080 | /* end confdefs.h. */ |
21028 | |
21081 | |
21029 | /* Override any gcc2 internal prototype to avoid an error. */ |
21082 | /* Override any GCC internal prototype to avoid an error. |
|
|
21083 | Use char because int might match the return type of a GCC |
|
|
21084 | builtin and then its argument prototype would still apply. */ |
21030 | #ifdef __cplusplus |
21085 | #ifdef __cplusplus |
21031 | extern "C" |
21086 | extern "C" |
21032 | #endif |
21087 | #endif |
21033 | /* We use char because int might match the return type of a gcc2 |
|
|
21034 | builtin and then its argument prototype would still apply. */ |
|
|
21035 | char strftime (); |
21088 | char strftime (); |
21036 | int |
21089 | int |
21037 | main () |
21090 | main () |
21038 | { |
21091 | { |
21039 | strftime (); |
21092 | return strftime (); |
21040 | ; |
21093 | ; |
21041 | return 0; |
21094 | return 0; |
21042 | } |
21095 | } |
21043 | _ACEOF |
21096 | _ACEOF |
21044 | rm -f conftest.$ac_objext conftest$ac_exeext |
21097 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
21098 | if { (ac_try="$ac_link" |
|
|
21099 | case "(($ac_try" in |
|
|
21100 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21101 | *) ac_try_echo=$ac_try;; |
|
|
21102 | esac |
21045 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21103 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21046 | (eval $ac_link) 2>conftest.er1 |
21104 | (eval "$ac_link") 2>conftest.er1 |
21047 | ac_status=$? |
21105 | ac_status=$? |
21048 | grep -v '^ *+' conftest.er1 >conftest.err |
21106 | grep -v '^ *+' conftest.er1 >conftest.err |
21049 | rm -f conftest.er1 |
21107 | rm -f conftest.er1 |
21050 | cat conftest.err >&5 |
21108 | cat conftest.err >&5 |
21051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21052 | (exit $ac_status); } && |
21110 | (exit $ac_status); } && { |
21053 | { ac_try='test -z "$ac_c_werror_flag" |
21111 | test -z "$ac_c_werror_flag" || |
21054 | || test ! -s conftest.err' |
21112 | test ! -s conftest.err |
21055 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21113 | } && test -s conftest$ac_exeext && |
21056 | (eval $ac_try) 2>&5 |
21114 | $as_test_x conftest$ac_exeext; then |
21057 | ac_status=$? |
|
|
21058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21059 | (exit $ac_status); }; } && |
|
|
21060 | { ac_try='test -s conftest$ac_exeext' |
|
|
21061 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21062 | (eval $ac_try) 2>&5 |
|
|
21063 | ac_status=$? |
|
|
21064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21065 | (exit $ac_status); }; }; then |
|
|
21066 | ac_cv_lib_intl_strftime=yes |
21115 | ac_cv_lib_intl_strftime=yes |
21067 | else |
21116 | else |
21068 | echo "$as_me: failed program was:" >&5 |
21117 | echo "$as_me: failed program was:" >&5 |
21069 | sed 's/^/| /' conftest.$ac_ext >&5 |
21118 | sed 's/^/| /' conftest.$ac_ext >&5 |
21070 | |
21119 | |
21071 | ac_cv_lib_intl_strftime=no |
21120 | ac_cv_lib_intl_strftime=no |
21072 | fi |
21121 | fi |
21073 | rm -f conftest.err conftest.$ac_objext \ |
21122 | |
|
|
21123 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
21074 | conftest$ac_exeext conftest.$ac_ext |
21124 | conftest$ac_exeext conftest.$ac_ext |
21075 | LIBS=$ac_check_lib_save_LIBS |
21125 | LIBS=$ac_check_lib_save_LIBS |
21076 | fi |
21126 | fi |
21077 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
21127 | { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
21078 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 |
21128 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } |
21079 | if test $ac_cv_lib_intl_strftime = yes; then |
21129 | if test $ac_cv_lib_intl_strftime = yes; then |
21080 | cat >>confdefs.h <<\_ACEOF |
21130 | cat >>confdefs.h <<\_ACEOF |
21081 | #define HAVE_STRFTIME 1 |
21131 | #define HAVE_STRFTIME 1 |
21082 | _ACEOF |
21132 | _ACEOF |
21083 | |
21133 | |
… | |
… | |
21099 | |
21149 | |
21100 | for ac_func in gethostbyname, inet_ntoa, memset, strcasecmp, \ |
21150 | for ac_func in gethostbyname, inet_ntoa, memset, strcasecmp, \ |
21101 | localtime_r, strchr, strdup, strrchr, strstr, mkdir |
21151 | localtime_r, strchr, strdup, strrchr, strstr, mkdir |
21102 | do |
21152 | do |
21103 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
21153 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
21104 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
21154 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
21105 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
21155 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
21106 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
21156 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
21107 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21157 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21108 | else |
21158 | else |
21109 | cat >conftest.$ac_ext <<_ACEOF |
21159 | cat >conftest.$ac_ext <<_ACEOF |
21110 | /* confdefs.h. */ |
21160 | /* confdefs.h. */ |
21111 | _ACEOF |
21161 | _ACEOF |
… | |
… | |
21127 | # include <assert.h> |
21177 | # include <assert.h> |
21128 | #endif |
21178 | #endif |
21129 | |
21179 | |
21130 | #undef $ac_func |
21180 | #undef $ac_func |
21131 | |
21181 | |
21132 | /* Override any gcc2 internal prototype to avoid an error. */ |
21182 | /* Override any GCC internal prototype to avoid an error. |
|
|
21183 | Use char because int might match the return type of a GCC |
|
|
21184 | builtin and then its argument prototype would still apply. */ |
21133 | #ifdef __cplusplus |
21185 | #ifdef __cplusplus |
21134 | extern "C" |
21186 | extern "C" |
21135 | { |
|
|
21136 | #endif |
21187 | #endif |
21137 | /* We use char because int might match the return type of a gcc2 |
|
|
21138 | builtin and then its argument prototype would still apply. */ |
|
|
21139 | char $ac_func (); |
21188 | char $ac_func (); |
21140 | /* The GNU C library defines this for functions which it implements |
21189 | /* The GNU C library defines this for functions which it implements |
21141 | to always fail with ENOSYS. Some functions are actually named |
21190 | to always fail with ENOSYS. Some functions are actually named |
21142 | something starting with __ and the normal name is an alias. */ |
21191 | something starting with __ and the normal name is an alias. */ |
21143 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
21192 | #if defined __stub_$ac_func || defined __stub___$ac_func |
21144 | choke me |
21193 | choke me |
21145 | #else |
|
|
21146 | char (*f) () = $ac_func; |
|
|
21147 | #endif |
|
|
21148 | #ifdef __cplusplus |
|
|
21149 | } |
|
|
21150 | #endif |
21194 | #endif |
21151 | |
21195 | |
21152 | int |
21196 | int |
21153 | main () |
21197 | main () |
21154 | { |
21198 | { |
21155 | return f != $ac_func; |
21199 | return $ac_func (); |
21156 | ; |
21200 | ; |
21157 | return 0; |
21201 | return 0; |
21158 | } |
21202 | } |
21159 | _ACEOF |
21203 | _ACEOF |
21160 | rm -f conftest.$ac_objext conftest$ac_exeext |
21204 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
21205 | if { (ac_try="$ac_link" |
|
|
21206 | case "(($ac_try" in |
|
|
21207 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21208 | *) ac_try_echo=$ac_try;; |
|
|
21209 | esac |
21161 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21210 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21162 | (eval $ac_link) 2>conftest.er1 |
21211 | (eval "$ac_link") 2>conftest.er1 |
21163 | ac_status=$? |
21212 | ac_status=$? |
21164 | grep -v '^ *+' conftest.er1 >conftest.err |
21213 | grep -v '^ *+' conftest.er1 >conftest.err |
21165 | rm -f conftest.er1 |
21214 | rm -f conftest.er1 |
21166 | cat conftest.err >&5 |
21215 | cat conftest.err >&5 |
21167 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21168 | (exit $ac_status); } && |
21217 | (exit $ac_status); } && { |
21169 | { ac_try='test -z "$ac_c_werror_flag" |
21218 | test -z "$ac_c_werror_flag" || |
21170 | || test ! -s conftest.err' |
21219 | test ! -s conftest.err |
21171 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21220 | } && test -s conftest$ac_exeext && |
21172 | (eval $ac_try) 2>&5 |
21221 | $as_test_x conftest$ac_exeext; then |
21173 | ac_status=$? |
|
|
21174 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21175 | (exit $ac_status); }; } && |
|
|
21176 | { ac_try='test -s conftest$ac_exeext' |
|
|
21177 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21178 | (eval $ac_try) 2>&5 |
|
|
21179 | ac_status=$? |
|
|
21180 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21181 | (exit $ac_status); }; }; then |
|
|
21182 | eval "$as_ac_var=yes" |
21222 | eval "$as_ac_var=yes" |
21183 | else |
21223 | else |
21184 | echo "$as_me: failed program was:" >&5 |
21224 | echo "$as_me: failed program was:" >&5 |
21185 | sed 's/^/| /' conftest.$ac_ext >&5 |
21225 | sed 's/^/| /' conftest.$ac_ext >&5 |
21186 | |
21226 | |
21187 | eval "$as_ac_var=no" |
21227 | eval "$as_ac_var=no" |
21188 | fi |
21228 | fi |
21189 | rm -f conftest.err conftest.$ac_objext \ |
21229 | |
|
|
21230 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
21190 | conftest$ac_exeext conftest.$ac_ext |
21231 | conftest$ac_exeext conftest.$ac_ext |
21191 | fi |
21232 | fi |
21192 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
21233 | ac_res=`eval echo '${'$as_ac_var'}'` |
21193 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
21234 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
21235 | echo "${ECHO_T}$ac_res" >&6; } |
21194 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
21236 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
21195 | cat >>confdefs.h <<_ACEOF |
21237 | cat >>confdefs.h <<_ACEOF |
21196 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
21238 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
21197 | _ACEOF |
21239 | _ACEOF |
21198 | |
21240 | |
… | |
… | |
21203 | |
21245 | |
21204 | #------------------------------------------------------------------------------- |
21246 | #------------------------------------------------------------------------------- |
21205 | # __BEGIN_DECLS / __END_DECLS defined ? |
21247 | # __BEGIN_DECLS / __END_DECLS defined ? |
21206 | #------------------------------------------------------------------------------- |
21248 | #------------------------------------------------------------------------------- |
21207 | |
21249 | |
21208 | echo "$as_me:$LINENO: checking __BEGIN_DECLS" >&5 |
21250 | { echo "$as_me:$LINENO: checking __BEGIN_DECLS" >&5 |
21209 | echo $ECHO_N "checking __BEGIN_DECLS... $ECHO_C" >&6 |
21251 | echo $ECHO_N "checking __BEGIN_DECLS... $ECHO_C" >&6; } |
21210 | cat >conftest.$ac_ext <<_ACEOF |
21252 | cat >conftest.$ac_ext <<_ACEOF |
21211 | |
21253 | |
21212 | #include <features.h> |
21254 | #include <features.h> |
21213 | __BEGIN_DECLS |
21255 | __BEGIN_DECLS |
21214 | extern int x; |
21256 | extern int x; |
21215 | __END_DECLS |
21257 | __END_DECLS |
21216 | _ACEOF |
21258 | _ACEOF |
21217 | rm -f conftest.$ac_objext |
21259 | rm -f conftest.$ac_objext |
|
|
21260 | if { (ac_try="$ac_compile" |
|
|
21261 | case "(($ac_try" in |
|
|
21262 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21263 | *) ac_try_echo=$ac_try;; |
|
|
21264 | esac |
21218 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21265 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21219 | (eval $ac_compile) 2>conftest.er1 |
21266 | (eval "$ac_compile") 2>conftest.er1 |
21220 | ac_status=$? |
21267 | ac_status=$? |
21221 | grep -v '^ *+' conftest.er1 >conftest.err |
21268 | grep -v '^ *+' conftest.er1 >conftest.err |
21222 | rm -f conftest.er1 |
21269 | rm -f conftest.er1 |
21223 | cat conftest.err >&5 |
21270 | cat conftest.err >&5 |
21224 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21271 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21225 | (exit $ac_status); } && |
21272 | (exit $ac_status); } && { |
21226 | { ac_try='test -z "$ac_c_werror_flag" |
21273 | test -z "$ac_c_werror_flag" || |
21227 | || test ! -s conftest.err' |
21274 | test ! -s conftest.err |
21228 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21275 | } && test -s conftest.$ac_objext; then |
21229 | (eval $ac_try) 2>&5 |
|
|
21230 | ac_status=$? |
|
|
21231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21232 | (exit $ac_status); }; } && |
|
|
21233 | { ac_try='test -s conftest.$ac_objext' |
|
|
21234 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21235 | (eval $ac_try) 2>&5 |
|
|
21236 | ac_status=$? |
|
|
21237 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21238 | (exit $ac_status); }; }; then |
|
|
21239 | echo "$as_me:$LINENO: result: yes" >&5 |
21276 | { echo "$as_me:$LINENO: result: yes" >&5 |
21240 | echo "${ECHO_T}yes" >&6 |
21277 | echo "${ECHO_T}yes" >&6; } |
21241 | |
21278 | |
21242 | cat >>confdefs.h <<\_ACEOF |
21279 | cat >>confdefs.h <<\_ACEOF |
21243 | #define HAVE__BEGIN_DECLS 1 |
21280 | #define HAVE__BEGIN_DECLS 1 |
21244 | _ACEOF |
21281 | _ACEOF |
21245 | |
21282 | |
… | |
… | |
21249 | |
21286 | |
21250 | else |
21287 | else |
21251 | echo "$as_me: failed program was:" >&5 |
21288 | echo "$as_me: failed program was:" >&5 |
21252 | sed 's/^/| /' conftest.$ac_ext >&5 |
21289 | sed 's/^/| /' conftest.$ac_ext >&5 |
21253 | |
21290 | |
21254 | echo "$as_me:$LINENO: result: no" >&5 |
21291 | { echo "$as_me:$LINENO: result: no" >&5 |
21255 | echo "${ECHO_T}no" >&6 |
21292 | echo "${ECHO_T}no" >&6; } |
21256 | |
21293 | |
21257 | __BEGIN_DECLS_INCL=$srcdir/conf/begin_decls |
21294 | __BEGIN_DECLS_INCL=$srcdir/conf/begin_decls |
21258 | |
21295 | |
21259 | __END_DECLS_INCL=$srcdir/conf/end_decls |
21296 | __END_DECLS_INCL=$srcdir/conf/end_decls |
21260 | |
21297 | |
21261 | fi |
21298 | fi |
|
|
21299 | |
21262 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21300 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21263 | |
21301 | |
21264 | |
21302 | |
21265 | #------------------------------------------------------------------------------- |
21303 | #------------------------------------------------------------------------------- |
21266 | # Unsigned int types |
21304 | # Unsigned int types |
21267 | #------------------------------------------------------------------------------- |
21305 | #------------------------------------------------------------------------------- |
21268 | |
21306 | |
21269 | |
21307 | |
21270 | |
21308 | |
21271 | |
21309 | |
21272 | echo "$as_me:$LINENO: checking size of int" >&5 |
21310 | { echo "$as_me:$LINENO: checking size of int" >&5 |
21273 | echo $ECHO_N "checking size of int... $ECHO_C" >&6 |
21311 | echo $ECHO_N "checking size of int... $ECHO_C" >&6; } |
21274 | if test "${ac_cv_sizeof_int+set}" = set; then |
21312 | if test "${ac_cv_sizeof_int+set}" = set; then |
21275 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21313 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21276 | else |
21314 | else |
21277 | if test "$cross_compiling" = yes; then |
21315 | if test "$cross_compiling" = yes; then |
21278 | { { echo "$as_me:$LINENO: error: failed to compile test program" >&5 |
21316 | { { echo "$as_me:$LINENO: error: failed to compile test program" >&5 |
… | |
… | |
21293 | fprintf(f, "%d\n", (int)sizeof(int)); |
21331 | fprintf(f, "%d\n", (int)sizeof(int)); |
21294 | exit(0); |
21332 | exit(0); |
21295 | } |
21333 | } |
21296 | _ACEOF |
21334 | _ACEOF |
21297 | rm -f conftest$ac_exeext |
21335 | rm -f conftest$ac_exeext |
|
|
21336 | if { (ac_try="$ac_link" |
|
|
21337 | case "(($ac_try" in |
|
|
21338 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21339 | *) ac_try_echo=$ac_try;; |
|
|
21340 | esac |
21298 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21341 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21299 | (eval $ac_link) 2>&5 |
21342 | (eval "$ac_link") 2>&5 |
21300 | ac_status=$? |
21343 | ac_status=$? |
21301 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21344 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21302 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
21345 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
21346 | { (case "(($ac_try" in |
|
|
21347 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21348 | *) ac_try_echo=$ac_try;; |
|
|
21349 | esac |
21303 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21350 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21304 | (eval $ac_try) 2>&5 |
21351 | (eval "$ac_try") 2>&5 |
21305 | ac_status=$? |
21352 | ac_status=$? |
21306 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21307 | (exit $ac_status); }; }; then |
21354 | (exit $ac_status); }; }; then |
21308 | ac_cv_sizeof_int=`cat conftestval` |
21355 | ac_cv_sizeof_int=`cat conftestval` |
21309 | else |
21356 | else |
… | |
… | |
21312 | sed 's/^/| /' conftest.$ac_ext >&5 |
21359 | sed 's/^/| /' conftest.$ac_ext >&5 |
21313 | |
21360 | |
21314 | ( exit $ac_status ) |
21361 | ( exit $ac_status ) |
21315 | ac_cv_sizeof_int=0 |
21362 | ac_cv_sizeof_int=0 |
21316 | fi |
21363 | fi |
21317 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
21364 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
21318 | fi |
21365 | fi |
21319 | fi |
|
|
21320 | |
21366 | |
|
|
21367 | |
|
|
21368 | fi |
|
|
21369 | |
21321 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
21370 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
21322 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
21371 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } |
21323 | |
21372 | |
21324 | cat >>confdefs.h <<_ACEOF |
21373 | cat >>confdefs.h <<_ACEOF |
21325 | #define SIZEOF_INT $ac_cv_sizeof_int |
21374 | #define SIZEOF_INT $ac_cv_sizeof_int |
21326 | _ACEOF |
21375 | _ACEOF |
21327 | |
21376 | |
21328 | #AC_DEFINE([SIZEOF_INT], [$ac_cv_sizeof_int], [Check to fix sizeof bug that can't print %d]) |
21377 | #AC_DEFINE([SIZEOF_INT], [$ac_cv_sizeof_int], [Check to fix sizeof bug that can't print %d]) |
21329 | |
21378 | |
21330 | |
21379 | |
21331 | |
21380 | |
21332 | # ------ AC CREATE STDINT H ------------------------------------- |
21381 | # ------ AC CREATE STDINT H ------------------------------------- |
21333 | echo "$as_me:$LINENO: checking for stdint-types...." >&5 |
21382 | { echo "$as_me:$LINENO: checking for stdint-types...." >&5 |
21334 | echo $ECHO_N "checking for stdint-types....... $ECHO_C" >&6 |
21383 | echo $ECHO_N "checking for stdint-types....... $ECHO_C" >&6; } |
21335 | ac_stdint_h=`echo src/libspf/_stdint.h` |
21384 | ac_stdint_h=`echo src/libspf/_stdint.h` |
21336 | if test "$ac_stdint_h" = "stdint.h" ; then |
21385 | if test "$ac_stdint_h" = "stdint.h" ; then |
21337 | echo "$as_me:$LINENO: result: \"(are you sure you want them in ./stdint.h?)\"" >&5 |
21386 | { echo "$as_me:$LINENO: result: \"(are you sure you want them in ./stdint.h?)\"" >&5 |
21338 | echo "${ECHO_T}\"(are you sure you want them in ./stdint.h?)\"" >&6 |
21387 | echo "${ECHO_T}\"(are you sure you want them in ./stdint.h?)\"" >&6; } |
21339 | elif test "$ac_stdint_h" = "inttypes.h" ; then |
21388 | elif test "$ac_stdint_h" = "inttypes.h" ; then |
21340 | echo "$as_me:$LINENO: result: \"(are you sure you want them in ./inttypes.h?)\"" >&5 |
21389 | { echo "$as_me:$LINENO: result: \"(are you sure you want them in ./inttypes.h?)\"" >&5 |
21341 | echo "${ECHO_T}\"(are you sure you want them in ./inttypes.h?)\"" >&6 |
21390 | echo "${ECHO_T}\"(are you sure you want them in ./inttypes.h?)\"" >&6; } |
21342 | else |
21391 | else |
21343 | echo "$as_me:$LINENO: result: \"(putting them into $ac_stdint_h)\"" >&5 |
21392 | { echo "$as_me:$LINENO: result: \"(putting them into $ac_stdint_h)\"" >&5 |
21344 | echo "${ECHO_T}\"(putting them into $ac_stdint_h)\"" >&6 |
21393 | echo "${ECHO_T}\"(putting them into $ac_stdint_h)\"" >&6; } |
21345 | fi |
21394 | fi |
21346 | |
21395 | |
21347 | inttype_headers=`echo inttypes.h sys/inttypes.h sys/inttypes.h \ |
21396 | inttype_headers=`echo inttypes.h sys/inttypes.h sys/inttypes.h \ |
21348 | | sed -e 's/,/ /g'` |
21397 | | sed -e 's/,/ /g'` |
21349 | |
21398 | |
… | |
… | |
21351 | ac_cv_header_stdint_o="no-file" |
21400 | ac_cv_header_stdint_o="no-file" |
21352 | ac_cv_header_stdint_u="no-file" |
21401 | ac_cv_header_stdint_u="no-file" |
21353 | for i in stdint.h $inttype_headers ; do |
21402 | for i in stdint.h $inttype_headers ; do |
21354 | unset ac_cv_type_uintptr_t |
21403 | unset ac_cv_type_uintptr_t |
21355 | unset ac_cv_type_uint64_t |
21404 | unset ac_cv_type_uint64_t |
21356 | echo "$as_me:$LINENO: checking for uintptr_t" >&5 |
21405 | { echo "$as_me:$LINENO: checking for uintptr_t" >&5 |
21357 | echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6 |
21406 | echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; } |
21358 | if test "${ac_cv_type_uintptr_t+set}" = set; then |
21407 | if test "${ac_cv_type_uintptr_t+set}" = set; then |
21359 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21408 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21360 | else |
21409 | else |
21361 | cat >conftest.$ac_ext <<_ACEOF |
21410 | cat >conftest.$ac_ext <<_ACEOF |
21362 | /* confdefs.h. */ |
21411 | /* confdefs.h. */ |
… | |
… | |
21364 | cat confdefs.h >>conftest.$ac_ext |
21413 | cat confdefs.h >>conftest.$ac_ext |
21365 | cat >>conftest.$ac_ext <<_ACEOF |
21414 | cat >>conftest.$ac_ext <<_ACEOF |
21366 | /* end confdefs.h. */ |
21415 | /* end confdefs.h. */ |
21367 | #include <$i> |
21416 | #include <$i> |
21368 | |
21417 | |
|
|
21418 | typedef uintptr_t ac__type_new_; |
21369 | int |
21419 | int |
21370 | main () |
21420 | main () |
21371 | { |
21421 | { |
21372 | if ((uintptr_t *) 0) |
21422 | if ((ac__type_new_ *) 0) |
21373 | return 0; |
21423 | return 0; |
21374 | if (sizeof (uintptr_t)) |
21424 | if (sizeof (ac__type_new_)) |
21375 | return 0; |
21425 | return 0; |
21376 | ; |
21426 | ; |
21377 | return 0; |
21427 | return 0; |
21378 | } |
21428 | } |
21379 | _ACEOF |
21429 | _ACEOF |
21380 | rm -f conftest.$ac_objext |
21430 | rm -f conftest.$ac_objext |
|
|
21431 | if { (ac_try="$ac_compile" |
|
|
21432 | case "(($ac_try" in |
|
|
21433 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21434 | *) ac_try_echo=$ac_try;; |
|
|
21435 | esac |
21381 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21436 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21382 | (eval $ac_compile) 2>conftest.er1 |
21437 | (eval "$ac_compile") 2>conftest.er1 |
21383 | ac_status=$? |
21438 | ac_status=$? |
21384 | grep -v '^ *+' conftest.er1 >conftest.err |
21439 | grep -v '^ *+' conftest.er1 >conftest.err |
21385 | rm -f conftest.er1 |
21440 | rm -f conftest.er1 |
21386 | cat conftest.err >&5 |
21441 | cat conftest.err >&5 |
21387 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21388 | (exit $ac_status); } && |
21443 | (exit $ac_status); } && { |
21389 | { ac_try='test -z "$ac_c_werror_flag" |
21444 | test -z "$ac_c_werror_flag" || |
21390 | || test ! -s conftest.err' |
21445 | test ! -s conftest.err |
21391 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21446 | } && test -s conftest.$ac_objext; then |
21392 | (eval $ac_try) 2>&5 |
|
|
21393 | ac_status=$? |
|
|
21394 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21395 | (exit $ac_status); }; } && |
|
|
21396 | { ac_try='test -s conftest.$ac_objext' |
|
|
21397 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21398 | (eval $ac_try) 2>&5 |
|
|
21399 | ac_status=$? |
|
|
21400 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21401 | (exit $ac_status); }; }; then |
|
|
21402 | ac_cv_type_uintptr_t=yes |
21447 | ac_cv_type_uintptr_t=yes |
21403 | else |
21448 | else |
21404 | echo "$as_me: failed program was:" >&5 |
21449 | echo "$as_me: failed program was:" >&5 |
21405 | sed 's/^/| /' conftest.$ac_ext >&5 |
21450 | sed 's/^/| /' conftest.$ac_ext >&5 |
21406 | |
21451 | |
21407 | ac_cv_type_uintptr_t=no |
21452 | ac_cv_type_uintptr_t=no |
21408 | fi |
21453 | fi |
|
|
21454 | |
21409 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21455 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21410 | fi |
21456 | fi |
21411 | echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5 |
21457 | { echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5 |
21412 | echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6 |
21458 | echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; } |
21413 | if test $ac_cv_type_uintptr_t = yes; then |
21459 | if test $ac_cv_type_uintptr_t = yes; then |
21414 | ac_cv_header_stdint_x=$i |
21460 | ac_cv_header_stdint_x=$i |
21415 | else |
21461 | else |
21416 | continue |
21462 | continue |
21417 | fi |
21463 | fi |
21418 | |
21464 | |
21419 | echo "$as_me:$LINENO: checking for uint64_t" >&5 |
21465 | { echo "$as_me:$LINENO: checking for uint64_t" >&5 |
21420 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 |
21466 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } |
21421 | if test "${ac_cv_type_uint64_t+set}" = set; then |
21467 | if test "${ac_cv_type_uint64_t+set}" = set; then |
21422 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21468 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21423 | else |
21469 | else |
21424 | cat >conftest.$ac_ext <<_ACEOF |
21470 | cat >conftest.$ac_ext <<_ACEOF |
21425 | /* confdefs.h. */ |
21471 | /* confdefs.h. */ |
… | |
… | |
21427 | cat confdefs.h >>conftest.$ac_ext |
21473 | cat confdefs.h >>conftest.$ac_ext |
21428 | cat >>conftest.$ac_ext <<_ACEOF |
21474 | cat >>conftest.$ac_ext <<_ACEOF |
21429 | /* end confdefs.h. */ |
21475 | /* end confdefs.h. */ |
21430 | #include<$i> |
21476 | #include<$i> |
21431 | |
21477 | |
|
|
21478 | typedef uint64_t ac__type_new_; |
21432 | int |
21479 | int |
21433 | main () |
21480 | main () |
21434 | { |
21481 | { |
21435 | if ((uint64_t *) 0) |
21482 | if ((ac__type_new_ *) 0) |
21436 | return 0; |
21483 | return 0; |
21437 | if (sizeof (uint64_t)) |
21484 | if (sizeof (ac__type_new_)) |
21438 | return 0; |
21485 | return 0; |
21439 | ; |
21486 | ; |
21440 | return 0; |
21487 | return 0; |
21441 | } |
21488 | } |
21442 | _ACEOF |
21489 | _ACEOF |
21443 | rm -f conftest.$ac_objext |
21490 | rm -f conftest.$ac_objext |
|
|
21491 | if { (ac_try="$ac_compile" |
|
|
21492 | case "(($ac_try" in |
|
|
21493 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21494 | *) ac_try_echo=$ac_try;; |
|
|
21495 | esac |
21444 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21496 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21445 | (eval $ac_compile) 2>conftest.er1 |
21497 | (eval "$ac_compile") 2>conftest.er1 |
21446 | ac_status=$? |
21498 | ac_status=$? |
21447 | grep -v '^ *+' conftest.er1 >conftest.err |
21499 | grep -v '^ *+' conftest.er1 >conftest.err |
21448 | rm -f conftest.er1 |
21500 | rm -f conftest.er1 |
21449 | cat conftest.err >&5 |
21501 | cat conftest.err >&5 |
21450 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21451 | (exit $ac_status); } && |
21503 | (exit $ac_status); } && { |
21452 | { ac_try='test -z "$ac_c_werror_flag" |
21504 | test -z "$ac_c_werror_flag" || |
21453 | || test ! -s conftest.err' |
21505 | test ! -s conftest.err |
21454 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21506 | } && test -s conftest.$ac_objext; then |
21455 | (eval $ac_try) 2>&5 |
|
|
21456 | ac_status=$? |
|
|
21457 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21458 | (exit $ac_status); }; } && |
|
|
21459 | { ac_try='test -s conftest.$ac_objext' |
|
|
21460 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21461 | (eval $ac_try) 2>&5 |
|
|
21462 | ac_status=$? |
|
|
21463 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21464 | (exit $ac_status); }; }; then |
|
|
21465 | ac_cv_type_uint64_t=yes |
21507 | ac_cv_type_uint64_t=yes |
21466 | else |
21508 | else |
21467 | echo "$as_me: failed program was:" >&5 |
21509 | echo "$as_me: failed program was:" >&5 |
21468 | sed 's/^/| /' conftest.$ac_ext >&5 |
21510 | sed 's/^/| /' conftest.$ac_ext >&5 |
21469 | |
21511 | |
21470 | ac_cv_type_uint64_t=no |
21512 | ac_cv_type_uint64_t=no |
21471 | fi |
21513 | fi |
|
|
21514 | |
21472 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21515 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21473 | fi |
21516 | fi |
21474 | echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
21517 | { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
21475 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 |
21518 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; } |
21476 | if test $ac_cv_type_uint64_t = yes; then |
21519 | if test $ac_cv_type_uint64_t = yes; then |
21477 | and64="(uint64_t too)" |
21520 | and64="(uint64_t too)" |
21478 | else |
21521 | else |
21479 | and64="" |
21522 | and64="" |
21480 | fi |
21523 | fi |
21481 | |
21524 | |
21482 | echo "$as_me:$LINENO: result: ... seen our uintptr_t in $i $and64" >&5 |
21525 | { echo "$as_me:$LINENO: result: ... seen our uintptr_t in $i $and64" >&5 |
21483 | echo "${ECHO_T}... seen our uintptr_t in $i $and64" >&6 |
21526 | echo "${ECHO_T}... seen our uintptr_t in $i $and64" >&6; } |
21484 | break; |
21527 | break; |
21485 | done |
21528 | done |
21486 | if test "$ac_cv_header_stdint_x" = "no-file" ; then |
21529 | if test "$ac_cv_header_stdint_x" = "no-file" ; then |
21487 | for i in stdint.h $inttype_headers ; do |
21530 | for i in stdint.h $inttype_headers ; do |
21488 | unset ac_cv_type_uint32_t |
21531 | unset ac_cv_type_uint32_t |
21489 | unset ac_cv_type_uint64_t |
21532 | unset ac_cv_type_uint64_t |
21490 | echo "$as_me:$LINENO: checking for uint32_t" >&5 |
21533 | { echo "$as_me:$LINENO: checking for uint32_t" >&5 |
21491 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6 |
21534 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } |
21492 | if test "${ac_cv_type_uint32_t+set}" = set; then |
21535 | if test "${ac_cv_type_uint32_t+set}" = set; then |
21493 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21536 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21494 | else |
21537 | else |
21495 | cat >conftest.$ac_ext <<_ACEOF |
21538 | cat >conftest.$ac_ext <<_ACEOF |
21496 | /* confdefs.h. */ |
21539 | /* confdefs.h. */ |
… | |
… | |
21498 | cat confdefs.h >>conftest.$ac_ext |
21541 | cat confdefs.h >>conftest.$ac_ext |
21499 | cat >>conftest.$ac_ext <<_ACEOF |
21542 | cat >>conftest.$ac_ext <<_ACEOF |
21500 | /* end confdefs.h. */ |
21543 | /* end confdefs.h. */ |
21501 | #include <$i> |
21544 | #include <$i> |
21502 | |
21545 | |
|
|
21546 | typedef uint32_t ac__type_new_; |
21503 | int |
21547 | int |
21504 | main () |
21548 | main () |
21505 | { |
21549 | { |
21506 | if ((uint32_t *) 0) |
21550 | if ((ac__type_new_ *) 0) |
21507 | return 0; |
21551 | return 0; |
21508 | if (sizeof (uint32_t)) |
21552 | if (sizeof (ac__type_new_)) |
21509 | return 0; |
21553 | return 0; |
21510 | ; |
21554 | ; |
21511 | return 0; |
21555 | return 0; |
21512 | } |
21556 | } |
21513 | _ACEOF |
21557 | _ACEOF |
21514 | rm -f conftest.$ac_objext |
21558 | rm -f conftest.$ac_objext |
|
|
21559 | if { (ac_try="$ac_compile" |
|
|
21560 | case "(($ac_try" in |
|
|
21561 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21562 | *) ac_try_echo=$ac_try;; |
|
|
21563 | esac |
21515 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21564 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21516 | (eval $ac_compile) 2>conftest.er1 |
21565 | (eval "$ac_compile") 2>conftest.er1 |
21517 | ac_status=$? |
21566 | ac_status=$? |
21518 | grep -v '^ *+' conftest.er1 >conftest.err |
21567 | grep -v '^ *+' conftest.er1 >conftest.err |
21519 | rm -f conftest.er1 |
21568 | rm -f conftest.er1 |
21520 | cat conftest.err >&5 |
21569 | cat conftest.err >&5 |
21521 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21522 | (exit $ac_status); } && |
21571 | (exit $ac_status); } && { |
21523 | { ac_try='test -z "$ac_c_werror_flag" |
21572 | test -z "$ac_c_werror_flag" || |
21524 | || test ! -s conftest.err' |
21573 | test ! -s conftest.err |
21525 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21574 | } && test -s conftest.$ac_objext; then |
21526 | (eval $ac_try) 2>&5 |
|
|
21527 | ac_status=$? |
|
|
21528 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21529 | (exit $ac_status); }; } && |
|
|
21530 | { ac_try='test -s conftest.$ac_objext' |
|
|
21531 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21532 | (eval $ac_try) 2>&5 |
|
|
21533 | ac_status=$? |
|
|
21534 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21535 | (exit $ac_status); }; }; then |
|
|
21536 | ac_cv_type_uint32_t=yes |
21575 | ac_cv_type_uint32_t=yes |
21537 | else |
21576 | else |
21538 | echo "$as_me: failed program was:" >&5 |
21577 | echo "$as_me: failed program was:" >&5 |
21539 | sed 's/^/| /' conftest.$ac_ext >&5 |
21578 | sed 's/^/| /' conftest.$ac_ext >&5 |
21540 | |
21579 | |
21541 | ac_cv_type_uint32_t=no |
21580 | ac_cv_type_uint32_t=no |
21542 | fi |
21581 | fi |
|
|
21582 | |
21543 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21583 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21544 | fi |
21584 | fi |
21545 | echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 |
21585 | { echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 |
21546 | echo "${ECHO_T}$ac_cv_type_uint32_t" >&6 |
21586 | echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; } |
21547 | if test $ac_cv_type_uint32_t = yes; then |
21587 | if test $ac_cv_type_uint32_t = yes; then |
21548 | ac_cv_header_stdint_o=$i |
21588 | ac_cv_header_stdint_o=$i |
21549 | else |
21589 | else |
21550 | continue |
21590 | continue |
21551 | fi |
21591 | fi |
21552 | |
21592 | |
21553 | echo "$as_me:$LINENO: checking for uint64_t" >&5 |
21593 | { echo "$as_me:$LINENO: checking for uint64_t" >&5 |
21554 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 |
21594 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } |
21555 | if test "${ac_cv_type_uint64_t+set}" = set; then |
21595 | if test "${ac_cv_type_uint64_t+set}" = set; then |
21556 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21596 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21557 | else |
21597 | else |
21558 | cat >conftest.$ac_ext <<_ACEOF |
21598 | cat >conftest.$ac_ext <<_ACEOF |
21559 | /* confdefs.h. */ |
21599 | /* confdefs.h. */ |
… | |
… | |
21561 | cat confdefs.h >>conftest.$ac_ext |
21601 | cat confdefs.h >>conftest.$ac_ext |
21562 | cat >>conftest.$ac_ext <<_ACEOF |
21602 | cat >>conftest.$ac_ext <<_ACEOF |
21563 | /* end confdefs.h. */ |
21603 | /* end confdefs.h. */ |
21564 | #include<$i> |
21604 | #include<$i> |
21565 | |
21605 | |
|
|
21606 | typedef uint64_t ac__type_new_; |
21566 | int |
21607 | int |
21567 | main () |
21608 | main () |
21568 | { |
21609 | { |
21569 | if ((uint64_t *) 0) |
21610 | if ((ac__type_new_ *) 0) |
21570 | return 0; |
21611 | return 0; |
21571 | if (sizeof (uint64_t)) |
21612 | if (sizeof (ac__type_new_)) |
21572 | return 0; |
21613 | return 0; |
21573 | ; |
21614 | ; |
21574 | return 0; |
21615 | return 0; |
21575 | } |
21616 | } |
21576 | _ACEOF |
21617 | _ACEOF |
21577 | rm -f conftest.$ac_objext |
21618 | rm -f conftest.$ac_objext |
|
|
21619 | if { (ac_try="$ac_compile" |
|
|
21620 | case "(($ac_try" in |
|
|
21621 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21622 | *) ac_try_echo=$ac_try;; |
|
|
21623 | esac |
21578 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21624 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21579 | (eval $ac_compile) 2>conftest.er1 |
21625 | (eval "$ac_compile") 2>conftest.er1 |
21580 | ac_status=$? |
21626 | ac_status=$? |
21581 | grep -v '^ *+' conftest.er1 >conftest.err |
21627 | grep -v '^ *+' conftest.er1 >conftest.err |
21582 | rm -f conftest.er1 |
21628 | rm -f conftest.er1 |
21583 | cat conftest.err >&5 |
21629 | cat conftest.err >&5 |
21584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21585 | (exit $ac_status); } && |
21631 | (exit $ac_status); } && { |
21586 | { ac_try='test -z "$ac_c_werror_flag" |
21632 | test -z "$ac_c_werror_flag" || |
21587 | || test ! -s conftest.err' |
21633 | test ! -s conftest.err |
21588 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21634 | } && test -s conftest.$ac_objext; then |
21589 | (eval $ac_try) 2>&5 |
|
|
21590 | ac_status=$? |
|
|
21591 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21592 | (exit $ac_status); }; } && |
|
|
21593 | { ac_try='test -s conftest.$ac_objext' |
|
|
21594 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21595 | (eval $ac_try) 2>&5 |
|
|
21596 | ac_status=$? |
|
|
21597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21598 | (exit $ac_status); }; }; then |
|
|
21599 | ac_cv_type_uint64_t=yes |
21635 | ac_cv_type_uint64_t=yes |
21600 | else |
21636 | else |
21601 | echo "$as_me: failed program was:" >&5 |
21637 | echo "$as_me: failed program was:" >&5 |
21602 | sed 's/^/| /' conftest.$ac_ext >&5 |
21638 | sed 's/^/| /' conftest.$ac_ext >&5 |
21603 | |
21639 | |
21604 | ac_cv_type_uint64_t=no |
21640 | ac_cv_type_uint64_t=no |
21605 | fi |
21641 | fi |
|
|
21642 | |
21606 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21643 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21607 | fi |
21644 | fi |
21608 | echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
21645 | { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
21609 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 |
21646 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; } |
21610 | if test $ac_cv_type_uint64_t = yes; then |
21647 | if test $ac_cv_type_uint64_t = yes; then |
21611 | and64="(uint64_t too)" |
21648 | and64="(uint64_t too)" |
21612 | else |
21649 | else |
21613 | and64="" |
21650 | and64="" |
21614 | fi |
21651 | fi |
21615 | |
21652 | |
21616 | echo "$as_me:$LINENO: result: ... seen our uint32_t in $i $and64" >&5 |
21653 | { echo "$as_me:$LINENO: result: ... seen our uint32_t in $i $and64" >&5 |
21617 | echo "${ECHO_T}... seen our uint32_t in $i $and64" >&6 |
21654 | echo "${ECHO_T}... seen our uint32_t in $i $and64" >&6; } |
21618 | break; |
21655 | break; |
21619 | done |
21656 | done |
21620 | if test "$ac_cv_header_stdint_o" = "no-file" ; then |
21657 | if test "$ac_cv_header_stdint_o" = "no-file" ; then |
21621 | for i in sys/types.h $inttype_headers ; do |
21658 | for i in sys/types.h $inttype_headers ; do |
21622 | unset ac_cv_type_u_int32_t |
21659 | unset ac_cv_type_u_int32_t |
21623 | unset ac_cv_type_u_int64_t |
21660 | unset ac_cv_type_u_int64_t |
21624 | echo "$as_me:$LINENO: checking for u_int32_t" >&5 |
21661 | { echo "$as_me:$LINENO: checking for u_int32_t" >&5 |
21625 | echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6 |
21662 | echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; } |
21626 | if test "${ac_cv_type_u_int32_t+set}" = set; then |
21663 | if test "${ac_cv_type_u_int32_t+set}" = set; then |
21627 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21664 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21628 | else |
21665 | else |
21629 | cat >conftest.$ac_ext <<_ACEOF |
21666 | cat >conftest.$ac_ext <<_ACEOF |
21630 | /* confdefs.h. */ |
21667 | /* confdefs.h. */ |
… | |
… | |
21632 | cat confdefs.h >>conftest.$ac_ext |
21669 | cat confdefs.h >>conftest.$ac_ext |
21633 | cat >>conftest.$ac_ext <<_ACEOF |
21670 | cat >>conftest.$ac_ext <<_ACEOF |
21634 | /* end confdefs.h. */ |
21671 | /* end confdefs.h. */ |
21635 | #include <$i> |
21672 | #include <$i> |
21636 | |
21673 | |
|
|
21674 | typedef u_int32_t ac__type_new_; |
21637 | int |
21675 | int |
21638 | main () |
21676 | main () |
21639 | { |
21677 | { |
21640 | if ((u_int32_t *) 0) |
21678 | if ((ac__type_new_ *) 0) |
21641 | return 0; |
21679 | return 0; |
21642 | if (sizeof (u_int32_t)) |
21680 | if (sizeof (ac__type_new_)) |
21643 | return 0; |
21681 | return 0; |
21644 | ; |
21682 | ; |
21645 | return 0; |
21683 | return 0; |
21646 | } |
21684 | } |
21647 | _ACEOF |
21685 | _ACEOF |
21648 | rm -f conftest.$ac_objext |
21686 | rm -f conftest.$ac_objext |
|
|
21687 | if { (ac_try="$ac_compile" |
|
|
21688 | case "(($ac_try" in |
|
|
21689 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21690 | *) ac_try_echo=$ac_try;; |
|
|
21691 | esac |
21649 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21692 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21650 | (eval $ac_compile) 2>conftest.er1 |
21693 | (eval "$ac_compile") 2>conftest.er1 |
21651 | ac_status=$? |
21694 | ac_status=$? |
21652 | grep -v '^ *+' conftest.er1 >conftest.err |
21695 | grep -v '^ *+' conftest.er1 >conftest.err |
21653 | rm -f conftest.er1 |
21696 | rm -f conftest.er1 |
21654 | cat conftest.err >&5 |
21697 | cat conftest.err >&5 |
21655 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21698 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21656 | (exit $ac_status); } && |
21699 | (exit $ac_status); } && { |
21657 | { ac_try='test -z "$ac_c_werror_flag" |
21700 | test -z "$ac_c_werror_flag" || |
21658 | || test ! -s conftest.err' |
21701 | test ! -s conftest.err |
21659 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21702 | } && test -s conftest.$ac_objext; then |
21660 | (eval $ac_try) 2>&5 |
|
|
21661 | ac_status=$? |
|
|
21662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21663 | (exit $ac_status); }; } && |
|
|
21664 | { ac_try='test -s conftest.$ac_objext' |
|
|
21665 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21666 | (eval $ac_try) 2>&5 |
|
|
21667 | ac_status=$? |
|
|
21668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21669 | (exit $ac_status); }; }; then |
|
|
21670 | ac_cv_type_u_int32_t=yes |
21703 | ac_cv_type_u_int32_t=yes |
21671 | else |
21704 | else |
21672 | echo "$as_me: failed program was:" >&5 |
21705 | echo "$as_me: failed program was:" >&5 |
21673 | sed 's/^/| /' conftest.$ac_ext >&5 |
21706 | sed 's/^/| /' conftest.$ac_ext >&5 |
21674 | |
21707 | |
21675 | ac_cv_type_u_int32_t=no |
21708 | ac_cv_type_u_int32_t=no |
21676 | fi |
21709 | fi |
|
|
21710 | |
21677 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21711 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21678 | fi |
21712 | fi |
21679 | echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 |
21713 | { echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 |
21680 | echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6 |
21714 | echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; } |
21681 | if test $ac_cv_type_u_int32_t = yes; then |
21715 | if test $ac_cv_type_u_int32_t = yes; then |
21682 | ac_cv_header_stdint_u=$i |
21716 | ac_cv_header_stdint_u=$i |
21683 | else |
21717 | else |
21684 | continue |
21718 | continue |
21685 | fi |
21719 | fi |
21686 | |
21720 | |
21687 | echo "$as_me:$LINENO: checking for uint64_t" >&5 |
21721 | { echo "$as_me:$LINENO: checking for uint64_t" >&5 |
21688 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 |
21722 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } |
21689 | if test "${ac_cv_type_uint64_t+set}" = set; then |
21723 | if test "${ac_cv_type_uint64_t+set}" = set; then |
21690 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21724 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21691 | else |
21725 | else |
21692 | cat >conftest.$ac_ext <<_ACEOF |
21726 | cat >conftest.$ac_ext <<_ACEOF |
21693 | /* confdefs.h. */ |
21727 | /* confdefs.h. */ |
… | |
… | |
21695 | cat confdefs.h >>conftest.$ac_ext |
21729 | cat confdefs.h >>conftest.$ac_ext |
21696 | cat >>conftest.$ac_ext <<_ACEOF |
21730 | cat >>conftest.$ac_ext <<_ACEOF |
21697 | /* end confdefs.h. */ |
21731 | /* end confdefs.h. */ |
21698 | #include<$i> |
21732 | #include<$i> |
21699 | |
21733 | |
|
|
21734 | typedef uint64_t ac__type_new_; |
21700 | int |
21735 | int |
21701 | main () |
21736 | main () |
21702 | { |
21737 | { |
21703 | if ((uint64_t *) 0) |
21738 | if ((ac__type_new_ *) 0) |
21704 | return 0; |
21739 | return 0; |
21705 | if (sizeof (uint64_t)) |
21740 | if (sizeof (ac__type_new_)) |
21706 | return 0; |
21741 | return 0; |
21707 | ; |
21742 | ; |
21708 | return 0; |
21743 | return 0; |
21709 | } |
21744 | } |
21710 | _ACEOF |
21745 | _ACEOF |
21711 | rm -f conftest.$ac_objext |
21746 | rm -f conftest.$ac_objext |
|
|
21747 | if { (ac_try="$ac_compile" |
|
|
21748 | case "(($ac_try" in |
|
|
21749 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21750 | *) ac_try_echo=$ac_try;; |
|
|
21751 | esac |
21712 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21752 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21713 | (eval $ac_compile) 2>conftest.er1 |
21753 | (eval "$ac_compile") 2>conftest.er1 |
21714 | ac_status=$? |
21754 | ac_status=$? |
21715 | grep -v '^ *+' conftest.er1 >conftest.err |
21755 | grep -v '^ *+' conftest.er1 >conftest.err |
21716 | rm -f conftest.er1 |
21756 | rm -f conftest.er1 |
21717 | cat conftest.err >&5 |
21757 | cat conftest.err >&5 |
21718 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21758 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21719 | (exit $ac_status); } && |
21759 | (exit $ac_status); } && { |
21720 | { ac_try='test -z "$ac_c_werror_flag" |
21760 | test -z "$ac_c_werror_flag" || |
21721 | || test ! -s conftest.err' |
21761 | test ! -s conftest.err |
21722 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21762 | } && test -s conftest.$ac_objext; then |
21723 | (eval $ac_try) 2>&5 |
|
|
21724 | ac_status=$? |
|
|
21725 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21726 | (exit $ac_status); }; } && |
|
|
21727 | { ac_try='test -s conftest.$ac_objext' |
|
|
21728 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21729 | (eval $ac_try) 2>&5 |
|
|
21730 | ac_status=$? |
|
|
21731 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21732 | (exit $ac_status); }; }; then |
|
|
21733 | ac_cv_type_uint64_t=yes |
21763 | ac_cv_type_uint64_t=yes |
21734 | else |
21764 | else |
21735 | echo "$as_me: failed program was:" >&5 |
21765 | echo "$as_me: failed program was:" >&5 |
21736 | sed 's/^/| /' conftest.$ac_ext >&5 |
21766 | sed 's/^/| /' conftest.$ac_ext >&5 |
21737 | |
21767 | |
21738 | ac_cv_type_uint64_t=no |
21768 | ac_cv_type_uint64_t=no |
21739 | fi |
21769 | fi |
|
|
21770 | |
21740 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21771 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21741 | fi |
21772 | fi |
21742 | echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
21773 | { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
21743 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 |
21774 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; } |
21744 | if test $ac_cv_type_uint64_t = yes; then |
21775 | if test $ac_cv_type_uint64_t = yes; then |
21745 | and64="(u_int64_t too)" |
21776 | and64="(u_int64_t too)" |
21746 | else |
21777 | else |
21747 | and64="" |
21778 | and64="" |
21748 | fi |
21779 | fi |
21749 | |
21780 | |
21750 | echo "$as_me:$LINENO: result: ... seen our u_int32_t in $i $and64" >&5 |
21781 | { echo "$as_me:$LINENO: result: ... seen our u_int32_t in $i $and64" >&5 |
21751 | echo "${ECHO_T}... seen our u_int32_t in $i $and64" >&6 |
21782 | echo "${ECHO_T}... seen our u_int32_t in $i $and64" >&6; } |
21752 | break; |
21783 | break; |
21753 | done |
21784 | done |
21754 | fi |
21785 | fi |
21755 | fi |
21786 | fi |
21756 | |
21787 | |
21757 | # ----------------- DONE inttypes.h checks MAYBE C basic types -------- |
21788 | # ----------------- DONE inttypes.h checks MAYBE C basic types -------- |
21758 | |
21789 | |
21759 | if test "$ac_cv_header_stdint_x" = "no-file" ; then |
21790 | if test "$ac_cv_header_stdint_x" = "no-file" ; then |
21760 | echo "$as_me:$LINENO: checking that size of char is " >&5 |
21791 | { echo "$as_me:$LINENO: checking that size of char is " >&5 |
21761 | echo $ECHO_N "checking that size of char is ... $ECHO_C" >&6 |
21792 | echo $ECHO_N "checking that size of char is ... $ECHO_C" >&6; } |
21762 | cat >conftest.$ac_ext <<_ACEOF |
21793 | cat >conftest.$ac_ext <<_ACEOF |
21763 | /* confdefs.h. */ |
21794 | /* confdefs.h. */ |
21764 | _ACEOF |
21795 | _ACEOF |
21765 | cat confdefs.h >>conftest.$ac_ext |
21796 | cat confdefs.h >>conftest.$ac_ext |
21766 | cat >>conftest.$ac_ext <<_ACEOF |
21797 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
21773 | ; |
21804 | ; |
21774 | return 0; |
21805 | return 0; |
21775 | } |
21806 | } |
21776 | _ACEOF |
21807 | _ACEOF |
21777 | rm -f conftest.$ac_objext |
21808 | rm -f conftest.$ac_objext |
|
|
21809 | if { (ac_try="$ac_compile" |
|
|
21810 | case "(($ac_try" in |
|
|
21811 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21812 | *) ac_try_echo=$ac_try;; |
|
|
21813 | esac |
21778 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21814 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21779 | (eval $ac_compile) 2>conftest.er1 |
21815 | (eval "$ac_compile") 2>conftest.er1 |
21780 | ac_status=$? |
21816 | ac_status=$? |
21781 | grep -v '^ *+' conftest.er1 >conftest.err |
21817 | grep -v '^ *+' conftest.er1 >conftest.err |
21782 | rm -f conftest.er1 |
21818 | rm -f conftest.er1 |
21783 | cat conftest.err >&5 |
21819 | cat conftest.err >&5 |
21784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21820 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21785 | (exit $ac_status); } && |
21821 | (exit $ac_status); } && { |
21786 | { ac_try='test -z "$ac_c_werror_flag" |
21822 | test -z "$ac_c_werror_flag" || |
21787 | || test ! -s conftest.err' |
21823 | test ! -s conftest.err |
21788 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21824 | } && test -s conftest.$ac_objext; then |
21789 | (eval $ac_try) 2>&5 |
|
|
21790 | ac_status=$? |
|
|
21791 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21792 | (exit $ac_status); }; } && |
|
|
21793 | { ac_try='test -s conftest.$ac_objext' |
|
|
21794 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21795 | (eval $ac_try) 2>&5 |
|
|
21796 | ac_status=$? |
|
|
21797 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21798 | (exit $ac_status); }; }; then |
|
|
21799 | : |
21825 | : |
21800 | else |
21826 | else |
21801 | echo "$as_me: failed program was:" >&5 |
21827 | echo "$as_me: failed program was:" >&5 |
21802 | sed 's/^/| /' conftest.$ac_ext >&5 |
21828 | sed 's/^/| /' conftest.$ac_ext >&5 |
21803 | |
21829 | |
21804 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
21830 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
21805 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
21831 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
21806 | { (exit 1); exit 1; }; } |
21832 | { (exit 1); exit 1; }; } |
21807 | fi |
21833 | fi |
|
|
21834 | |
21808 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21835 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21809 | echo "$as_me:$LINENO: result: yes" >&5 |
21836 | { echo "$as_me:$LINENO: result: yes" >&5 |
21810 | echo "${ECHO_T}yes" >&6 |
21837 | echo "${ECHO_T}yes" >&6; } |
21811 | echo "$as_me:$LINENO: checking that size of short is " >&5 |
21838 | { echo "$as_me:$LINENO: checking that size of short is " >&5 |
21812 | echo $ECHO_N "checking that size of short is ... $ECHO_C" >&6 |
21839 | echo $ECHO_N "checking that size of short is ... $ECHO_C" >&6; } |
21813 | cat >conftest.$ac_ext <<_ACEOF |
21840 | cat >conftest.$ac_ext <<_ACEOF |
21814 | /* confdefs.h. */ |
21841 | /* confdefs.h. */ |
21815 | _ACEOF |
21842 | _ACEOF |
21816 | cat confdefs.h >>conftest.$ac_ext |
21843 | cat confdefs.h >>conftest.$ac_ext |
21817 | cat >>conftest.$ac_ext <<_ACEOF |
21844 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
21824 | ; |
21851 | ; |
21825 | return 0; |
21852 | return 0; |
21826 | } |
21853 | } |
21827 | _ACEOF |
21854 | _ACEOF |
21828 | rm -f conftest.$ac_objext |
21855 | rm -f conftest.$ac_objext |
|
|
21856 | if { (ac_try="$ac_compile" |
|
|
21857 | case "(($ac_try" in |
|
|
21858 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21859 | *) ac_try_echo=$ac_try;; |
|
|
21860 | esac |
21829 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21861 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21830 | (eval $ac_compile) 2>conftest.er1 |
21862 | (eval "$ac_compile") 2>conftest.er1 |
21831 | ac_status=$? |
21863 | ac_status=$? |
21832 | grep -v '^ *+' conftest.er1 >conftest.err |
21864 | grep -v '^ *+' conftest.er1 >conftest.err |
21833 | rm -f conftest.er1 |
21865 | rm -f conftest.er1 |
21834 | cat conftest.err >&5 |
21866 | cat conftest.err >&5 |
21835 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21867 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21836 | (exit $ac_status); } && |
21868 | (exit $ac_status); } && { |
21837 | { ac_try='test -z "$ac_c_werror_flag" |
21869 | test -z "$ac_c_werror_flag" || |
21838 | || test ! -s conftest.err' |
21870 | test ! -s conftest.err |
21839 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21871 | } && test -s conftest.$ac_objext; then |
21840 | (eval $ac_try) 2>&5 |
|
|
21841 | ac_status=$? |
|
|
21842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21843 | (exit $ac_status); }; } && |
|
|
21844 | { ac_try='test -s conftest.$ac_objext' |
|
|
21845 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21846 | (eval $ac_try) 2>&5 |
|
|
21847 | ac_status=$? |
|
|
21848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21849 | (exit $ac_status); }; }; then |
|
|
21850 | : |
21872 | : |
21851 | else |
21873 | else |
21852 | echo "$as_me: failed program was:" >&5 |
21874 | echo "$as_me: failed program was:" >&5 |
21853 | sed 's/^/| /' conftest.$ac_ext >&5 |
21875 | sed 's/^/| /' conftest.$ac_ext >&5 |
21854 | |
21876 | |
21855 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
21877 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
21856 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
21878 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
21857 | { (exit 1); exit 1; }; } |
21879 | { (exit 1); exit 1; }; } |
21858 | fi |
21880 | fi |
|
|
21881 | |
21859 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21882 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21860 | echo "$as_me:$LINENO: result: yes" >&5 |
21883 | { echo "$as_me:$LINENO: result: yes" >&5 |
21861 | echo "${ECHO_T}yes" >&6 |
21884 | echo "${ECHO_T}yes" >&6; } |
21862 | echo "$as_me:$LINENO: checking that size of int is " >&5 |
21885 | { echo "$as_me:$LINENO: checking that size of int is " >&5 |
21863 | echo $ECHO_N "checking that size of int is ... $ECHO_C" >&6 |
21886 | echo $ECHO_N "checking that size of int is ... $ECHO_C" >&6; } |
21864 | cat >conftest.$ac_ext <<_ACEOF |
21887 | cat >conftest.$ac_ext <<_ACEOF |
21865 | /* confdefs.h. */ |
21888 | /* confdefs.h. */ |
21866 | _ACEOF |
21889 | _ACEOF |
21867 | cat confdefs.h >>conftest.$ac_ext |
21890 | cat confdefs.h >>conftest.$ac_ext |
21868 | cat >>conftest.$ac_ext <<_ACEOF |
21891 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
21875 | ; |
21898 | ; |
21876 | return 0; |
21899 | return 0; |
21877 | } |
21900 | } |
21878 | _ACEOF |
21901 | _ACEOF |
21879 | rm -f conftest.$ac_objext |
21902 | rm -f conftest.$ac_objext |
|
|
21903 | if { (ac_try="$ac_compile" |
|
|
21904 | case "(($ac_try" in |
|
|
21905 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21906 | *) ac_try_echo=$ac_try;; |
|
|
21907 | esac |
21880 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21908 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21881 | (eval $ac_compile) 2>conftest.er1 |
21909 | (eval "$ac_compile") 2>conftest.er1 |
21882 | ac_status=$? |
21910 | ac_status=$? |
21883 | grep -v '^ *+' conftest.er1 >conftest.err |
21911 | grep -v '^ *+' conftest.er1 >conftest.err |
21884 | rm -f conftest.er1 |
21912 | rm -f conftest.er1 |
21885 | cat conftest.err >&5 |
21913 | cat conftest.err >&5 |
21886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21914 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21887 | (exit $ac_status); } && |
21915 | (exit $ac_status); } && { |
21888 | { ac_try='test -z "$ac_c_werror_flag" |
21916 | test -z "$ac_c_werror_flag" || |
21889 | || test ! -s conftest.err' |
21917 | test ! -s conftest.err |
21890 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21918 | } && test -s conftest.$ac_objext; then |
21891 | (eval $ac_try) 2>&5 |
|
|
21892 | ac_status=$? |
|
|
21893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21894 | (exit $ac_status); }; } && |
|
|
21895 | { ac_try='test -s conftest.$ac_objext' |
|
|
21896 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21897 | (eval $ac_try) 2>&5 |
|
|
21898 | ac_status=$? |
|
|
21899 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21900 | (exit $ac_status); }; }; then |
|
|
21901 | : |
21919 | : |
21902 | else |
21920 | else |
21903 | echo "$as_me: failed program was:" >&5 |
21921 | echo "$as_me: failed program was:" >&5 |
21904 | sed 's/^/| /' conftest.$ac_ext >&5 |
21922 | sed 's/^/| /' conftest.$ac_ext >&5 |
21905 | |
21923 | |
21906 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
21924 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
21907 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
21925 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
21908 | { (exit 1); exit 1; }; } |
21926 | { (exit 1); exit 1; }; } |
21909 | fi |
21927 | fi |
|
|
21928 | |
21910 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21929 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21911 | echo "$as_me:$LINENO: result: yes" >&5 |
21930 | { echo "$as_me:$LINENO: result: yes" >&5 |
21912 | echo "${ECHO_T}yes" >&6 |
21931 | echo "${ECHO_T}yes" >&6; } |
21913 | echo "$as_me:$LINENO: checking that size of long is " >&5 |
21932 | { echo "$as_me:$LINENO: checking that size of long is " >&5 |
21914 | echo $ECHO_N "checking that size of long is ... $ECHO_C" >&6 |
21933 | echo $ECHO_N "checking that size of long is ... $ECHO_C" >&6; } |
21915 | cat >conftest.$ac_ext <<_ACEOF |
21934 | cat >conftest.$ac_ext <<_ACEOF |
21916 | /* confdefs.h. */ |
21935 | /* confdefs.h. */ |
21917 | _ACEOF |
21936 | _ACEOF |
21918 | cat confdefs.h >>conftest.$ac_ext |
21937 | cat confdefs.h >>conftest.$ac_ext |
21919 | cat >>conftest.$ac_ext <<_ACEOF |
21938 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
21926 | ; |
21945 | ; |
21927 | return 0; |
21946 | return 0; |
21928 | } |
21947 | } |
21929 | _ACEOF |
21948 | _ACEOF |
21930 | rm -f conftest.$ac_objext |
21949 | rm -f conftest.$ac_objext |
|
|
21950 | if { (ac_try="$ac_compile" |
|
|
21951 | case "(($ac_try" in |
|
|
21952 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21953 | *) ac_try_echo=$ac_try;; |
|
|
21954 | esac |
21931 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21955 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21932 | (eval $ac_compile) 2>conftest.er1 |
21956 | (eval "$ac_compile") 2>conftest.er1 |
21933 | ac_status=$? |
21957 | ac_status=$? |
21934 | grep -v '^ *+' conftest.er1 >conftest.err |
21958 | grep -v '^ *+' conftest.er1 >conftest.err |
21935 | rm -f conftest.er1 |
21959 | rm -f conftest.er1 |
21936 | cat conftest.err >&5 |
21960 | cat conftest.err >&5 |
21937 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21961 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21938 | (exit $ac_status); } && |
21962 | (exit $ac_status); } && { |
21939 | { ac_try='test -z "$ac_c_werror_flag" |
21963 | test -z "$ac_c_werror_flag" || |
21940 | || test ! -s conftest.err' |
21964 | test ! -s conftest.err |
21941 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21965 | } && test -s conftest.$ac_objext; then |
21942 | (eval $ac_try) 2>&5 |
|
|
21943 | ac_status=$? |
|
|
21944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21945 | (exit $ac_status); }; } && |
|
|
21946 | { ac_try='test -s conftest.$ac_objext' |
|
|
21947 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21948 | (eval $ac_try) 2>&5 |
|
|
21949 | ac_status=$? |
|
|
21950 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21951 | (exit $ac_status); }; }; then |
|
|
21952 | : |
21966 | : |
21953 | else |
21967 | else |
21954 | echo "$as_me: failed program was:" >&5 |
21968 | echo "$as_me: failed program was:" >&5 |
21955 | sed 's/^/| /' conftest.$ac_ext >&5 |
21969 | sed 's/^/| /' conftest.$ac_ext >&5 |
21956 | |
21970 | |
21957 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
21971 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
21958 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
21972 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
21959 | { (exit 1); exit 1; }; } |
21973 | { (exit 1); exit 1; }; } |
21960 | fi |
21974 | fi |
|
|
21975 | |
21961 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21976 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21962 | echo "$as_me:$LINENO: result: yes" >&5 |
21977 | { echo "$as_me:$LINENO: result: yes" >&5 |
21963 | echo "${ECHO_T}yes" >&6 |
21978 | echo "${ECHO_T}yes" >&6; } |
21964 | echo "$as_me:$LINENO: checking that size of void* is " >&5 |
21979 | { echo "$as_me:$LINENO: checking that size of void* is " >&5 |
21965 | echo $ECHO_N "checking that size of void* is ... $ECHO_C" >&6 |
21980 | echo $ECHO_N "checking that size of void* is ... $ECHO_C" >&6; } |
21966 | cat >conftest.$ac_ext <<_ACEOF |
21981 | cat >conftest.$ac_ext <<_ACEOF |
21967 | /* confdefs.h. */ |
21982 | /* confdefs.h. */ |
21968 | _ACEOF |
21983 | _ACEOF |
21969 | cat confdefs.h >>conftest.$ac_ext |
21984 | cat confdefs.h >>conftest.$ac_ext |
21970 | cat >>conftest.$ac_ext <<_ACEOF |
21985 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
21977 | ; |
21992 | ; |
21978 | return 0; |
21993 | return 0; |
21979 | } |
21994 | } |
21980 | _ACEOF |
21995 | _ACEOF |
21981 | rm -f conftest.$ac_objext |
21996 | rm -f conftest.$ac_objext |
|
|
21997 | if { (ac_try="$ac_compile" |
|
|
21998 | case "(($ac_try" in |
|
|
21999 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22000 | *) ac_try_echo=$ac_try;; |
|
|
22001 | esac |
21982 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22002 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21983 | (eval $ac_compile) 2>conftest.er1 |
22003 | (eval "$ac_compile") 2>conftest.er1 |
21984 | ac_status=$? |
22004 | ac_status=$? |
21985 | grep -v '^ *+' conftest.er1 >conftest.err |
22005 | grep -v '^ *+' conftest.er1 >conftest.err |
21986 | rm -f conftest.er1 |
22006 | rm -f conftest.er1 |
21987 | cat conftest.err >&5 |
22007 | cat conftest.err >&5 |
21988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21989 | (exit $ac_status); } && |
22009 | (exit $ac_status); } && { |
21990 | { ac_try='test -z "$ac_c_werror_flag" |
22010 | test -z "$ac_c_werror_flag" || |
21991 | || test ! -s conftest.err' |
22011 | test ! -s conftest.err |
21992 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22012 | } && test -s conftest.$ac_objext; then |
21993 | (eval $ac_try) 2>&5 |
|
|
21994 | ac_status=$? |
|
|
21995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21996 | (exit $ac_status); }; } && |
|
|
21997 | { ac_try='test -s conftest.$ac_objext' |
|
|
21998 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21999 | (eval $ac_try) 2>&5 |
|
|
22000 | ac_status=$? |
|
|
22001 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22002 | (exit $ac_status); }; }; then |
|
|
22003 | : |
22013 | : |
22004 | else |
22014 | else |
22005 | echo "$as_me: failed program was:" >&5 |
22015 | echo "$as_me: failed program was:" >&5 |
22006 | sed 's/^/| /' conftest.$ac_ext >&5 |
22016 | sed 's/^/| /' conftest.$ac_ext >&5 |
22007 | |
22017 | |
22008 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
22018 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
22009 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
22019 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
22010 | { (exit 1); exit 1; }; } |
22020 | { (exit 1); exit 1; }; } |
22011 | fi |
22021 | fi |
|
|
22022 | |
22012 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22023 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22013 | echo "$as_me:$LINENO: result: yes" >&5 |
22024 | { echo "$as_me:$LINENO: result: yes" >&5 |
22014 | echo "${ECHO_T}yes" >&6 |
22025 | echo "${ECHO_T}yes" >&6; } |
22015 | ac_cv_header_stdint_test="yes" |
22026 | ac_cv_header_stdint_test="yes" |
22016 | else |
22027 | else |
22017 | ac_cv_header_stdint_test="no" |
22028 | ac_cv_header_stdint_test="no" |
22018 | fi |
22029 | fi |
22019 | |
22030 | |
22020 | # ----------------- DONE inttypes.h checks START header ------------- |
22031 | # ----------------- DONE inttypes.h checks START header ------------- |
22021 | _ac_stdint_h=`echo "_$ac_stdint_h" | $as_tr_cpp` |
22032 | _ac_stdint_h=`echo "_$ac_stdint_h" | $as_tr_cpp` |
22022 | echo "$as_me:$LINENO: result: creating $ac_stdint_h : $_ac_stdint_h" >&5 |
22033 | { echo "$as_me:$LINENO: result: creating $ac_stdint_h : $_ac_stdint_h" >&5 |
22023 | echo "${ECHO_T}creating $ac_stdint_h : $_ac_stdint_h" >&6 |
22034 | echo "${ECHO_T}creating $ac_stdint_h : $_ac_stdint_h" >&6; } |
22024 | echo "#ifndef" $_ac_stdint_h >$ac_stdint_h |
22035 | echo "#ifndef" $_ac_stdint_h >$ac_stdint_h |
22025 | echo "#define" $_ac_stdint_h "1" >>$ac_stdint_h |
22036 | echo "#define" $_ac_stdint_h "1" >>$ac_stdint_h |
22026 | echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint_h |
22037 | echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint_h |
22027 | echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint_h |
22038 | echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint_h |
22028 | if test "$GCC" = "yes" ; then |
22039 | if test "$GCC" = "yes" ; then |
… | |
… | |
22044 | fi |
22055 | fi |
22045 | |
22056 | |
22046 | # ----------------- See if int_least and int_fast types are present |
22057 | # ----------------- See if int_least and int_fast types are present |
22047 | unset ac_cv_type_int_least32_t |
22058 | unset ac_cv_type_int_least32_t |
22048 | unset ac_cv_type_int_fast32_t |
22059 | unset ac_cv_type_int_fast32_t |
22049 | echo "$as_me:$LINENO: checking for int_least32_t" >&5 |
22060 | { echo "$as_me:$LINENO: checking for int_least32_t" >&5 |
22050 | echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6 |
22061 | echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6; } |
22051 | if test "${ac_cv_type_int_least32_t+set}" = set; then |
22062 | if test "${ac_cv_type_int_least32_t+set}" = set; then |
22052 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22063 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22053 | else |
22064 | else |
22054 | cat >conftest.$ac_ext <<_ACEOF |
22065 | cat >conftest.$ac_ext <<_ACEOF |
22055 | /* confdefs.h. */ |
22066 | /* confdefs.h. */ |
… | |
… | |
22057 | cat confdefs.h >>conftest.$ac_ext |
22068 | cat confdefs.h >>conftest.$ac_ext |
22058 | cat >>conftest.$ac_ext <<_ACEOF |
22069 | cat >>conftest.$ac_ext <<_ACEOF |
22059 | /* end confdefs.h. */ |
22070 | /* end confdefs.h. */ |
22060 | #include <$ac_cv_header_stdint> |
22071 | #include <$ac_cv_header_stdint> |
22061 | |
22072 | |
|
|
22073 | typedef int_least32_t ac__type_new_; |
22062 | int |
22074 | int |
22063 | main () |
22075 | main () |
22064 | { |
22076 | { |
22065 | if ((int_least32_t *) 0) |
22077 | if ((ac__type_new_ *) 0) |
22066 | return 0; |
22078 | return 0; |
22067 | if (sizeof (int_least32_t)) |
22079 | if (sizeof (ac__type_new_)) |
22068 | return 0; |
22080 | return 0; |
22069 | ; |
22081 | ; |
22070 | return 0; |
22082 | return 0; |
22071 | } |
22083 | } |
22072 | _ACEOF |
22084 | _ACEOF |
22073 | rm -f conftest.$ac_objext |
22085 | rm -f conftest.$ac_objext |
|
|
22086 | if { (ac_try="$ac_compile" |
|
|
22087 | case "(($ac_try" in |
|
|
22088 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22089 | *) ac_try_echo=$ac_try;; |
|
|
22090 | esac |
22074 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22091 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22075 | (eval $ac_compile) 2>conftest.er1 |
22092 | (eval "$ac_compile") 2>conftest.er1 |
22076 | ac_status=$? |
22093 | ac_status=$? |
22077 | grep -v '^ *+' conftest.er1 >conftest.err |
22094 | grep -v '^ *+' conftest.er1 >conftest.err |
22078 | rm -f conftest.er1 |
22095 | rm -f conftest.er1 |
22079 | cat conftest.err >&5 |
22096 | cat conftest.err >&5 |
22080 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22081 | (exit $ac_status); } && |
22098 | (exit $ac_status); } && { |
22082 | { ac_try='test -z "$ac_c_werror_flag" |
22099 | test -z "$ac_c_werror_flag" || |
22083 | || test ! -s conftest.err' |
22100 | test ! -s conftest.err |
22084 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22101 | } && test -s conftest.$ac_objext; then |
22085 | (eval $ac_try) 2>&5 |
|
|
22086 | ac_status=$? |
|
|
22087 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22088 | (exit $ac_status); }; } && |
|
|
22089 | { ac_try='test -s conftest.$ac_objext' |
|
|
22090 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
22091 | (eval $ac_try) 2>&5 |
|
|
22092 | ac_status=$? |
|
|
22093 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22094 | (exit $ac_status); }; }; then |
|
|
22095 | ac_cv_type_int_least32_t=yes |
22102 | ac_cv_type_int_least32_t=yes |
22096 | else |
22103 | else |
22097 | echo "$as_me: failed program was:" >&5 |
22104 | echo "$as_me: failed program was:" >&5 |
22098 | sed 's/^/| /' conftest.$ac_ext >&5 |
22105 | sed 's/^/| /' conftest.$ac_ext >&5 |
22099 | |
22106 | |
22100 | ac_cv_type_int_least32_t=no |
22107 | ac_cv_type_int_least32_t=no |
22101 | fi |
22108 | fi |
|
|
22109 | |
22102 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22110 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22103 | fi |
22111 | fi |
22104 | echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5 |
22112 | { echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5 |
22105 | echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6 |
22113 | echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6; } |
22106 | |
22114 | |
22107 | echo "$as_me:$LINENO: checking for int_fast32_t" >&5 |
22115 | { echo "$as_me:$LINENO: checking for int_fast32_t" >&5 |
22108 | echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6 |
22116 | echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6; } |
22109 | if test "${ac_cv_type_int_fast32_t+set}" = set; then |
22117 | if test "${ac_cv_type_int_fast32_t+set}" = set; then |
22110 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22118 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22111 | else |
22119 | else |
22112 | cat >conftest.$ac_ext <<_ACEOF |
22120 | cat >conftest.$ac_ext <<_ACEOF |
22113 | /* confdefs.h. */ |
22121 | /* confdefs.h. */ |
… | |
… | |
22115 | cat confdefs.h >>conftest.$ac_ext |
22123 | cat confdefs.h >>conftest.$ac_ext |
22116 | cat >>conftest.$ac_ext <<_ACEOF |
22124 | cat >>conftest.$ac_ext <<_ACEOF |
22117 | /* end confdefs.h. */ |
22125 | /* end confdefs.h. */ |
22118 | #include<$ac_cv_header_stdint> |
22126 | #include<$ac_cv_header_stdint> |
22119 | |
22127 | |
|
|
22128 | typedef int_fast32_t ac__type_new_; |
22120 | int |
22129 | int |
22121 | main () |
22130 | main () |
22122 | { |
22131 | { |
22123 | if ((int_fast32_t *) 0) |
22132 | if ((ac__type_new_ *) 0) |
22124 | return 0; |
22133 | return 0; |
22125 | if (sizeof (int_fast32_t)) |
22134 | if (sizeof (ac__type_new_)) |
22126 | return 0; |
22135 | return 0; |
22127 | ; |
22136 | ; |
22128 | return 0; |
22137 | return 0; |
22129 | } |
22138 | } |
22130 | _ACEOF |
22139 | _ACEOF |
22131 | rm -f conftest.$ac_objext |
22140 | rm -f conftest.$ac_objext |
|
|
22141 | if { (ac_try="$ac_compile" |
|
|
22142 | case "(($ac_try" in |
|
|
22143 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22144 | *) ac_try_echo=$ac_try;; |
|
|
22145 | esac |
22132 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22146 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22133 | (eval $ac_compile) 2>conftest.er1 |
22147 | (eval "$ac_compile") 2>conftest.er1 |
22134 | ac_status=$? |
22148 | ac_status=$? |
22135 | grep -v '^ *+' conftest.er1 >conftest.err |
22149 | grep -v '^ *+' conftest.er1 >conftest.err |
22136 | rm -f conftest.er1 |
22150 | rm -f conftest.er1 |
22137 | cat conftest.err >&5 |
22151 | cat conftest.err >&5 |
22138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22152 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22139 | (exit $ac_status); } && |
22153 | (exit $ac_status); } && { |
22140 | { ac_try='test -z "$ac_c_werror_flag" |
22154 | test -z "$ac_c_werror_flag" || |
22141 | || test ! -s conftest.err' |
22155 | test ! -s conftest.err |
22142 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22156 | } && test -s conftest.$ac_objext; then |
22143 | (eval $ac_try) 2>&5 |
|
|
22144 | ac_status=$? |
|
|
22145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22146 | (exit $ac_status); }; } && |
|
|
22147 | { ac_try='test -s conftest.$ac_objext' |
|
|
22148 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
22149 | (eval $ac_try) 2>&5 |
|
|
22150 | ac_status=$? |
|
|
22151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22152 | (exit $ac_status); }; }; then |
|
|
22153 | ac_cv_type_int_fast32_t=yes |
22157 | ac_cv_type_int_fast32_t=yes |
22154 | else |
22158 | else |
22155 | echo "$as_me: failed program was:" >&5 |
22159 | echo "$as_me: failed program was:" >&5 |
22156 | sed 's/^/| /' conftest.$ac_ext >&5 |
22160 | sed 's/^/| /' conftest.$ac_ext >&5 |
22157 | |
22161 | |
22158 | ac_cv_type_int_fast32_t=no |
22162 | ac_cv_type_int_fast32_t=no |
22159 | fi |
22163 | fi |
|
|
22164 | |
22160 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22165 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22161 | fi |
22166 | fi |
22162 | echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5 |
22167 | { echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5 |
22163 | echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6 |
22168 | echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6; } |
22164 | |
22169 | |
22165 | |
22170 | |
22166 | if test "$ac_cv_header_stdint" != "stddef.h" ; then |
22171 | if test "$ac_cv_header_stdint" != "stddef.h" ; then |
22167 | if test "$ac_cv_header_stdint" != "stdint.h" ; then |
22172 | if test "$ac_cv_header_stdint" != "stdint.h" ; then |
22168 | echo "$as_me:$LINENO: result: ..adding include stddef.h" >&5 |
22173 | { echo "$as_me:$LINENO: result: ..adding include stddef.h" >&5 |
22169 | echo "${ECHO_T}..adding include stddef.h" >&6 |
22174 | echo "${ECHO_T}..adding include stddef.h" >&6; } |
22170 | echo "#include <stddef.h>" >>$ac_stdint_h |
22175 | echo "#include <stddef.h>" >>$ac_stdint_h |
22171 | fi ; fi |
22176 | fi ; fi |
22172 | echo "$as_me:$LINENO: result: ..adding include $ac_cv_header_stdint" >&5 |
22177 | { echo "$as_me:$LINENO: result: ..adding include $ac_cv_header_stdint" >&5 |
22173 | echo "${ECHO_T}..adding include $ac_cv_header_stdint" >&6 |
22178 | echo "${ECHO_T}..adding include $ac_cv_header_stdint" >&6; } |
22174 | echo "#include <$ac_cv_header_stdint>" >>$ac_stdint_h |
22179 | echo "#include <$ac_cv_header_stdint>" >>$ac_stdint_h |
22175 | echo "" >>$ac_stdint_h |
22180 | echo "" >>$ac_stdint_h |
22176 | |
22181 | |
22177 | # ----------------- DONE header START basic int types ------------- |
22182 | # ----------------- DONE header START basic int types ------------- |
22178 | if test "$ac_cv_header_stdint_x" = "no-file" ; then |
22183 | if test "$ac_cv_header_stdint_x" = "no-file" ; then |
22179 | echo "$as_me:$LINENO: result: ... need to look at C basic types" >&5 |
22184 | { echo "$as_me:$LINENO: result: ... need to look at C basic types" >&5 |
22180 | echo "${ECHO_T}... need to look at C basic types" >&6 |
22185 | echo "${ECHO_T}... need to look at C basic types" >&6; } |
22181 | else |
22186 | else |
22182 | echo "$as_me:$LINENO: result: ... seen good stdint.h inttypes" >&5 |
22187 | { echo "$as_me:$LINENO: result: ... seen good stdint.h inttypes" >&5 |
22183 | echo "${ECHO_T}... seen good stdint.h inttypes" >&6 |
22188 | echo "${ECHO_T}... seen good stdint.h inttypes" >&6; } |
22184 | fi |
22189 | fi |
22185 | |
22190 | |
22186 | if test "$ac_cv_header_stdint_u" != "no-file" ; then |
22191 | if test "$ac_cv_header_stdint_u" != "no-file" ; then |
22187 | echo "$as_me:$LINENO: result: ... seen bsd/sysv typedefs" >&5 |
22192 | { echo "$as_me:$LINENO: result: ... seen bsd/sysv typedefs" >&5 |
22188 | echo "${ECHO_T}... seen bsd/sysv typedefs" >&6 |
22193 | echo "${ECHO_T}... seen bsd/sysv typedefs" >&6; } |
22189 | cat >>$ac_stdint_h <<EOF |
22194 | cat >>$ac_stdint_h <<EOF |
22190 | |
22195 | |
22191 | /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */ |
22196 | /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */ |
22192 | typedef u_int8_t uint8_t; |
22197 | typedef u_int8_t uint8_t; |
22193 | typedef u_int16_t uint16_t; |
22198 | typedef u_int16_t uint16_t; |
… | |
… | |
22211 | cat >>$ac_stdint_h <<EOF |
22216 | cat >>$ac_stdint_h <<EOF |
22212 | /* ------------ BITSPECIFIC INTTYPES SECTION --------------- */ |
22217 | /* ------------ BITSPECIFIC INTTYPES SECTION --------------- */ |
22213 | EOF |
22218 | EOF |
22214 | t="typedefs for a" |
22219 | t="typedefs for a" |
22215 | case "$ac_cv_sizeof_X" in |
22220 | case "$ac_cv_sizeof_X" in |
22216 | 1:2:2:2:4) echo "$as_me:$LINENO: result: ..adding $t normal 16-bit system" >&5 |
22221 | 1:2:2:2:4) { echo "$as_me:$LINENO: result: ..adding $t normal 16-bit system" >&5 |
22217 | echo "${ECHO_T}..adding $t normal 16-bit system" >&6 |
22222 | echo "${ECHO_T}..adding $t normal 16-bit system" >&6; } |
22218 | cat >>$ac_stdint_h <<EOF |
22223 | cat >>$ac_stdint_h <<EOF |
22219 | /* a normal 16-bit system */ |
22224 | /* a normal 16-bit system */ |
22220 | typedef unsigned char uint8_t; |
22225 | typedef unsigned char uint8_t; |
22221 | typedef unsigned short uint16_t; |
22226 | typedef unsigned short uint16_t; |
22222 | typedef unsigned long uint32_t; |
22227 | typedef unsigned long uint32_t; |
… | |
… | |
22226 | typedef short int16_t; |
22231 | typedef short int16_t; |
22227 | typedef long int32_t; |
22232 | typedef long int32_t; |
22228 | #endif |
22233 | #endif |
22229 | EOF |
22234 | EOF |
22230 | ;; |
22235 | ;; |
22231 | 1:2:2:4:4) echo "$as_me:$LINENO: result: ..adding $t 32-bit system derived from a 16-bit" >&5 |
22236 | 1:2:2:4:4) { echo "$as_me:$LINENO: result: ..adding $t 32-bit system derived from a 16-bit" >&5 |
22232 | echo "${ECHO_T}..adding $t 32-bit system derived from a 16-bit" >&6 |
22237 | echo "${ECHO_T}..adding $t 32-bit system derived from a 16-bit" >&6; } |
22233 | cat >>$ac_stdint_h <<EOF |
22238 | cat >>$ac_stdint_h <<EOF |
22234 | /* a 32-bit system derived from a 16-bit */ |
22239 | /* a 32-bit system derived from a 16-bit */ |
22235 | typedef unsigned char uint8_t; |
22240 | typedef unsigned char uint8_t; |
22236 | typedef unsigned short uint16_t; |
22241 | typedef unsigned short uint16_t; |
22237 | typedef unsigned int uint32_t; |
22242 | typedef unsigned int uint32_t; |
… | |
… | |
22241 | typedef short int16_t; |
22246 | typedef short int16_t; |
22242 | typedef int int32_t; |
22247 | typedef int int32_t; |
22243 | #endif |
22248 | #endif |
22244 | EOF |
22249 | EOF |
22245 | ;; |
22250 | ;; |
22246 | 1:2:4:4:4) echo "$as_me:$LINENO: result: ..adding $t normal 32-bit system" >&5 |
22251 | 1:2:4:4:4) { echo "$as_me:$LINENO: result: ..adding $t normal 32-bit system" >&5 |
22247 | echo "${ECHO_T}..adding $t normal 32-bit system" >&6 |
22252 | echo "${ECHO_T}..adding $t normal 32-bit system" >&6; } |
22248 | cat >>$ac_stdint_h <<EOF |
22253 | cat >>$ac_stdint_h <<EOF |
22249 | /* a normal 32-bit system */ |
22254 | /* a normal 32-bit system */ |
22250 | typedef unsigned char uint8_t; |
22255 | typedef unsigned char uint8_t; |
22251 | typedef unsigned short uint16_t; |
22256 | typedef unsigned short uint16_t; |
22252 | typedef unsigned int uint32_t; |
22257 | typedef unsigned int uint32_t; |
… | |
… | |
22256 | typedef short int16_t; |
22261 | typedef short int16_t; |
22257 | typedef int int32_t; |
22262 | typedef int int32_t; |
22258 | #endif |
22263 | #endif |
22259 | EOF |
22264 | EOF |
22260 | ;; |
22265 | ;; |
22261 | 1:2:4:4:8) echo "$as_me:$LINENO: result: ..adding $t 32-bit system prepared for 64-bit" >&5 |
22266 | 1:2:4:4:8) { echo "$as_me:$LINENO: result: ..adding $t 32-bit system prepared for 64-bit" >&5 |
22262 | echo "${ECHO_T}..adding $t 32-bit system prepared for 64-bit" >&6 |
22267 | echo "${ECHO_T}..adding $t 32-bit system prepared for 64-bit" >&6; } |
22263 | cat >>$ac_stdint_h <<EOF |
22268 | cat >>$ac_stdint_h <<EOF |
22264 | |
22269 | |
22265 | /* a 32-bit system prepared for 64-bit */ |
22270 | /* a 32-bit system prepared for 64-bit */ |
22266 | typedef unsigned char uint8_t; |
22271 | typedef unsigned char uint8_t; |
22267 | typedef unsigned short uint16_t; |
22272 | typedef unsigned short uint16_t; |
… | |
… | |
22272 | typedef short int16_t; |
22277 | typedef short int16_t; |
22273 | typedef int int32_t; |
22278 | typedef int int32_t; |
22274 | #endif |
22279 | #endif |
22275 | EOF |
22280 | EOF |
22276 | ;; |
22281 | ;; |
22277 | 1:2:4:8:8) echo "$as_me:$LINENO: result: ..adding $t normal 64-bit system" >&5 |
22282 | 1:2:4:8:8) { echo "$as_me:$LINENO: result: ..adding $t normal 64-bit system" >&5 |
22278 | echo "${ECHO_T}..adding $t normal 64-bit system" >&6 |
22283 | echo "${ECHO_T}..adding $t normal 64-bit system" >&6; } |
22279 | cat >>$ac_stdint_h <<EOF |
22284 | cat >>$ac_stdint_h <<EOF |
22280 | |
22285 | |
22281 | /* a normal 64-bit system */ |
22286 | /* a normal 64-bit system */ |
22282 | typedef unsigned char uint8_t; |
22287 | typedef unsigned char uint8_t; |
22283 | typedef unsigned short uint16_t; |
22288 | typedef unsigned short uint16_t; |
… | |
… | |
22288 | typedef short int16_t; |
22293 | typedef short int16_t; |
22289 | typedef int int32_t; |
22294 | typedef int int32_t; |
22290 | #endif |
22295 | #endif |
22291 | EOF |
22296 | EOF |
22292 | ;; |
22297 | ;; |
22293 | 1:2:4:8:4) echo "$as_me:$LINENO: result: ..adding $t 64-bit system derived from a 32-bit" >&5 |
22298 | 1:2:4:8:4) { echo "$as_me:$LINENO: result: ..adding $t 64-bit system derived from a 32-bit" >&5 |
22294 | echo "${ECHO_T}..adding $t 64-bit system derived from a 32-bit" >&6 |
22299 | echo "${ECHO_T}..adding $t 64-bit system derived from a 32-bit" >&6; } |
22295 | cat >>$ac_stdint_h <<EOF |
22300 | cat >>$ac_stdint_h <<EOF |
22296 | |
22301 | |
22297 | /* a 64-bit system derived from a 32-bit system */ |
22302 | /* a 64-bit system derived from a 32-bit system */ |
22298 | typedef unsigned char uint8_t; |
22303 | typedef unsigned char uint8_t; |
22299 | typedef unsigned short uint16_t; |
22304 | typedef unsigned short uint16_t; |
… | |
… | |
22315 | esac |
22320 | esac |
22316 | fi |
22321 | fi |
22317 | |
22322 | |
22318 | # ------------- DONE basic int types START int64_t types ------------ |
22323 | # ------------- DONE basic int types START int64_t types ------------ |
22319 | if test "$ac_cv_type_uint64_t" = "yes" |
22324 | if test "$ac_cv_type_uint64_t" = "yes" |
22320 | then echo "$as_me:$LINENO: result: ... seen good uint64_t" >&5 |
22325 | then { echo "$as_me:$LINENO: result: ... seen good uint64_t" >&5 |
22321 | echo "${ECHO_T}... seen good uint64_t" >&6 |
22326 | echo "${ECHO_T}... seen good uint64_t" >&6; } |
22322 | cat >>$ac_stdint_h <<EOF |
22327 | cat >>$ac_stdint_h <<EOF |
22323 | |
22328 | |
22324 | /* system headers have good uint64_t */ |
22329 | /* system headers have good uint64_t */ |
22325 | #ifndef _HAVE_UINT64_T |
22330 | #ifndef _HAVE_UINT64_T |
22326 | #define _HAVE_UINT64_T |
22331 | #define _HAVE_UINT64_T |
22327 | #endif |
22332 | #endif |
22328 | EOF |
22333 | EOF |
22329 | |
22334 | |
22330 | elif test "$ac_cv_type_u_int64_t" = "yes" |
22335 | elif test "$ac_cv_type_u_int64_t" = "yes" |
22331 | then echo "$as_me:$LINENO: result: ..adding typedef u_int64_t uint64_t" >&5 |
22336 | then { echo "$as_me:$LINENO: result: ..adding typedef u_int64_t uint64_t" >&5 |
22332 | echo "${ECHO_T}..adding typedef u_int64_t uint64_t" >&6 |
22337 | echo "${ECHO_T}..adding typedef u_int64_t uint64_t" >&6; } |
22333 | cat >>$ac_stdint_h <<EOF |
22338 | cat >>$ac_stdint_h <<EOF |
22334 | |
22339 | |
22335 | /* system headers have an u_int64_t */ |
22340 | /* system headers have an u_int64_t */ |
22336 | #ifndef _HAVE_UINT64_T |
22341 | #ifndef _HAVE_UINT64_T |
22337 | #define _HAVE_UINT64_T |
22342 | #define _HAVE_UINT64_T |
22338 | typedef u_int64_t uint64_t; |
22343 | typedef u_int64_t uint64_t; |
22339 | #endif |
22344 | #endif |
22340 | EOF |
22345 | EOF |
22341 | else echo "$as_me:$LINENO: result: ..adding generic uint64_t runtime checks" >&5 |
22346 | else { echo "$as_me:$LINENO: result: ..adding generic uint64_t runtime checks" >&5 |
22342 | echo "${ECHO_T}..adding generic uint64_t runtime checks" >&6 |
22347 | echo "${ECHO_T}..adding generic uint64_t runtime checks" >&6; } |
22343 | cat >>$ac_stdint_h <<EOF |
22348 | cat >>$ac_stdint_h <<EOF |
22344 | |
22349 | |
22345 | /* -------------------- 64 BIT GENERIC SECTION -------------------- */ |
22350 | /* -------------------- 64 BIT GENERIC SECTION -------------------- */ |
22346 | /* here are some common heuristics using compiler runtime specifics */ |
22351 | /* here are some common heuristics using compiler runtime specifics */ |
22347 | #if defined __STDC_VERSION__ && defined __STDC_VERSION__ > 199901L |
22352 | #if defined __STDC_VERSION__ && defined __STDC_VERSION__ > 199901L |
… | |
… | |
22385 | #endif |
22390 | #endif |
22386 | EOF |
22391 | EOF |
22387 | |
22392 | |
22388 | # plus a default 64-bit for systems that are likely to be 64-bit ready |
22393 | # plus a default 64-bit for systems that are likely to be 64-bit ready |
22389 | case "$ac_cv_sizeof_x:$ac_cv_sizeof_voidp:$ac_cv_sizeof_long" in |
22394 | case "$ac_cv_sizeof_x:$ac_cv_sizeof_voidp:$ac_cv_sizeof_long" in |
22390 | 1:2:8:8) echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 |
22395 | 1:2:8:8) { echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 |
22391 | echo "${ECHO_T}..adding uint64_t default" >&6 |
22396 | echo "${ECHO_T}..adding uint64_t default" >&6; } |
22392 | cat >>$ac_stdint_h <<EOF |
22397 | cat >>$ac_stdint_h <<EOF |
22393 | /* DEFAULT: */ |
22398 | /* DEFAULT: */ |
22394 | /* seen normal 64-bit system, CC has sizeof(long and void*) == 8 bytes */ |
22399 | /* seen normal 64-bit system, CC has sizeof(long and void*) == 8 bytes */ |
22395 | #ifndef _HAVE_UINT64_T |
22400 | #ifndef _HAVE_UINT64_T |
22396 | #define _HAVE_UINT64_T |
22401 | #define _HAVE_UINT64_T |
22397 | typedef long int64_t; |
22402 | typedef long int64_t; |
22398 | typedef unsigned long uint64_t; |
22403 | typedef unsigned long uint64_t; |
22399 | #endif |
22404 | #endif |
22400 | EOF |
22405 | EOF |
22401 | ;; |
22406 | ;; |
22402 | 1:2:4:8) echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 |
22407 | 1:2:4:8) { echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 |
22403 | echo "${ECHO_T}..adding uint64_t default" >&6 |
22408 | echo "${ECHO_T}..adding uint64_t default" >&6; } |
22404 | cat >>$ac_stdint_h <<EOF |
22409 | cat >>$ac_stdint_h <<EOF |
22405 | /* DEFAULT: */ |
22410 | /* DEFAULT: */ |
22406 | /* seen 32-bit system prepared for 64-bit, CC has sizeof(long) == 8 bytes */ |
22411 | /* seen 32-bit system prepared for 64-bit, CC has sizeof(long) == 8 bytes */ |
22407 | #ifndef _HAVE_UINT64_T |
22412 | #ifndef _HAVE_UINT64_T |
22408 | #define _HAVE_UINT64_T |
22413 | #define _HAVE_UINT64_T |
22409 | typedef long int64_t; |
22414 | typedef long int64_t; |
22410 | typedef unsigned long uint64_t; |
22415 | typedef unsigned long uint64_t; |
22411 | #endif |
22416 | #endif |
22412 | EOF |
22417 | EOF |
22413 | ;; |
22418 | ;; |
22414 | 1:2:8:4) echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 |
22419 | 1:2:8:4) { echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 |
22415 | echo "${ECHO_T}..adding uint64_t default" >&6 |
22420 | echo "${ECHO_T}..adding uint64_t default" >&6; } |
22416 | cat >>$ac_stdint_h <<EOF |
22421 | cat >>$ac_stdint_h <<EOF |
22417 | /* DEFAULT: */ |
22422 | /* DEFAULT: */ |
22418 | /* seen 64-bit derived from a 32-bit, CC has sizeof(long) == 4 bytes */ |
22423 | /* seen 64-bit derived from a 32-bit, CC has sizeof(long) == 4 bytes */ |
22419 | #ifndef _HAVE_UINT64_T |
22424 | #ifndef _HAVE_UINT64_T |
22420 | #define _HAVE_UINT64_T |
22425 | #define _HAVE_UINT64_T |
… | |
… | |
22470 | typedef unsigned long uintptr_t; |
22475 | typedef unsigned long uintptr_t; |
22471 | typedef long intptr_t; |
22476 | typedef long intptr_t; |
22472 | EOF |
22477 | EOF |
22473 | ;; |
22478 | ;; |
22474 | esac |
22479 | esac |
22475 | echo "$as_me:$LINENO: result: ..adding typedef $a intptr_t" >&5 |
22480 | { echo "$as_me:$LINENO: result: ..adding typedef $a intptr_t" >&5 |
22476 | echo "${ECHO_T}..adding typedef $a intptr_t" >&6 |
22481 | echo "${ECHO_T}..adding typedef $a intptr_t" >&6; } |
22477 | fi |
22482 | fi |
22478 | |
22483 | |
22479 | # ------------- DONE intptr types START int_least types ------------ |
22484 | # ------------- DONE intptr types START int_least types ------------ |
22480 | if test "$ac_cv_type_int_least32_t" = "no"; then |
22485 | if test "$ac_cv_type_int_least32_t" = "no"; then |
22481 | echo "$as_me:$LINENO: result: ..adding generic int_least-types" >&5 |
22486 | { echo "$as_me:$LINENO: result: ..adding generic int_least-types" >&5 |
22482 | echo "${ECHO_T}..adding generic int_least-types" >&6 |
22487 | echo "${ECHO_T}..adding generic int_least-types" >&6; } |
22483 | cat >>$ac_stdint_h <<EOF |
22488 | cat >>$ac_stdint_h <<EOF |
22484 | |
22489 | |
22485 | /* --------------GENERIC INT_LEAST ------------------ */ |
22490 | /* --------------GENERIC INT_LEAST ------------------ */ |
22486 | |
22491 | |
22487 | typedef int8_t int_least8_t; |
22492 | typedef int8_t int_least8_t; |
… | |
… | |
22500 | EOF |
22505 | EOF |
22501 | fi |
22506 | fi |
22502 | |
22507 | |
22503 | # ------------- DONE intptr types START int_least types ------------ |
22508 | # ------------- DONE intptr types START int_least types ------------ |
22504 | if test "$ac_cv_type_int_fast32_t" = "no"; then |
22509 | if test "$ac_cv_type_int_fast32_t" = "no"; then |
22505 | echo "$as_me:$LINENO: result: ..adding generic int_fast-types" >&5 |
22510 | { echo "$as_me:$LINENO: result: ..adding generic int_fast-types" >&5 |
22506 | echo "${ECHO_T}..adding generic int_fast-types" >&6 |
22511 | echo "${ECHO_T}..adding generic int_fast-types" >&6; } |
22507 | cat >>$ac_stdint_h <<EOF |
22512 | cat >>$ac_stdint_h <<EOF |
22508 | |
22513 | |
22509 | /* --------------GENERIC INT_FAST ------------------ */ |
22514 | /* --------------GENERIC INT_FAST ------------------ */ |
22510 | |
22515 | |
22511 | typedef int8_t int_fast8_t; |
22516 | typedef int8_t int_fast8_t; |
… | |
… | |
22535 | typedef unsigned long uintmax_t; |
22540 | typedef unsigned long uintmax_t; |
22536 | #endif |
22541 | #endif |
22537 | EOF |
22542 | EOF |
22538 | fi |
22543 | fi |
22539 | |
22544 | |
22540 | echo "$as_me:$LINENO: result: ... DONE $ac_stdint_h" >&5 |
22545 | { echo "$as_me:$LINENO: result: ... DONE $ac_stdint_h" >&5 |
22541 | echo "${ECHO_T}... DONE $ac_stdint_h" >&6 |
22546 | echo "${ECHO_T}... DONE $ac_stdint_h" >&6; } |
22542 | cat >>$ac_stdint_h <<EOF |
22547 | cat >>$ac_stdint_h <<EOF |
22543 | |
22548 | |
22544 | /* once */ |
22549 | /* once */ |
22545 | #endif |
22550 | #endif |
22546 | #endif |
22551 | #endif |
… | |
… | |
22576 | |
22581 | |
22577 | #------------------------------------------------------------------------------- |
22582 | #------------------------------------------------------------------------------- |
22578 | # __FUNCTION__ |
22583 | # __FUNCTION__ |
22579 | #------------------------------------------------------------------------------- |
22584 | #------------------------------------------------------------------------------- |
22580 | |
22585 | |
22581 | echo "$as_me:$LINENO: checking __FUNCTION__" >&5 |
22586 | { echo "$as_me:$LINENO: checking __FUNCTION__" >&5 |
22582 | echo $ECHO_N "checking __FUNCTION__... $ECHO_C" >&6 |
22587 | echo $ECHO_N "checking __FUNCTION__... $ECHO_C" >&6; } |
22583 | func=none |
22588 | func=none |
22584 | cat >conftest.$ac_ext <<_ACEOF |
22589 | cat >conftest.$ac_ext <<_ACEOF |
22585 | int x() { f(__FUNCTION__); } |
22590 | int x() { f(__FUNCTION__); } |
22586 | _ACEOF |
22591 | _ACEOF |
22587 | rm -f conftest.$ac_objext |
22592 | rm -f conftest.$ac_objext |
|
|
22593 | if { (ac_try="$ac_compile" |
|
|
22594 | case "(($ac_try" in |
|
|
22595 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22596 | *) ac_try_echo=$ac_try;; |
|
|
22597 | esac |
22588 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22598 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22589 | (eval $ac_compile) 2>conftest.er1 |
22599 | (eval "$ac_compile") 2>conftest.er1 |
22590 | ac_status=$? |
22600 | ac_status=$? |
22591 | grep -v '^ *+' conftest.er1 >conftest.err |
22601 | grep -v '^ *+' conftest.er1 >conftest.err |
22592 | rm -f conftest.er1 |
22602 | rm -f conftest.er1 |
22593 | cat conftest.err >&5 |
22603 | cat conftest.err >&5 |
22594 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22595 | (exit $ac_status); } && |
22605 | (exit $ac_status); } && { |
22596 | { ac_try='test -z "$ac_c_werror_flag" |
22606 | test -z "$ac_c_werror_flag" || |
22597 | || test ! -s conftest.err' |
22607 | test ! -s conftest.err |
22598 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22608 | } && test -s conftest.$ac_objext; then |
22599 | (eval $ac_try) 2>&5 |
|
|
22600 | ac_status=$? |
|
|
22601 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22602 | (exit $ac_status); }; } && |
|
|
22603 | { ac_try='test -s conftest.$ac_objext' |
|
|
22604 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
22605 | (eval $ac_try) 2>&5 |
|
|
22606 | ac_status=$? |
|
|
22607 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22608 | (exit $ac_status); }; }; then |
|
|
22609 | echo "$as_me:$LINENO: result: __FUNCTION__" >&5 |
22609 | { echo "$as_me:$LINENO: result: __FUNCTION__" >&5 |
22610 | echo "${ECHO_T}__FUNCTION__" >&6 |
22610 | echo "${ECHO_T}__FUNCTION__" >&6; } |
22611 | |
22611 | |
22612 | cat >>confdefs.h <<\_ACEOF |
22612 | cat >>confdefs.h <<\_ACEOF |
22613 | #define HAVE___FUNCTION__ |
22613 | #define HAVE___FUNCTION__ |
22614 | _ACEOF |
22614 | _ACEOF |
22615 | |
22615 | |
22616 | else |
22616 | else |
22617 | echo "$as_me: failed program was:" >&5 |
22617 | echo "$as_me: failed program was:" >&5 |
22618 | sed 's/^/| /' conftest.$ac_ext >&5 |
22618 | sed 's/^/| /' conftest.$ac_ext >&5 |
22619 | |
22619 | |
22620 | cat >conftest.$ac_ext <<_ACEOF |
22620 | cat >conftest.$ac_ext <<_ACEOF |
22621 | int x() { f(__func__); } |
22621 | int x() { f(__func__); } |
22622 | _ACEOF |
22622 | _ACEOF |
22623 | rm -f conftest.$ac_objext |
22623 | rm -f conftest.$ac_objext |
|
|
22624 | if { (ac_try="$ac_compile" |
|
|
22625 | case "(($ac_try" in |
|
|
22626 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22627 | *) ac_try_echo=$ac_try;; |
|
|
22628 | esac |
22624 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22629 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22625 | (eval $ac_compile) 2>conftest.er1 |
22630 | (eval "$ac_compile") 2>conftest.er1 |
22626 | ac_status=$? |
22631 | ac_status=$? |
22627 | grep -v '^ *+' conftest.er1 >conftest.err |
22632 | grep -v '^ *+' conftest.er1 >conftest.err |
22628 | rm -f conftest.er1 |
22633 | rm -f conftest.er1 |
22629 | cat conftest.err >&5 |
22634 | cat conftest.err >&5 |
22630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22631 | (exit $ac_status); } && |
22636 | (exit $ac_status); } && { |
22632 | { ac_try='test -z "$ac_c_werror_flag" |
22637 | test -z "$ac_c_werror_flag" || |
22633 | || test ! -s conftest.err' |
22638 | test ! -s conftest.err |
22634 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22639 | } && test -s conftest.$ac_objext; then |
22635 | (eval $ac_try) 2>&5 |
|
|
22636 | ac_status=$? |
|
|
22637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22638 | (exit $ac_status); }; } && |
|
|
22639 | { ac_try='test -s conftest.$ac_objext' |
|
|
22640 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
22641 | (eval $ac_try) 2>&5 |
|
|
22642 | ac_status=$? |
|
|
22643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22644 | (exit $ac_status); }; }; then |
|
|
22645 | echo "$as_me:$LINENO: result: __func__" >&5 |
22640 | { echo "$as_me:$LINENO: result: __func__" >&5 |
22646 | echo "${ECHO_T}__func__" >&6 |
22641 | echo "${ECHO_T}__func__" >&6; } |
22647 | |
22642 | |
22648 | cat >>confdefs.h <<\_ACEOF |
22643 | cat >>confdefs.h <<\_ACEOF |
22649 | #define HAVE___FUNC__ |
22644 | #define HAVE___FUNC__ |
22650 | _ACEOF |
22645 | _ACEOF |
22651 | |
22646 | |
22652 | else |
22647 | else |
22653 | echo "$as_me: failed program was:" >&5 |
22648 | echo "$as_me: failed program was:" >&5 |
22654 | sed 's/^/| /' conftest.$ac_ext >&5 |
22649 | sed 's/^/| /' conftest.$ac_ext >&5 |
22655 | |
22650 | |
|
|
22651 | |
22656 | fi |
22652 | fi |
|
|
22653 | |
22657 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22654 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22658 | fi |
22655 | fi |
|
|
22656 | |
22659 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22657 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22660 | |
22658 | |
22661 | |
22659 | |
22662 | #------------------------------------------------------------------------------- |
22660 | #------------------------------------------------------------------------------- |
22663 | # Setup build directories |
22661 | # Setup build directories |
22664 | #------------------------------------------------------------------------------- |
22662 | #------------------------------------------------------------------------------- |
… | |
… | |
22686 | |
22684 | |
22687 | #------------------------------------------------------------------------------- |
22685 | #------------------------------------------------------------------------------- |
22688 | # Check to see if we want to link libbind |
22686 | # Check to see if we want to link libbind |
22689 | #------------------------------------------------------------------------------- |
22687 | #------------------------------------------------------------------------------- |
22690 | |
22688 | |
22691 | echo "$as_me:$LINENO: checking whether to link libbind is eanbled" >&5 |
22689 | { echo "$as_me:$LINENO: checking whether to link libbind is eanbled" >&5 |
22692 | echo $ECHO_N "checking whether to link libbind is eanbled... $ECHO_C" >&6 |
22690 | echo $ECHO_N "checking whether to link libbind is eanbled... $ECHO_C" >&6; } |
22693 | # Check whether --enable-libbind or --disable-libbind was given. |
22691 | # Check whether --enable-libbind was given. |
22694 | if test "${enable_libbind+set}" = set; then |
22692 | if test "${enable_libbind+set}" = set; then |
22695 | enableval="$enable_libbind" |
22693 | enableval=$enable_libbind; case "${enableval}" in |
22696 | case "${enableval}" in |
|
|
22697 | yes) |
22694 | yes) |
22698 | libbind=true |
22695 | libbind=true |
22699 | echo "$as_me:$LINENO: result: yes" >&5 |
22696 | { echo "$as_me:$LINENO: result: yes" >&5 |
22700 | echo "${ECHO_T}yes" >&6 |
22697 | echo "${ECHO_T}yes" >&6; } |
22701 | ;; |
22698 | ;; |
22702 | no) |
22699 | no) |
22703 | libbind=false |
22700 | libbind=false |
22704 | echo "$as_me:$LINENO: result: no" >&5 |
22701 | { echo "$as_me:$LINENO: result: no" >&5 |
22705 | echo "${ECHO_T}no" >&6 |
22702 | echo "${ECHO_T}no" >&6; } |
22706 | ;; |
22703 | ;; |
22707 | *) |
22704 | *) |
22708 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libbind" >&5 |
22705 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libbind" >&5 |
22709 | echo "$as_me: error: bad value ${enableval} for --enable-libbind" >&2;} |
22706 | echo "$as_me: error: bad value ${enableval} for --enable-libbind" >&2;} |
22710 | { (exit 1); exit 1; }; } |
22707 | { (exit 1); exit 1; }; } |
22711 | ;; |
22708 | ;; |
22712 | esac |
22709 | esac |
22713 | else |
22710 | else |
|
|
22711 | libbind=false |
22714 | libbind=false echo "$as_me:$LINENO: result: no" >&5 |
22712 | { echo "$as_me:$LINENO: result: no" >&5 |
22715 | echo "${ECHO_T}no" >&6 |
22713 | echo "${ECHO_T}no" >&6; } |
22716 | fi; |
22714 | fi |
|
|
22715 | |
22717 | |
22716 | |
22718 | if test "$libbind" = "true"; then |
22717 | if test "$libbind" = "true"; then |
22719 | LIBSPF_RESOLV_LIB="-lbind" |
22718 | LIBSPF_RESOLV_LIB="-lbind" |
22720 | fi |
22719 | fi |
22721 | |
22720 | |
… | |
… | |
22729 | |
22728 | |
22730 | |
22729 | |
22731 | for ac_func in res_query |
22730 | for ac_func in res_query |
22732 | do |
22731 | do |
22733 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
22732 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
22734 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
22733 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
22735 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
22734 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
22736 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
22735 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
22737 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22736 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22738 | else |
22737 | else |
22739 | cat >conftest.$ac_ext <<_ACEOF |
22738 | cat >conftest.$ac_ext <<_ACEOF |
22740 | /* confdefs.h. */ |
22739 | /* confdefs.h. */ |
22741 | _ACEOF |
22740 | _ACEOF |
… | |
… | |
22757 | # include <assert.h> |
22756 | # include <assert.h> |
22758 | #endif |
22757 | #endif |
22759 | |
22758 | |
22760 | #undef $ac_func |
22759 | #undef $ac_func |
22761 | |
22760 | |
22762 | /* Override any gcc2 internal prototype to avoid an error. */ |
22761 | /* Override any GCC internal prototype to avoid an error. |
|
|
22762 | Use char because int might match the return type of a GCC |
|
|
22763 | builtin and then its argument prototype would still apply. */ |
22763 | #ifdef __cplusplus |
22764 | #ifdef __cplusplus |
22764 | extern "C" |
22765 | extern "C" |
22765 | { |
|
|
22766 | #endif |
22766 | #endif |
22767 | /* We use char because int might match the return type of a gcc2 |
|
|
22768 | builtin and then its argument prototype would still apply. */ |
|
|
22769 | char $ac_func (); |
22767 | char $ac_func (); |
22770 | /* The GNU C library defines this for functions which it implements |
22768 | /* The GNU C library defines this for functions which it implements |
22771 | to always fail with ENOSYS. Some functions are actually named |
22769 | to always fail with ENOSYS. Some functions are actually named |
22772 | something starting with __ and the normal name is an alias. */ |
22770 | something starting with __ and the normal name is an alias. */ |
22773 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
22771 | #if defined __stub_$ac_func || defined __stub___$ac_func |
22774 | choke me |
22772 | choke me |
22775 | #else |
|
|
22776 | char (*f) () = $ac_func; |
|
|
22777 | #endif |
|
|
22778 | #ifdef __cplusplus |
|
|
22779 | } |
|
|
22780 | #endif |
22773 | #endif |
22781 | |
22774 | |
22782 | int |
22775 | int |
22783 | main () |
22776 | main () |
22784 | { |
22777 | { |
22785 | return f != $ac_func; |
22778 | return $ac_func (); |
22786 | ; |
22779 | ; |
22787 | return 0; |
22780 | return 0; |
22788 | } |
22781 | } |
22789 | _ACEOF |
22782 | _ACEOF |
22790 | rm -f conftest.$ac_objext conftest$ac_exeext |
22783 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
22784 | if { (ac_try="$ac_link" |
|
|
22785 | case "(($ac_try" in |
|
|
22786 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22787 | *) ac_try_echo=$ac_try;; |
|
|
22788 | esac |
22791 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
22789 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22792 | (eval $ac_link) 2>conftest.er1 |
22790 | (eval "$ac_link") 2>conftest.er1 |
22793 | ac_status=$? |
22791 | ac_status=$? |
22794 | grep -v '^ *+' conftest.er1 >conftest.err |
22792 | grep -v '^ *+' conftest.er1 >conftest.err |
22795 | rm -f conftest.er1 |
22793 | rm -f conftest.er1 |
22796 | cat conftest.err >&5 |
22794 | cat conftest.err >&5 |
22797 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22798 | (exit $ac_status); } && |
22796 | (exit $ac_status); } && { |
22799 | { ac_try='test -z "$ac_c_werror_flag" |
22797 | test -z "$ac_c_werror_flag" || |
22800 | || test ! -s conftest.err' |
22798 | test ! -s conftest.err |
22801 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22799 | } && test -s conftest$ac_exeext && |
22802 | (eval $ac_try) 2>&5 |
22800 | $as_test_x conftest$ac_exeext; then |
22803 | ac_status=$? |
|
|
22804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22805 | (exit $ac_status); }; } && |
|
|
22806 | { ac_try='test -s conftest$ac_exeext' |
|
|
22807 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
22808 | (eval $ac_try) 2>&5 |
|
|
22809 | ac_status=$? |
|
|
22810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22811 | (exit $ac_status); }; }; then |
|
|
22812 | eval "$as_ac_var=yes" |
22801 | eval "$as_ac_var=yes" |
22813 | else |
22802 | else |
22814 | echo "$as_me: failed program was:" >&5 |
22803 | echo "$as_me: failed program was:" >&5 |
22815 | sed 's/^/| /' conftest.$ac_ext >&5 |
22804 | sed 's/^/| /' conftest.$ac_ext >&5 |
22816 | |
22805 | |
22817 | eval "$as_ac_var=no" |
22806 | eval "$as_ac_var=no" |
22818 | fi |
22807 | fi |
22819 | rm -f conftest.err conftest.$ac_objext \ |
22808 | |
|
|
22809 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
22820 | conftest$ac_exeext conftest.$ac_ext |
22810 | conftest$ac_exeext conftest.$ac_ext |
22821 | fi |
22811 | fi |
22822 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
22812 | ac_res=`eval echo '${'$as_ac_var'}'` |
22823 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
22813 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
22814 | echo "${ECHO_T}$ac_res" >&6; } |
22824 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
22815 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
22825 | cat >>confdefs.h <<_ACEOF |
22816 | cat >>confdefs.h <<_ACEOF |
22826 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
22817 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
22827 | _ACEOF |
22818 | _ACEOF |
22828 | res_search |
22819 | res_search |
… | |
… | |
22838 | have_res_search=yes |
22829 | have_res_search=yes |
22839 | fi |
22830 | fi |
22840 | |
22831 | |
22841 | if test "x-$have_res_query" = "x-no" || test "x-$have_res_search" = "no" ; then |
22832 | if test "x-$have_res_query" = "x-no" || test "x-$have_res_search" = "no" ; then |
22842 | |
22833 | |
22843 | echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 |
22834 | { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 |
22844 | echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6 |
22835 | echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; } |
22845 | if test "${ac_cv_lib_resolv_res_query+set}" = set; then |
22836 | if test "${ac_cv_lib_resolv_res_query+set}" = set; then |
22846 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22837 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22847 | else |
22838 | else |
22848 | ac_check_lib_save_LIBS=$LIBS |
22839 | ac_check_lib_save_LIBS=$LIBS |
22849 | LIBS="-lresolv $LIBS" |
22840 | LIBS="-lresolv $LIBS" |
… | |
… | |
22852 | _ACEOF |
22843 | _ACEOF |
22853 | cat confdefs.h >>conftest.$ac_ext |
22844 | cat confdefs.h >>conftest.$ac_ext |
22854 | cat >>conftest.$ac_ext <<_ACEOF |
22845 | cat >>conftest.$ac_ext <<_ACEOF |
22855 | /* end confdefs.h. */ |
22846 | /* end confdefs.h. */ |
22856 | |
22847 | |
22857 | /* Override any gcc2 internal prototype to avoid an error. */ |
22848 | /* Override any GCC internal prototype to avoid an error. |
|
|
22849 | Use char because int might match the return type of a GCC |
|
|
22850 | builtin and then its argument prototype would still apply. */ |
22858 | #ifdef __cplusplus |
22851 | #ifdef __cplusplus |
22859 | extern "C" |
22852 | extern "C" |
22860 | #endif |
22853 | #endif |
22861 | /* We use char because int might match the return type of a gcc2 |
|
|
22862 | builtin and then its argument prototype would still apply. */ |
|
|
22863 | char res_query (); |
22854 | char res_query (); |
22864 | int |
22855 | int |
22865 | main () |
22856 | main () |
22866 | { |
22857 | { |
22867 | res_query (); |
22858 | return res_query (); |
22868 | ; |
22859 | ; |
22869 | return 0; |
22860 | return 0; |
22870 | } |
22861 | } |
22871 | _ACEOF |
22862 | _ACEOF |
22872 | rm -f conftest.$ac_objext conftest$ac_exeext |
22863 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
22864 | if { (ac_try="$ac_link" |
|
|
22865 | case "(($ac_try" in |
|
|
22866 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22867 | *) ac_try_echo=$ac_try;; |
|
|
22868 | esac |
22873 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
22869 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22874 | (eval $ac_link) 2>conftest.er1 |
22870 | (eval "$ac_link") 2>conftest.er1 |
22875 | ac_status=$? |
22871 | ac_status=$? |
22876 | grep -v '^ *+' conftest.er1 >conftest.err |
22872 | grep -v '^ *+' conftest.er1 >conftest.err |
22877 | rm -f conftest.er1 |
22873 | rm -f conftest.er1 |
22878 | cat conftest.err >&5 |
22874 | cat conftest.err >&5 |
22879 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22875 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22880 | (exit $ac_status); } && |
22876 | (exit $ac_status); } && { |
22881 | { ac_try='test -z "$ac_c_werror_flag" |
22877 | test -z "$ac_c_werror_flag" || |
22882 | || test ! -s conftest.err' |
22878 | test ! -s conftest.err |
22883 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22879 | } && test -s conftest$ac_exeext && |
22884 | (eval $ac_try) 2>&5 |
22880 | $as_test_x conftest$ac_exeext; then |
22885 | ac_status=$? |
|
|
22886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22887 | (exit $ac_status); }; } && |
|
|
22888 | { ac_try='test -s conftest$ac_exeext' |
|
|
22889 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
22890 | (eval $ac_try) 2>&5 |
|
|
22891 | ac_status=$? |
|
|
22892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22893 | (exit $ac_status); }; }; then |
|
|
22894 | ac_cv_lib_resolv_res_query=yes |
22881 | ac_cv_lib_resolv_res_query=yes |
22895 | else |
22882 | else |
22896 | echo "$as_me: failed program was:" >&5 |
22883 | echo "$as_me: failed program was:" >&5 |
22897 | sed 's/^/| /' conftest.$ac_ext >&5 |
22884 | sed 's/^/| /' conftest.$ac_ext >&5 |
22898 | |
22885 | |
22899 | ac_cv_lib_resolv_res_query=no |
22886 | ac_cv_lib_resolv_res_query=no |
22900 | fi |
22887 | fi |
22901 | rm -f conftest.err conftest.$ac_objext \ |
22888 | |
|
|
22889 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
22902 | conftest$ac_exeext conftest.$ac_ext |
22890 | conftest$ac_exeext conftest.$ac_ext |
22903 | LIBS=$ac_check_lib_save_LIBS |
22891 | LIBS=$ac_check_lib_save_LIBS |
22904 | fi |
22892 | fi |
22905 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5 |
22893 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5 |
22906 | echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6 |
22894 | echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; } |
22907 | if test $ac_cv_lib_resolv_res_query = yes; then |
22895 | if test $ac_cv_lib_resolv_res_query = yes; then |
22908 | cat >>confdefs.h <<_ACEOF |
22896 | cat >>confdefs.h <<_ACEOF |
22909 | #define HAVE_LIBRESOLV 1 |
22897 | #define HAVE_LIBRESOLV 1 |
22910 | _ACEOF |
22898 | _ACEOF |
22911 | |
22899 | |
… | |
… | |
22915 | |
22903 | |
22916 | if test "x-$ac_cv_lib_resolv_res_query" = "x-yes" ; then |
22904 | if test "x-$ac_cv_lib_resolv_res_query" = "x-yes" ; then |
22917 | have_res_query=yes |
22905 | have_res_query=yes |
22918 | else |
22906 | else |
22919 | |
22907 | |
22920 | echo "$as_me:$LINENO: checking for res_query in -lbind" >&5 |
22908 | { echo "$as_me:$LINENO: checking for res_query in -lbind" >&5 |
22921 | echo $ECHO_N "checking for res_query in -lbind... $ECHO_C" >&6 |
22909 | echo $ECHO_N "checking for res_query in -lbind... $ECHO_C" >&6; } |
22922 | if test "${ac_cv_lib_bind_res_query+set}" = set; then |
22910 | if test "${ac_cv_lib_bind_res_query+set}" = set; then |
22923 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22911 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22924 | else |
22912 | else |
22925 | ac_check_lib_save_LIBS=$LIBS |
22913 | ac_check_lib_save_LIBS=$LIBS |
22926 | LIBS="-lbind $LIBS" |
22914 | LIBS="-lbind $LIBS" |
… | |
… | |
22929 | _ACEOF |
22917 | _ACEOF |
22930 | cat confdefs.h >>conftest.$ac_ext |
22918 | cat confdefs.h >>conftest.$ac_ext |
22931 | cat >>conftest.$ac_ext <<_ACEOF |
22919 | cat >>conftest.$ac_ext <<_ACEOF |
22932 | /* end confdefs.h. */ |
22920 | /* end confdefs.h. */ |
22933 | |
22921 | |
22934 | /* Override any gcc2 internal prototype to avoid an error. */ |
22922 | /* Override any GCC internal prototype to avoid an error. |
|
|
22923 | Use char because int might match the return type of a GCC |
|
|
22924 | builtin and then its argument prototype would still apply. */ |
22935 | #ifdef __cplusplus |
22925 | #ifdef __cplusplus |
22936 | extern "C" |
22926 | extern "C" |
22937 | #endif |
22927 | #endif |
22938 | /* We use char because int might match the return type of a gcc2 |
|
|
22939 | builtin and then its argument prototype would still apply. */ |
|
|
22940 | char res_query (); |
22928 | char res_query (); |
22941 | int |
22929 | int |
22942 | main () |
22930 | main () |
22943 | { |
22931 | { |
22944 | res_query (); |
22932 | return res_query (); |
22945 | ; |
22933 | ; |
22946 | return 0; |
22934 | return 0; |
22947 | } |
22935 | } |
22948 | _ACEOF |
22936 | _ACEOF |
22949 | rm -f conftest.$ac_objext conftest$ac_exeext |
22937 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
22938 | if { (ac_try="$ac_link" |
|
|
22939 | case "(($ac_try" in |
|
|
22940 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22941 | *) ac_try_echo=$ac_try;; |
|
|
22942 | esac |
22950 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
22943 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22951 | (eval $ac_link) 2>conftest.er1 |
22944 | (eval "$ac_link") 2>conftest.er1 |
22952 | ac_status=$? |
22945 | ac_status=$? |
22953 | grep -v '^ *+' conftest.er1 >conftest.err |
22946 | grep -v '^ *+' conftest.er1 >conftest.err |
22954 | rm -f conftest.er1 |
22947 | rm -f conftest.er1 |
22955 | cat conftest.err >&5 |
22948 | cat conftest.err >&5 |
22956 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22949 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22957 | (exit $ac_status); } && |
22950 | (exit $ac_status); } && { |
22958 | { ac_try='test -z "$ac_c_werror_flag" |
22951 | test -z "$ac_c_werror_flag" || |
22959 | || test ! -s conftest.err' |
22952 | test ! -s conftest.err |
22960 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22953 | } && test -s conftest$ac_exeext && |
22961 | (eval $ac_try) 2>&5 |
22954 | $as_test_x conftest$ac_exeext; then |
22962 | ac_status=$? |
|
|
22963 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22964 | (exit $ac_status); }; } && |
|
|
22965 | { ac_try='test -s conftest$ac_exeext' |
|
|
22966 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
22967 | (eval $ac_try) 2>&5 |
|
|
22968 | ac_status=$? |
|
|
22969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22970 | (exit $ac_status); }; }; then |
|
|
22971 | ac_cv_lib_bind_res_query=yes |
22955 | ac_cv_lib_bind_res_query=yes |
22972 | else |
22956 | else |
22973 | echo "$as_me: failed program was:" >&5 |
22957 | echo "$as_me: failed program was:" >&5 |
22974 | sed 's/^/| /' conftest.$ac_ext >&5 |
22958 | sed 's/^/| /' conftest.$ac_ext >&5 |
22975 | |
22959 | |
22976 | ac_cv_lib_bind_res_query=no |
22960 | ac_cv_lib_bind_res_query=no |
22977 | fi |
22961 | fi |
22978 | rm -f conftest.err conftest.$ac_objext \ |
22962 | |
|
|
22963 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
22979 | conftest$ac_exeext conftest.$ac_ext |
22964 | conftest$ac_exeext conftest.$ac_ext |
22980 | LIBS=$ac_check_lib_save_LIBS |
22965 | LIBS=$ac_check_lib_save_LIBS |
22981 | fi |
22966 | fi |
22982 | echo "$as_me:$LINENO: result: $ac_cv_lib_bind_res_query" >&5 |
22967 | { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_res_query" >&5 |
22983 | echo "${ECHO_T}$ac_cv_lib_bind_res_query" >&6 |
22968 | echo "${ECHO_T}$ac_cv_lib_bind_res_query" >&6; } |
22984 | if test $ac_cv_lib_bind_res_query = yes; then |
22969 | if test $ac_cv_lib_bind_res_query = yes; then |
22985 | cat >>confdefs.h <<_ACEOF |
22970 | cat >>confdefs.h <<_ACEOF |
22986 | #define HAVE_LIBBIND 1 |
22971 | #define HAVE_LIBBIND 1 |
22987 | _ACEOF |
22972 | _ACEOF |
22988 | |
22973 | |
… | |
… | |
22991 | fi |
22976 | fi |
22992 | |
22977 | |
22993 | if test "x-$ac_cv_lib_bind_res_query" = "x-yes" ; then |
22978 | if test "x-$ac_cv_lib_bind_res_query" = "x-yes" ; then |
22994 | have_res_query=yes |
22979 | have_res_query=yes |
22995 | else |
22980 | else |
22996 | echo "$as_me:$LINENO: checking for res_query in -lresolv (alternate version)" >&5 |
22981 | { echo "$as_me:$LINENO: checking for res_query in -lresolv (alternate version)" >&5 |
22997 | echo $ECHO_N "checking for res_query in -lresolv (alternate version)... $ECHO_C" >&6 |
22982 | echo $ECHO_N "checking for res_query in -lresolv (alternate version)... $ECHO_C" >&6; } |
22998 | save_libs="$LIBS" |
22983 | save_libs="$LIBS" |
22999 | libresolv=true |
22984 | libresolv=true |
23000 | LIBS="-lresolv $LIBS" |
22985 | LIBS="-lresolv $LIBS" |
23001 | LIBSPF_RESOLV_LIB="-lresolv" |
22986 | LIBSPF_RESOLV_LIB="-lresolv" |
23002 | cat >conftest.$ac_ext <<_ACEOF |
22987 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
23013 | ; |
22998 | ; |
23014 | return 0; |
22999 | return 0; |
23015 | } |
23000 | } |
23016 | _ACEOF |
23001 | _ACEOF |
23017 | rm -f conftest.$ac_objext conftest$ac_exeext |
23002 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
23003 | if { (ac_try="$ac_link" |
|
|
23004 | case "(($ac_try" in |
|
|
23005 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
23006 | *) ac_try_echo=$ac_try;; |
|
|
23007 | esac |
23018 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
23008 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
23019 | (eval $ac_link) 2>conftest.er1 |
23009 | (eval "$ac_link") 2>conftest.er1 |
23020 | ac_status=$? |
23010 | ac_status=$? |
23021 | grep -v '^ *+' conftest.er1 >conftest.err |
23011 | grep -v '^ *+' conftest.er1 >conftest.err |
23022 | rm -f conftest.er1 |
23012 | rm -f conftest.er1 |
23023 | cat conftest.err >&5 |
23013 | cat conftest.err >&5 |
23024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23014 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23025 | (exit $ac_status); } && |
23015 | (exit $ac_status); } && { |
23026 | { ac_try='test -z "$ac_c_werror_flag" |
23016 | test -z "$ac_c_werror_flag" || |
23027 | || test ! -s conftest.err' |
23017 | test ! -s conftest.err |
23028 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23018 | } && test -s conftest$ac_exeext && |
23029 | (eval $ac_try) 2>&5 |
23019 | $as_test_x conftest$ac_exeext; then |
23030 | ac_status=$? |
|
|
23031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23032 | (exit $ac_status); }; } && |
|
|
23033 | { ac_try='test -s conftest$ac_exeext' |
|
|
23034 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
23035 | (eval $ac_try) 2>&5 |
|
|
23036 | ac_status=$? |
|
|
23037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23038 | (exit $ac_status); }; }; then |
|
|
23039 | echo "$as_me:$LINENO: result: yes" >&5 |
23020 | { echo "$as_me:$LINENO: result: yes" >&5 |
23040 | echo "${ECHO_T}yes" >&6 |
23021 | echo "${ECHO_T}yes" >&6; } |
23041 | have_res_query=yes |
23022 | have_res_query=yes |
23042 | else |
23023 | else |
23043 | echo "$as_me: failed program was:" >&5 |
23024 | echo "$as_me: failed program was:" >&5 |
23044 | sed 's/^/| /' conftest.$ac_ext >&5 |
23025 | sed 's/^/| /' conftest.$ac_ext >&5 |
23045 | |
23026 | |
23046 | echo "$as_me:$LINENO: result: no" >&5 |
23027 | { echo "$as_me:$LINENO: result: no" >&5 |
23047 | echo "${ECHO_T}no" >&6 |
23028 | echo "${ECHO_T}no" >&6; } |
23048 | libresolv=false |
23029 | libresolv=false |
23049 | LIBS="$save_libs" |
23030 | LIBS="$save_libs" |
23050 | fi |
23031 | fi |
23051 | rm -f conftest.err conftest.$ac_objext \ |
23032 | |
|
|
23033 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
23052 | conftest$ac_exeext conftest.$ac_ext |
23034 | conftest$ac_exeext conftest.$ac_ext |
23053 | fi |
23035 | fi |
23054 | fi |
23036 | fi |
23055 | fi |
23037 | fi |
23056 | |
23038 | |
… | |
… | |
23068 | |
23050 | |
23069 | fi |
23051 | fi |
23070 | |
23052 | |
23071 | # Checks for libraries. |
23053 | # Checks for libraries. |
23072 | |
23054 | |
23073 | echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 |
23055 | { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 |
23074 | echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6 |
23056 | echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; } |
23075 | if test "${ac_cv_lib_resolv_res_search+set}" = set; then |
23057 | if test "${ac_cv_lib_resolv_res_search+set}" = set; then |
23076 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23058 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23077 | else |
23059 | else |
23078 | ac_check_lib_save_LIBS=$LIBS |
23060 | ac_check_lib_save_LIBS=$LIBS |
23079 | LIBS="-lresolv $LIBS" |
23061 | LIBS="-lresolv $LIBS" |
… | |
… | |
23082 | _ACEOF |
23064 | _ACEOF |
23083 | cat confdefs.h >>conftest.$ac_ext |
23065 | cat confdefs.h >>conftest.$ac_ext |
23084 | cat >>conftest.$ac_ext <<_ACEOF |
23066 | cat >>conftest.$ac_ext <<_ACEOF |
23085 | /* end confdefs.h. */ |
23067 | /* end confdefs.h. */ |
23086 | |
23068 | |
23087 | /* Override any gcc2 internal prototype to avoid an error. */ |
23069 | /* Override any GCC internal prototype to avoid an error. |
|
|
23070 | Use char because int might match the return type of a GCC |
|
|
23071 | builtin and then its argument prototype would still apply. */ |
23088 | #ifdef __cplusplus |
23072 | #ifdef __cplusplus |
23089 | extern "C" |
23073 | extern "C" |
23090 | #endif |
23074 | #endif |
23091 | /* We use char because int might match the return type of a gcc2 |
|
|
23092 | builtin and then its argument prototype would still apply. */ |
|
|
23093 | char res_search (); |
23075 | char res_search (); |
23094 | int |
23076 | int |
23095 | main () |
23077 | main () |
23096 | { |
23078 | { |
23097 | res_search (); |
23079 | return res_search (); |
23098 | ; |
23080 | ; |
23099 | return 0; |
23081 | return 0; |
23100 | } |
23082 | } |
23101 | _ACEOF |
23083 | _ACEOF |
23102 | rm -f conftest.$ac_objext conftest$ac_exeext |
23084 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
23085 | if { (ac_try="$ac_link" |
|
|
23086 | case "(($ac_try" in |
|
|
23087 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
23088 | *) ac_try_echo=$ac_try;; |
|
|
23089 | esac |
23103 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
23090 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
23104 | (eval $ac_link) 2>conftest.er1 |
23091 | (eval "$ac_link") 2>conftest.er1 |
23105 | ac_status=$? |
23092 | ac_status=$? |
23106 | grep -v '^ *+' conftest.er1 >conftest.err |
23093 | grep -v '^ *+' conftest.er1 >conftest.err |
23107 | rm -f conftest.er1 |
23094 | rm -f conftest.er1 |
23108 | cat conftest.err >&5 |
23095 | cat conftest.err >&5 |
23109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23110 | (exit $ac_status); } && |
23097 | (exit $ac_status); } && { |
23111 | { ac_try='test -z "$ac_c_werror_flag" |
23098 | test -z "$ac_c_werror_flag" || |
23112 | || test ! -s conftest.err' |
23099 | test ! -s conftest.err |
23113 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23100 | } && test -s conftest$ac_exeext && |
23114 | (eval $ac_try) 2>&5 |
23101 | $as_test_x conftest$ac_exeext; then |
23115 | ac_status=$? |
|
|
23116 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23117 | (exit $ac_status); }; } && |
|
|
23118 | { ac_try='test -s conftest$ac_exeext' |
|
|
23119 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
23120 | (eval $ac_try) 2>&5 |
|
|
23121 | ac_status=$? |
|
|
23122 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23123 | (exit $ac_status); }; }; then |
|
|
23124 | ac_cv_lib_resolv_res_search=yes |
23102 | ac_cv_lib_resolv_res_search=yes |
23125 | else |
23103 | else |
23126 | echo "$as_me: failed program was:" >&5 |
23104 | echo "$as_me: failed program was:" >&5 |
23127 | sed 's/^/| /' conftest.$ac_ext >&5 |
23105 | sed 's/^/| /' conftest.$ac_ext >&5 |
23128 | |
23106 | |
23129 | ac_cv_lib_resolv_res_search=no |
23107 | ac_cv_lib_resolv_res_search=no |
23130 | fi |
23108 | fi |
23131 | rm -f conftest.err conftest.$ac_objext \ |
23109 | |
|
|
23110 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
23132 | conftest$ac_exeext conftest.$ac_ext |
23111 | conftest$ac_exeext conftest.$ac_ext |
23133 | LIBS=$ac_check_lib_save_LIBS |
23112 | LIBS=$ac_check_lib_save_LIBS |
23134 | fi |
23113 | fi |
23135 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 |
23114 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 |
23136 | echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6 |
23115 | echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; } |
23137 | if test $ac_cv_lib_resolv_res_search = yes; then |
23116 | if test $ac_cv_lib_resolv_res_search = yes; then |
23138 | cat >>confdefs.h <<_ACEOF |
23117 | cat >>confdefs.h <<_ACEOF |
23139 | #define HAVE_LIBRESOLV 1 |
23118 | #define HAVE_LIBRESOLV 1 |
23140 | _ACEOF |
23119 | _ACEOF |
23141 | |
23120 | |
… | |
… | |
23148 | |
23127 | |
23149 | #------------------------------------------------------------------------------- |
23128 | #------------------------------------------------------------------------------- |
23150 | # Check to see if we want to enable debugging |
23129 | # Check to see if we want to enable debugging |
23151 | #------------------------------------------------------------------------------- |
23130 | #------------------------------------------------------------------------------- |
23152 | |
23131 | |
23153 | echo "$as_me:$LINENO: checking whether DEBUG is eanbled" >&5 |
23132 | { echo "$as_me:$LINENO: checking whether DEBUG is eanbled" >&5 |
23154 | echo $ECHO_N "checking whether DEBUG is eanbled... $ECHO_C" >&6 |
23133 | echo $ECHO_N "checking whether DEBUG is eanbled... $ECHO_C" >&6; } |
23155 | # Check whether --enable-debug or --disable-debug was given. |
23134 | # Check whether --enable-debug was given. |
23156 | if test "${enable_debug+set}" = set; then |
23135 | if test "${enable_debug+set}" = set; then |
23157 | enableval="$enable_debug" |
23136 | enableval=$enable_debug; case "${enableval}" in |
23158 | case "${enableval}" in |
|
|
23159 | yes) |
23137 | yes) |
23160 | debug=true |
23138 | debug=true |
23161 | echo "$as_me:$LINENO: result: yes" >&5 |
23139 | { echo "$as_me:$LINENO: result: yes" >&5 |
23162 | echo "${ECHO_T}yes" >&6 |
23140 | echo "${ECHO_T}yes" >&6; } |
23163 | ;; |
23141 | ;; |
23164 | no) |
23142 | no) |
23165 | debug=false |
23143 | debug=false |
23166 | echo "$as_me:$LINENO: result: no" >&5 |
23144 | { echo "$as_me:$LINENO: result: no" >&5 |
23167 | echo "${ECHO_T}no" >&6 |
23145 | echo "${ECHO_T}no" >&6; } |
23168 | ;; |
23146 | ;; |
23169 | *) |
23147 | *) |
23170 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5 |
23148 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5 |
23171 | echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;} |
23149 | echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;} |
23172 | { (exit 1); exit 1; }; } |
23150 | { (exit 1); exit 1; }; } |
23173 | ;; |
23151 | ;; |
23174 | esac |
23152 | esac |
23175 | else |
23153 | else |
|
|
23154 | debug=false |
23176 | debug=false echo "$as_me:$LINENO: result: no" >&5 |
23155 | { echo "$as_me:$LINENO: result: no" >&5 |
23177 | echo "${ECHO_T}no" >&6 |
23156 | echo "${ECHO_T}no" >&6; } |
23178 | fi; |
23157 | fi |
|
|
23158 | |
23179 | |
23159 | |
23180 | CFLAGS="" |
23160 | CFLAGS="" |
23181 | if test "$debug" = "true"; then |
23161 | if test "$debug" = "true"; then |
23182 | CFLAGS="-ggdb -O -D_SPF_DEBUG" |
23162 | CFLAGS="-ggdb -O -D_SPF_DEBUG" |
23183 | else |
23163 | else |
23184 | echo "$as_me:$LINENO: result: Enabling GCC optimisations" >&5 |
23164 | { echo "$as_me:$LINENO: result: Enabling GCC optimisations" >&5 |
23185 | echo "${ECHO_T}Enabling GCC optimisations" >&6 |
23165 | echo "${ECHO_T}Enabling GCC optimisations" >&6; } |
23186 | CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer" |
23166 | CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer" |
23187 | |
23167 | |
23188 | if [ "x$GCC_VERSION" = "x3" ]; then |
23168 | if [ "x$GCC_VERSION" = "x3" ]; then |
23189 | echo "$as_me:$LINENO: result: Enabling GCC v3 optimizations" >&5 |
23169 | { echo "$as_me:$LINENO: result: Enabling GCC v3 optimizations" >&5 |
23190 | echo "${ECHO_T}Enabling GCC v3 optimizations" >&6 |
23170 | echo "${ECHO_T}Enabling GCC v3 optimizations" >&6; } |
23191 | CFLAGS="$CFLAGS -minline-all-stringops -fno-math-errno" |
23171 | CFLAGS="$CFLAGS -minline-all-stringops -fno-math-errno" |
23192 | fi |
23172 | fi |
23193 | fi |
23173 | fi |
23194 | |
23174 | |
23195 | case "${host_cpu}" in |
23175 | case "${host_cpu}" in |
23196 | i?86) |
23176 | i?86) |
23197 | echo "$as_me:$LINENO: result: CPU: ${host_cpu}; Enabling pentium optimisations" >&5 |
23177 | { echo "$as_me:$LINENO: result: CPU: ${host_cpu}; Enabling pentium optimisations" >&5 |
23198 | echo "${ECHO_T}CPU: ${host_cpu}; Enabling pentium optimisations" >&6 |
23178 | echo "${ECHO_T}CPU: ${host_cpu}; Enabling pentium optimisations" >&6; } |
23199 | # cannot do malign-double as we link to other libraries and it |
23179 | # cannot do malign-double as we link to other libraries and it |
23200 | # would break binary compatibility |
23180 | # would break binary compatibility |
23201 | CFLAGS="$CFLAGS ${gcc_special_cflags}" |
23181 | CFLAGS="$CFLAGS ${gcc_special_cflags}" |
23202 | ;; |
23182 | ;; |
23203 | *) |
23183 | *) |
23204 | echo "$as_me:$LINENO: result: Please e-mail author optimizations for this cpu" >&5 |
23184 | { echo "$as_me:$LINENO: result: Please e-mail author optimizations for this cpu" >&5 |
23205 | echo "${ECHO_T}Please e-mail author optimizations for this cpu" >&6 |
23185 | echo "${ECHO_T}Please e-mail author optimizations for this cpu" >&6; } |
23206 | ;; |
23186 | ;; |
23207 | esac |
23187 | esac |
23208 | |
23188 | |
23209 | |
23189 | |
23210 | #------------------------------------------------------------------------------- |
23190 | #------------------------------------------------------------------------------- |
23211 | # Check to see if we want to enable debugging output to logfile |
23191 | # Check to see if we want to enable debugging output to logfile |
23212 | #------------------------------------------------------------------------------- |
23192 | #------------------------------------------------------------------------------- |
23213 | |
23193 | |
23214 | if test "$debug" = "true"; then |
23194 | if test "$debug" = "true"; then |
23215 | echo "$as_me:$LINENO: checking whether you want debug output to a logfile" >&5 |
23195 | { echo "$as_me:$LINENO: checking whether you want debug output to a logfile" >&5 |
23216 | echo $ECHO_N "checking whether you want debug output to a logfile... $ECHO_C" >&6 |
23196 | echo $ECHO_N "checking whether you want debug output to a logfile... $ECHO_C" >&6; } |
23217 | # Check whether --enable-debug_logfile or --disable-debug_logfile was given. |
23197 | # Check whether --enable-debug_logfile was given. |
23218 | if test "${enable_debug_logfile+set}" = set; then |
23198 | if test "${enable_debug_logfile+set}" = set; then |
23219 | enableval="$enable_debug_logfile" |
23199 | enableval=$enable_debug_logfile; case "${enableval}" in |
23220 | case "${enableval}" in |
|
|
23221 | yes) |
23200 | yes) |
23222 | debug_logfile=true |
23201 | debug_logfile=true |
23223 | echo "$as_me:$LINENO: result: yes" >&5 |
23202 | { echo "$as_me:$LINENO: result: yes" >&5 |
23224 | echo "${ECHO_T}yes" >&6 |
23203 | echo "${ECHO_T}yes" >&6; } |
23225 | ;; |
23204 | ;; |
23226 | no) |
23205 | no) |
23227 | debug_logfile=false |
23206 | debug_logfile=false |
23228 | echo "$as_me:$LINENO: result: no" >&5 |
23207 | { echo "$as_me:$LINENO: result: no" >&5 |
23229 | echo "${ECHO_T}no" >&6 |
23208 | echo "${ECHO_T}no" >&6; } |
23230 | ;; |
23209 | ;; |
23231 | *) |
23210 | *) |
23232 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug-logfile" >&5 |
23211 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug-logfile" >&5 |
23233 | echo "$as_me: error: bad value ${enableval} for --enable-debug-logfile" >&2;} |
23212 | echo "$as_me: error: bad value ${enableval} for --enable-debug-logfile" >&2;} |
23234 | { (exit 1); exit 1; }; } |
23213 | { (exit 1); exit 1; }; } |
23235 | ;; |
23214 | ;; |
23236 | esac |
23215 | esac |
23237 | else |
23216 | else |
|
|
23217 | debug_logfile=true |
23238 | debug_logfile=true echo "$as_me:$LINENO: result: no" >&5 |
23218 | { echo "$as_me:$LINENO: result: no" >&5 |
23239 | echo "${ECHO_T}no" >&6 |
23219 | echo "${ECHO_T}no" >&6; } |
23240 | fi; |
23220 | fi |
|
|
23221 | |
23241 | |
23222 | |
23242 | if test "$debug_logfile" = "true"; then |
23223 | if test "$debug_logfile" = "true"; then |
23243 | CFLAGS="-D_SPF_DEBUG_LOGFILE $CFLAGS" |
23224 | CFLAGS="-D_SPF_DEBUG_LOGFILE $CFLAGS" |
23244 | fi |
23225 | fi |
23245 | fi |
23226 | fi |
… | |
… | |
23248 | #------------------------------------------------------------------------------- |
23229 | #------------------------------------------------------------------------------- |
23249 | # Check to see if we want to enable logfile statistics |
23230 | # Check to see if we want to enable logfile statistics |
23250 | #------------------------------------------------------------------------------- |
23231 | #------------------------------------------------------------------------------- |
23251 | |
23232 | |
23252 | logfile_stats=false |
23233 | logfile_stats=false |
23253 | echo "$as_me:$LINENO: checking whether you want logfile statistics" >&5 |
23234 | { echo "$as_me:$LINENO: checking whether you want logfile statistics" >&5 |
23254 | echo $ECHO_N "checking whether you want logfile statistics... $ECHO_C" >&6 |
23235 | echo $ECHO_N "checking whether you want logfile statistics... $ECHO_C" >&6; } |
23255 | # Check whether --enable-logfile_stats or --disable-logfile_stats was given. |
23236 | # Check whether --enable-logfile_stats was given. |
23256 | if test "${enable_logfile_stats+set}" = set; then |
23237 | if test "${enable_logfile_stats+set}" = set; then |
23257 | enableval="$enable_logfile_stats" |
23238 | enableval=$enable_logfile_stats; case "${enableval}" in |
23258 | case "${enableval}" in |
|
|
23259 | yes) |
23239 | yes) |
23260 | logfile_stats=true |
23240 | logfile_stats=true |
23261 | echo "$as_me:$LINENO: result: yes" >&5 |
23241 | { echo "$as_me:$LINENO: result: yes" >&5 |
23262 | echo "${ECHO_T}yes" >&6 |
23242 | echo "${ECHO_T}yes" >&6; } |
23263 | ;; |
23243 | ;; |
23264 | no) |
23244 | no) |
23265 | logfile_stats=false |
23245 | logfile_stats=false |
23266 | echo "$as_me:$LINENO: result: no" >&5 |
23246 | { echo "$as_me:$LINENO: result: no" >&5 |
23267 | echo "${ECHO_T}no" >&6 |
23247 | echo "${ECHO_T}no" >&6; } |
23268 | ;; |
23248 | ;; |
23269 | *) |
23249 | *) |
23270 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-logfile-stats" >&5 |
23250 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-logfile-stats" >&5 |
23271 | echo "$as_me: error: bad value ${enableval} for --enable-logfile-stats" >&2;} |
23251 | echo "$as_me: error: bad value ${enableval} for --enable-logfile-stats" >&2;} |
23272 | { (exit 1); exit 1; }; } |
23252 | { (exit 1); exit 1; }; } |
23273 | ;; |
23253 | ;; |
23274 | esac |
23254 | esac |
23275 | else |
23255 | else |
|
|
23256 | logfile_stats=false |
23276 | logfile_stats=false echo "$as_me:$LINENO: result: no" >&5 |
23257 | { echo "$as_me:$LINENO: result: no" >&5 |
23277 | echo "${ECHO_T}no" >&6 |
23258 | echo "${ECHO_T}no" >&6; } |
23278 | fi; |
23259 | fi |
|
|
23260 | |
23279 | |
23261 | |
23280 | if test "$logfile_stats" = "true"; then |
23262 | if test "$logfile_stats" = "true"; then |
23281 | CFLAGS="-D_SPF_LOGFILE_STATS $CFLAGS" |
23263 | CFLAGS="-D_SPF_LOGFILE_STATS $CFLAGS" |
23282 | fi |
23264 | fi |
23283 | |
23265 | |
… | |
… | |
23285 | #------------------------------------------------------------------------------- |
23267 | #------------------------------------------------------------------------------- |
23286 | # Check whether to enable a memset after each malloc |
23268 | # Check whether to enable a memset after each malloc |
23287 | #------------------------------------------------------------------------------- |
23269 | #------------------------------------------------------------------------------- |
23288 | |
23270 | |
23289 | rfc_recursion=false |
23271 | rfc_recursion=false |
23290 | echo "$as_me:$LINENO: checking whether to abide by the RFC as regards recursiveness" >&5 |
23272 | { echo "$as_me:$LINENO: checking whether to abide by the RFC as regards recursiveness" >&5 |
23291 | echo $ECHO_N "checking whether to abide by the RFC as regards recursiveness... $ECHO_C" >&6 |
23273 | echo $ECHO_N "checking whether to abide by the RFC as regards recursiveness... $ECHO_C" >&6; } |
23292 | # Check whether --enable-rfc_recursion or --disable-rfc_recursion was given. |
23274 | # Check whether --enable-rfc_recursion was given. |
23293 | if test "${enable_rfc_recursion+set}" = set; then |
23275 | if test "${enable_rfc_recursion+set}" = set; then |
23294 | enableval="$enable_rfc_recursion" |
23276 | enableval=$enable_rfc_recursion; case "${enableval}" in |
23295 | case "${enableval}" in |
|
|
23296 | yes) |
23277 | yes) |
23297 | rfc_recursion=true |
23278 | rfc_recursion=true |
23298 | echo "$as_me:$LINENO: result: yes" >&5 |
23279 | { echo "$as_me:$LINENO: result: yes" >&5 |
23299 | echo "${ECHO_T}yes" >&6 |
23280 | echo "${ECHO_T}yes" >&6; } |
23300 | ;; |
23281 | ;; |
23301 | no) |
23282 | no) |
23302 | rfc_recursion=false |
23283 | rfc_recursion=false |
23303 | echo "$as_me:$LINENO: result: no" >&5 |
23284 | { echo "$as_me:$LINENO: result: no" >&5 |
23304 | echo "${ECHO_T}no" >&6 |
23285 | echo "${ECHO_T}no" >&6; } |
23305 | ;; |
23286 | ;; |
23306 | *) |
23287 | *) |
23307 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-rfc-recursion" >&5 |
23288 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-rfc-recursion" >&5 |
23308 | echo "$as_me: error: bad value ${enableval} for --enable-rfc-recursion" >&2;} |
23289 | echo "$as_me: error: bad value ${enableval} for --enable-rfc-recursion" >&2;} |
23309 | { (exit 1); exit 1; }; } |
23290 | { (exit 1); exit 1; }; } |
23310 | ;; |
23291 | ;; |
23311 | esac |
23292 | esac |
23312 | else |
23293 | else |
|
|
23294 | rfc_recursion=false |
23313 | rfc_recursion=false echo "$as_me:$LINENO: result: no" >&5 |
23295 | { echo "$as_me:$LINENO: result: no" >&5 |
23314 | echo "${ECHO_T}no" >&6 |
23296 | echo "${ECHO_T}no" >&6; } |
23315 | fi; |
23297 | fi |
|
|
23298 | |
23316 | |
23299 | |
23317 | if test "$rfc_recursion" = "true"; then |
23300 | if test "$rfc_recursion" = "true"; then |
23318 | CFLAGS="-D_RFC_RECURSION $CFLAGS" |
23301 | CFLAGS="-D_RFC_RECURSION $CFLAGS" |
23319 | { echo "$as_me:$LINENO: WARNING: === THE INTERNET IS FULL OF ILLITERATE AND LAZY PEOPLE ===" >&5 |
23302 | { echo "$as_me:$LINENO: WARNING: === THE INTERNET IS FULL OF ILLITERATE AND LAZY PEOPLE ===" >&5 |
23320 | echo "$as_me: WARNING: === THE INTERNET IS FULL OF ILLITERATE AND LAZY PEOPLE ===" >&2;} |
23303 | echo "$as_me: WARNING: === THE INTERNET IS FULL OF ILLITERATE AND LAZY PEOPLE ===" >&2;} |
… | |
… | |
23349 | #------------------------------------------------------------------------------- |
23332 | #------------------------------------------------------------------------------- |
23350 | # Check whether to enable a memset after each malloc |
23333 | # Check whether to enable a memset after each malloc |
23351 | #------------------------------------------------------------------------------- |
23334 | #------------------------------------------------------------------------------- |
23352 | |
23335 | |
23353 | paranoid_malloc=true |
23336 | paranoid_malloc=true |
23354 | echo "$as_me:$LINENO: checking whether to memset after every malloc (paranoid malloc)?" >&5 |
23337 | { echo "$as_me:$LINENO: checking whether to memset after every malloc (paranoid malloc)?" >&5 |
23355 | echo $ECHO_N "checking whether to memset after every malloc (paranoid malloc)?... $ECHO_C" >&6 |
23338 | echo $ECHO_N "checking whether to memset after every malloc (paranoid malloc)?... $ECHO_C" >&6; } |
23356 | # Check whether --enable-paranoid_malloc or --disable-paranoid_malloc was given. |
23339 | # Check whether --enable-paranoid_malloc was given. |
23357 | if test "${enable_paranoid_malloc+set}" = set; then |
23340 | if test "${enable_paranoid_malloc+set}" = set; then |
23358 | enableval="$enable_paranoid_malloc" |
23341 | enableval=$enable_paranoid_malloc; case "${enableval}" in |
23359 | case "${enableval}" in |
|
|
23360 | yes) |
23342 | yes) |
23361 | paranoid_malloc=true |
23343 | paranoid_malloc=true |
23362 | echo "$as_me:$LINENO: result: yes" >&5 |
23344 | { echo "$as_me:$LINENO: result: yes" >&5 |
23363 | echo "${ECHO_T}yes" >&6 |
23345 | echo "${ECHO_T}yes" >&6; } |
23364 | ;; |
23346 | ;; |
23365 | no) |
23347 | no) |
23366 | paranoid_malloc=false |
23348 | paranoid_malloc=false |
23367 | echo "$as_me:$LINENO: result: no" >&5 |
23349 | { echo "$as_me:$LINENO: result: no" >&5 |
23368 | echo "${ECHO_T}no" >&6 |
23350 | echo "${ECHO_T}no" >&6; } |
23369 | ;; |
23351 | ;; |
23370 | *) |
23352 | *) |
23371 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-paranoid-malloc" >&5 |
23353 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-paranoid-malloc" >&5 |
23372 | echo "$as_me: error: bad value ${enableval} for --enable-paranoid-malloc" >&2;} |
23354 | echo "$as_me: error: bad value ${enableval} for --enable-paranoid-malloc" >&2;} |
23373 | { (exit 1); exit 1; }; } |
23355 | { (exit 1); exit 1; }; } |
23374 | ;; |
23356 | ;; |
23375 | esac |
23357 | esac |
23376 | else |
23358 | else |
|
|
23359 | paranoid_malloc=true |
23377 | paranoid_malloc=true echo "$as_me:$LINENO: result: yes" >&5 |
23360 | { echo "$as_me:$LINENO: result: yes" >&5 |
23378 | echo "${ECHO_T}yes" >&6 |
23361 | echo "${ECHO_T}yes" >&6; } |
23379 | fi; |
23362 | fi |
|
|
23363 | |
23380 | |
23364 | |
23381 | if test "$paranoid_malloc" = "true"; then |
23365 | if test "$paranoid_malloc" = "true"; then |
23382 | CFLAGS="-D_WITH_PARANOID_MALLOC $CFLAGS" |
23366 | CFLAGS="-D_WITH_PARANOID_MALLOC $CFLAGS" |
23383 | fi |
23367 | fi |
23384 | |
23368 | |
… | |
… | |
23388 | # res_query behaviour. See Debian bug tracking list thread: |
23372 | # res_query behaviour. See Debian bug tracking list thread: |
23389 | # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=297060 for more information. |
23373 | # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=297060 for more information. |
23390 | #------------------------------------------------------------------------------- |
23374 | #------------------------------------------------------------------------------- |
23391 | |
23375 | |
23392 | res_search=false |
23376 | res_search=false |
23393 | echo "$as_me:$LINENO: checking whether to use res_search instead of res_query?" >&5 |
23377 | { echo "$as_me:$LINENO: checking whether to use res_search instead of res_query?" >&5 |
23394 | echo $ECHO_N "checking whether to use res_search instead of res_query?... $ECHO_C" >&6 |
23378 | echo $ECHO_N "checking whether to use res_search instead of res_query?... $ECHO_C" >&6; } |
23395 | # Check whether --enable-res_search or --disable-res_search was given. |
23379 | # Check whether --enable-res_search was given. |
23396 | if test "${enable_res_search+set}" = set; then |
23380 | if test "${enable_res_search+set}" = set; then |
23397 | enableval="$enable_res_search" |
23381 | enableval=$enable_res_search; case "${enableval}" in |
23398 | case "${enableval}" in |
|
|
23399 | yes) |
23382 | yes) |
23400 | res_search=true |
23383 | res_search=true |
23401 | echo "$as_me:$LINENO: result: yes" >&5 |
23384 | { echo "$as_me:$LINENO: result: yes" >&5 |
23402 | echo "${ECHO_T}yes" >&6 |
23385 | echo "${ECHO_T}yes" >&6; } |
23403 | ;; |
23386 | ;; |
23404 | no) |
23387 | no) |
23405 | res_search=false |
23388 | res_search=false |
23406 | echo "$as_me:$LINENO: result: no" >&5 |
23389 | { echo "$as_me:$LINENO: result: no" >&5 |
23407 | echo "${ECHO_T}no" >&6 |
23390 | echo "${ECHO_T}no" >&6; } |
23408 | ;; |
23391 | ;; |
23409 | *) |
23392 | *) |
23410 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-res_search" >&5 |
23393 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-res_search" >&5 |
23411 | echo "$as_me: error: bad value ${enableval} for --enable-res_search" >&2;} |
23394 | echo "$as_me: error: bad value ${enableval} for --enable-res_search" >&2;} |
23412 | { (exit 1); exit 1; }; } |
23395 | { (exit 1); exit 1; }; } |
23413 | ;; |
23396 | ;; |
23414 | esac |
23397 | esac |
23415 | else |
23398 | else |
|
|
23399 | res_search=false |
23416 | res_search=falsee echo "$as_me:$LINENO: result: no" >&5 |
23400 | { echo "$as_me:$LINENO: result: no" >&5 |
23417 | echo "${ECHO_T}no" >&6 |
23401 | echo "${ECHO_T}no" >&6; } |
23418 | fi; |
23402 | fi |
|
|
23403 | |
23419 | |
23404 | |
23420 | if test "$res_search" = "true"; then |
23405 | if test "$res_search" = "true"; then |
23421 | CFLAGS="-D_WITH_RES_SEARCH $CFLAGS" |
23406 | CFLAGS="-D_WITH_RES_SEARCH $CFLAGS" |
23422 | fi |
23407 | fi |
23423 | |
23408 | |
23424 | |
23409 | |
23425 | #------------------------------------------------------------------------------- |
23410 | #------------------------------------------------------------------------------- |
23426 | # Check to see if we should build libSPF Query Tool |
23411 | # Check to see if we should build libSPF Query Tool |
23427 | #------------------------------------------------------------------------------- |
23412 | #------------------------------------------------------------------------------- |
23428 | |
23413 | |
23429 | echo "$as_me:$LINENO: checking whether to disable build the libSPF Query Tool?" >&5 |
23414 | { echo "$as_me:$LINENO: checking whether to disable build the libSPF Query Tool?" >&5 |
23430 | echo $ECHO_N "checking whether to disable build the libSPF Query Tool?... $ECHO_C" >&6 |
23415 | echo $ECHO_N "checking whether to disable build the libSPF Query Tool?... $ECHO_C" >&6; } |
23431 | # Check whether --enable-spfqtool or --disable-spfqtool was given. |
23416 | # Check whether --enable-spfqtool was given. |
23432 | if test "${enable_spfqtool+set}" = set; then |
23417 | if test "${enable_spfqtool+set}" = set; then |
23433 | enableval="$enable_spfqtool" |
23418 | enableval=$enable_spfqtool; case "${enableval}" in |
23434 | case "${enableval}" in |
|
|
23435 | yes) |
23419 | yes) |
23436 | spfqtool=true |
23420 | spfqtool=true |
23437 | echo "$as_me:$LINENO: result: yes" >&5 |
23421 | { echo "$as_me:$LINENO: result: yes" >&5 |
23438 | echo "${ECHO_T}yes" >&6 |
23422 | echo "${ECHO_T}yes" >&6; } |
23439 | ;; |
23423 | ;; |
23440 | no) |
23424 | no) |
23441 | spfqtool=false |
23425 | spfqtool=false |
23442 | echo "$as_me:$LINENO: result: no" >&5 |
23426 | { echo "$as_me:$LINENO: result: no" >&5 |
23443 | echo "${ECHO_T}no" >&6 |
23427 | echo "${ECHO_T}no" >&6; } |
23444 | ;; |
23428 | ;; |
23445 | *) |
23429 | *) |
23446 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-spfqtool" >&5 |
23430 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-spfqtool" >&5 |
23447 | echo "$as_me: error: bad value ${enableval} for --disable-spfqtool" >&2;} |
23431 | echo "$as_me: error: bad value ${enableval} for --disable-spfqtool" >&2;} |
23448 | { (exit 1); exit 1; }; } |
23432 | { (exit 1); exit 1; }; } |
23449 | ;; |
23433 | ;; |
23450 | esac |
23434 | esac |
23451 | else |
23435 | else |
|
|
23436 | spfqtool=false |
23452 | spfqtool=false echo "$as_me:$LINENO: result: no" >&5 |
23437 | { echo "$as_me:$LINENO: result: no" >&5 |
23453 | echo "${ECHO_T}no" >&6 |
23438 | echo "${ECHO_T}no" >&6; } |
23454 | fi; |
23439 | fi |
|
|
23440 | |
23455 | |
23441 | |
23456 | if test "$spfqtool" = "true"; then |
23442 | if test "$spfqtool" = "true"; then |
23457 | LIBSPF_BUILD_DIRS="libspf" |
23443 | LIBSPF_BUILD_DIRS="libspf" |
23458 | fi |
23444 | fi |
23459 | #AC_SUBST(LIBSPF_BUILD_DIRS) |
23445 | #AC_SUBST(LIBSPF_BUILD_DIRS) |
… | |
… | |
23465 | # _DNS_gethostbyname_r reentrant wrapper to gethostbyname unless |
23451 | # _DNS_gethostbyname_r reentrant wrapper to gethostbyname unless |
23466 | # gethostbyname_r is available (GNU extention) then the wrapper will |
23452 | # gethostbyname_r is available (GNU extention) then the wrapper will |
23467 | # be around that instead and won't use the mutex |
23453 | # be around that instead and won't use the mutex |
23468 | #------------------------------------------------------------------------------- |
23454 | #------------------------------------------------------------------------------- |
23469 | |
23455 | |
23470 | echo "$as_me:$LINENO: checking whether to compile with reentrant capabilities" >&5 |
23456 | { echo "$as_me:$LINENO: checking whether to compile with reentrant capabilities" >&5 |
23471 | echo $ECHO_N "checking whether to compile with reentrant capabilities... $ECHO_C" >&6 |
23457 | echo $ECHO_N "checking whether to compile with reentrant capabilities... $ECHO_C" >&6; } |
23472 | # Check whether --enable-pthreads or --disable-pthreads was given. |
23458 | # Check whether --enable-pthreads was given. |
23473 | if test "${enable_pthreads+set}" = set; then |
23459 | if test "${enable_pthreads+set}" = set; then |
23474 | enableval="$enable_pthreads" |
23460 | enableval=$enable_pthreads; case "${enableval}" in |
23475 | case "${enableval}" in |
|
|
23476 | yes) |
23461 | yes) |
23477 | pthreads=true |
23462 | pthreads=true |
23478 | echo "$as_me:$LINENO: result: yes" >&5 |
23463 | { echo "$as_me:$LINENO: result: yes" >&5 |
23479 | echo "${ECHO_T}yes" >&6 |
23464 | echo "${ECHO_T}yes" >&6; } |
23480 | ;; |
23465 | ;; |
23481 | no) |
23466 | no) |
23482 | pthreads=false |
23467 | pthreads=false |
23483 | echo "$as_me:$LINENO: result: no" >&5 |
23468 | { echo "$as_me:$LINENO: result: no" >&5 |
23484 | echo "${ECHO_T}no" >&6 |
23469 | echo "${ECHO_T}no" >&6; } |
23485 | ;; |
23470 | ;; |
23486 | *) |
23471 | *) |
23487 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-pthreads" >&5 |
23472 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-pthreads" >&5 |
23488 | echo "$as_me: error: bad value ${enableval} for --enable-pthreads" >&2;} |
23473 | echo "$as_me: error: bad value ${enableval} for --enable-pthreads" >&2;} |
23489 | { (exit 1); exit 1; }; } |
23474 | { (exit 1); exit 1; }; } |
23490 | ;; |
23475 | ;; |
23491 | esac |
23476 | esac |
23492 | else |
23477 | else |
|
|
23478 | pthreads=false |
23493 | pthreads=false echo "$as_me:$LINENO: result: no" >&5 |
23479 | { echo "$as_me:$LINENO: result: no" >&5 |
23494 | echo "${ECHO_T}no" >&6 |
23480 | echo "${ECHO_T}no" >&6; } |
23495 | fi; |
23481 | fi |
|
|
23482 | |
23496 | |
23483 | |
23497 | if test "$pthreads" = "true"; then |
23484 | if test "$pthreads" = "true"; then |
23498 | |
23485 | |
23499 | |
23486 | |
23500 | for ac_header in pthread.h |
23487 | for ac_header in pthread.h |
23501 | do |
23488 | do |
23502 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
23489 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
23503 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23490 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
23504 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23491 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23505 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
23492 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
23506 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23493 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
23507 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23494 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23508 | fi |
23495 | fi |
23509 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
23496 | ac_res=`eval echo '${'$as_ac_Header'}'` |
23510 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
23497 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
23498 | echo "${ECHO_T}$ac_res" >&6; } |
23511 | else |
23499 | else |
23512 | # Is the header compilable? |
23500 | # Is the header compilable? |
23513 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
23501 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
23514 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
23502 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
23515 | cat >conftest.$ac_ext <<_ACEOF |
23503 | cat >conftest.$ac_ext <<_ACEOF |
23516 | /* confdefs.h. */ |
23504 | /* confdefs.h. */ |
23517 | _ACEOF |
23505 | _ACEOF |
23518 | cat confdefs.h >>conftest.$ac_ext |
23506 | cat confdefs.h >>conftest.$ac_ext |
23519 | cat >>conftest.$ac_ext <<_ACEOF |
23507 | cat >>conftest.$ac_ext <<_ACEOF |
23520 | /* end confdefs.h. */ |
23508 | /* end confdefs.h. */ |
23521 | $ac_includes_default |
23509 | $ac_includes_default |
23522 | #include <$ac_header> |
23510 | #include <$ac_header> |
23523 | _ACEOF |
23511 | _ACEOF |
23524 | rm -f conftest.$ac_objext |
23512 | rm -f conftest.$ac_objext |
|
|
23513 | if { (ac_try="$ac_compile" |
|
|
23514 | case "(($ac_try" in |
|
|
23515 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
23516 | *) ac_try_echo=$ac_try;; |
|
|
23517 | esac |
23525 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
23518 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
23526 | (eval $ac_compile) 2>conftest.er1 |
23519 | (eval "$ac_compile") 2>conftest.er1 |
23527 | ac_status=$? |
23520 | ac_status=$? |
23528 | grep -v '^ *+' conftest.er1 >conftest.err |
23521 | grep -v '^ *+' conftest.er1 >conftest.err |
23529 | rm -f conftest.er1 |
23522 | rm -f conftest.er1 |
23530 | cat conftest.err >&5 |
23523 | cat conftest.err >&5 |
23531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23532 | (exit $ac_status); } && |
23525 | (exit $ac_status); } && { |
23533 | { ac_try='test -z "$ac_c_werror_flag" |
23526 | test -z "$ac_c_werror_flag" || |
23534 | || test ! -s conftest.err' |
23527 | test ! -s conftest.err |
23535 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23528 | } && test -s conftest.$ac_objext; then |
23536 | (eval $ac_try) 2>&5 |
|
|
23537 | ac_status=$? |
|
|
23538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23539 | (exit $ac_status); }; } && |
|
|
23540 | { ac_try='test -s conftest.$ac_objext' |
|
|
23541 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
23542 | (eval $ac_try) 2>&5 |
|
|
23543 | ac_status=$? |
|
|
23544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23545 | (exit $ac_status); }; }; then |
|
|
23546 | ac_header_compiler=yes |
23529 | ac_header_compiler=yes |
23547 | else |
23530 | else |
23548 | echo "$as_me: failed program was:" >&5 |
23531 | echo "$as_me: failed program was:" >&5 |
23549 | sed 's/^/| /' conftest.$ac_ext >&5 |
23532 | sed 's/^/| /' conftest.$ac_ext >&5 |
23550 | |
23533 | |
23551 | ac_header_compiler=no |
23534 | ac_header_compiler=no |
23552 | fi |
23535 | fi |
|
|
23536 | |
23553 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
23537 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
23554 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
23538 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
23555 | echo "${ECHO_T}$ac_header_compiler" >&6 |
23539 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
23556 | |
23540 | |
23557 | # Is the header present? |
23541 | # Is the header present? |
23558 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
23542 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
23559 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
23543 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
23560 | cat >conftest.$ac_ext <<_ACEOF |
23544 | cat >conftest.$ac_ext <<_ACEOF |
23561 | /* confdefs.h. */ |
23545 | /* confdefs.h. */ |
23562 | _ACEOF |
23546 | _ACEOF |
23563 | cat confdefs.h >>conftest.$ac_ext |
23547 | cat confdefs.h >>conftest.$ac_ext |
23564 | cat >>conftest.$ac_ext <<_ACEOF |
23548 | cat >>conftest.$ac_ext <<_ACEOF |
23565 | /* end confdefs.h. */ |
23549 | /* end confdefs.h. */ |
23566 | #include <$ac_header> |
23550 | #include <$ac_header> |
23567 | _ACEOF |
23551 | _ACEOF |
23568 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
23552 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
23553 | case "(($ac_try" in |
|
|
23554 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
23555 | *) ac_try_echo=$ac_try;; |
|
|
23556 | esac |
|
|
23557 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
23569 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
23558 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
23570 | ac_status=$? |
23559 | ac_status=$? |
23571 | grep -v '^ *+' conftest.er1 >conftest.err |
23560 | grep -v '^ *+' conftest.er1 >conftest.err |
23572 | rm -f conftest.er1 |
23561 | rm -f conftest.er1 |
23573 | cat conftest.err >&5 |
23562 | cat conftest.err >&5 |
23574 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23575 | (exit $ac_status); } >/dev/null; then |
23564 | (exit $ac_status); } >/dev/null && { |
|
|
23565 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
23576 | if test -s conftest.err; then |
23566 | test ! -s conftest.err |
23577 | ac_cpp_err=$ac_c_preproc_warn_flag |
23567 | }; then |
23578 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
23579 | else |
|
|
23580 | ac_cpp_err= |
|
|
23581 | fi |
|
|
23582 | else |
|
|
23583 | ac_cpp_err=yes |
|
|
23584 | fi |
|
|
23585 | if test -z "$ac_cpp_err"; then |
|
|
23586 | ac_header_preproc=yes |
23568 | ac_header_preproc=yes |
23587 | else |
23569 | else |
23588 | echo "$as_me: failed program was:" >&5 |
23570 | echo "$as_me: failed program was:" >&5 |
23589 | sed 's/^/| /' conftest.$ac_ext >&5 |
23571 | sed 's/^/| /' conftest.$ac_ext >&5 |
23590 | |
23572 | |
23591 | ac_header_preproc=no |
23573 | ac_header_preproc=no |
23592 | fi |
23574 | fi |
|
|
23575 | |
23593 | rm -f conftest.err conftest.$ac_ext |
23576 | rm -f conftest.err conftest.$ac_ext |
23594 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
23577 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
23595 | echo "${ECHO_T}$ac_header_preproc" >&6 |
23578 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
23596 | |
23579 | |
23597 | # So? What about this header? |
23580 | # So? What about this header? |
23598 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
23581 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
23599 | yes:no: ) |
23582 | yes:no: ) |
23600 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
23583 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
… | |
… | |
23614 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
23597 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
23615 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
23598 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
23616 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
23599 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
23617 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
23600 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
23618 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
23601 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
23619 | ( |
|
|
23620 | cat <<\_ASBOX |
23602 | ( cat <<\_ASBOX |
23621 | ## ------------------------------------ ## |
23603 | ## ------------------------------------ ## |
23622 | ## Report this to jcouzens@codeshare.ca ## |
23604 | ## Report this to jcouzens@codeshare.ca ## |
23623 | ## ------------------------------------ ## |
23605 | ## ------------------------------------ ## |
23624 | _ASBOX |
23606 | _ASBOX |
23625 | ) | |
|
|
23626 | sed "s/^/$as_me: WARNING: /" >&2 |
23607 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
23627 | ;; |
23608 | ;; |
23628 | esac |
23609 | esac |
23629 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23610 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23630 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
23611 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
23631 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23612 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
23632 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23613 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23633 | else |
23614 | else |
23634 | eval "$as_ac_Header=\$ac_header_preproc" |
23615 | eval "$as_ac_Header=\$ac_header_preproc" |
23635 | fi |
23616 | fi |
23636 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
23617 | ac_res=`eval echo '${'$as_ac_Header'}'` |
23637 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
23618 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
23619 | echo "${ECHO_T}$ac_res" >&6; } |
23638 | |
23620 | |
23639 | fi |
23621 | fi |
23640 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
23622 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
23641 | cat >>confdefs.h <<_ACEOF |
23623 | cat >>confdefs.h <<_ACEOF |
23642 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
23624 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
… | |
… | |
23667 | |
23649 | |
23668 | |
23650 | |
23669 | for ac_func in gethostbyname_r |
23651 | for ac_func in gethostbyname_r |
23670 | do |
23652 | do |
23671 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
23653 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
23672 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
23654 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
23673 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
23655 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
23674 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
23656 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
23675 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23657 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23676 | else |
23658 | else |
23677 | cat >conftest.$ac_ext <<_ACEOF |
23659 | cat >conftest.$ac_ext <<_ACEOF |
23678 | /* confdefs.h. */ |
23660 | /* confdefs.h. */ |
23679 | _ACEOF |
23661 | _ACEOF |
… | |
… | |
23695 | # include <assert.h> |
23677 | # include <assert.h> |
23696 | #endif |
23678 | #endif |
23697 | |
23679 | |
23698 | #undef $ac_func |
23680 | #undef $ac_func |
23699 | |
23681 | |
23700 | /* Override any gcc2 internal prototype to avoid an error. */ |
23682 | /* Override any GCC internal prototype to avoid an error. |
|
|
23683 | Use char because int might match the return type of a GCC |
|
|
23684 | builtin and then its argument prototype would still apply. */ |
23701 | #ifdef __cplusplus |
23685 | #ifdef __cplusplus |
23702 | extern "C" |
23686 | extern "C" |
23703 | { |
|
|
23704 | #endif |
23687 | #endif |
23705 | /* We use char because int might match the return type of a gcc2 |
|
|
23706 | builtin and then its argument prototype would still apply. */ |
|
|
23707 | char $ac_func (); |
23688 | char $ac_func (); |
23708 | /* The GNU C library defines this for functions which it implements |
23689 | /* The GNU C library defines this for functions which it implements |
23709 | to always fail with ENOSYS. Some functions are actually named |
23690 | to always fail with ENOSYS. Some functions are actually named |
23710 | something starting with __ and the normal name is an alias. */ |
23691 | something starting with __ and the normal name is an alias. */ |
23711 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
23692 | #if defined __stub_$ac_func || defined __stub___$ac_func |
23712 | choke me |
23693 | choke me |
23713 | #else |
|
|
23714 | char (*f) () = $ac_func; |
|
|
23715 | #endif |
|
|
23716 | #ifdef __cplusplus |
|
|
23717 | } |
|
|
23718 | #endif |
23694 | #endif |
23719 | |
23695 | |
23720 | int |
23696 | int |
23721 | main () |
23697 | main () |
23722 | { |
23698 | { |
23723 | return f != $ac_func; |
23699 | return $ac_func (); |
23724 | ; |
23700 | ; |
23725 | return 0; |
23701 | return 0; |
23726 | } |
23702 | } |
23727 | _ACEOF |
23703 | _ACEOF |
23728 | rm -f conftest.$ac_objext conftest$ac_exeext |
23704 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
23705 | if { (ac_try="$ac_link" |
|
|
23706 | case "(($ac_try" in |
|
|
23707 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
23708 | *) ac_try_echo=$ac_try;; |
|
|
23709 | esac |
23729 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
23710 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
23730 | (eval $ac_link) 2>conftest.er1 |
23711 | (eval "$ac_link") 2>conftest.er1 |
23731 | ac_status=$? |
23712 | ac_status=$? |
23732 | grep -v '^ *+' conftest.er1 >conftest.err |
23713 | grep -v '^ *+' conftest.er1 >conftest.err |
23733 | rm -f conftest.er1 |
23714 | rm -f conftest.er1 |
23734 | cat conftest.err >&5 |
23715 | cat conftest.err >&5 |
23735 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23716 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23736 | (exit $ac_status); } && |
23717 | (exit $ac_status); } && { |
23737 | { ac_try='test -z "$ac_c_werror_flag" |
23718 | test -z "$ac_c_werror_flag" || |
23738 | || test ! -s conftest.err' |
23719 | test ! -s conftest.err |
23739 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23720 | } && test -s conftest$ac_exeext && |
23740 | (eval $ac_try) 2>&5 |
23721 | $as_test_x conftest$ac_exeext; then |
23741 | ac_status=$? |
|
|
23742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23743 | (exit $ac_status); }; } && |
|
|
23744 | { ac_try='test -s conftest$ac_exeext' |
|
|
23745 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
23746 | (eval $ac_try) 2>&5 |
|
|
23747 | ac_status=$? |
|
|
23748 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23749 | (exit $ac_status); }; }; then |
|
|
23750 | eval "$as_ac_var=yes" |
23722 | eval "$as_ac_var=yes" |
23751 | else |
23723 | else |
23752 | echo "$as_me: failed program was:" >&5 |
23724 | echo "$as_me: failed program was:" >&5 |
23753 | sed 's/^/| /' conftest.$ac_ext >&5 |
23725 | sed 's/^/| /' conftest.$ac_ext >&5 |
23754 | |
23726 | |
23755 | eval "$as_ac_var=no" |
23727 | eval "$as_ac_var=no" |
23756 | fi |
23728 | fi |
23757 | rm -f conftest.err conftest.$ac_objext \ |
23729 | |
|
|
23730 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
23758 | conftest$ac_exeext conftest.$ac_ext |
23731 | conftest$ac_exeext conftest.$ac_ext |
23759 | fi |
23732 | fi |
23760 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
23733 | ac_res=`eval echo '${'$as_ac_var'}'` |
23761 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
23734 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
23735 | echo "${ECHO_T}$ac_res" >&6; } |
23762 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
23736 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
23763 | cat >>confdefs.h <<_ACEOF |
23737 | cat >>confdefs.h <<_ACEOF |
23764 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
23738 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
23765 | _ACEOF |
23739 | _ACEOF |
23766 | |
23740 | |
… | |
… | |
23790 | # Check to see if we should build Sendmail SPF milter and perform the pthreads |
23764 | # Check to see if we should build Sendmail SPF milter and perform the pthreads |
23791 | # check again and in the event it wasn't specified (its required) or it failed, |
23765 | # check again and in the event it wasn't specified (its required) or it failed, |
23792 | # we will catch it (and enable it if successful) here. |
23766 | # we will catch it (and enable it if successful) here. |
23793 | #------------------------------------------------------------------------------- |
23767 | #------------------------------------------------------------------------------- |
23794 | |
23768 | |
23795 | echo "$as_me:$LINENO: checking whether to build the Sendmail SPF milter?" >&5 |
23769 | { echo "$as_me:$LINENO: checking whether to build the Sendmail SPF milter?" >&5 |
23796 | echo $ECHO_N "checking whether to build the Sendmail SPF milter?... $ECHO_C" >&6 |
23770 | echo $ECHO_N "checking whether to build the Sendmail SPF milter?... $ECHO_C" >&6; } |
23797 | # Check whether --enable-spfmilter or --disable-spfmilter was given. |
23771 | # Check whether --enable-spfmilter was given. |
23798 | if test "${enable_spfmilter+set}" = set; then |
23772 | if test "${enable_spfmilter+set}" = set; then |
23799 | enableval="$enable_spfmilter" |
23773 | enableval=$enable_spfmilter; case "${enableval}" in |
23800 | case "${enableval}" in |
|
|
23801 | yes) |
23774 | yes) |
23802 | spfmilter=true |
23775 | spfmilter=true |
23803 | echo "$as_me:$LINENO: result: yes" >&5 |
23776 | { echo "$as_me:$LINENO: result: yes" >&5 |
23804 | echo "${ECHO_T}yes" >&6 |
23777 | echo "${ECHO_T}yes" >&6; } |
23805 | ;; |
23778 | ;; |
23806 | no) |
23779 | no) |
23807 | spfmilter=false |
23780 | spfmilter=false |
23808 | echo "$as_me:$LINENO: result: no" >&5 |
23781 | { echo "$as_me:$LINENO: result: no" >&5 |
23809 | echo "${ECHO_T}no" >&6 |
23782 | echo "${ECHO_T}no" >&6; } |
23810 | ;; |
23783 | ;; |
23811 | *) |
23784 | *) |
23812 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-spfmilter" >&5 |
23785 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-spfmilter" >&5 |
23813 | echo "$as_me: error: bad value ${enableval} for --enable-spfmilter" >&2;} |
23786 | echo "$as_me: error: bad value ${enableval} for --enable-spfmilter" >&2;} |
23814 | { (exit 1); exit 1; }; } |
23787 | { (exit 1); exit 1; }; } |
23815 | ;; |
23788 | ;; |
23816 | esac |
23789 | esac |
23817 | else |
23790 | else |
|
|
23791 | spfmilter=false |
23818 | spfmilter=false echo "$as_me:$LINENO: result: no" >&5 |
23792 | { echo "$as_me:$LINENO: result: no" >&5 |
23819 | echo "${ECHO_T}no" >&6 |
23793 | echo "${ECHO_T}no" >&6; } |
23820 | fi; |
23794 | fi |
|
|
23795 | |
23821 | |
23796 | |
23822 | if test "$pthreads" = "false"; then |
23797 | if test "$pthreads" = "false"; then |
23823 | if test "$spfmilter" = "true"; then |
23798 | if test "$spfmilter" = "true"; then |
23824 | { { echo "$as_me:$LINENO: error: pthreads is required, please re-configure with --enable-pthreads" >&5 |
23799 | { { echo "$as_me:$LINENO: error: pthreads is required, please re-configure with --enable-pthreads" >&5 |
23825 | echo "$as_me: error: pthreads is required, please re-configure with --enable-pthreads" >&2;} |
23800 | echo "$as_me: error: pthreads is required, please re-configure with --enable-pthreads" >&2;} |
… | |
… | |
23857 | |
23832 | |
23858 | #------------------------------------------------------------------------------- |
23833 | #------------------------------------------------------------------------------- |
23859 | # getpwuid (pwd.h) |
23834 | # getpwuid (pwd.h) |
23860 | #------------------------------------------------------------------------------- |
23835 | #------------------------------------------------------------------------------- |
23861 | |
23836 | |
23862 | echo "$as_me:$LINENO: checking getpwuid" >&5 |
23837 | { echo "$as_me:$LINENO: checking getpwuid" >&5 |
23863 | echo $ECHO_N "checking getpwuid... $ECHO_C" >&6 |
23838 | echo $ECHO_N "checking getpwuid... $ECHO_C" >&6; } |
23864 | use_getpwuid=no |
23839 | use_getpwuid=no |
23865 | echo "$as_me:$LINENO: checking for getpwuid" >&5 |
23840 | { echo "$as_me:$LINENO: checking for getpwuid" >&5 |
23866 | echo $ECHO_N "checking for getpwuid... $ECHO_C" >&6 |
23841 | echo $ECHO_N "checking for getpwuid... $ECHO_C" >&6; } |
23867 | if test "${ac_cv_func_getpwuid+set}" = set; then |
23842 | if test "${ac_cv_func_getpwuid+set}" = set; then |
23868 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23843 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23869 | else |
23844 | else |
23870 | cat >conftest.$ac_ext <<_ACEOF |
23845 | cat >conftest.$ac_ext <<_ACEOF |
23871 | /* confdefs.h. */ |
23846 | /* confdefs.h. */ |
… | |
… | |
23888 | # include <assert.h> |
23863 | # include <assert.h> |
23889 | #endif |
23864 | #endif |
23890 | |
23865 | |
23891 | #undef getpwuid |
23866 | #undef getpwuid |
23892 | |
23867 | |
23893 | /* Override any gcc2 internal prototype to avoid an error. */ |
23868 | /* Override any GCC internal prototype to avoid an error. |
|
|
23869 | Use char because int might match the return type of a GCC |
|
|
23870 | builtin and then its argument prototype would still apply. */ |
23894 | #ifdef __cplusplus |
23871 | #ifdef __cplusplus |
23895 | extern "C" |
23872 | extern "C" |
23896 | { |
|
|
23897 | #endif |
23873 | #endif |
23898 | /* We use char because int might match the return type of a gcc2 |
|
|
23899 | builtin and then its argument prototype would still apply. */ |
|
|
23900 | char getpwuid (); |
23874 | char getpwuid (); |
23901 | /* The GNU C library defines this for functions which it implements |
23875 | /* The GNU C library defines this for functions which it implements |
23902 | to always fail with ENOSYS. Some functions are actually named |
23876 | to always fail with ENOSYS. Some functions are actually named |
23903 | something starting with __ and the normal name is an alias. */ |
23877 | something starting with __ and the normal name is an alias. */ |
23904 | #if defined (__stub_getpwuid) || defined (__stub___getpwuid) |
23878 | #if defined __stub_getpwuid || defined __stub___getpwuid |
23905 | choke me |
23879 | choke me |
23906 | #else |
|
|
23907 | char (*f) () = getpwuid; |
|
|
23908 | #endif |
|
|
23909 | #ifdef __cplusplus |
|
|
23910 | } |
|
|
23911 | #endif |
23880 | #endif |
23912 | |
23881 | |
23913 | int |
23882 | int |
23914 | main () |
23883 | main () |
23915 | { |
23884 | { |
23916 | return f != getpwuid; |
23885 | return getpwuid (); |
23917 | ; |
23886 | ; |
23918 | return 0; |
23887 | return 0; |
23919 | } |
23888 | } |
23920 | _ACEOF |
23889 | _ACEOF |
23921 | rm -f conftest.$ac_objext conftest$ac_exeext |
23890 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
23891 | if { (ac_try="$ac_link" |
|
|
23892 | case "(($ac_try" in |
|
|
23893 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
23894 | *) ac_try_echo=$ac_try;; |
|
|
23895 | esac |
23922 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
23896 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
23923 | (eval $ac_link) 2>conftest.er1 |
23897 | (eval "$ac_link") 2>conftest.er1 |
23924 | ac_status=$? |
23898 | ac_status=$? |
23925 | grep -v '^ *+' conftest.er1 >conftest.err |
23899 | grep -v '^ *+' conftest.er1 >conftest.err |
23926 | rm -f conftest.er1 |
23900 | rm -f conftest.er1 |
23927 | cat conftest.err >&5 |
23901 | cat conftest.err >&5 |
23928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23929 | (exit $ac_status); } && |
23903 | (exit $ac_status); } && { |
23930 | { ac_try='test -z "$ac_c_werror_flag" |
23904 | test -z "$ac_c_werror_flag" || |
23931 | || test ! -s conftest.err' |
23905 | test ! -s conftest.err |
23932 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23906 | } && test -s conftest$ac_exeext && |
23933 | (eval $ac_try) 2>&5 |
23907 | $as_test_x conftest$ac_exeext; then |
23934 | ac_status=$? |
|
|
23935 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23936 | (exit $ac_status); }; } && |
|
|
23937 | { ac_try='test -s conftest$ac_exeext' |
|
|
23938 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
23939 | (eval $ac_try) 2>&5 |
|
|
23940 | ac_status=$? |
|
|
23941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23942 | (exit $ac_status); }; }; then |
|
|
23943 | ac_cv_func_getpwuid=yes |
23908 | ac_cv_func_getpwuid=yes |
23944 | else |
23909 | else |
23945 | echo "$as_me: failed program was:" >&5 |
23910 | echo "$as_me: failed program was:" >&5 |
23946 | sed 's/^/| /' conftest.$ac_ext >&5 |
23911 | sed 's/^/| /' conftest.$ac_ext >&5 |
23947 | |
23912 | |
23948 | ac_cv_func_getpwuid=no |
23913 | ac_cv_func_getpwuid=no |
23949 | fi |
23914 | fi |
23950 | rm -f conftest.err conftest.$ac_objext \ |
23915 | |
|
|
23916 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
23951 | conftest$ac_exeext conftest.$ac_ext |
23917 | conftest$ac_exeext conftest.$ac_ext |
23952 | fi |
23918 | fi |
23953 | echo "$as_me:$LINENO: result: $ac_cv_func_getpwuid" >&5 |
23919 | { echo "$as_me:$LINENO: result: $ac_cv_func_getpwuid" >&5 |
23954 | echo "${ECHO_T}$ac_cv_func_getpwuid" >&6 |
23920 | echo "${ECHO_T}$ac_cv_func_getpwuid" >&6; } |
23955 | if test $ac_cv_func_getpwuid = yes; then |
23921 | if test $ac_cv_func_getpwuid = yes; then |
23956 | use_getpwuid=yes |
23922 | use_getpwuid=yes |
23957 | else |
23923 | else |
23958 | echo "$as_me:$LINENO: checking for getpwuid" >&5 |
23924 | { echo "$as_me:$LINENO: checking for getpwuid" >&5 |
23959 | echo $ECHO_N "checking for getpwuid... $ECHO_C" >&6 |
23925 | echo $ECHO_N "checking for getpwuid... $ECHO_C" >&6; } |
23960 | if test "${ac_cv_func_getpwuid+set}" = set; then |
23926 | if test "${ac_cv_func_getpwuid+set}" = set; then |
23961 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23927 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23962 | else |
23928 | else |
23963 | cat >conftest.$ac_ext <<_ACEOF |
23929 | cat >conftest.$ac_ext <<_ACEOF |
23964 | /* confdefs.h. */ |
23930 | /* confdefs.h. */ |
… | |
… | |
23981 | # include <assert.h> |
23947 | # include <assert.h> |
23982 | #endif |
23948 | #endif |
23983 | |
23949 | |
23984 | #undef getpwuid |
23950 | #undef getpwuid |
23985 | |
23951 | |
23986 | /* Override any gcc2 internal prototype to avoid an error. */ |
23952 | /* Override any GCC internal prototype to avoid an error. |
|
|
23953 | Use char because int might match the return type of a GCC |
|
|
23954 | builtin and then its argument prototype would still apply. */ |
23987 | #ifdef __cplusplus |
23955 | #ifdef __cplusplus |
23988 | extern "C" |
23956 | extern "C" |
23989 | { |
|
|
23990 | #endif |
23957 | #endif |
23991 | /* We use char because int might match the return type of a gcc2 |
|
|
23992 | builtin and then its argument prototype would still apply. */ |
|
|
23993 | char getpwuid (); |
23958 | char getpwuid (); |
23994 | /* The GNU C library defines this for functions which it implements |
23959 | /* The GNU C library defines this for functions which it implements |
23995 | to always fail with ENOSYS. Some functions are actually named |
23960 | to always fail with ENOSYS. Some functions are actually named |
23996 | something starting with __ and the normal name is an alias. */ |
23961 | something starting with __ and the normal name is an alias. */ |
23997 | #if defined (__stub_getpwuid) || defined (__stub___getpwuid) |
23962 | #if defined __stub_getpwuid || defined __stub___getpwuid |
23998 | choke me |
23963 | choke me |
23999 | #else |
|
|
24000 | char (*f) () = getpwuid; |
|
|
24001 | #endif |
|
|
24002 | #ifdef __cplusplus |
|
|
24003 | } |
|
|
24004 | #endif |
23964 | #endif |
24005 | |
23965 | |
24006 | int |
23966 | int |
24007 | main () |
23967 | main () |
24008 | { |
23968 | { |
24009 | return f != getpwuid; |
23969 | return getpwuid (); |
24010 | ; |
23970 | ; |
24011 | return 0; |
23971 | return 0; |
24012 | } |
23972 | } |
24013 | _ACEOF |
23973 | _ACEOF |
24014 | rm -f conftest.$ac_objext conftest$ac_exeext |
23974 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
23975 | if { (ac_try="$ac_link" |
|
|
23976 | case "(($ac_try" in |
|
|
23977 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
23978 | *) ac_try_echo=$ac_try;; |
|
|
23979 | esac |
24015 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
23980 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
24016 | (eval $ac_link) 2>conftest.er1 |
23981 | (eval "$ac_link") 2>conftest.er1 |
24017 | ac_status=$? |
23982 | ac_status=$? |
24018 | grep -v '^ *+' conftest.er1 >conftest.err |
23983 | grep -v '^ *+' conftest.er1 >conftest.err |
24019 | rm -f conftest.er1 |
23984 | rm -f conftest.er1 |
24020 | cat conftest.err >&5 |
23985 | cat conftest.err >&5 |
24021 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23986 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24022 | (exit $ac_status); } && |
23987 | (exit $ac_status); } && { |
24023 | { ac_try='test -z "$ac_c_werror_flag" |
23988 | test -z "$ac_c_werror_flag" || |
24024 | || test ! -s conftest.err' |
23989 | test ! -s conftest.err |
24025 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23990 | } && test -s conftest$ac_exeext && |
24026 | (eval $ac_try) 2>&5 |
23991 | $as_test_x conftest$ac_exeext; then |
24027 | ac_status=$? |
|
|
24028 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
24029 | (exit $ac_status); }; } && |
|
|
24030 | { ac_try='test -s conftest$ac_exeext' |
|
|
24031 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
24032 | (eval $ac_try) 2>&5 |
|
|
24033 | ac_status=$? |
|
|
24034 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
24035 | (exit $ac_status); }; }; then |
|
|
24036 | ac_cv_func_getpwuid=yes |
23992 | ac_cv_func_getpwuid=yes |
24037 | else |
23993 | else |
24038 | echo "$as_me: failed program was:" >&5 |
23994 | echo "$as_me: failed program was:" >&5 |
24039 | sed 's/^/| /' conftest.$ac_ext >&5 |
23995 | sed 's/^/| /' conftest.$ac_ext >&5 |
24040 | |
23996 | |
24041 | ac_cv_func_getpwuid=no |
23997 | ac_cv_func_getpwuid=no |
24042 | fi |
23998 | fi |
24043 | rm -f conftest.err conftest.$ac_objext \ |
23999 | |
|
|
24000 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
24044 | conftest$ac_exeext conftest.$ac_ext |
24001 | conftest$ac_exeext conftest.$ac_ext |
24045 | fi |
24002 | fi |
24046 | echo "$as_me:$LINENO: result: $ac_cv_func_getpwuid" >&5 |
24003 | { echo "$as_me:$LINENO: result: $ac_cv_func_getpwuid" >&5 |
24047 | echo "${ECHO_T}$ac_cv_func_getpwuid" >&6 |
24004 | echo "${ECHO_T}$ac_cv_func_getpwuid" >&6; } |
24048 | |
24005 | |
24049 | fi |
24006 | fi |
24050 | |
24007 | |
24051 | if test "x$use_getpwuid" = "xyes"; then |
24008 | if test "x$use_getpwuid" = "xyes"; then |
24052 | |
24009 | |
… | |
… | |
24063 | |
24020 | |
24064 | #------------------------------------------------------------------------------- |
24021 | #------------------------------------------------------------------------------- |
24065 | # setgroups (grp.h) |
24022 | # setgroups (grp.h) |
24066 | #------------------------------------------------------------------------------- |
24023 | #------------------------------------------------------------------------------- |
24067 | |
24024 | |
24068 | echo "$as_me:$LINENO: checking setgroups" >&5 |
24025 | { echo "$as_me:$LINENO: checking setgroups" >&5 |
24069 | echo $ECHO_N "checking setgroups... $ECHO_C" >&6 |
24026 | echo $ECHO_N "checking setgroups... $ECHO_C" >&6; } |
24070 | use_setgroups=no |
24027 | use_setgroups=no |
24071 | echo "$as_me:$LINENO: checking for setgroups" >&5 |
24028 | { echo "$as_me:$LINENO: checking for setgroups" >&5 |
24072 | echo $ECHO_N "checking for setgroups... $ECHO_C" >&6 |
24029 | echo $ECHO_N "checking for setgroups... $ECHO_C" >&6; } |
24073 | if test "${ac_cv_func_setgroups+set}" = set; then |
24030 | if test "${ac_cv_func_setgroups+set}" = set; then |
24074 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24031 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24075 | else |
24032 | else |
24076 | cat >conftest.$ac_ext <<_ACEOF |
24033 | cat >conftest.$ac_ext <<_ACEOF |
24077 | /* confdefs.h. */ |
24034 | /* confdefs.h. */ |
… | |
… | |
24094 | # include <assert.h> |
24051 | # include <assert.h> |
24095 | #endif |
24052 | #endif |
24096 | |
24053 | |
24097 | #undef setgroups |
24054 | #undef setgroups |
24098 | |
24055 | |
24099 | /* Override any gcc2 internal prototype to avoid an error. */ |
24056 | /* Override any GCC internal prototype to avoid an error. |
|
|
24057 | Use char because int might match the return type of a GCC |
|
|
24058 | builtin and then its argument prototype would still apply. */ |
24100 | #ifdef __cplusplus |
24059 | #ifdef __cplusplus |
24101 | extern "C" |
24060 | extern "C" |
24102 | { |
|
|
24103 | #endif |
24061 | #endif |
24104 | /* We use char because int might match the return type of a gcc2 |
|
|
24105 | builtin and then its argument prototype would still apply. */ |
|
|
24106 | char setgroups (); |
24062 | char setgroups (); |
24107 | /* The GNU C library defines this for functions which it implements |
24063 | /* The GNU C library defines this for functions which it implements |
24108 | to always fail with ENOSYS. Some functions are actually named |
24064 | to always fail with ENOSYS. Some functions are actually named |
24109 | something starting with __ and the normal name is an alias. */ |
24065 | something starting with __ and the normal name is an alias. */ |
24110 | #if defined (__stub_setgroups) || defined (__stub___setgroups) |
24066 | #if defined __stub_setgroups || defined __stub___setgroups |
24111 | choke me |
24067 | choke me |
24112 | #else |
|
|
24113 | char (*f) () = setgroups; |
|
|
24114 | #endif |
|
|
24115 | #ifdef __cplusplus |
|
|
24116 | } |
|
|
24117 | #endif |
24068 | #endif |
24118 | |
24069 | |
24119 | int |
24070 | int |
24120 | main () |
24071 | main () |
24121 | { |
24072 | { |
24122 | return f != setgroups; |
24073 | return setgroups (); |
24123 | ; |
24074 | ; |
24124 | return 0; |
24075 | return 0; |
24125 | } |
24076 | } |
24126 | _ACEOF |
24077 | _ACEOF |
24127 | rm -f conftest.$ac_objext conftest$ac_exeext |
24078 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
24079 | if { (ac_try="$ac_link" |
|
|
24080 | case "(($ac_try" in |
|
|
24081 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
24082 | *) ac_try_echo=$ac_try;; |
|
|
24083 | esac |
24128 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
24084 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
24129 | (eval $ac_link) 2>conftest.er1 |
24085 | (eval "$ac_link") 2>conftest.er1 |
24130 | ac_status=$? |
24086 | ac_status=$? |
24131 | grep -v '^ *+' conftest.er1 >conftest.err |
24087 | grep -v '^ *+' conftest.er1 >conftest.err |
24132 | rm -f conftest.er1 |
24088 | rm -f conftest.er1 |
24133 | cat conftest.err >&5 |
24089 | cat conftest.err >&5 |
24134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24135 | (exit $ac_status); } && |
24091 | (exit $ac_status); } && { |
24136 | { ac_try='test -z "$ac_c_werror_flag" |
24092 | test -z "$ac_c_werror_flag" || |
24137 | || test ! -s conftest.err' |
24093 | test ! -s conftest.err |
24138 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24094 | } && test -s conftest$ac_exeext && |
24139 | (eval $ac_try) 2>&5 |
24095 | $as_test_x conftest$ac_exeext; then |
24140 | ac_status=$? |
|
|
24141 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
24142 | (exit $ac_status); }; } && |
|
|
24143 | { ac_try='test -s conftest$ac_exeext' |
|
|
24144 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
24145 | (eval $ac_try) 2>&5 |
|
|
24146 | ac_status=$? |
|
|
24147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
24148 | (exit $ac_status); }; }; then |
|
|
24149 | ac_cv_func_setgroups=yes |
24096 | ac_cv_func_setgroups=yes |
24150 | else |
24097 | else |
24151 | echo "$as_me: failed program was:" >&5 |
24098 | echo "$as_me: failed program was:" >&5 |
24152 | sed 's/^/| /' conftest.$ac_ext >&5 |
24099 | sed 's/^/| /' conftest.$ac_ext >&5 |
24153 | |
24100 | |
24154 | ac_cv_func_setgroups=no |
24101 | ac_cv_func_setgroups=no |
24155 | fi |
24102 | fi |
24156 | rm -f conftest.err conftest.$ac_objext \ |
24103 | |
|
|
24104 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
24157 | conftest$ac_exeext conftest.$ac_ext |
24105 | conftest$ac_exeext conftest.$ac_ext |
24158 | fi |
24106 | fi |
24159 | echo "$as_me:$LINENO: result: $ac_cv_func_setgroups" >&5 |
24107 | { echo "$as_me:$LINENO: result: $ac_cv_func_setgroups" >&5 |
24160 | echo "${ECHO_T}$ac_cv_func_setgroups" >&6 |
24108 | echo "${ECHO_T}$ac_cv_func_setgroups" >&6; } |
24161 | if test $ac_cv_func_setgroups = yes; then |
24109 | if test $ac_cv_func_setgroups = yes; then |
24162 | use_setgroups=yes |
24110 | use_setgroups=yes |
24163 | else |
24111 | else |
24164 | echo "$as_me:$LINENO: checking for setgroups" >&5 |
24112 | { echo "$as_me:$LINENO: checking for setgroups" >&5 |
24165 | echo $ECHO_N "checking for setgroups... $ECHO_C" >&6 |
24113 | echo $ECHO_N "checking for setgroups... $ECHO_C" >&6; } |
24166 | if test "${ac_cv_func_setgroups+set}" = set; then |
24114 | if test "${ac_cv_func_setgroups+set}" = set; then |
24167 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24115 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24168 | else |
24116 | else |
24169 | cat >conftest.$ac_ext <<_ACEOF |
24117 | cat >conftest.$ac_ext <<_ACEOF |
24170 | /* confdefs.h. */ |
24118 | /* confdefs.h. */ |
… | |
… | |
24187 | # include <assert.h> |
24135 | # include <assert.h> |
24188 | #endif |
24136 | #endif |
24189 | |
24137 | |
24190 | #undef setgroups |
24138 | #undef setgroups |
24191 | |
24139 | |
24192 | /* Override any gcc2 internal prototype to avoid an error. */ |
24140 | /* Override any GCC internal prototype to avoid an error. |
|
|
24141 | Use char because int might match the return type of a GCC |
|
|
24142 | builtin and then its argument prototype would still apply. */ |
24193 | #ifdef __cplusplus |
24143 | #ifdef __cplusplus |
24194 | extern "C" |
24144 | extern "C" |
24195 | { |
|
|
24196 | #endif |
24145 | #endif |
24197 | /* We use char because int might match the return type of a gcc2 |
|
|
24198 | builtin and then its argument prototype would still apply. */ |
|
|
24199 | char setgroups (); |
24146 | char setgroups (); |
24200 | /* The GNU C library defines this for functions which it implements |
24147 | /* The GNU C library defines this for functions which it implements |
24201 | to always fail with ENOSYS. Some functions are actually named |
24148 | to always fail with ENOSYS. Some functions are actually named |
24202 | something starting with __ and the normal name is an alias. */ |
24149 | something starting with __ and the normal name is an alias. */ |
24203 | #if defined (__stub_setgroups) || defined (__stub___setgroups) |
24150 | #if defined __stub_setgroups || defined __stub___setgroups |
24204 | choke me |
24151 | choke me |
24205 | #else |
|
|
24206 | char (*f) () = setgroups; |
|
|
24207 | #endif |
|
|
24208 | #ifdef __cplusplus |
|
|
24209 | } |
|
|
24210 | #endif |
24152 | #endif |
24211 | |
24153 | |
24212 | int |
24154 | int |
24213 | main () |
24155 | main () |
24214 | { |
24156 | { |
24215 | return f != setgroups; |
24157 | return setgroups (); |
24216 | ; |
24158 | ; |
24217 | return 0; |
24159 | return 0; |
24218 | } |
24160 | } |
24219 | _ACEOF |
24161 | _ACEOF |
24220 | rm -f conftest.$ac_objext conftest$ac_exeext |
24162 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
24163 | if { (ac_try="$ac_link" |
|
|
24164 | case "(($ac_try" in |
|
|
24165 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
24166 | *) ac_try_echo=$ac_try;; |
|
|
24167 | esac |
24221 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
24168 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
24222 | (eval $ac_link) 2>conftest.er1 |
24169 | (eval "$ac_link") 2>conftest.er1 |
24223 | ac_status=$? |
24170 | ac_status=$? |
24224 | grep -v '^ *+' conftest.er1 >conftest.err |
24171 | grep -v '^ *+' conftest.er1 >conftest.err |
24225 | rm -f conftest.er1 |
24172 | rm -f conftest.er1 |
24226 | cat conftest.err >&5 |
24173 | cat conftest.err >&5 |
24227 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24174 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24228 | (exit $ac_status); } && |
24175 | (exit $ac_status); } && { |
24229 | { ac_try='test -z "$ac_c_werror_flag" |
24176 | test -z "$ac_c_werror_flag" || |
24230 | || test ! -s conftest.err' |
24177 | test ! -s conftest.err |
24231 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24178 | } && test -s conftest$ac_exeext && |
24232 | (eval $ac_try) 2>&5 |
24179 | $as_test_x conftest$ac_exeext; then |
24233 | ac_status=$? |
|
|
24234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
24235 | (exit $ac_status); }; } && |
|
|
24236 | { ac_try='test -s conftest$ac_exeext' |
|
|
24237 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
24238 | (eval $ac_try) 2>&5 |
|
|
24239 | ac_status=$? |
|
|
24240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
24241 | (exit $ac_status); }; }; then |
|
|
24242 | ac_cv_func_setgroups=yes |
24180 | ac_cv_func_setgroups=yes |
24243 | else |
24181 | else |
24244 | echo "$as_me: failed program was:" >&5 |
24182 | echo "$as_me: failed program was:" >&5 |
24245 | sed 's/^/| /' conftest.$ac_ext >&5 |
24183 | sed 's/^/| /' conftest.$ac_ext >&5 |
24246 | |
24184 | |
24247 | ac_cv_func_setgroups=no |
24185 | ac_cv_func_setgroups=no |
24248 | fi |
24186 | fi |
24249 | rm -f conftest.err conftest.$ac_objext \ |
24187 | |
|
|
24188 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
24250 | conftest$ac_exeext conftest.$ac_ext |
24189 | conftest$ac_exeext conftest.$ac_ext |
24251 | fi |
24190 | fi |
24252 | echo "$as_me:$LINENO: result: $ac_cv_func_setgroups" >&5 |
24191 | { echo "$as_me:$LINENO: result: $ac_cv_func_setgroups" >&5 |
24253 | echo "${ECHO_T}$ac_cv_func_setgroups" >&6 |
24192 | echo "${ECHO_T}$ac_cv_func_setgroups" >&6; } |
24254 | |
24193 | |
24255 | fi |
24194 | fi |
24256 | |
24195 | |
24257 | if test "x$use_setgroups" = "xyes"; then |
24196 | if test "x$use_setgroups" = "xyes"; then |
24258 | |
24197 | |
… | |
… | |
24273 | # Enable compiler full-optimizations which lead to greater performance |
24212 | # Enable compiler full-optimizations which lead to greater performance |
24274 | #------------------------------------------------------------------------------- |
24213 | #------------------------------------------------------------------------------- |
24275 | |
24214 | |
24276 | if test "$debug" = "false"; then |
24215 | if test "$debug" = "false"; then |
24277 | |
24216 | |
24278 | echo "$as_me:$LINENO: checking whether I should enable full optimizations" >&5 |
24217 | { echo "$as_me:$LINENO: checking whether I should enable full optimizations" >&5 |
24279 | echo $ECHO_N "checking whether I should enable full optimizations... $ECHO_C" >&6 |
24218 | echo $ECHO_N "checking whether I should enable full optimizations... $ECHO_C" >&6; } |
24280 | # Check whether --enable-full_optimizations or --disable-full_optimizations was given. |
24219 | # Check whether --enable-full_optimizations was given. |
24281 | if test "${enable_full_optimizations+set}" = set; then |
24220 | if test "${enable_full_optimizations+set}" = set; then |
24282 | enableval="$enable_full_optimizations" |
24221 | enableval=$enable_full_optimizations; case "${enableval}" in |
24283 | case "${enableval}" in |
|
|
24284 | yes) |
24222 | yes) |
24285 | full_optimizations=true |
24223 | full_optimizations=true |
24286 | echo "$as_me:$LINENO: result: yes" >&5 |
24224 | { echo "$as_me:$LINENO: result: yes" >&5 |
24287 | echo "${ECHO_T}yes" >&6 |
24225 | echo "${ECHO_T}yes" >&6; } |
24288 | ;; |
24226 | ;; |
24289 | no) |
24227 | no) |
24290 | full_optimizations=false |
24228 | full_optimizations=false |
24291 | echo "$as_me:$LINENO: result: no" >&5 |
24229 | { echo "$as_me:$LINENO: result: no" >&5 |
24292 | echo "${ECHO_T}no" >&6 |
24230 | echo "${ECHO_T}no" >&6; } |
24293 | ;; |
24231 | ;; |
24294 | *) |
24232 | *) |
24295 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-full-optimizations" >&5 |
24233 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-full-optimizations" >&5 |
24296 | echo "$as_me: error: bad value ${enableval} for --enable-full-optimizations" >&2;} |
24234 | echo "$as_me: error: bad value ${enableval} for --enable-full-optimizations" >&2;} |
24297 | { (exit 1); exit 1; }; } |
24235 | { (exit 1); exit 1; }; } |
24298 | ;; |
24236 | ;; |
24299 | esac |
24237 | esac |
24300 | else |
24238 | else |
|
|
24239 | full_optimizations=false |
24301 | full_optimizations=false echo "$as_me:$LINENO: result: no" >&5 |
24240 | { echo "$as_me:$LINENO: result: no" >&5 |
24302 | echo "${ECHO_T}no" >&6 |
24241 | echo "${ECHO_T}no" >&6; } |
24303 | fi; |
24242 | fi |
|
|
24243 | |
24304 | |
24244 | |
24305 | if test "$full_optimizations" = "true"; then |
24245 | if test "$full_optimizations" = "true"; then |
24306 | if [ "x$GCCVER" != "xno" ]; then |
24246 | if [ "x$GCCVER" != "xno" ]; then |
24307 | echo "$as_me:$LINENO: result: yes" >&5 |
24247 | { echo "$as_me:$LINENO: result: yes" >&5 |
24308 | echo "${ECHO_T}yes" >&6 |
24248 | echo "${ECHO_T}yes" >&6; } |
24309 | #CFLAGS="$CFLAGS -O2 -pipe -funroll-loops -ffast-math -ftracer -fweb" |
24249 | #CFLAGS="$CFLAGS -O2 -pipe -funroll-loops -ffast-math -ftracer -fweb" |
24310 | #CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer" |
24250 | #CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer" |
24311 | fi |
24251 | fi |
24312 | fi |
24252 | fi |
24313 | fi |
24253 | fi |
… | |
… | |
24315 | |
24255 | |
24316 | #------------------------------------------------------------------------------- |
24256 | #------------------------------------------------------------------------------- |
24317 | # Generate Makefiles |
24257 | # Generate Makefiles |
24318 | #------------------------------------------------------------------------------- |
24258 | #------------------------------------------------------------------------------- |
24319 | |
24259 | |
24320 | ac_config_files="$ac_config_files Makefile src/Makefile src/libspf/Makefile src/spfqtool/Makefile src/libspf/spf.h src/libspf/util.c src/spfmilter/Makefile" |
24260 | ac_config_files="$ac_config_files Makefile src/Makefile src/libspf/Makefile src/spfqtool/Makefile src/libspf/spf.h src/libspf/util.c" |
|
|
24261 | |
24321 | cat >confcache <<\_ACEOF |
24262 | cat >confcache <<\_ACEOF |
24322 | # This file is a shell script that caches the results of configure |
24263 | # This file is a shell script that caches the results of configure |
24323 | # tests run on this system so they can be shared between configure |
24264 | # tests run on this system so they can be shared between configure |
24324 | # scripts and configure runs, see configure's option --config-cache. |
24265 | # scripts and configure runs, see configure's option --config-cache. |
24325 | # It is not useful on other systems. If it contains results you don't |
24266 | # It is not useful on other systems. If it contains results you don't |
… | |
… | |
24334 | |
24275 | |
24335 | _ACEOF |
24276 | _ACEOF |
24336 | |
24277 | |
24337 | # The following way of writing the cache mishandles newlines in values, |
24278 | # The following way of writing the cache mishandles newlines in values, |
24338 | # but we know of no workaround that is simple, portable, and efficient. |
24279 | # but we know of no workaround that is simple, portable, and efficient. |
24339 | # So, don't put newlines in cache variables' values. |
24280 | # So, we kill variables containing newlines. |
24340 | # Ultrix sh set writes to stderr and can't be redirected directly, |
24281 | # Ultrix sh set writes to stderr and can't be redirected directly, |
24341 | # and sets the high bit in the cache file unless we assign to the vars. |
24282 | # and sets the high bit in the cache file unless we assign to the vars. |
24342 | { |
24283 | ( |
|
|
24284 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
|
24285 | eval ac_val=\$$ac_var |
|
|
24286 | case $ac_val in #( |
|
|
24287 | *${as_nl}*) |
|
|
24288 | case $ac_var in #( |
|
|
24289 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
|
|
24290 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
|
|
24291 | esac |
|
|
24292 | case $ac_var in #( |
|
|
24293 | _ | IFS | as_nl) ;; #( |
|
|
24294 | *) $as_unset $ac_var ;; |
|
|
24295 | esac ;; |
|
|
24296 | esac |
|
|
24297 | done |
|
|
24298 | |
24343 | (set) 2>&1 | |
24299 | (set) 2>&1 | |
24344 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
24300 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
24345 | *ac_space=\ *) |
24301 | *${as_nl}ac_space=\ *) |
24346 | # `set' does not quote correctly, so add quotes (double-quote |
24302 | # `set' does not quote correctly, so add quotes (double-quote |
24347 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
24303 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
24348 | sed -n \ |
24304 | sed -n \ |
24349 | "s/'/'\\\\''/g; |
24305 | "s/'/'\\\\''/g; |
24350 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
24306 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
24351 | ;; |
24307 | ;; #( |
24352 | *) |
24308 | *) |
24353 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
24309 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
24354 | sed -n \ |
24310 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
24355 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
|
|
24356 | ;; |
24311 | ;; |
24357 | esac; |
24312 | esac | |
24358 | } | |
24313 | sort |
|
|
24314 | ) | |
24359 | sed ' |
24315 | sed ' |
|
|
24316 | /^ac_cv_env_/b end |
24360 | t clear |
24317 | t clear |
24361 | : clear |
24318 | :clear |
24362 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
24319 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
24363 | t end |
24320 | t end |
24364 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
24321 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
24365 | : end' >>confcache |
24322 | :end' >>confcache |
24366 | if diff $cache_file confcache >/dev/null 2>&1; then :; else |
24323 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
24367 | if test -w $cache_file; then |
24324 | if test -w "$cache_file"; then |
24368 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
24325 | test "x$cache_file" != "x/dev/null" && |
|
|
24326 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
|
|
24327 | echo "$as_me: updating cache $cache_file" >&6;} |
24369 | cat confcache >$cache_file |
24328 | cat confcache >$cache_file |
24370 | else |
24329 | else |
|
|
24330 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
24371 | echo "not updating unwritable cache $cache_file" |
24331 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
24372 | fi |
24332 | fi |
24373 | fi |
24333 | fi |
24374 | rm -f confcache |
24334 | rm -f confcache |
24375 | |
24335 | |
24376 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
24336 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
24377 | # Let make expand exec_prefix. |
24337 | # Let make expand exec_prefix. |
24378 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
24338 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
24379 | |
|
|
24380 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
|
|
24381 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|
|
24382 | # trailing colons and then remove the whole line if VPATH becomes empty |
|
|
24383 | # (actually we leave an empty line to preserve line numbers). |
|
|
24384 | if test "x$srcdir" = x.; then |
|
|
24385 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
|
24386 | s/:*\$(srcdir):*/:/; |
|
|
24387 | s/:*\${srcdir}:*/:/; |
|
|
24388 | s/:*@srcdir@:*/:/; |
|
|
24389 | s/^\([^=]*=[ ]*\):*/\1/; |
|
|
24390 | s/:*$//; |
|
|
24391 | s/^[^=]*=[ ]*$//; |
|
|
24392 | }' |
|
|
24393 | fi |
|
|
24394 | |
24339 | |
24395 | DEFS=-DHAVE_CONFIG_H |
24340 | DEFS=-DHAVE_CONFIG_H |
24396 | |
24341 | |
24397 | ac_libobjs= |
24342 | ac_libobjs= |
24398 | ac_ltlibobjs= |
24343 | ac_ltlibobjs= |
24399 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
24344 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
24400 | # 1. Remove the extension, and $U if already installed. |
24345 | # 1. Remove the extension, and $U if already installed. |
24401 | ac_i=`echo "$ac_i" | |
|
|
24402 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
24346 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
24403 | # 2. Add them. |
24347 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
|
|
24348 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
|
24349 | # will be set to the directory where LIBOBJS objects are built. |
24404 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
24350 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
24405 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
24351 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
24406 | done |
24352 | done |
24407 | LIBOBJS=$ac_libobjs |
24353 | LIBOBJS=$ac_libobjs |
24408 | |
24354 | |
24409 | LTLIBOBJS=$ac_ltlibobjs |
24355 | LTLIBOBJS=$ac_ltlibobjs |
24410 | |
24356 | |
… | |
… | |
24445 | cat >>$CONFIG_STATUS <<\_ACEOF |
24391 | cat >>$CONFIG_STATUS <<\_ACEOF |
24446 | ## --------------------- ## |
24392 | ## --------------------- ## |
24447 | ## M4sh Initialization. ## |
24393 | ## M4sh Initialization. ## |
24448 | ## --------------------- ## |
24394 | ## --------------------- ## |
24449 | |
24395 | |
24450 | # Be Bourne compatible |
24396 | # Be more Bourne compatible |
|
|
24397 | DUALCASE=1; export DUALCASE # for MKS sh |
24451 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
24398 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
24452 | emulate sh |
24399 | emulate sh |
24453 | NULLCMD=: |
24400 | NULLCMD=: |
24454 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
24401 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
24455 | # is contrary to our usage. Disable this feature. |
24402 | # is contrary to our usage. Disable this feature. |
24456 | alias -g '${1+"$@"}'='"$@"' |
24403 | alias -g '${1+"$@"}'='"$@"' |
24457 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
24404 | setopt NO_GLOB_SUBST |
24458 | set -o posix |
|
|
24459 | fi |
|
|
24460 | DUALCASE=1; export DUALCASE # for MKS sh |
|
|
24461 | |
|
|
24462 | # Support unset when possible. |
|
|
24463 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
24464 | as_unset=unset |
|
|
24465 | else |
|
|
24466 | as_unset=false |
|
|
24467 | fi |
|
|
24468 | |
|
|
24469 | |
|
|
24470 | # Work around bugs in pre-3.0 UWIN ksh. |
|
|
24471 | $as_unset ENV MAIL MAILPATH |
|
|
24472 | PS1='$ ' |
|
|
24473 | PS2='> ' |
|
|
24474 | PS4='+ ' |
|
|
24475 | |
|
|
24476 | # NLS nuisances. |
|
|
24477 | for as_var in \ |
|
|
24478 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
|
24479 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
|
24480 | LC_TELEPHONE LC_TIME |
|
|
24481 | do |
|
|
24482 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
|
24483 | eval $as_var=C; export $as_var |
|
|
24484 | else |
24405 | else |
24485 | $as_unset $as_var |
24406 | case `(set -o) 2>/dev/null` in |
24486 | fi |
24407 | *posix*) set -o posix ;; |
24487 | done |
24408 | esac |
24488 | |
24409 | |
24489 | # Required to use basename. |
|
|
24490 | if expr a : '\(a\)' >/dev/null 2>&1; then |
|
|
24491 | as_expr=expr |
|
|
24492 | else |
|
|
24493 | as_expr=false |
|
|
24494 | fi |
24410 | fi |
24495 | |
24411 | |
24496 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
|
|
24497 | as_basename=basename |
|
|
24498 | else |
|
|
24499 | as_basename=false |
|
|
24500 | fi |
|
|
24501 | |
24412 | |
24502 | |
24413 | |
24503 | # Name of the executable. |
|
|
24504 | as_me=`$as_basename "$0" || |
|
|
24505 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
|
24506 | X"$0" : 'X\(//\)$' \| \ |
|
|
24507 | X"$0" : 'X\(/\)$' \| \ |
|
|
24508 | . : '\(.\)' 2>/dev/null || |
|
|
24509 | echo X/"$0" | |
|
|
24510 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
|
|
24511 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
|
|
24512 | /^X\/\(\/\).*/{ s//\1/; q; } |
|
|
24513 | s/.*/./; q'` |
|
|
24514 | |
24414 | |
24515 | |
24415 | # PATH needs CR |
24516 | # PATH needs CR, and LINENO needs CR and PATH. |
|
|
24517 | # Avoid depending upon Character Ranges. |
24416 | # Avoid depending upon Character Ranges. |
24518 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
24417 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
24519 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
24418 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
24520 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
24419 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
24521 | as_cr_digits='0123456789' |
24420 | as_cr_digits='0123456789' |
… | |
… | |
24532 | PATH_SEPARATOR=: |
24431 | PATH_SEPARATOR=: |
24533 | fi |
24432 | fi |
24534 | rm -f conf$$.sh |
24433 | rm -f conf$$.sh |
24535 | fi |
24434 | fi |
24536 | |
24435 | |
|
|
24436 | # Support unset when possible. |
|
|
24437 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
24438 | as_unset=unset |
|
|
24439 | else |
|
|
24440 | as_unset=false |
|
|
24441 | fi |
24537 | |
24442 | |
24538 | as_lineno_1=$LINENO |
24443 | |
24539 | as_lineno_2=$LINENO |
24444 | # IFS |
24540 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
24445 | # We need space, tab and new line, in precisely that order. Quoting is |
24541 | test "x$as_lineno_1" != "x$as_lineno_2" && |
24446 | # there to prevent editors from complaining about space-tab. |
24542 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
24447 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
|
24448 | # splitting by setting IFS to empty value.) |
|
|
24449 | as_nl=' |
|
|
24450 | ' |
|
|
24451 | IFS=" "" $as_nl" |
|
|
24452 | |
24543 | # Find who we are. Look in the path if we contain no path at all |
24453 | # Find who we are. Look in the path if we contain no directory separator. |
24544 | # relative or not. |
|
|
24545 | case $0 in |
24454 | case $0 in |
24546 | *[\\/]* ) as_myself=$0 ;; |
24455 | *[\\/]* ) as_myself=$0 ;; |
24547 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
24456 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
24548 | for as_dir in $PATH |
24457 | for as_dir in $PATH |
24549 | do |
24458 | do |
24550 | IFS=$as_save_IFS |
24459 | IFS=$as_save_IFS |
24551 | test -z "$as_dir" && as_dir=. |
24460 | test -z "$as_dir" && as_dir=. |
24552 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
24461 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
24553 | done |
24462 | done |
|
|
24463 | IFS=$as_save_IFS |
24554 | |
24464 | |
24555 | ;; |
24465 | ;; |
24556 | esac |
24466 | esac |
24557 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
24467 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
24558 | # in which case we are not to be found in the path. |
24468 | # in which case we are not to be found in the path. |
24559 | if test "x$as_myself" = x; then |
24469 | if test "x$as_myself" = x; then |
24560 | as_myself=$0 |
24470 | as_myself=$0 |
|
|
24471 | fi |
|
|
24472 | if test ! -f "$as_myself"; then |
|
|
24473 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
|
24474 | { (exit 1); exit 1; } |
|
|
24475 | fi |
|
|
24476 | |
|
|
24477 | # Work around bugs in pre-3.0 UWIN ksh. |
|
|
24478 | for as_var in ENV MAIL MAILPATH |
|
|
24479 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
|
24480 | done |
|
|
24481 | PS1='$ ' |
|
|
24482 | PS2='> ' |
|
|
24483 | PS4='+ ' |
|
|
24484 | |
|
|
24485 | # NLS nuisances. |
|
|
24486 | for as_var in \ |
|
|
24487 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
|
24488 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
|
24489 | LC_TELEPHONE LC_TIME |
|
|
24490 | do |
|
|
24491 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
|
24492 | eval $as_var=C; export $as_var |
|
|
24493 | else |
|
|
24494 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
24561 | fi |
24495 | fi |
24562 | if test ! -f "$as_myself"; then |
24496 | done |
24563 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
24497 | |
24564 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
24498 | # Required to use basename. |
24565 | { (exit 1); exit 1; }; } |
24499 | if expr a : '\(a\)' >/dev/null 2>&1 && |
24566 | fi |
24500 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
24567 | case $CONFIG_SHELL in |
24501 | as_expr=expr |
24568 | '') |
24502 | else |
24569 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
24503 | as_expr=false |
24570 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
24504 | fi |
24571 | do |
24505 | |
24572 | IFS=$as_save_IFS |
24506 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
24573 | test -z "$as_dir" && as_dir=. |
24507 | as_basename=basename |
24574 | for as_base in sh bash ksh sh5; do |
24508 | else |
24575 | case $as_dir in |
24509 | as_basename=false |
24576 | /*) |
24510 | fi |
24577 | if ("$as_dir/$as_base" -c ' |
24511 | |
|
|
24512 | |
|
|
24513 | # Name of the executable. |
|
|
24514 | as_me=`$as_basename -- "$0" || |
|
|
24515 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
|
24516 | X"$0" : 'X\(//\)$' \| \ |
|
|
24517 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
|
24518 | echo X/"$0" | |
|
|
24519 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
|
24520 | s//\1/ |
|
|
24521 | q |
|
|
24522 | } |
|
|
24523 | /^X\/\(\/\/\)$/{ |
|
|
24524 | s//\1/ |
|
|
24525 | q |
|
|
24526 | } |
|
|
24527 | /^X\/\(\/\).*/{ |
|
|
24528 | s//\1/ |
|
|
24529 | q |
|
|
24530 | } |
|
|
24531 | s/.*/./; q'` |
|
|
24532 | |
|
|
24533 | # CDPATH. |
|
|
24534 | $as_unset CDPATH |
|
|
24535 | |
|
|
24536 | |
|
|
24537 | |
24578 | as_lineno_1=$LINENO |
24538 | as_lineno_1=$LINENO |
24579 | as_lineno_2=$LINENO |
24539 | as_lineno_2=$LINENO |
24580 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
|
24581 | test "x$as_lineno_1" != "x$as_lineno_2" && |
24540 | test "x$as_lineno_1" != "x$as_lineno_2" && |
24582 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
24541 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
24583 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
|
|
24584 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
|
|
24585 | CONFIG_SHELL=$as_dir/$as_base |
|
|
24586 | export CONFIG_SHELL |
|
|
24587 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
|
24588 | fi;; |
|
|
24589 | esac |
|
|
24590 | done |
|
|
24591 | done |
|
|
24592 | ;; |
|
|
24593 | esac |
|
|
24594 | |
24542 | |
24595 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
24543 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
24596 | # uniformly replaced by the line number. The first 'sed' inserts a |
24544 | # uniformly replaced by the line number. The first 'sed' inserts a |
24597 | # line-number line before each line; the second 'sed' does the real |
24545 | # line-number line after each line using $LINENO; the second 'sed' |
24598 | # work. The second script uses 'N' to pair each line-number line |
24546 | # does the real work. The second script uses 'N' to pair each |
24599 | # with the numbered line, and appends trailing '-' during |
24547 | # line-number line with the line containing $LINENO, and appends |
24600 | # substitution so that $LINENO is not a special case at line end. |
24548 | # trailing '-' during substitution so that $LINENO is not a special |
|
|
24549 | # case at line end. |
24601 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
24550 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
24602 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
24551 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|
|
24552 | # E. McMahon (1931-1989) for sed's syntax. :-) |
|
|
24553 | sed -n ' |
|
|
24554 | p |
|
|
24555 | /[$]LINENO/= |
24603 | sed '=' <$as_myself | |
24556 | ' <$as_myself | |
24604 | sed ' |
24557 | sed ' |
|
|
24558 | s/[$]LINENO.*/&-/ |
|
|
24559 | t lineno |
|
|
24560 | b |
|
|
24561 | :lineno |
24605 | N |
24562 | N |
24606 | s,$,-, |
|
|
24607 | : loop |
24563 | :loop |
24608 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
24564 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
24609 | t loop |
24565 | t loop |
24610 | s,-$,, |
24566 | s/-\n.*// |
24611 | s,^['$as_cr_digits']*\n,, |
|
|
24612 | ' >$as_me.lineno && |
24567 | ' >$as_me.lineno && |
24613 | chmod +x $as_me.lineno || |
24568 | chmod +x "$as_me.lineno" || |
24614 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
|
|
24615 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
24569 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
24616 | { (exit 1); exit 1; }; } |
24570 | { (exit 1); exit 1; }; } |
24617 | |
24571 | |
24618 | # Don't try to exec as it changes $[0], causing all sort of problems |
24572 | # Don't try to exec as it changes $[0], causing all sort of problems |
24619 | # (the dirname of $[0] is not the place where we might find the |
24573 | # (the dirname of $[0] is not the place where we might find the |
24620 | # original and so on. Autoconf is especially sensible to this). |
24574 | # original and so on. Autoconf is especially sensitive to this). |
24621 | . ./$as_me.lineno |
24575 | . "./$as_me.lineno" |
24622 | # Exit status is that of the last command. |
24576 | # Exit status is that of the last command. |
24623 | exit |
24577 | exit |
24624 | } |
24578 | } |
24625 | |
24579 | |
24626 | |
24580 | |
24627 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
24581 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
24628 | *c*,-n*) ECHO_N= ECHO_C=' |
24582 | as_dirname=dirname |
24629 | ' ECHO_T=' ' ;; |
24583 | else |
24630 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
24584 | as_dirname=false |
24631 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
24585 | fi |
|
|
24586 | |
|
|
24587 | ECHO_C= ECHO_N= ECHO_T= |
|
|
24588 | case `echo -n x` in |
|
|
24589 | -n*) |
|
|
24590 | case `echo 'x\c'` in |
|
|
24591 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
|
24592 | *) ECHO_C='\c';; |
|
|
24593 | esac;; |
|
|
24594 | *) |
|
|
24595 | ECHO_N='-n';; |
24632 | esac |
24596 | esac |
24633 | |
24597 | |
24634 | if expr a : '\(a\)' >/dev/null 2>&1; then |
24598 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|
|
24599 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
24635 | as_expr=expr |
24600 | as_expr=expr |
24636 | else |
24601 | else |
24637 | as_expr=false |
24602 | as_expr=false |
24638 | fi |
24603 | fi |
24639 | |
24604 | |
24640 | rm -f conf$$ conf$$.exe conf$$.file |
24605 | rm -f conf$$ conf$$.exe conf$$.file |
|
|
24606 | if test -d conf$$.dir; then |
|
|
24607 | rm -f conf$$.dir/conf$$.file |
|
|
24608 | else |
|
|
24609 | rm -f conf$$.dir |
|
|
24610 | mkdir conf$$.dir |
|
|
24611 | fi |
24641 | echo >conf$$.file |
24612 | echo >conf$$.file |
24642 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
24613 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
24643 | # We could just check for DJGPP; but this test a) works b) is more generic |
24614 | as_ln_s='ln -s' |
24644 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
24615 | # ... but there are two gotchas: |
24645 | if test -f conf$$.exe; then |
24616 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
24646 | # Don't use ln at all; we don't have any links |
24617 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
|
24618 | # In both cases, we have to default to `cp -p'. |
|
|
24619 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
24647 | as_ln_s='cp -p' |
24620 | as_ln_s='cp -p' |
24648 | else |
|
|
24649 | as_ln_s='ln -s' |
|
|
24650 | fi |
|
|
24651 | elif ln conf$$.file conf$$ 2>/dev/null; then |
24621 | elif ln conf$$.file conf$$ 2>/dev/null; then |
24652 | as_ln_s=ln |
24622 | as_ln_s=ln |
24653 | else |
24623 | else |
24654 | as_ln_s='cp -p' |
24624 | as_ln_s='cp -p' |
24655 | fi |
24625 | fi |
24656 | rm -f conf$$ conf$$.exe conf$$.file |
24626 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
|
24627 | rmdir conf$$.dir 2>/dev/null |
24657 | |
24628 | |
24658 | if mkdir -p . 2>/dev/null; then |
24629 | if mkdir -p . 2>/dev/null; then |
24659 | as_mkdir_p=: |
24630 | as_mkdir_p=: |
24660 | else |
24631 | else |
24661 | test -d ./-p && rmdir ./-p |
24632 | test -d ./-p && rmdir ./-p |
24662 | as_mkdir_p=false |
24633 | as_mkdir_p=false |
24663 | fi |
24634 | fi |
24664 | |
24635 | |
|
|
24636 | if test -x / >/dev/null 2>&1; then |
|
|
24637 | as_test_x='test -x' |
|
|
24638 | else |
|
|
24639 | if ls -dL / >/dev/null 2>&1; then |
|
|
24640 | as_ls_L_option=L |
|
|
24641 | else |
|
|
24642 | as_ls_L_option= |
|
|
24643 | fi |
|
|
24644 | as_test_x=' |
|
|
24645 | eval sh -c '\'' |
|
|
24646 | if test -d "$1"; then |
|
|
24647 | test -d "$1/."; |
|
|
24648 | else |
|
|
24649 | case $1 in |
|
|
24650 | -*)set "./$1";; |
|
|
24651 | esac; |
|
|
24652 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
|
24653 | ???[sx]*):;;*)false;;esac;fi |
|
|
24654 | '\'' sh |
|
|
24655 | ' |
|
|
24656 | fi |
24665 | as_executable_p="test -f" |
24657 | as_executable_p=$as_test_x |
24666 | |
24658 | |
24667 | # Sed expression to map a string onto a valid CPP name. |
24659 | # Sed expression to map a string onto a valid CPP name. |
24668 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
24660 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
24669 | |
24661 | |
24670 | # Sed expression to map a string onto a valid variable name. |
24662 | # Sed expression to map a string onto a valid variable name. |
24671 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
24663 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
24672 | |
24664 | |
24673 | |
24665 | |
24674 | # IFS |
|
|
24675 | # We need space, tab and new line, in precisely that order. |
|
|
24676 | as_nl=' |
|
|
24677 | ' |
|
|
24678 | IFS=" $as_nl" |
|
|
24679 | |
|
|
24680 | # CDPATH. |
|
|
24681 | $as_unset CDPATH |
|
|
24682 | |
|
|
24683 | exec 6>&1 |
24666 | exec 6>&1 |
24684 | |
24667 | |
24685 | # Open the log real soon, to keep \$[0] and so on meaningful, and to |
24668 | # Save the log message, to keep $[0] and so on meaningful, and to |
24686 | # report actual input values of CONFIG_FILES etc. instead of their |
24669 | # report actual input values of CONFIG_FILES etc. instead of their |
24687 | # values after options handling. Logging --version etc. is OK. |
24670 | # values after options handling. |
24688 | exec 5>>config.log |
24671 | ac_log=" |
24689 | { |
|
|
24690 | echo |
|
|
24691 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
|
24692 | ## Running $as_me. ## |
|
|
24693 | _ASBOX |
|
|
24694 | } >&5 |
|
|
24695 | cat >&5 <<_CSEOF |
|
|
24696 | |
|
|
24697 | This file was extended by libspf $as_me 1.0.0-p5, which was |
24672 | This file was extended by libspf $as_me 1.0.0-p5, which was |
24698 | generated by GNU Autoconf 2.59. Invocation command line was |
24673 | generated by GNU Autoconf 2.61. Invocation command line was |
24699 | |
24674 | |
24700 | CONFIG_FILES = $CONFIG_FILES |
24675 | CONFIG_FILES = $CONFIG_FILES |
24701 | CONFIG_HEADERS = $CONFIG_HEADERS |
24676 | CONFIG_HEADERS = $CONFIG_HEADERS |
24702 | CONFIG_LINKS = $CONFIG_LINKS |
24677 | CONFIG_LINKS = $CONFIG_LINKS |
24703 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
24678 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
24704 | $ $0 $@ |
24679 | $ $0 $@ |
24705 | |
24680 | |
24706 | _CSEOF |
|
|
24707 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
24681 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
24708 | echo >&5 |
24682 | " |
24709 | _ACEOF |
|
|
24710 | |
24683 | |
|
|
24684 | _ACEOF |
|
|
24685 | |
|
|
24686 | cat >>$CONFIG_STATUS <<_ACEOF |
24711 | # Files that config.status was made for. |
24687 | # Files that config.status was made for. |
24712 | if test -n "$ac_config_files"; then |
24688 | config_files="$ac_config_files" |
24713 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
24689 | config_headers="$ac_config_headers" |
24714 | fi |
24690 | config_commands="$ac_config_commands" |
24715 | |
24691 | |
24716 | if test -n "$ac_config_headers"; then |
24692 | _ACEOF |
24717 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
|
|
24718 | fi |
|
|
24719 | |
|
|
24720 | if test -n "$ac_config_links"; then |
|
|
24721 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
|
|
24722 | fi |
|
|
24723 | |
|
|
24724 | if test -n "$ac_config_commands"; then |
|
|
24725 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
|
|
24726 | fi |
|
|
24727 | |
24693 | |
24728 | cat >>$CONFIG_STATUS <<\_ACEOF |
24694 | cat >>$CONFIG_STATUS <<\_ACEOF |
24729 | |
|
|
24730 | ac_cs_usage="\ |
24695 | ac_cs_usage="\ |
24731 | \`$as_me' instantiates files from templates according to the |
24696 | \`$as_me' instantiates files from templates according to the |
24732 | current configuration. |
24697 | current configuration. |
24733 | |
24698 | |
24734 | Usage: $0 [OPTIONS] [FILE]... |
24699 | Usage: $0 [OPTIONS] [FILE]... |
24735 | |
24700 | |
24736 | -h, --help print this help, then exit |
24701 | -h, --help print this help, then exit |
24737 | -V, --version print version number, then exit |
24702 | -V, --version print version number and configuration settings, then exit |
24738 | -q, --quiet do not print progress messages |
24703 | -q, --quiet do not print progress messages |
24739 | -d, --debug don't remove temporary files |
24704 | -d, --debug don't remove temporary files |
24740 | --recheck update $as_me by reconfiguring in the same conditions |
24705 | --recheck update $as_me by reconfiguring in the same conditions |
24741 | --file=FILE[:TEMPLATE] |
24706 | --file=FILE[:TEMPLATE] |
24742 | instantiate the configuration file FILE |
24707 | instantiate the configuration file FILE |
… | |
… | |
24751 | |
24716 | |
24752 | Configuration commands: |
24717 | Configuration commands: |
24753 | $config_commands |
24718 | $config_commands |
24754 | |
24719 | |
24755 | Report bugs to <bug-autoconf@gnu.org>." |
24720 | Report bugs to <bug-autoconf@gnu.org>." |
24756 | _ACEOF |
|
|
24757 | |
24721 | |
|
|
24722 | _ACEOF |
24758 | cat >>$CONFIG_STATUS <<_ACEOF |
24723 | cat >>$CONFIG_STATUS <<_ACEOF |
24759 | ac_cs_version="\\ |
24724 | ac_cs_version="\\ |
24760 | libspf config.status 1.0.0-p5 |
24725 | libspf config.status 1.0.0-p5 |
24761 | configured by $0, generated by GNU Autoconf 2.59, |
24726 | configured by $0, generated by GNU Autoconf 2.61, |
24762 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
24727 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
24763 | |
24728 | |
24764 | Copyright (C) 2003 Free Software Foundation, Inc. |
24729 | Copyright (C) 2006 Free Software Foundation, Inc. |
24765 | This config.status script is free software; the Free Software Foundation |
24730 | This config.status script is free software; the Free Software Foundation |
24766 | gives unlimited permission to copy, distribute and modify it." |
24731 | gives unlimited permission to copy, distribute and modify it." |
|
|
24732 | |
|
|
24733 | ac_pwd='$ac_pwd' |
24767 | srcdir=$srcdir |
24734 | srcdir='$srcdir' |
24768 | INSTALL="$INSTALL" |
24735 | INSTALL='$INSTALL' |
24769 | _ACEOF |
24736 | _ACEOF |
24770 | |
24737 | |
24771 | cat >>$CONFIG_STATUS <<\_ACEOF |
24738 | cat >>$CONFIG_STATUS <<\_ACEOF |
24772 | # If no file are specified by the user, then we need to provide default |
24739 | # If no file are specified by the user, then we need to provide default |
24773 | # value. By we need to know if files were specified by the user. |
24740 | # value. By we need to know if files were specified by the user. |
24774 | ac_need_defaults=: |
24741 | ac_need_defaults=: |
24775 | while test $# != 0 |
24742 | while test $# != 0 |
24776 | do |
24743 | do |
24777 | case $1 in |
24744 | case $1 in |
24778 | --*=*) |
24745 | --*=*) |
24779 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
24746 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
24780 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
24747 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
24781 | ac_shift=: |
24748 | ac_shift=: |
24782 | ;; |
24749 | ;; |
24783 | -*) |
24750 | *) |
24784 | ac_option=$1 |
24751 | ac_option=$1 |
24785 | ac_optarg=$2 |
24752 | ac_optarg=$2 |
24786 | ac_shift=shift |
24753 | ac_shift=shift |
24787 | ;; |
24754 | ;; |
24788 | *) # This is not an option, so the user has probably given explicit |
|
|
24789 | # arguments. |
|
|
24790 | ac_option=$1 |
|
|
24791 | ac_need_defaults=false;; |
|
|
24792 | esac |
24755 | esac |
24793 | |
24756 | |
24794 | case $ac_option in |
24757 | case $ac_option in |
24795 | # Handling of the options. |
24758 | # Handling of the options. |
24796 | _ACEOF |
|
|
24797 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
24798 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
24759 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
24799 | ac_cs_recheck=: ;; |
24760 | ac_cs_recheck=: ;; |
24800 | --version | --vers* | -V ) |
24761 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
24801 | echo "$ac_cs_version"; exit 0 ;; |
24762 | echo "$ac_cs_version"; exit ;; |
24802 | --he | --h) |
24763 | --debug | --debu | --deb | --de | --d | -d ) |
24803 | # Conflict between --help and --header |
|
|
24804 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
|
|
24805 | Try \`$0 --help' for more information." >&5 |
|
|
24806 | echo "$as_me: error: ambiguous option: $1 |
|
|
24807 | Try \`$0 --help' for more information." >&2;} |
|
|
24808 | { (exit 1); exit 1; }; };; |
|
|
24809 | --help | --hel | -h ) |
|
|
24810 | echo "$ac_cs_usage"; exit 0 ;; |
|
|
24811 | --debug | --d* | -d ) |
|
|
24812 | debug=: ;; |
24764 | debug=: ;; |
24813 | --file | --fil | --fi | --f ) |
24765 | --file | --fil | --fi | --f ) |
24814 | $ac_shift |
24766 | $ac_shift |
24815 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
24767 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
24816 | ac_need_defaults=false;; |
24768 | ac_need_defaults=false;; |
24817 | --header | --heade | --head | --hea ) |
24769 | --header | --heade | --head | --hea ) |
24818 | $ac_shift |
24770 | $ac_shift |
24819 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
24771 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
24820 | ac_need_defaults=false;; |
24772 | ac_need_defaults=false;; |
|
|
24773 | --he | --h) |
|
|
24774 | # Conflict between --help and --header |
|
|
24775 | { echo "$as_me: error: ambiguous option: $1 |
|
|
24776 | Try \`$0 --help' for more information." >&2 |
|
|
24777 | { (exit 1); exit 1; }; };; |
|
|
24778 | --help | --hel | -h ) |
|
|
24779 | echo "$ac_cs_usage"; exit ;; |
24821 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
24780 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
24822 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
24781 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
24823 | ac_cs_silent=: ;; |
24782 | ac_cs_silent=: ;; |
24824 | |
24783 | |
24825 | # This is an error. |
24784 | # This is an error. |
24826 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
|
|
24827 | Try \`$0 --help' for more information." >&5 |
|
|
24828 | echo "$as_me: error: unrecognized option: $1 |
24785 | -*) { echo "$as_me: error: unrecognized option: $1 |
24829 | Try \`$0 --help' for more information." >&2;} |
24786 | Try \`$0 --help' for more information." >&2 |
24830 | { (exit 1); exit 1; }; } ;; |
24787 | { (exit 1); exit 1; }; } ;; |
24831 | |
24788 | |
24832 | *) ac_config_targets="$ac_config_targets $1" ;; |
24789 | *) ac_config_targets="$ac_config_targets $1" |
|
|
24790 | ac_need_defaults=false ;; |
24833 | |
24791 | |
24834 | esac |
24792 | esac |
24835 | shift |
24793 | shift |
24836 | done |
24794 | done |
24837 | |
24795 | |
… | |
… | |
24843 | fi |
24801 | fi |
24844 | |
24802 | |
24845 | _ACEOF |
24803 | _ACEOF |
24846 | cat >>$CONFIG_STATUS <<_ACEOF |
24804 | cat >>$CONFIG_STATUS <<_ACEOF |
24847 | if \$ac_cs_recheck; then |
24805 | if \$ac_cs_recheck; then |
24848 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
24806 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
|
|
24807 | CONFIG_SHELL=$SHELL |
|
|
24808 | export CONFIG_SHELL |
24849 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
24809 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
24850 | fi |
24810 | fi |
24851 | |
24811 | |
24852 | _ACEOF |
24812 | _ACEOF |
|
|
24813 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
24814 | exec 5>>config.log |
|
|
24815 | { |
|
|
24816 | echo |
|
|
24817 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
|
24818 | ## Running $as_me. ## |
|
|
24819 | _ASBOX |
|
|
24820 | echo "$ac_log" |
|
|
24821 | } >&5 |
24853 | |
24822 | |
|
|
24823 | _ACEOF |
24854 | cat >>$CONFIG_STATUS <<_ACEOF |
24824 | cat >>$CONFIG_STATUS <<_ACEOF |
24855 | # |
24825 | # |
24856 | # INIT-COMMANDS section. |
24826 | # INIT-COMMANDS |
24857 | # |
24827 | # |
24858 | |
|
|
24859 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
24828 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
24860 | |
24829 | |
24861 | _ACEOF |
24830 | _ACEOF |
24862 | |
24831 | |
24863 | |
|
|
24864 | |
|
|
24865 | cat >>$CONFIG_STATUS <<\_ACEOF |
24832 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
24833 | |
|
|
24834 | # Handling of arguments. |
24866 | for ac_config_target in $ac_config_targets |
24835 | for ac_config_target in $ac_config_targets |
24867 | do |
24836 | do |
24868 | case "$ac_config_target" in |
24837 | case $ac_config_target in |
24869 | # Handling of arguments. |
24838 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
|
24839 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
24870 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
24840 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
24871 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
24841 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
24872 | "src/libspf/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libspf/Makefile" ;; |
24842 | "src/libspf/Makefile") CONFIG_FILES="$CONFIG_FILES src/libspf/Makefile" ;; |
24873 | "src/spfqtool/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/spfqtool/Makefile" ;; |
24843 | "src/spfqtool/Makefile") CONFIG_FILES="$CONFIG_FILES src/spfqtool/Makefile" ;; |
24874 | "src/libspf/spf.h" ) CONFIG_FILES="$CONFIG_FILES src/libspf/spf.h" ;; |
24844 | "src/libspf/spf.h") CONFIG_FILES="$CONFIG_FILES src/libspf/spf.h" ;; |
24875 | "src/libspf/util.c" ) CONFIG_FILES="$CONFIG_FILES src/libspf/util.c" ;; |
24845 | "src/libspf/util.c") CONFIG_FILES="$CONFIG_FILES src/libspf/util.c" ;; |
24876 | "src/spfmilter/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/spfmilter/Makefile" ;; |
24846 | |
24877 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
|
24878 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
|
24879 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
24847 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
24880 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
24848 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
24881 | { (exit 1); exit 1; }; };; |
24849 | { (exit 1); exit 1; }; };; |
24882 | esac |
24850 | esac |
24883 | done |
24851 | done |
|
|
24852 | |
24884 | |
24853 | |
24885 | # If the user did not use the arguments to specify the items to instantiate, |
24854 | # If the user did not use the arguments to specify the items to instantiate, |
24886 | # then the envvar interface is used. Set only those that are not. |
24855 | # then the envvar interface is used. Set only those that are not. |
24887 | # We use the long form for the default assignment because of an extremely |
24856 | # We use the long form for the default assignment because of an extremely |
24888 | # bizarre bug on SunOS 4.1.3. |
24857 | # bizarre bug on SunOS 4.1.3. |
… | |
… | |
24891 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
24860 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
24892 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
24861 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
24893 | fi |
24862 | fi |
24894 | |
24863 | |
24895 | # Have a temporary directory for convenience. Make it in the build tree |
24864 | # Have a temporary directory for convenience. Make it in the build tree |
24896 | # simply because there is no reason to put it here, and in addition, |
24865 | # simply because there is no reason against having it here, and in addition, |
24897 | # creating and moving files from /tmp can sometimes cause problems. |
24866 | # creating and moving files from /tmp can sometimes cause problems. |
24898 | # Create a temporary directory, and hook for its removal unless debugging. |
24867 | # Hook for its removal unless debugging. |
|
|
24868 | # Note that there is a small window in which the directory will not be cleaned: |
|
|
24869 | # after its creation but before its name has been assigned to `$tmp'. |
24899 | $debug || |
24870 | $debug || |
24900 | { |
24871 | { |
24901 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
24872 | tmp= |
|
|
24873 | trap 'exit_status=$? |
|
|
24874 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|
|
24875 | ' 0 |
24902 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
24876 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
24903 | } |
24877 | } |
24904 | |
|
|
24905 | # Create a (secure) tmp directory for tmp files. |
24878 | # Create a (secure) tmp directory for tmp files. |
24906 | |
24879 | |
24907 | { |
24880 | { |
24908 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
24881 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
24909 | test -n "$tmp" && test -d "$tmp" |
24882 | test -n "$tmp" && test -d "$tmp" |
24910 | } || |
24883 | } || |
24911 | { |
24884 | { |
24912 | tmp=./confstat$$-$RANDOM |
24885 | tmp=./conf$$-$RANDOM |
24913 | (umask 077 && mkdir $tmp) |
24886 | (umask 077 && mkdir "$tmp") |
24914 | } || |
24887 | } || |
24915 | { |
24888 | { |
24916 | echo "$me: cannot create a temporary directory in ." >&2 |
24889 | echo "$me: cannot create a temporary directory in ." >&2 |
24917 | { (exit 1); exit 1; } |
24890 | { (exit 1); exit 1; } |
24918 | } |
24891 | } |
24919 | |
24892 | |
24920 | _ACEOF |
|
|
24921 | |
|
|
24922 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
24923 | |
|
|
24924 | # |
24893 | # |
24925 | # CONFIG_FILES section. |
24894 | # Set up the sed scripts for CONFIG_FILES section. |
24926 | # |
24895 | # |
24927 | |
24896 | |
24928 | # No need to generate the scripts if there are no CONFIG_FILES. |
24897 | # No need to generate the scripts if there are no CONFIG_FILES. |
24929 | # This happens for instance when ./config.status config.h |
24898 | # This happens for instance when ./config.status config.h |
24930 | if test -n "\$CONFIG_FILES"; then |
24899 | if test -n "$CONFIG_FILES"; then |
24931 | # Protect against being on the right side of a sed subst in config.status. |
24900 | |
24932 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
24901 | _ACEOF |
24933 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
24902 | |
24934 | s,@SHELL@,$SHELL,;t t |
24903 | # Create sed commands to just substitute file output variables. |
24935 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
24904 | |
24936 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
24905 | # Remaining file output variables are in a fragment that also has non-file |
|
|
24906 | # output varibles. |
|
|
24907 | |
|
|
24908 | |
|
|
24909 | |
|
|
24910 | ac_delim='%!_!# ' |
|
|
24911 | for ac_last_try in false false false false false :; do |
|
|
24912 | cat >conf$$subs.sed <<_ACEOF |
|
|
24913 | SHELL!$SHELL$ac_delim |
|
|
24914 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
|
|
24915 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
24937 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
24916 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
24938 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
24917 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
24939 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
24918 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
24940 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
24919 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
24941 | s,@exec_prefix@,$exec_prefix,;t t |
24920 | exec_prefix!$exec_prefix$ac_delim |
24942 | s,@prefix@,$prefix,;t t |
24921 | prefix!$prefix$ac_delim |
24943 | s,@program_transform_name@,$program_transform_name,;t t |
24922 | program_transform_name!$program_transform_name$ac_delim |
24944 | s,@bindir@,$bindir,;t t |
24923 | bindir!$bindir$ac_delim |
24945 | s,@sbindir@,$sbindir,;t t |
24924 | sbindir!$sbindir$ac_delim |
24946 | s,@libexecdir@,$libexecdir,;t t |
24925 | libexecdir!$libexecdir$ac_delim |
24947 | s,@datadir@,$datadir,;t t |
24926 | datarootdir!$datarootdir$ac_delim |
24948 | s,@sysconfdir@,$sysconfdir,;t t |
24927 | datadir!$datadir$ac_delim |
24949 | s,@sharedstatedir@,$sharedstatedir,;t t |
24928 | sysconfdir!$sysconfdir$ac_delim |
24950 | s,@localstatedir@,$localstatedir,;t t |
24929 | sharedstatedir!$sharedstatedir$ac_delim |
24951 | s,@libdir@,$libdir,;t t |
24930 | localstatedir!$localstatedir$ac_delim |
24952 | s,@includedir@,$includedir,;t t |
24931 | includedir!$includedir$ac_delim |
24953 | s,@oldincludedir@,$oldincludedir,;t t |
24932 | oldincludedir!$oldincludedir$ac_delim |
24954 | s,@infodir@,$infodir,;t t |
24933 | docdir!$docdir$ac_delim |
24955 | s,@mandir@,$mandir,;t t |
24934 | infodir!$infodir$ac_delim |
24956 | s,@build_alias@,$build_alias,;t t |
24935 | htmldir!$htmldir$ac_delim |
24957 | s,@host_alias@,$host_alias,;t t |
24936 | dvidir!$dvidir$ac_delim |
24958 | s,@target_alias@,$target_alias,;t t |
24937 | pdfdir!$pdfdir$ac_delim |
24959 | s,@DEFS@,$DEFS,;t t |
24938 | psdir!$psdir$ac_delim |
24960 | s,@ECHO_C@,$ECHO_C,;t t |
24939 | libdir!$libdir$ac_delim |
24961 | s,@ECHO_N@,$ECHO_N,;t t |
24940 | localedir!$localedir$ac_delim |
24962 | s,@ECHO_T@,$ECHO_T,;t t |
24941 | mandir!$mandir$ac_delim |
24963 | s,@LIBS@,$LIBS,;t t |
24942 | DEFS!$DEFS$ac_delim |
|
|
24943 | ECHO_C!$ECHO_C$ac_delim |
|
|
24944 | ECHO_N!$ECHO_N$ac_delim |
|
|
24945 | ECHO_T!$ECHO_T$ac_delim |
|
|
24946 | LIBS!$LIBS$ac_delim |
|
|
24947 | build_alias!$build_alias$ac_delim |
|
|
24948 | host_alias!$host_alias$ac_delim |
|
|
24949 | target_alias!$target_alias$ac_delim |
24964 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
24950 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
24965 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
24951 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
24966 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
24952 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
24967 | s,@PACKAGE@,$PACKAGE,;t t |
24953 | PACKAGE!$PACKAGE$ac_delim |
24968 | s,@VERSION@,$VERSION,;t t |
24954 | VERSION!$VERSION$ac_delim |
24969 | s,@ACLOCAL@,$ACLOCAL,;t t |
24955 | ACLOCAL!$ACLOCAL$ac_delim |
24970 | s,@AUTOCONF@,$AUTOCONF,;t t |
24956 | AUTOCONF!$AUTOCONF$ac_delim |
24971 | s,@AUTOMAKE@,$AUTOMAKE,;t t |
24957 | AUTOMAKE!$AUTOMAKE$ac_delim |
24972 | s,@AUTOHEADER@,$AUTOHEADER,;t t |
24958 | AUTOHEADER!$AUTOHEADER$ac_delim |
24973 | s,@MAKEINFO@,$MAKEINFO,;t t |
24959 | MAKEINFO!$MAKEINFO$ac_delim |
24974 | s,@AMTAR@,$AMTAR,;t t |
24960 | AMTAR!$AMTAR$ac_delim |
24975 | s,@install_sh@,$install_sh,;t t |
24961 | install_sh!$install_sh$ac_delim |
24976 | s,@STRIP@,$STRIP,;t t |
24962 | STRIP!$STRIP$ac_delim |
24977 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
|
|
24978 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
24963 | INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim |
24979 | s,@AWK@,$AWK,;t t |
24964 | AWK!$AWK$ac_delim |
24980 | s,@SET_MAKE@,$SET_MAKE,;t t |
24965 | SET_MAKE!$SET_MAKE$ac_delim |
24981 | s,@CC@,$CC,;t t |
24966 | CC!$CC$ac_delim |
24982 | s,@CFLAGS@,$CFLAGS,;t t |
24967 | CFLAGS!$CFLAGS$ac_delim |
24983 | s,@LDFLAGS@,$LDFLAGS,;t t |
24968 | LDFLAGS!$LDFLAGS$ac_delim |
24984 | s,@CPPFLAGS@,$CPPFLAGS,;t t |
24969 | CPPFLAGS!$CPPFLAGS$ac_delim |
24985 | s,@ac_ct_CC@,$ac_ct_CC,;t t |
24970 | ac_ct_CC!$ac_ct_CC$ac_delim |
24986 | s,@EXEEXT@,$EXEEXT,;t t |
24971 | EXEEXT!$EXEEXT$ac_delim |
24987 | s,@OBJEXT@,$OBJEXT,;t t |
24972 | OBJEXT!$OBJEXT$ac_delim |
24988 | s,@DEPDIR@,$DEPDIR,;t t |
24973 | DEPDIR!$DEPDIR$ac_delim |
24989 | s,@am__include@,$am__include,;t t |
24974 | am__include!$am__include$ac_delim |
24990 | s,@am__quote@,$am__quote,;t t |
24975 | am__quote!$am__quote$ac_delim |
24991 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
24976 | AMDEP_TRUE!$AMDEP_TRUE$ac_delim |
24992 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
24977 | AMDEP_FALSE!$AMDEP_FALSE$ac_delim |
24993 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
24978 | AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim |
24994 | s,@CCDEPMODE@,$CCDEPMODE,;t t |
24979 | CCDEPMODE!$CCDEPMODE$ac_delim |
24995 | s,@LN_S@,$LN_S,;t t |
24980 | LN_S!$LN_S$ac_delim |
24996 | s,@RANLIB@,$RANLIB,;t t |
24981 | RANLIB!$RANLIB$ac_delim |
24997 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
24982 | CPP!$CPP$ac_delim |
24998 | s,@CPP@,$CPP,;t t |
24983 | GCC_TRUE!$GCC_TRUE$ac_delim |
24999 | s,@GCC_TRUE@,$GCC_TRUE,;t t |
24984 | GCC_FALSE!$GCC_FALSE$ac_delim |
25000 | s,@GCC_FALSE@,$GCC_FALSE,;t t |
24985 | build!$build$ac_delim |
25001 | s,@build@,$build,;t t |
24986 | build_cpu!$build_cpu$ac_delim |
25002 | s,@build_cpu@,$build_cpu,;t t |
24987 | build_vendor!$build_vendor$ac_delim |
25003 | s,@build_vendor@,$build_vendor,;t t |
24988 | build_os!$build_os$ac_delim |
25004 | s,@build_os@,$build_os,;t t |
24989 | host!$host$ac_delim |
25005 | s,@host@,$host,;t t |
24990 | host_cpu!$host_cpu$ac_delim |
25006 | s,@host_cpu@,$host_cpu,;t t |
24991 | host_vendor!$host_vendor$ac_delim |
25007 | s,@host_vendor@,$host_vendor,;t t |
24992 | host_os!$host_os$ac_delim |
25008 | s,@host_os@,$host_os,;t t |
24993 | GREP!$GREP$ac_delim |
25009 | s,@EGREP@,$EGREP,;t t |
24994 | EGREP!$EGREP$ac_delim |
25010 | s,@ECHO@,$ECHO,;t t |
24995 | ECHO!$ECHO$ac_delim |
25011 | s,@AR@,$AR,;t t |
24996 | AR!$AR$ac_delim |
25012 | s,@ac_ct_AR@,$ac_ct_AR,;t t |
24997 | CXX!$CXX$ac_delim |
25013 | s,@CXX@,$CXX,;t t |
24998 | CXXFLAGS!$CXXFLAGS$ac_delim |
25014 | s,@CXXFLAGS@,$CXXFLAGS,;t t |
24999 | ac_ct_CXX!$ac_ct_CXX$ac_delim |
25015 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
25000 | CXXDEPMODE!$CXXDEPMODE$ac_delim |
25016 | s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
25001 | CXXCPP!$CXXCPP$ac_delim |
25017 | s,@CXXCPP@,$CXXCPP,;t t |
25002 | F77!$F77$ac_delim |
25018 | s,@F77@,$F77,;t t |
25003 | FFLAGS!$FFLAGS$ac_delim |
25019 | s,@FFLAGS@,$FFLAGS,;t t |
25004 | _ACEOF |
25020 | s,@ac_ct_F77@,$ac_ct_F77,;t t |
25005 | |
25021 | s,@LIBTOOL@,$LIBTOOL,;t t |
25006 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then |
25022 | s,@enable_shared@,$enable_shared,;t t |
25007 | break |
25023 | s,@enable_static@,$enable_static,;t t |
25008 | elif $ac_last_try; then |
25024 | s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t |
25009 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
|
25010 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
|
25011 | { (exit 1); exit 1; }; } |
|
|
25012 | else |
|
|
25013 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
25014 | fi |
|
|
25015 | done |
|
|
25016 | |
|
|
25017 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
|
|
25018 | if test -n "$ac_eof"; then |
|
|
25019 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
|
|
25020 | ac_eof=`expr $ac_eof + 1` |
|
|
25021 | fi |
|
|
25022 | |
|
|
25023 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
25024 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
|
|
25025 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
|
25026 | /^[ ]*@__BEGIN_DECLS_INCL@[ ]*$/{ |
|
|
25027 | r $__BEGIN_DECLS_INCL |
|
|
25028 | d |
|
|
25029 | } |
|
|
25030 | /^[ ]*@__END_DECLS_INCL@[ ]*$/{ |
|
|
25031 | r $__END_DECLS_INCL |
|
|
25032 | d |
|
|
25033 | } |
|
|
25034 | _ACEOF |
|
|
25035 | sed ' |
|
|
25036 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
|
|
25037 | s/^/s,@/; s/!/@,|#_!!_#|/ |
|
|
25038 | :n |
|
|
25039 | t n |
|
|
25040 | s/'"$ac_delim"'$/,g/; t |
|
|
25041 | s/$/\\/; p |
|
|
25042 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
|
|
25043 | ' >>$CONFIG_STATUS <conf$$subs.sed |
|
|
25044 | rm -f conf$$subs.sed |
|
|
25045 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
25046 | CEOF$ac_eof |
|
|
25047 | _ACEOF |
|
|
25048 | |
|
|
25049 | |
|
|
25050 | ac_delim='%!_!# ' |
|
|
25051 | for ac_last_try in false false false false false :; do |
|
|
25052 | cat >conf$$subs.sed <<_ACEOF |
|
|
25053 | ac_ct_F77!$ac_ct_F77$ac_delim |
|
|
25054 | LIBTOOL!$LIBTOOL$ac_delim |
|
|
25055 | enable_shared!$enable_shared$ac_delim |
|
|
25056 | enable_static!$enable_static$ac_delim |
|
|
25057 | LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim |
25025 | s,@LIBSPF_MAJOR_VERSION@,$LIBSPF_MAJOR_VERSION,;t t |
25058 | LIBSPF_MAJOR_VERSION!$LIBSPF_MAJOR_VERSION$ac_delim |
25026 | s,@LIBSPF_MINOR_VERSION@,$LIBSPF_MINOR_VERSION,;t t |
25059 | LIBSPF_MINOR_VERSION!$LIBSPF_MINOR_VERSION$ac_delim |
25027 | s,@LIBSPF_MICRO_VERSION@,$LIBSPF_MICRO_VERSION,;t t |
25060 | LIBSPF_MICRO_VERSION!$LIBSPF_MICRO_VERSION$ac_delim |
25028 | s,@LIBSPF_VERSION@,$LIBSPF_VERSION,;t t |
25061 | LIBSPF_VERSION!$LIBSPF_VERSION$ac_delim |
25029 | s,@LIBSPF_INTERFACE_AGE@,$LIBSPF_INTERFACE_AGE,;t t |
25062 | LIBSPF_INTERFACE_AGE!$LIBSPF_INTERFACE_AGE$ac_delim |
25030 | s,@LIBSPF_BINARY_AGE@,$LIBSPF_BINARY_AGE,;t t |
25063 | LIBSPF_BINARY_AGE!$LIBSPF_BINARY_AGE$ac_delim |
25031 | s,@LT_RELEASE@,$LT_RELEASE,;t t |
25064 | LT_RELEASE!$LT_RELEASE$ac_delim |
25032 | s,@LT_CURRENT@,$LT_CURRENT,;t t |
25065 | LT_CURRENT!$LT_CURRENT$ac_delim |
25033 | s,@LT_REVISION@,$LT_REVISION,;t t |
25066 | LT_REVISION!$LT_REVISION$ac_delim |
25034 | s,@LT_AGE@,$LT_AGE,;t t |
25067 | LT_AGE!$LT_AGE$ac_delim |
25035 | s,@UNSIGNED_INT_ARG@,$UNSIGNED_INT_ARG,;t t |
25068 | UNSIGNED_INT_ARG!$UNSIGNED_INT_ARG$ac_delim |
25036 | s,@LIBOBJS@,$LIBOBJS,;t t |
25069 | LIBOBJS!$LIBOBJS$ac_delim |
25037 | s,@__BEGIN_DECLS@,$__BEGIN_DECLS,;t t |
25070 | __BEGIN_DECLS!$__BEGIN_DECLS$ac_delim |
25038 | s,@__END_DECLS@,$__END_DECLS,;t t |
25071 | __END_DECLS!$__END_DECLS$ac_delim |
25039 | s,@LIBSPF_RESOLV_LIB@,$LIBSPF_RESOLV_LIB,;t t |
25072 | LIBSPF_RESOLV_LIB!$LIBSPF_RESOLV_LIB$ac_delim |
25040 | s,@LIBSPF_PTHREADS_LIB@,$LIBSPF_PTHREADS_LIB,;t t |
25073 | LIBSPF_PTHREADS_LIB!$LIBSPF_PTHREADS_LIB$ac_delim |
25041 | s,@LIBSPF_BUILD_DIRS@,$LIBSPF_BUILD_DIRS,;t t |
25074 | LIBSPF_BUILD_DIRS!$LIBSPF_BUILD_DIRS$ac_delim |
25042 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
25075 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
25043 | /@__BEGIN_DECLS_INCL@/r $__BEGIN_DECLS_INCL |
|
|
25044 | s,@__BEGIN_DECLS_INCL@,,;t t |
|
|
25045 | /@__END_DECLS_INCL@/r $__END_DECLS_INCL |
|
|
25046 | s,@__END_DECLS_INCL@,,;t t |
|
|
25047 | CEOF |
25076 | _ACEOF |
25048 | |
25077 | |
25049 | _ACEOF |
25078 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 23; then |
|
|
25079 | break |
|
|
25080 | elif $ac_last_try; then |
|
|
25081 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
|
25082 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
|
25083 | { (exit 1); exit 1; }; } |
|
|
25084 | else |
|
|
25085 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
25086 | fi |
|
|
25087 | done |
25050 | |
25088 | |
|
|
25089 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
|
|
25090 | if test -n "$ac_eof"; then |
|
|
25091 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
|
|
25092 | ac_eof=`expr $ac_eof + 1` |
|
|
25093 | fi |
|
|
25094 | |
|
|
25095 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
25096 | cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof |
|
|
25097 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
|
|
25098 | _ACEOF |
|
|
25099 | sed ' |
|
|
25100 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
|
|
25101 | s/^/s,@/; s/!/@,|#_!!_#|/ |
|
|
25102 | :n |
|
|
25103 | t n |
|
|
25104 | s/'"$ac_delim"'$/,g/; t |
|
|
25105 | s/$/\\/; p |
|
|
25106 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
|
|
25107 | ' >>$CONFIG_STATUS <conf$$subs.sed |
|
|
25108 | rm -f conf$$subs.sed |
|
|
25109 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
25110 | :end |
|
|
25111 | s/|#_!!_#|//g |
|
|
25112 | CEOF$ac_eof |
|
|
25113 | _ACEOF |
|
|
25114 | |
|
|
25115 | |
|
|
25116 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
|
|
25117 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|
|
25118 | # trailing colons and then remove the whole line if VPATH becomes empty |
|
|
25119 | # (actually we leave an empty line to preserve line numbers). |
|
|
25120 | if test "x$srcdir" = x.; then |
|
|
25121 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
|
25122 | s/:*\$(srcdir):*/:/ |
|
|
25123 | s/:*\${srcdir}:*/:/ |
|
|
25124 | s/:*@srcdir@:*/:/ |
|
|
25125 | s/^\([^=]*=[ ]*\):*/\1/ |
|
|
25126 | s/:*$// |
|
|
25127 | s/^[^=]*=[ ]*$// |
|
|
25128 | }' |
|
|
25129 | fi |
|
|
25130 | |
25051 | cat >>$CONFIG_STATUS <<\_ACEOF |
25131 | cat >>$CONFIG_STATUS <<\_ACEOF |
25052 | # Split the substitutions into bite-sized pieces for seds with |
25132 | fi # test -n "$CONFIG_FILES" |
25053 | # small command number limits, like on Digital OSF/1 and HP-UX. |
25133 | |
25054 | ac_max_sed_lines=48 |
25134 | |
25055 | ac_sed_frag=1 # Number of current file. |
25135 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS |
25056 | ac_beg=1 # First line for current file. |
25136 | do |
25057 | ac_end=$ac_max_sed_lines # Line after last line for current file. |
25137 | case $ac_tag in |
25058 | ac_more_lines=: |
25138 | :[FHLC]) ac_mode=$ac_tag; continue;; |
25059 | ac_sed_cmds= |
25139 | esac |
25060 | while $ac_more_lines; do |
25140 | case $ac_mode$ac_tag in |
25061 | if test $ac_beg -gt 1; then |
25141 | :[FHL]*:*);; |
25062 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
25142 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
25063 | else |
25143 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
25064 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
25144 | { (exit 1); exit 1; }; };; |
|
|
25145 | :[FH]-) ac_tag=-:-;; |
|
|
25146 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
|
25147 | esac |
|
|
25148 | ac_save_IFS=$IFS |
|
|
25149 | IFS=: |
|
|
25150 | set x $ac_tag |
|
|
25151 | IFS=$ac_save_IFS |
|
|
25152 | shift |
|
|
25153 | ac_file=$1 |
|
|
25154 | shift |
|
|
25155 | |
|
|
25156 | case $ac_mode in |
|
|
25157 | :L) ac_source=$1;; |
|
|
25158 | :[FH]) |
|
|
25159 | ac_file_inputs= |
|
|
25160 | for ac_f |
|
|
25161 | do |
|
|
25162 | case $ac_f in |
|
|
25163 | -) ac_f="$tmp/stdin";; |
|
|
25164 | *) # Look for the file first in the build tree, then in the source tree |
|
|
25165 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
|
|
25166 | # because $ac_f cannot contain `:'. |
|
|
25167 | test -f "$ac_f" || |
|
|
25168 | case $ac_f in |
|
|
25169 | [\\/$]*) false;; |
|
|
25170 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
|
25171 | esac || |
|
|
25172 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
|
|
25173 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
|
|
25174 | { (exit 1); exit 1; }; };; |
|
|
25175 | esac |
|
|
25176 | ac_file_inputs="$ac_file_inputs $ac_f" |
|
|
25177 | done |
|
|
25178 | |
|
|
25179 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
25180 | # use $as_me), people would be surprised to read: |
|
|
25181 | # /* config.h. Generated by config.status. */ |
|
|
25182 | configure_input="Generated from "`IFS=: |
|
|
25183 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
|
|
25184 | if test x"$ac_file" != x-; then |
|
|
25185 | configure_input="$ac_file. $configure_input" |
|
|
25186 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
25187 | echo "$as_me: creating $ac_file" >&6;} |
25065 | fi |
25188 | fi |
25066 | if test ! -s $tmp/subs.frag; then |
|
|
25067 | ac_more_lines=false |
|
|
25068 | else |
|
|
25069 | # The purpose of the label and of the branching condition is to |
|
|
25070 | # speed up the sed processing (if there are no `@' at all, there |
|
|
25071 | # is no need to browse any of the substitutions). |
|
|
25072 | # These are the two extra sed commands mentioned above. |
|
|
25073 | (echo ':t |
|
|
25074 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
|
|
25075 | if test -z "$ac_sed_cmds"; then |
|
|
25076 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
|
|
25077 | else |
|
|
25078 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
|
|
25079 | fi |
|
|
25080 | ac_sed_frag=`expr $ac_sed_frag + 1` |
|
|
25081 | ac_beg=$ac_end |
|
|
25082 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
|
|
25083 | fi |
|
|
25084 | done |
|
|
25085 | if test -z "$ac_sed_cmds"; then |
|
|
25086 | ac_sed_cmds=cat |
|
|
25087 | fi |
|
|
25088 | fi # test -n "$CONFIG_FILES" |
|
|
25089 | |
25189 | |
25090 | _ACEOF |
|
|
25091 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
25092 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
|
|
25093 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
|
|
25094 | case $ac_file in |
25190 | case $ac_tag in |
25095 | - | *:- | *:-:* ) # input from stdin |
25191 | *:-:* | *:-) cat >"$tmp/stdin";; |
25096 | cat >$tmp/stdin |
25192 | esac |
25097 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
25193 | ;; |
25098 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
|
25099 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
|
25100 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
|
25101 | * ) ac_file_in=$ac_file.in ;; |
|
|
25102 | esac |
25194 | esac |
25103 | |
25195 | |
25104 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
25196 | ac_dir=`$as_dirname -- "$ac_file" || |
25105 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
|
|
25106 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25197 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25107 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
25198 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
25108 | X"$ac_file" : 'X\(//\)$' \| \ |
25199 | X"$ac_file" : 'X\(//\)$' \| \ |
25109 | X"$ac_file" : 'X\(/\)' \| \ |
25200 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
25110 | . : '\(.\)' 2>/dev/null || |
|
|
25111 | echo X"$ac_file" | |
25201 | echo X"$ac_file" | |
25112 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
25202 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
25113 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
25203 | s//\1/ |
25114 | /^X\(\/\/\)$/{ s//\1/; q; } |
25204 | q |
25115 | /^X\(\/\).*/{ s//\1/; q; } |
25205 | } |
|
|
25206 | /^X\(\/\/\)[^/].*/{ |
|
|
25207 | s//\1/ |
|
|
25208 | q |
|
|
25209 | } |
|
|
25210 | /^X\(\/\/\)$/{ |
|
|
25211 | s//\1/ |
|
|
25212 | q |
|
|
25213 | } |
|
|
25214 | /^X\(\/\).*/{ |
|
|
25215 | s//\1/ |
|
|
25216 | q |
|
|
25217 | } |
25116 | s/.*/./; q'` |
25218 | s/.*/./; q'` |
25117 | { if $as_mkdir_p; then |
|
|
25118 | mkdir -p "$ac_dir" |
|
|
25119 | else |
|
|
25120 | as_dir="$ac_dir" |
25219 | { as_dir="$ac_dir" |
|
|
25220 | case $as_dir in #( |
|
|
25221 | -*) as_dir=./$as_dir;; |
|
|
25222 | esac |
|
|
25223 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
25121 | as_dirs= |
25224 | as_dirs= |
25122 | while test ! -d "$as_dir"; do |
25225 | while :; do |
|
|
25226 | case $as_dir in #( |
|
|
25227 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
|
|
25228 | *) as_qdir=$as_dir;; |
|
|
25229 | esac |
25123 | as_dirs="$as_dir $as_dirs" |
25230 | as_dirs="'$as_qdir' $as_dirs" |
25124 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
25231 | as_dir=`$as_dirname -- "$as_dir" || |
25125 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25232 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25126 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
25233 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
25127 | X"$as_dir" : 'X\(//\)$' \| \ |
25234 | X"$as_dir" : 'X\(//\)$' \| \ |
25128 | X"$as_dir" : 'X\(/\)' \| \ |
25235 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
25129 | . : '\(.\)' 2>/dev/null || |
|
|
25130 | echo X"$as_dir" | |
25236 | echo X"$as_dir" | |
25131 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
25237 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
25132 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
25238 | s//\1/ |
25133 | /^X\(\/\/\)$/{ s//\1/; q; } |
25239 | q |
25134 | /^X\(\/\).*/{ s//\1/; q; } |
25240 | } |
|
|
25241 | /^X\(\/\/\)[^/].*/{ |
|
|
25242 | s//\1/ |
|
|
25243 | q |
|
|
25244 | } |
|
|
25245 | /^X\(\/\/\)$/{ |
|
|
25246 | s//\1/ |
|
|
25247 | q |
|
|
25248 | } |
|
|
25249 | /^X\(\/\).*/{ |
|
|
25250 | s//\1/ |
|
|
25251 | q |
|
|
25252 | } |
25135 | s/.*/./; q'` |
25253 | s/.*/./; q'` |
|
|
25254 | test -d "$as_dir" && break |
25136 | done |
25255 | done |
25137 | test ! -n "$as_dirs" || mkdir $as_dirs |
25256 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
25138 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
25257 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
25139 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
25258 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
25140 | { (exit 1); exit 1; }; }; } |
25259 | { (exit 1); exit 1; }; }; } |
25141 | |
|
|
25142 | ac_builddir=. |
25260 | ac_builddir=. |
25143 | |
25261 | |
25144 | if test "$ac_dir" != .; then |
25262 | case "$ac_dir" in |
|
|
25263 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
|
25264 | *) |
25145 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
25265 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
25146 | # A "../" for each directory in $ac_dir_suffix. |
25266 | # A ".." for each directory in $ac_dir_suffix. |
25147 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
25267 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
25148 | else |
25268 | case $ac_top_builddir_sub in |
25149 | ac_dir_suffix= ac_top_builddir= |
25269 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
25150 | fi |
25270 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
|
25271 | esac ;; |
|
|
25272 | esac |
|
|
25273 | ac_abs_top_builddir=$ac_pwd |
|
|
25274 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
|
25275 | # for backward compatibility: |
|
|
25276 | ac_top_builddir=$ac_top_build_prefix |
25151 | |
25277 | |
25152 | case $srcdir in |
25278 | case $srcdir in |
25153 | .) # No --srcdir option. We are building in place. |
25279 | .) # We are building in place. |
25154 | ac_srcdir=. |
25280 | ac_srcdir=. |
25155 | if test -z "$ac_top_builddir"; then |
25281 | ac_top_srcdir=$ac_top_builddir_sub |
25156 | ac_top_srcdir=. |
25282 | ac_abs_top_srcdir=$ac_pwd ;; |
25157 | else |
|
|
25158 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
|
25159 | fi ;; |
|
|
25160 | [\\/]* | ?:[\\/]* ) # Absolute path. |
25283 | [\\/]* | ?:[\\/]* ) # Absolute name. |
25161 | ac_srcdir=$srcdir$ac_dir_suffix; |
25284 | ac_srcdir=$srcdir$ac_dir_suffix; |
25162 | ac_top_srcdir=$srcdir ;; |
25285 | ac_top_srcdir=$srcdir |
|
|
25286 | ac_abs_top_srcdir=$srcdir ;; |
25163 | *) # Relative path. |
25287 | *) # Relative name. |
25164 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
25288 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
25165 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
25289 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
|
25290 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
25166 | esac |
25291 | esac |
|
|
25292 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
25167 | |
25293 | |
25168 | # Do not use `cd foo && pwd` to compute absolute paths, because |
25294 | |
25169 | # the directories may not exist. |
|
|
25170 | case `pwd` in |
|
|
25171 | .) ac_abs_builddir="$ac_dir";; |
|
|
25172 | *) |
|
|
25173 | case "$ac_dir" in |
25295 | case $ac_mode in |
25174 | .) ac_abs_builddir=`pwd`;; |
25296 | :F) |
25175 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
25297 | # |
25176 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
25298 | # CONFIG_FILE |
25177 | esac;; |
25299 | # |
25178 | esac |
|
|
25179 | case $ac_abs_builddir in |
|
|
25180 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
25181 | *) |
|
|
25182 | case ${ac_top_builddir}. in |
|
|
25183 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
|
25184 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
25185 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
|
25186 | esac;; |
|
|
25187 | esac |
|
|
25188 | case $ac_abs_builddir in |
|
|
25189 | .) ac_abs_srcdir=$ac_srcdir;; |
|
|
25190 | *) |
|
|
25191 | case $ac_srcdir in |
|
|
25192 | .) ac_abs_srcdir=$ac_abs_builddir;; |
|
|
25193 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
|
25194 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
|
25195 | esac;; |
|
|
25196 | esac |
|
|
25197 | case $ac_abs_builddir in |
|
|
25198 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
25199 | *) |
|
|
25200 | case $ac_top_srcdir in |
|
|
25201 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
|
25202 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
25203 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
|
25204 | esac;; |
|
|
25205 | esac |
|
|
25206 | |
|
|
25207 | |
25300 | |
25208 | case $INSTALL in |
25301 | case $INSTALL in |
25209 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
25302 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
25210 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
25303 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
25211 | esac |
25304 | esac |
25212 | |
|
|
25213 | if test x"$ac_file" != x-; then |
|
|
25214 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
25215 | echo "$as_me: creating $ac_file" >&6;} |
|
|
25216 | rm -f "$ac_file" |
|
|
25217 | fi |
|
|
25218 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
25219 | # use $as_me), people would be surprised to read: |
|
|
25220 | # /* config.h. Generated by config.status. */ |
|
|
25221 | if test x"$ac_file" = x-; then |
|
|
25222 | configure_input= |
|
|
25223 | else |
|
|
25224 | configure_input="$ac_file. " |
|
|
25225 | fi |
|
|
25226 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
|
|
25227 | sed 's,.*/,,'` by configure." |
|
|
25228 | |
|
|
25229 | # First look for the input files in the build tree, otherwise in the |
|
|
25230 | # src tree. |
|
|
25231 | ac_file_inputs=`IFS=: |
|
|
25232 | for f in $ac_file_in; do |
|
|
25233 | case $f in |
|
|
25234 | -) echo $tmp/stdin ;; |
|
|
25235 | [\\/$]*) |
|
|
25236 | # Absolute (can't be DOS-style, as IFS=:) |
|
|
25237 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
|
25238 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
25239 | { (exit 1); exit 1; }; } |
|
|
25240 | echo "$f";; |
|
|
25241 | *) # Relative |
|
|
25242 | if test -f "$f"; then |
|
|
25243 | # Build tree |
|
|
25244 | echo "$f" |
|
|
25245 | elif test -f "$srcdir/$f"; then |
|
|
25246 | # Source tree |
|
|
25247 | echo "$srcdir/$f" |
|
|
25248 | else |
|
|
25249 | # /dev/null tree |
|
|
25250 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
|
25251 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
25252 | { (exit 1); exit 1; }; } |
|
|
25253 | fi;; |
|
|
25254 | esac |
|
|
25255 | done` || { (exit 1); exit 1; } |
|
|
25256 | _ACEOF |
25305 | _ACEOF |
|
|
25306 | |
|
|
25307 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
25308 | # If the template does not know about datarootdir, expand it. |
|
|
25309 | # FIXME: This hack should be removed a few years after 2.60. |
|
|
25310 | ac_datarootdir_hack=; ac_datarootdir_seen= |
|
|
25311 | |
|
|
25312 | case `sed -n '/datarootdir/ { |
|
|
25313 | p |
|
|
25314 | q |
|
|
25315 | } |
|
|
25316 | /@datadir@/p |
|
|
25317 | /@docdir@/p |
|
|
25318 | /@infodir@/p |
|
|
25319 | /@localedir@/p |
|
|
25320 | /@mandir@/p |
|
|
25321 | ' $ac_file_inputs` in |
|
|
25322 | *datarootdir*) ac_datarootdir_seen=yes;; |
|
|
25323 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
|
25324 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
|
25325 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
|
25326 | _ACEOF |
|
|
25327 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
25328 | ac_datarootdir_hack=' |
|
|
25329 | s&@datadir@&$datadir&g |
|
|
25330 | s&@docdir@&$docdir&g |
|
|
25331 | s&@infodir@&$infodir&g |
|
|
25332 | s&@localedir@&$localedir&g |
|
|
25333 | s&@mandir@&$mandir&g |
|
|
25334 | s&\\\${datarootdir}&$datarootdir&g' ;; |
|
|
25335 | esac |
|
|
25336 | _ACEOF |
|
|
25337 | |
|
|
25338 | # Neutralize VPATH when `$srcdir' = `.'. |
|
|
25339 | # Shell code in configure.ac might set extrasub. |
|
|
25340 | # FIXME: do we really want to maintain this feature? |
25257 | cat >>$CONFIG_STATUS <<_ACEOF |
25341 | cat >>$CONFIG_STATUS <<_ACEOF |
25258 | sed "$ac_vpsub |
25342 | sed "$ac_vpsub |
25259 | $extrasub |
25343 | $extrasub |
25260 | _ACEOF |
25344 | _ACEOF |
25261 | cat >>$CONFIG_STATUS <<\_ACEOF |
25345 | cat >>$CONFIG_STATUS <<\_ACEOF |
25262 | :t |
25346 | :t |
25263 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
25347 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
25264 | s,@configure_input@,$configure_input,;t t |
25348 | s&@configure_input@&$configure_input&;t t |
|
|
25349 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
25265 | s,@srcdir@,$ac_srcdir,;t t |
25350 | s&@srcdir@&$ac_srcdir&;t t |
25266 | s,@abs_srcdir@,$ac_abs_srcdir,;t t |
25351 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
25267 | s,@top_srcdir@,$ac_top_srcdir,;t t |
25352 | s&@top_srcdir@&$ac_top_srcdir&;t t |
25268 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
25353 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
25269 | s,@builddir@,$ac_builddir,;t t |
25354 | s&@builddir@&$ac_builddir&;t t |
25270 | s,@abs_builddir@,$ac_abs_builddir,;t t |
25355 | s&@abs_builddir@&$ac_abs_builddir&;t t |
25271 | s,@top_builddir@,$ac_top_builddir,;t t |
|
|
25272 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
25356 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
25273 | s,@INSTALL@,$ac_INSTALL,;t t |
25357 | s&@INSTALL@&$ac_INSTALL&;t t |
25274 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
25358 | $ac_datarootdir_hack |
|
|
25359 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
|
|
25360 | |
|
|
25361 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
|
25362 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
|
|
25363 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
|
|
25364 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
|
25365 | which seems to be undefined. Please make sure it is defined." >&5 |
|
|
25366 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
|
25367 | which seems to be undefined. Please make sure it is defined." >&2;} |
|
|
25368 | |
25275 | rm -f $tmp/stdin |
25369 | rm -f "$tmp/stdin" |
25276 | if test x"$ac_file" != x-; then |
25370 | case $ac_file in |
25277 | mv $tmp/out $ac_file |
25371 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
25278 | else |
25372 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
25279 | cat $tmp/out |
25373 | esac |
25280 | rm -f $tmp/out |
25374 | ;; |
25281 | fi |
25375 | :H) |
25282 | |
25376 | # |
25283 | done |
25377 | # CONFIG_HEADER |
|
|
25378 | # |
25284 | _ACEOF |
25379 | _ACEOF |
25285 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
25286 | |
25380 | |
25287 | # |
25381 | # Transform confdefs.h into a sed script `conftest.defines', that |
25288 | # CONFIG_HEADER section. |
25382 | # substitutes the proper values into config.h.in to produce config.h. |
25289 | # |
25383 | rm -f conftest.defines conftest.tail |
25290 | |
25384 | # First, append a space to every undef/define line, to ease matching. |
|
|
25385 | echo 's/$/ /' >conftest.defines |
|
|
25386 | # Then, protect against being on the right side of a sed subst, or in |
|
|
25387 | # an unquoted here document, in config.status. If some macros were |
|
|
25388 | # called several times there might be several #defines for the same |
|
|
25389 | # symbol, which is useless. But do not sort them, since the last |
|
|
25390 | # AC_DEFINE must be honored. |
|
|
25391 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
25291 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
25392 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
25292 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
25393 | # NAME is the cpp macro being defined, VALUE is the value it is being given. |
25293 | # |
25394 | # PARAMS is the parameter list in the macro definition--in most cases, it's |
25294 | # ac_d sets the value in "#define NAME VALUE" lines. |
25395 | # just an empty string. |
25295 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
25396 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
25296 | ac_dB='[ ].*$,\1#\2' |
25397 | ac_dB='\\)[ (].*,\\1define\\2' |
25297 | ac_dC=' ' |
25398 | ac_dC=' ' |
25298 | ac_dD=',;t' |
25399 | ac_dD=' ,' |
25299 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
|
|
25300 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
|
|
25301 | ac_uB='$,\1#\2define\3' |
|
|
25302 | ac_uC=' ' |
|
|
25303 | ac_uD=',;t' |
|
|
25304 | |
25400 | |
25305 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
25401 | uniq confdefs.h | |
25306 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
25402 | sed -n ' |
25307 | case $ac_file in |
25403 | t rset |
25308 | - | *:- | *:-:* ) # input from stdin |
25404 | :rset |
25309 | cat >$tmp/stdin |
25405 | s/^[ ]*#[ ]*define[ ][ ]*// |
25310 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
25406 | t ok |
25311 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
25407 | d |
25312 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
25408 | :ok |
25313 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
|
25314 | * ) ac_file_in=$ac_file.in ;; |
|
|
25315 | esac |
|
|
25316 | |
|
|
25317 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
25318 | echo "$as_me: creating $ac_file" >&6;} |
|
|
25319 | |
|
|
25320 | # First look for the input files in the build tree, otherwise in the |
|
|
25321 | # src tree. |
|
|
25322 | ac_file_inputs=`IFS=: |
|
|
25323 | for f in $ac_file_in; do |
|
|
25324 | case $f in |
|
|
25325 | -) echo $tmp/stdin ;; |
|
|
25326 | [\\/$]*) |
|
|
25327 | # Absolute (can't be DOS-style, as IFS=:) |
|
|
25328 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
|
25329 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
25330 | { (exit 1); exit 1; }; } |
|
|
25331 | # Do quote $f, to prevent DOS paths from being IFS'd. |
|
|
25332 | echo "$f";; |
|
|
25333 | *) # Relative |
|
|
25334 | if test -f "$f"; then |
|
|
25335 | # Build tree |
|
|
25336 | echo "$f" |
|
|
25337 | elif test -f "$srcdir/$f"; then |
|
|
25338 | # Source tree |
|
|
25339 | echo "$srcdir/$f" |
|
|
25340 | else |
|
|
25341 | # /dev/null tree |
|
|
25342 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
|
25343 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
25344 | { (exit 1); exit 1; }; } |
|
|
25345 | fi;; |
|
|
25346 | esac |
|
|
25347 | done` || { (exit 1); exit 1; } |
|
|
25348 | # Remove the trailing spaces. |
|
|
25349 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
|
|
25350 | |
|
|
25351 | _ACEOF |
|
|
25352 | |
|
|
25353 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
|
|
25354 | # `conftest.undefs', that substitutes the proper values into |
|
|
25355 | # config.h.in to produce config.h. The first handles `#define' |
|
|
25356 | # templates, and the second `#undef' templates. |
|
|
25357 | # And first: Protect against being on the right side of a sed subst in |
|
|
25358 | # config.status. Protect against being in an unquoted here document |
|
|
25359 | # in config.status. |
|
|
25360 | rm -f conftest.defines conftest.undefs |
|
|
25361 | # Using a here document instead of a string reduces the quoting nightmare. |
|
|
25362 | # Putting comments in sed scripts is not portable. |
|
|
25363 | # |
|
|
25364 | # `end' is used to avoid that the second main sed command (meant for |
|
|
25365 | # 0-ary CPP macros) applies to n-ary macro definitions. |
|
|
25366 | # See the Autoconf documentation for `clear'. |
|
|
25367 | cat >confdef2sed.sed <<\_ACEOF |
|
|
25368 | s/[\\&,]/\\&/g |
25409 | s/[\\&,]/\\&/g |
25369 | s,[\\$`],\\&,g |
25410 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
25370 | t clear |
25411 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
25371 | : clear |
25412 | ' >>conftest.defines |
25372 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
|
|
25373 | t end |
|
|
25374 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
|
|
25375 | : end |
|
|
25376 | _ACEOF |
|
|
25377 | # If some macros were called several times there might be several times |
|
|
25378 | # the same #defines, which is useless. Nevertheless, we may not want to |
|
|
25379 | # sort them, since we want the *last* AC-DEFINE to be honored. |
|
|
25380 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
|
|
25381 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
|
|
25382 | rm -f confdef2sed.sed |
|
|
25383 | |
25413 | |
|
|
25414 | # Remove the space that was appended to ease matching. |
25384 | # This sed command replaces #undef with comments. This is necessary, for |
25415 | # Then replace #undef with comments. This is necessary, for |
25385 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
25416 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
25386 | # on some systems where configure will not decide to define it. |
25417 | # on some systems where configure will not decide to define it. |
25387 | cat >>conftest.undefs <<\_ACEOF |
25418 | # (The regexp can be short, since the line contains either #define or #undef.) |
25388 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
25419 | echo 's/ $// |
25389 | _ACEOF |
25420 | s,^[ #]*u.*,/* & */,' >>conftest.defines |
25390 | |
25421 | |
25391 | # Break up conftest.defines because some shells have a limit on the size |
25422 | # Break up conftest.defines: |
25392 | # of here documents, and old seds have small limits too (100 cmds). |
25423 | ac_max_sed_lines=50 |
25393 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
25424 | |
25394 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
25425 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
25395 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
25426 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
25396 | echo ' :' >>$CONFIG_STATUS |
25427 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
25397 | rm -f conftest.tail |
25428 | # et cetera. |
25398 | while grep . conftest.defines >/dev/null |
25429 | ac_in='$ac_file_inputs' |
|
|
25430 | ac_out='"$tmp/out1"' |
|
|
25431 | ac_nxt='"$tmp/out2"' |
|
|
25432 | |
|
|
25433 | while : |
25399 | do |
25434 | do |
25400 | # Write a limited-size here document to $tmp/defines.sed. |
25435 | # Write a here document: |
25401 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
25436 | cat >>$CONFIG_STATUS <<_ACEOF |
25402 | # Speed up: don't consider the non `#define' lines. |
25437 | # First, check the format of the line: |
25403 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
25438 | cat >"\$tmp/defines.sed" <<\\CEOF |
25404 | # Work around the forget-to-reset-the-flag bug. |
25439 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
25405 | echo 't clr' >>$CONFIG_STATUS |
25440 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
25406 | echo ': clr' >>$CONFIG_STATUS |
25441 | b |
|
|
25442 | :def |
|
|
25443 | _ACEOF |
25407 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
25444 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
25408 | echo 'CEOF |
25445 | echo 'CEOF |
25409 | sed -f $tmp/defines.sed $tmp/in >$tmp/out |
25446 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
25410 | rm -f $tmp/in |
25447 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
25411 | mv $tmp/out $tmp/in |
|
|
25412 | ' >>$CONFIG_STATUS |
|
|
25413 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
25448 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
|
|
25449 | grep . conftest.tail >/dev/null || break |
25414 | rm -f conftest.defines |
25450 | rm -f conftest.defines |
25415 | mv conftest.tail conftest.defines |
25451 | mv conftest.tail conftest.defines |
25416 | done |
25452 | done |
25417 | rm -f conftest.defines |
25453 | rm -f conftest.defines conftest.tail |
25418 | echo ' fi # grep' >>$CONFIG_STATUS |
|
|
25419 | echo >>$CONFIG_STATUS |
|
|
25420 | |
25454 | |
25421 | # Break up conftest.undefs because some shells have a limit on the size |
25455 | echo "ac_result=$ac_in" >>$CONFIG_STATUS |
25422 | # of here documents, and old seds have small limits too (100 cmds). |
|
|
25423 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
|
|
25424 | rm -f conftest.tail |
|
|
25425 | while grep . conftest.undefs >/dev/null |
|
|
25426 | do |
|
|
25427 | # Write a limited-size here document to $tmp/undefs.sed. |
|
|
25428 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
|
|
25429 | # Speed up: don't consider the non `#undef' |
|
|
25430 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
|
|
25431 | # Work around the forget-to-reset-the-flag bug. |
|
|
25432 | echo 't clr' >>$CONFIG_STATUS |
|
|
25433 | echo ': clr' >>$CONFIG_STATUS |
|
|
25434 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
|
|
25435 | echo 'CEOF |
|
|
25436 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
|
|
25437 | rm -f $tmp/in |
|
|
25438 | mv $tmp/out $tmp/in |
|
|
25439 | ' >>$CONFIG_STATUS |
|
|
25440 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
|
|
25441 | rm -f conftest.undefs |
|
|
25442 | mv conftest.tail conftest.undefs |
|
|
25443 | done |
|
|
25444 | rm -f conftest.undefs |
|
|
25445 | |
|
|
25446 | cat >>$CONFIG_STATUS <<\_ACEOF |
25456 | cat >>$CONFIG_STATUS <<\_ACEOF |
25447 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
25448 | # use $as_me), people would be surprised to read: |
|
|
25449 | # /* config.h. Generated by config.status. */ |
|
|
25450 | if test x"$ac_file" = x-; then |
|
|
25451 | echo "/* Generated by configure. */" >$tmp/config.h |
|
|
25452 | else |
|
|
25453 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
|
|
25454 | fi |
|
|
25455 | cat $tmp/in >>$tmp/config.h |
|
|
25456 | rm -f $tmp/in |
|
|
25457 | if test x"$ac_file" != x-; then |
25457 | if test x"$ac_file" != x-; then |
|
|
25458 | echo "/* $configure_input */" >"$tmp/config.h" |
|
|
25459 | cat "$ac_result" >>"$tmp/config.h" |
25458 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
25460 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
25459 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
25461 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
25460 | echo "$as_me: $ac_file is unchanged" >&6;} |
25462 | echo "$as_me: $ac_file is unchanged" >&6;} |
25461 | else |
25463 | else |
25462 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
|
|
25463 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
25464 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
|
25465 | X"$ac_file" : 'X\(//\)$' \| \ |
|
|
25466 | X"$ac_file" : 'X\(/\)' \| \ |
|
|
25467 | . : '\(.\)' 2>/dev/null || |
|
|
25468 | echo X"$ac_file" | |
|
|
25469 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
25470 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
25471 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
25472 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
25473 | s/.*/./; q'` |
|
|
25474 | { if $as_mkdir_p; then |
|
|
25475 | mkdir -p "$ac_dir" |
|
|
25476 | else |
|
|
25477 | as_dir="$ac_dir" |
|
|
25478 | as_dirs= |
|
|
25479 | while test ! -d "$as_dir"; do |
|
|
25480 | as_dirs="$as_dir $as_dirs" |
|
|
25481 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
|
25482 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
25483 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
25484 | X"$as_dir" : 'X\(//\)$' \| \ |
|
|
25485 | X"$as_dir" : 'X\(/\)' \| \ |
|
|
25486 | . : '\(.\)' 2>/dev/null || |
|
|
25487 | echo X"$as_dir" | |
|
|
25488 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
25489 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
25490 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
25491 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
25492 | s/.*/./; q'` |
|
|
25493 | done |
|
|
25494 | test ! -n "$as_dirs" || mkdir $as_dirs |
|
|
25495 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
|
25496 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
|
25497 | { (exit 1); exit 1; }; }; } |
|
|
25498 | |
|
|
25499 | rm -f $ac_file |
25464 | rm -f $ac_file |
25500 | mv $tmp/config.h $ac_file |
25465 | mv "$tmp/config.h" $ac_file |
25501 | fi |
25466 | fi |
25502 | else |
25467 | else |
25503 | cat $tmp/config.h |
25468 | echo "/* $configure_input */" |
25504 | rm -f $tmp/config.h |
25469 | cat "$ac_result" |
25505 | fi |
25470 | fi |
25506 | # Run the commands associated with the file. |
25471 | rm -f "$tmp/out12" |
|
|
25472 | ;; |
|
|
25473 | |
|
|
25474 | :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
|
|
25475 | echo "$as_me: executing $ac_file commands" >&6;} |
|
|
25476 | ;; |
|
|
25477 | esac |
|
|
25478 | |
|
|
25479 | |
25507 | case $ac_file in |
25480 | case $ac_file$ac_mode in |
25508 | config.h ) # update the timestamp |
25481 | "config.h":H) # update the timestamp |
25509 | echo 'timestamp for config.h' >"./stamp-h1" |
25482 | echo 'timestamp for config.h' >"./stamp-h1" |
25510 | ;; |
25483 | ;; |
25511 | esac |
|
|
25512 | done |
|
|
25513 | _ACEOF |
|
|
25514 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
25515 | |
|
|
25516 | # |
|
|
25517 | # CONFIG_COMMANDS section. |
|
|
25518 | # |
|
|
25519 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
|
|
25520 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
|
|
25521 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
|
25522 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
|
|
25523 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
25524 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
|
|
25525 | X"$ac_dest" : 'X\(//\)$' \| \ |
|
|
25526 | X"$ac_dest" : 'X\(/\)' \| \ |
|
|
25527 | . : '\(.\)' 2>/dev/null || |
|
|
25528 | echo X"$ac_dest" | |
|
|
25529 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
25530 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
25531 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
25532 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
25533 | s/.*/./; q'` |
|
|
25534 | { if $as_mkdir_p; then |
|
|
25535 | mkdir -p "$ac_dir" |
|
|
25536 | else |
|
|
25537 | as_dir="$ac_dir" |
|
|
25538 | as_dirs= |
|
|
25539 | while test ! -d "$as_dir"; do |
|
|
25540 | as_dirs="$as_dir $as_dirs" |
|
|
25541 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
|
25542 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
25543 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
25544 | X"$as_dir" : 'X\(//\)$' \| \ |
|
|
25545 | X"$as_dir" : 'X\(/\)' \| \ |
|
|
25546 | . : '\(.\)' 2>/dev/null || |
|
|
25547 | echo X"$as_dir" | |
|
|
25548 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
25549 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
25550 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
25551 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
25552 | s/.*/./; q'` |
|
|
25553 | done |
|
|
25554 | test ! -n "$as_dirs" || mkdir $as_dirs |
|
|
25555 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
|
25556 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
|
25557 | { (exit 1); exit 1; }; }; } |
|
|
25558 | |
|
|
25559 | ac_builddir=. |
|
|
25560 | |
|
|
25561 | if test "$ac_dir" != .; then |
|
|
25562 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|
|
25563 | # A "../" for each directory in $ac_dir_suffix. |
|
|
25564 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
|
|
25565 | else |
|
|
25566 | ac_dir_suffix= ac_top_builddir= |
|
|
25567 | fi |
|
|
25568 | |
|
|
25569 | case $srcdir in |
|
|
25570 | .) # No --srcdir option. We are building in place. |
|
|
25571 | ac_srcdir=. |
|
|
25572 | if test -z "$ac_top_builddir"; then |
|
|
25573 | ac_top_srcdir=. |
|
|
25574 | else |
|
|
25575 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
|
25576 | fi ;; |
|
|
25577 | [\\/]* | ?:[\\/]* ) # Absolute path. |
|
|
25578 | ac_srcdir=$srcdir$ac_dir_suffix; |
|
|
25579 | ac_top_srcdir=$srcdir ;; |
|
|
25580 | *) # Relative path. |
|
|
25581 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
|
25582 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
|
25583 | esac |
|
|
25584 | |
|
|
25585 | # Do not use `cd foo && pwd` to compute absolute paths, because |
|
|
25586 | # the directories may not exist. |
|
|
25587 | case `pwd` in |
|
|
25588 | .) ac_abs_builddir="$ac_dir";; |
|
|
25589 | *) |
|
|
25590 | case "$ac_dir" in |
|
|
25591 | .) ac_abs_builddir=`pwd`;; |
|
|
25592 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
|
25593 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
|
25594 | esac;; |
|
|
25595 | esac |
|
|
25596 | case $ac_abs_builddir in |
|
|
25597 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
25598 | *) |
|
|
25599 | case ${ac_top_builddir}. in |
|
|
25600 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
|
25601 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
25602 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
|
25603 | esac;; |
|
|
25604 | esac |
|
|
25605 | case $ac_abs_builddir in |
|
|
25606 | .) ac_abs_srcdir=$ac_srcdir;; |
|
|
25607 | *) |
|
|
25608 | case $ac_srcdir in |
|
|
25609 | .) ac_abs_srcdir=$ac_abs_builddir;; |
|
|
25610 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
|
25611 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
|
25612 | esac;; |
|
|
25613 | esac |
|
|
25614 | case $ac_abs_builddir in |
|
|
25615 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
25616 | *) |
|
|
25617 | case $ac_top_srcdir in |
|
|
25618 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
|
25619 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
25620 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
|
25621 | esac;; |
|
|
25622 | esac |
|
|
25623 | |
|
|
25624 | |
|
|
25625 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
|
|
25626 | echo "$as_me: executing $ac_dest commands" >&6;} |
|
|
25627 | case $ac_dest in |
|
|
25628 | depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
25484 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
25629 | # Strip MF so we end up with the name of the file. |
25485 | # Strip MF so we end up with the name of the file. |
25630 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
25486 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
25631 | # Check whether this is an Automake generated Makefile or not. |
25487 | # Check whether this is an Automake generated Makefile or not. |
25632 | # We used to match only the files named `Makefile.in', but |
25488 | # We used to match only the files named `Makefile.in', but |
25633 | # some people rename them; so instead we look at the file content. |
25489 | # some people rename them; so instead we look at the file content. |
25634 | # Grep'ing the first line is not enough: some people post-process |
25490 | # Grep'ing the first line is not enough: some people post-process |
25635 | # each Makefile.in and add a new line on top of each file to say so. |
25491 | # each Makefile.in and add a new line on top of each file to say so. |
25636 | # So let's grep whole file. |
25492 | # So let's grep whole file. |
25637 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
25493 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
25638 | dirpart=`(dirname "$mf") 2>/dev/null || |
25494 | dirpart=`$as_dirname -- "$mf" || |
25639 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25495 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25640 | X"$mf" : 'X\(//\)[^/]' \| \ |
25496 | X"$mf" : 'X\(//\)[^/]' \| \ |
25641 | X"$mf" : 'X\(//\)$' \| \ |
25497 | X"$mf" : 'X\(//\)$' \| \ |
25642 | X"$mf" : 'X\(/\)' \| \ |
25498 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
25643 | . : '\(.\)' 2>/dev/null || |
|
|
25644 | echo X"$mf" | |
25499 | echo X"$mf" | |
25645 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
25500 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
25646 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
25501 | s//\1/ |
25647 | /^X\(\/\/\)$/{ s//\1/; q; } |
25502 | q |
25648 | /^X\(\/\).*/{ s//\1/; q; } |
25503 | } |
|
|
25504 | /^X\(\/\/\)[^/].*/{ |
|
|
25505 | s//\1/ |
|
|
25506 | q |
|
|
25507 | } |
|
|
25508 | /^X\(\/\/\)$/{ |
|
|
25509 | s//\1/ |
|
|
25510 | q |
|
|
25511 | } |
|
|
25512 | /^X\(\/\).*/{ |
|
|
25513 | s//\1/ |
|
|
25514 | q |
|
|
25515 | } |
25649 | s/.*/./; q'` |
25516 | s/.*/./; q'` |
25650 | else |
25517 | else |
25651 | continue |
25518 | continue |
25652 | fi |
25519 | fi |
25653 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
25520 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
25654 | # Extract the definition of DEP_FILES from the Makefile without |
25521 | # Extract the definition of DEP_FILES from the Makefile without |
… | |
… | |
25672 | } |
25539 | } |
25673 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
25540 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
25674 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
25541 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
25675 | # Make sure the directory exists. |
25542 | # Make sure the directory exists. |
25676 | test -f "$dirpart/$file" && continue |
25543 | test -f "$dirpart/$file" && continue |
25677 | fdir=`(dirname "$file") 2>/dev/null || |
25544 | fdir=`$as_dirname -- "$file" || |
25678 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25545 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25679 | X"$file" : 'X\(//\)[^/]' \| \ |
25546 | X"$file" : 'X\(//\)[^/]' \| \ |
25680 | X"$file" : 'X\(//\)$' \| \ |
25547 | X"$file" : 'X\(//\)$' \| \ |
25681 | X"$file" : 'X\(/\)' \| \ |
25548 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
25682 | . : '\(.\)' 2>/dev/null || |
|
|
25683 | echo X"$file" | |
25549 | echo X"$file" | |
25684 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
25550 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
25685 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
25551 | s//\1/ |
25686 | /^X\(\/\/\)$/{ s//\1/; q; } |
25552 | q |
25687 | /^X\(\/\).*/{ s//\1/; q; } |
25553 | } |
|
|
25554 | /^X\(\/\/\)[^/].*/{ |
|
|
25555 | s//\1/ |
|
|
25556 | q |
|
|
25557 | } |
|
|
25558 | /^X\(\/\/\)$/{ |
|
|
25559 | s//\1/ |
|
|
25560 | q |
|
|
25561 | } |
|
|
25562 | /^X\(\/\).*/{ |
|
|
25563 | s//\1/ |
|
|
25564 | q |
|
|
25565 | } |
25688 | s/.*/./; q'` |
25566 | s/.*/./; q'` |
25689 | { if $as_mkdir_p; then |
|
|
25690 | mkdir -p $dirpart/$fdir |
|
|
25691 | else |
|
|
25692 | as_dir=$dirpart/$fdir |
25567 | { as_dir=$dirpart/$fdir |
|
|
25568 | case $as_dir in #( |
|
|
25569 | -*) as_dir=./$as_dir;; |
|
|
25570 | esac |
|
|
25571 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
25693 | as_dirs= |
25572 | as_dirs= |
25694 | while test ! -d "$as_dir"; do |
25573 | while :; do |
|
|
25574 | case $as_dir in #( |
|
|
25575 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
|
|
25576 | *) as_qdir=$as_dir;; |
|
|
25577 | esac |
25695 | as_dirs="$as_dir $as_dirs" |
25578 | as_dirs="'$as_qdir' $as_dirs" |
25696 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
25579 | as_dir=`$as_dirname -- "$as_dir" || |
25697 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25580 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25698 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
25581 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
25699 | X"$as_dir" : 'X\(//\)$' \| \ |
25582 | X"$as_dir" : 'X\(//\)$' \| \ |
25700 | X"$as_dir" : 'X\(/\)' \| \ |
25583 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
25701 | . : '\(.\)' 2>/dev/null || |
|
|
25702 | echo X"$as_dir" | |
25584 | echo X"$as_dir" | |
25703 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
25585 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
25704 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
25586 | s//\1/ |
25705 | /^X\(\/\/\)$/{ s//\1/; q; } |
25587 | q |
25706 | /^X\(\/\).*/{ s//\1/; q; } |
25588 | } |
|
|
25589 | /^X\(\/\/\)[^/].*/{ |
|
|
25590 | s//\1/ |
|
|
25591 | q |
|
|
25592 | } |
|
|
25593 | /^X\(\/\/\)$/{ |
|
|
25594 | s//\1/ |
|
|
25595 | q |
|
|
25596 | } |
|
|
25597 | /^X\(\/\).*/{ |
|
|
25598 | s//\1/ |
|
|
25599 | q |
|
|
25600 | } |
25707 | s/.*/./; q'` |
25601 | s/.*/./; q'` |
|
|
25602 | test -d "$as_dir" && break |
25708 | done |
25603 | done |
25709 | test ! -n "$as_dirs" || mkdir $as_dirs |
25604 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
25710 | fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 |
25605 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
25711 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} |
25606 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
25712 | { (exit 1); exit 1; }; }; } |
25607 | { (exit 1); exit 1; }; }; } |
25713 | |
|
|
25714 | # echo "creating $dirpart/$file" |
25608 | # echo "creating $dirpart/$file" |
25715 | echo '# dummy' > "$dirpart/$file" |
25609 | echo '# dummy' > "$dirpart/$file" |
25716 | done |
25610 | done |
25717 | done |
25611 | done |
25718 | ;; |
25612 | ;; |
|
|
25613 | |
25719 | esac |
25614 | esac |
25720 | done |
25615 | done # for ac_tag |
25721 | _ACEOF |
|
|
25722 | |
25616 | |
25723 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
25724 | |
25617 | |
25725 | { (exit 0); exit 0; } |
25618 | { (exit 0); exit 0; } |
25726 | _ACEOF |
25619 | _ACEOF |
25727 | chmod +x $CONFIG_STATUS |
25620 | chmod +x $CONFIG_STATUS |
25728 | ac_clean_files=$ac_clean_files_save |
25621 | ac_clean_files=$ac_clean_files_save |