bcm47xx compile fix for .21, thanks to noz
[openwrt.git] / package / linux-atm / patches / 300-no_autotools.patch
1 diff -urN linux-atm.old/aclocal.m4 linux-atm.dev/aclocal.m4
2 --- linux-atm.old/aclocal.m4 2005-08-23 01:12:10.833789000 +0200
3 +++ linux-atm.dev/aclocal.m4 2005-08-23 01:12:44.813623720 +0200
4 @@ -10,6 +10,825 @@
5 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
6 dnl PARTICULAR PURPOSE.
7
8 +# lib-prefix.m4 serial 4 (gettext-0.14.2)
9 +dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
10 +dnl This file is free software; the Free Software Foundation
11 +dnl gives unlimited permission to copy and/or distribute it,
12 +dnl with or without modifications, as long as this notice is preserved.
13 +
14 +dnl From Bruno Haible.
15 +
16 +dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
17 +dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
18 +dnl require excessive bracketing.
19 +ifdef([AC_HELP_STRING],
20 +[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
21 +[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
22 +
23 +dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
24 +dnl to access previously installed libraries. The basic assumption is that
25 +dnl a user will want packages to use other packages he previously installed
26 +dnl with the same --prefix option.
27 +dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
28 +dnl libraries, but is otherwise very convenient.
29 +AC_DEFUN([AC_LIB_PREFIX],
30 +[
31 + AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
32 + AC_REQUIRE([AC_PROG_CC])
33 + AC_REQUIRE([AC_CANONICAL_HOST])
34 + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
35 + dnl By default, look in $includedir and $libdir.
36 + use_additional=yes
37 + AC_LIB_WITH_FINAL_PREFIX([
38 + eval additional_includedir=\"$includedir\"
39 + eval additional_libdir=\"$libdir\"
40 + ])
41 + AC_LIB_ARG_WITH([lib-prefix],
42 +[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
43 + --without-lib-prefix don't search for libraries in includedir and libdir],
44 +[
45 + if test "X$withval" = "Xno"; then
46 + use_additional=no
47 + else
48 + if test "X$withval" = "X"; then
49 + AC_LIB_WITH_FINAL_PREFIX([
50 + eval additional_includedir=\"$includedir\"
51 + eval additional_libdir=\"$libdir\"
52 + ])
53 + else
54 + additional_includedir="$withval/include"
55 + additional_libdir="$withval/lib"
56 + fi
57 + fi
58 +])
59 + if test $use_additional = yes; then
60 + dnl Potentially add $additional_includedir to $CPPFLAGS.
61 + dnl But don't add it
62 + dnl 1. if it's the standard /usr/include,
63 + dnl 2. if it's already present in $CPPFLAGS,
64 + dnl 3. if it's /usr/local/include and we are using GCC on Linux,
65 + dnl 4. if it doesn't exist as a directory.
66 + if test "X$additional_includedir" != "X/usr/include"; then
67 + haveit=
68 + for x in $CPPFLAGS; do
69 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
70 + if test "X$x" = "X-I$additional_includedir"; then
71 + haveit=yes
72 + break
73 + fi
74 + done
75 + if test -z "$haveit"; then
76 + if test "X$additional_includedir" = "X/usr/local/include"; then
77 + if test -n "$GCC"; then
78 + case $host_os in
79 + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
80 + esac
81 + fi
82 + fi
83 + if test -z "$haveit"; then
84 + if test -d "$additional_includedir"; then
85 + dnl Really add $additional_includedir to $CPPFLAGS.
86 + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
87 + fi
88 + fi
89 + fi
90 + fi
91 + dnl Potentially add $additional_libdir to $LDFLAGS.
92 + dnl But don't add it
93 + dnl 1. if it's the standard /usr/lib,
94 + dnl 2. if it's already present in $LDFLAGS,
95 + dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
96 + dnl 4. if it doesn't exist as a directory.
97 + if test "X$additional_libdir" != "X/usr/lib"; then
98 + haveit=
99 + for x in $LDFLAGS; do
100 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
101 + if test "X$x" = "X-L$additional_libdir"; then
102 + haveit=yes
103 + break
104 + fi
105 + done
106 + if test -z "$haveit"; then
107 + if test "X$additional_libdir" = "X/usr/local/lib"; then
108 + if test -n "$GCC"; then
109 + case $host_os in
110 + linux*) haveit=yes;;
111 + esac
112 + fi
113 + fi
114 + if test -z "$haveit"; then
115 + if test -d "$additional_libdir"; then
116 + dnl Really add $additional_libdir to $LDFLAGS.
117 + LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
118 + fi
119 + fi
120 + fi
121 + fi
122 + fi
123 +])
124 +
125 +dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
126 +dnl acl_final_exec_prefix, containing the values to which $prefix and
127 +dnl $exec_prefix will expand at the end of the configure script.
128 +AC_DEFUN([AC_LIB_PREPARE_PREFIX],
129 +[
130 + dnl Unfortunately, prefix and exec_prefix get only finally determined
131 + dnl at the end of configure.
132 + if test "X$prefix" = "XNONE"; then
133 + acl_final_prefix="$ac_default_prefix"
134 + else
135 + acl_final_prefix="$prefix"
136 + fi
137 + if test "X$exec_prefix" = "XNONE"; then
138 + acl_final_exec_prefix='${prefix}'
139 + else
140 + acl_final_exec_prefix="$exec_prefix"
141 + fi
142 + acl_save_prefix="$prefix"
143 + prefix="$acl_final_prefix"
144 + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
145 + prefix="$acl_save_prefix"
146 +])
147 +
148 +dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
149 +dnl variables prefix and exec_prefix bound to the values they will have
150 +dnl at the end of the configure script.
151 +AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
152 +[
153 + acl_save_prefix="$prefix"
154 + prefix="$acl_final_prefix"
155 + acl_save_exec_prefix="$exec_prefix"
156 + exec_prefix="$acl_final_exec_prefix"
157 + $1
158 + exec_prefix="$acl_save_exec_prefix"
159 + prefix="$acl_save_prefix"
160 +])
161 +
162 +# lib-link.m4 serial 6 (gettext-0.14.3)
163 +dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
164 +dnl This file is free software; the Free Software Foundation
165 +dnl gives unlimited permission to copy and/or distribute it,
166 +dnl with or without modifications, as long as this notice is preserved.
167 +
168 +dnl From Bruno Haible.
169 +
170 +AC_PREREQ(2.50)
171 +
172 +dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
173 +dnl the libraries corresponding to explicit and implicit dependencies.
174 +dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
175 +dnl augments the CPPFLAGS variable.
176 +AC_DEFUN([AC_LIB_LINKFLAGS],
177 +[
178 + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
179 + AC_REQUIRE([AC_LIB_RPATH])
180 + define([Name],[translit([$1],[./-], [___])])
181 + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
182 + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
183 + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
184 + AC_LIB_LINKFLAGS_BODY([$1], [$2])
185 + ac_cv_lib[]Name[]_libs="$LIB[]NAME"
186 + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
187 + ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
188 + ])
189 + LIB[]NAME="$ac_cv_lib[]Name[]_libs"
190 + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
191 + INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
192 + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
193 + AC_SUBST([LIB]NAME)
194 + AC_SUBST([LTLIB]NAME)
195 + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
196 + dnl results of this search when this library appears as a dependency.
197 + HAVE_LIB[]NAME=yes
198 + undefine([Name])
199 + undefine([NAME])
200 +])
201 +
202 +dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
203 +dnl searches for libname and the libraries corresponding to explicit and
204 +dnl implicit dependencies, together with the specified include files and
205 +dnl the ability to compile and link the specified testcode. If found, it
206 +dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
207 +dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
208 +dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
209 +dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
210 +AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
211 +[
212 + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
213 + AC_REQUIRE([AC_LIB_RPATH])
214 + define([Name],[translit([$1],[./-], [___])])
215 + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
216 + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
217 +
218 + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
219 + dnl accordingly.
220 + AC_LIB_LINKFLAGS_BODY([$1], [$2])
221 +
222 + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
223 + dnl because if the user has installed lib[]Name and not disabled its use
224 + dnl via --without-lib[]Name-prefix, he wants to use it.
225 + ac_save_CPPFLAGS="$CPPFLAGS"
226 + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
227 +
228 + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
229 + ac_save_LIBS="$LIBS"
230 + LIBS="$LIBS $LIB[]NAME"
231 + AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
232 + LIBS="$ac_save_LIBS"
233 + ])
234 + if test "$ac_cv_lib[]Name" = yes; then
235 + HAVE_LIB[]NAME=yes
236 + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
237 + AC_MSG_CHECKING([how to link with lib[]$1])
238 + AC_MSG_RESULT([$LIB[]NAME])
239 + else
240 + HAVE_LIB[]NAME=no
241 + dnl If $LIB[]NAME didn't lead to a usable library, we don't need
242 + dnl $INC[]NAME either.
243 + CPPFLAGS="$ac_save_CPPFLAGS"
244 + LIB[]NAME=
245 + LTLIB[]NAME=
246 + fi
247 + AC_SUBST([HAVE_LIB]NAME)
248 + AC_SUBST([LIB]NAME)
249 + AC_SUBST([LTLIB]NAME)
250 + undefine([Name])
251 + undefine([NAME])
252 +])
253 +
254 +dnl Determine the platform dependent parameters needed to use rpath:
255 +dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
256 +dnl hardcode_direct, hardcode_minus_L.
257 +AC_DEFUN([AC_LIB_RPATH],
258 +[
259 + dnl Tell automake >= 1.10 to complain if config.rpath is missing.
260 + m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
261 + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
262 + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
263 + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
264 + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
265 + AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
266 + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
267 + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
268 + . ./conftest.sh
269 + rm -f ./conftest.sh
270 + acl_cv_rpath=done
271 + ])
272 + wl="$acl_cv_wl"
273 + libext="$acl_cv_libext"
274 + shlibext="$acl_cv_shlibext"
275 + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
276 + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
277 + hardcode_direct="$acl_cv_hardcode_direct"
278 + hardcode_minus_L="$acl_cv_hardcode_minus_L"
279 + dnl Determine whether the user wants rpath handling at all.
280 + AC_ARG_ENABLE(rpath,
281 + [ --disable-rpath do not hardcode runtime library paths],
282 + :, enable_rpath=yes)
283 +])
284 +
285 +dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
286 +dnl the libraries corresponding to explicit and implicit dependencies.
287 +dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
288 +AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
289 +[
290 + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
291 + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
292 + dnl By default, look in $includedir and $libdir.
293 + use_additional=yes
294 + AC_LIB_WITH_FINAL_PREFIX([
295 + eval additional_includedir=\"$includedir\"
296 + eval additional_libdir=\"$libdir\"
297 + ])
298 + AC_LIB_ARG_WITH([lib$1-prefix],
299 +[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
300 + --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
301 +[
302 + if test "X$withval" = "Xno"; then
303 + use_additional=no
304 + else
305 + if test "X$withval" = "X"; then
306 + AC_LIB_WITH_FINAL_PREFIX([
307 + eval additional_includedir=\"$includedir\"
308 + eval additional_libdir=\"$libdir\"
309 + ])
310 + else
311 + additional_includedir="$withval/include"
312 + additional_libdir="$withval/lib"
313 + fi
314 + fi
315 +])
316 + dnl Search the library and its dependencies in $additional_libdir and
317 + dnl $LDFLAGS. Using breadth-first-seach.
318 + LIB[]NAME=
319 + LTLIB[]NAME=
320 + INC[]NAME=
321 + rpathdirs=
322 + ltrpathdirs=
323 + names_already_handled=
324 + names_next_round='$1 $2'
325 + while test -n "$names_next_round"; do
326 + names_this_round="$names_next_round"
327 + names_next_round=
328 + for name in $names_this_round; do
329 + already_handled=
330 + for n in $names_already_handled; do
331 + if test "$n" = "$name"; then
332 + already_handled=yes
333 + break
334 + fi
335 + done
336 + if test -z "$already_handled"; then
337 + names_already_handled="$names_already_handled $name"
338 + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
339 + dnl or AC_LIB_HAVE_LINKFLAGS call.
340 + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
341 + eval value=\"\$HAVE_LIB$uppername\"
342 + if test -n "$value"; then
343 + if test "$value" = yes; then
344 + eval value=\"\$LIB$uppername\"
345 + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
346 + eval value=\"\$LTLIB$uppername\"
347 + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
348 + else
349 + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
350 + dnl that this library doesn't exist. So just drop it.
351 + :
352 + fi
353 + else
354 + dnl Search the library lib$name in $additional_libdir and $LDFLAGS
355 + dnl and the already constructed $LIBNAME/$LTLIBNAME.
356 + found_dir=
357 + found_la=
358 + found_so=
359 + found_a=
360 + if test $use_additional = yes; then
361 + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
362 + found_dir="$additional_libdir"
363 + found_so="$additional_libdir/lib$name.$shlibext"
364 + if test -f "$additional_libdir/lib$name.la"; then
365 + found_la="$additional_libdir/lib$name.la"
366 + fi
367 + else
368 + if test -f "$additional_libdir/lib$name.$libext"; then
369 + found_dir="$additional_libdir"
370 + found_a="$additional_libdir/lib$name.$libext"
371 + if test -f "$additional_libdir/lib$name.la"; then
372 + found_la="$additional_libdir/lib$name.la"
373 + fi
374 + fi
375 + fi
376 + fi
377 + if test "X$found_dir" = "X"; then
378 + for x in $LDFLAGS $LTLIB[]NAME; do
379 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
380 + case "$x" in
381 + -L*)
382 + dir=`echo "X$x" | sed -e 's/^X-L//'`
383 + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
384 + found_dir="$dir"
385 + found_so="$dir/lib$name.$shlibext"
386 + if test -f "$dir/lib$name.la"; then
387 + found_la="$dir/lib$name.la"
388 + fi
389 + else
390 + if test -f "$dir/lib$name.$libext"; then
391 + found_dir="$dir"
392 + found_a="$dir/lib$name.$libext"
393 + if test -f "$dir/lib$name.la"; then
394 + found_la="$dir/lib$name.la"
395 + fi
396 + fi
397 + fi
398 + ;;
399 + esac
400 + if test "X$found_dir" != "X"; then
401 + break
402 + fi
403 + done
404 + fi
405 + if test "X$found_dir" != "X"; then
406 + dnl Found the library.
407 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
408 + if test "X$found_so" != "X"; then
409 + dnl Linking with a shared library. We attempt to hardcode its
410 + dnl directory into the executable's runpath, unless it's the
411 + dnl standard /usr/lib.
412 + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
413 + dnl No hardcoding is needed.
414 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
415 + else
416 + dnl Use an explicit option to hardcode DIR into the resulting
417 + dnl binary.
418 + dnl Potentially add DIR to ltrpathdirs.
419 + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
420 + haveit=
421 + for x in $ltrpathdirs; do
422 + if test "X$x" = "X$found_dir"; then
423 + haveit=yes
424 + break
425 + fi
426 + done
427 + if test -z "$haveit"; then
428 + ltrpathdirs="$ltrpathdirs $found_dir"
429 + fi
430 + dnl The hardcoding into $LIBNAME is system dependent.
431 + if test "$hardcode_direct" = yes; then
432 + dnl Using DIR/libNAME.so during linking hardcodes DIR into the
433 + dnl resulting binary.
434 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
435 + else
436 + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
437 + dnl Use an explicit option to hardcode DIR into the resulting
438 + dnl binary.
439 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
440 + dnl Potentially add DIR to rpathdirs.
441 + dnl The rpathdirs will be appended to $LIBNAME at the end.
442 + haveit=
443 + for x in $rpathdirs; do
444 + if test "X$x" = "X$found_dir"; then
445 + haveit=yes
446 + break
447 + fi
448 + done
449 + if test -z "$haveit"; then
450 + rpathdirs="$rpathdirs $found_dir"
451 + fi
452 + else
453 + dnl Rely on "-L$found_dir".
454 + dnl But don't add it if it's already contained in the LDFLAGS
455 + dnl or the already constructed $LIBNAME
456 + haveit=
457 + for x in $LDFLAGS $LIB[]NAME; do
458 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
459 + if test "X$x" = "X-L$found_dir"; then
460 + haveit=yes
461 + break
462 + fi
463 + done
464 + if test -z "$haveit"; then
465 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
466 + fi
467 + if test "$hardcode_minus_L" != no; then
468 + dnl FIXME: Not sure whether we should use
469 + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
470 + dnl here.
471 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
472 + else
473 + dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
474 + dnl here, because this doesn't fit in flags passed to the
475 + dnl compiler. So give up. No hardcoding. This affects only
476 + dnl very old systems.
477 + dnl FIXME: Not sure whether we should use
478 + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
479 + dnl here.
480 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
481 + fi
482 + fi
483 + fi
484 + fi
485 + else
486 + if test "X$found_a" != "X"; then
487 + dnl Linking with a static library.
488 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
489 + else
490 + dnl We shouldn't come here, but anyway it's good to have a
491 + dnl fallback.
492 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
493 + fi
494 + fi
495 + dnl Assume the include files are nearby.
496 + additional_includedir=
497 + case "$found_dir" in
498 + */lib | */lib/)
499 + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
500 + additional_includedir="$basedir/include"
501 + ;;
502 + esac
503 + if test "X$additional_includedir" != "X"; then
504 + dnl Potentially add $additional_includedir to $INCNAME.
505 + dnl But don't add it
506 + dnl 1. if it's the standard /usr/include,
507 + dnl 2. if it's /usr/local/include and we are using GCC on Linux,
508 + dnl 3. if it's already present in $CPPFLAGS or the already
509 + dnl constructed $INCNAME,
510 + dnl 4. if it doesn't exist as a directory.
511 + if test "X$additional_includedir" != "X/usr/include"; then
512 + haveit=
513 + if test "X$additional_includedir" = "X/usr/local/include"; then
514 + if test -n "$GCC"; then
515 + case $host_os in
516 + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
517 + esac
518 + fi
519 + fi
520 + if test -z "$haveit"; then
521 + for x in $CPPFLAGS $INC[]NAME; do
522 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
523 + if test "X$x" = "X-I$additional_includedir"; then
524 + haveit=yes
525 + break
526 + fi
527 + done
528 + if test -z "$haveit"; then
529 + if test -d "$additional_includedir"; then
530 + dnl Really add $additional_includedir to $INCNAME.
531 + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
532 + fi
533 + fi
534 + fi
535 + fi
536 + fi
537 + dnl Look for dependencies.
538 + if test -n "$found_la"; then
539 + dnl Read the .la file. It defines the variables
540 + dnl dlname, library_names, old_library, dependency_libs, current,
541 + dnl age, revision, installed, dlopen, dlpreopen, libdir.
542 + save_libdir="$libdir"
543 + case "$found_la" in
544 + */* | *\\*) . "$found_la" ;;
545 + *) . "./$found_la" ;;
546 + esac
547 + libdir="$save_libdir"
548 + dnl We use only dependency_libs.
549 + for dep in $dependency_libs; do
550 + case "$dep" in
551 + -L*)
552 + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
553 + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
554 + dnl But don't add it
555 + dnl 1. if it's the standard /usr/lib,
556 + dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
557 + dnl 3. if it's already present in $LDFLAGS or the already
558 + dnl constructed $LIBNAME,
559 + dnl 4. if it doesn't exist as a directory.
560 + if test "X$additional_libdir" != "X/usr/lib"; then
561 + haveit=
562 + if test "X$additional_libdir" = "X/usr/local/lib"; then
563 + if test -n "$GCC"; then
564 + case $host_os in
565 + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
566 + esac
567 + fi
568 + fi
569 + if test -z "$haveit"; then
570 + haveit=
571 + for x in $LDFLAGS $LIB[]NAME; do
572 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
573 + if test "X$x" = "X-L$additional_libdir"; then
574 + haveit=yes
575 + break
576 + fi
577 + done
578 + if test -z "$haveit"; then
579 + if test -d "$additional_libdir"; then
580 + dnl Really add $additional_libdir to $LIBNAME.
581 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
582 + fi
583 + fi
584 + haveit=
585 + for x in $LDFLAGS $LTLIB[]NAME; do
586 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
587 + if test "X$x" = "X-L$additional_libdir"; then
588 + haveit=yes
589 + break
590 + fi
591 + done
592 + if test -z "$haveit"; then
593 + if test -d "$additional_libdir"; then
594 + dnl Really add $additional_libdir to $LTLIBNAME.
595 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
596 + fi
597 + fi
598 + fi
599 + fi
600 + ;;
601 + -R*)
602 + dir=`echo "X$dep" | sed -e 's/^X-R//'`
603 + if test "$enable_rpath" != no; then
604 + dnl Potentially add DIR to rpathdirs.
605 + dnl The rpathdirs will be appended to $LIBNAME at the end.
606 + haveit=
607 + for x in $rpathdirs; do
608 + if test "X$x" = "X$dir"; then
609 + haveit=yes
610 + break
611 + fi
612 + done
613 + if test -z "$haveit"; then
614 + rpathdirs="$rpathdirs $dir"
615 + fi
616 + dnl Potentially add DIR to ltrpathdirs.
617 + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
618 + haveit=
619 + for x in $ltrpathdirs; do
620 + if test "X$x" = "X$dir"; then
621 + haveit=yes
622 + break
623 + fi
624 + done
625 + if test -z "$haveit"; then
626 + ltrpathdirs="$ltrpathdirs $dir"
627 + fi
628 + fi
629 + ;;
630 + -l*)
631 + dnl Handle this in the next round.
632 + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
633 + ;;
634 + *.la)
635 + dnl Handle this in the next round. Throw away the .la's
636 + dnl directory; it is already contained in a preceding -L
637 + dnl option.
638 + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
639 + ;;
640 + *)
641 + dnl Most likely an immediate library name.
642 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
643 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
644 + ;;
645 + esac
646 + done
647 + fi
648 + else
649 + dnl Didn't find the library; assume it is in the system directories
650 + dnl known to the linker and runtime loader. (All the system
651 + dnl directories known to the linker should also be known to the
652 + dnl runtime loader, otherwise the system is severely misconfigured.)
653 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
654 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
655 + fi
656 + fi
657 + fi
658 + done
659 + done
660 + if test "X$rpathdirs" != "X"; then
661 + if test -n "$hardcode_libdir_separator"; then
662 + dnl Weird platform: only the last -rpath option counts, the user must
663 + dnl pass all path elements in one option. We can arrange that for a
664 + dnl single library, but not when more than one $LIBNAMEs are used.
665 + alldirs=
666 + for found_dir in $rpathdirs; do
667 + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
668 + done
669 + dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
670 + acl_save_libdir="$libdir"
671 + libdir="$alldirs"
672 + eval flag=\"$hardcode_libdir_flag_spec\"
673 + libdir="$acl_save_libdir"
674 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
675 + else
676 + dnl The -rpath options are cumulative.
677 + for found_dir in $rpathdirs; do
678 + acl_save_libdir="$libdir"
679 + libdir="$found_dir"
680 + eval flag=\"$hardcode_libdir_flag_spec\"
681 + libdir="$acl_save_libdir"
682 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
683 + done
684 + fi
685 + fi
686 + if test "X$ltrpathdirs" != "X"; then
687 + dnl When using libtool, the option that works for both libraries and
688 + dnl executables is -R. The -R options are cumulative.
689 + for found_dir in $ltrpathdirs; do
690 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
691 + done
692 + fi
693 +])
694 +
695 +dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
696 +dnl unless already present in VAR.
697 +dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
698 +dnl contains two or three consecutive elements that belong together.
699 +AC_DEFUN([AC_LIB_APPENDTOVAR],
700 +[
701 + for element in [$2]; do
702 + haveit=
703 + for x in $[$1]; do
704 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
705 + if test "X$x" = "X$element"; then
706 + haveit=yes
707 + break
708 + fi
709 + done
710 + if test -z "$haveit"; then
711 + [$1]="${[$1]}${[$1]:+ }$element"
712 + fi
713 + done
714 +])
715 +
716 +# lib-ld.m4 serial 3 (gettext-0.13)
717 +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
718 +dnl This file is free software; the Free Software Foundation
719 +dnl gives unlimited permission to copy and/or distribute it,
720 +dnl with or without modifications, as long as this notice is preserved.
721 +
722 +dnl Subroutines of libtool.m4,
723 +dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
724 +dnl with libtool.m4.
725 +
726 +dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
727 +AC_DEFUN([AC_LIB_PROG_LD_GNU],
728 +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
729 +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
730 +case `$LD -v 2>&1 </dev/null` in
731 +*GNU* | *'with BFD'*)
732 + acl_cv_prog_gnu_ld=yes ;;
733 +*)
734 + acl_cv_prog_gnu_ld=no ;;
735 +esac])
736 +with_gnu_ld=$acl_cv_prog_gnu_ld
737 +])
738 +
739 +dnl From libtool-1.4. Sets the variable LD.
740 +AC_DEFUN([AC_LIB_PROG_LD],
741 +[AC_ARG_WITH(gnu-ld,
742 +[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
743 +test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
744 +AC_REQUIRE([AC_PROG_CC])dnl
745 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
746 +# Prepare PATH_SEPARATOR.
747 +# The user is always right.
748 +if test "${PATH_SEPARATOR+set}" != set; then
749 + echo "#! /bin/sh" >conf$$.sh
750 + echo "exit 0" >>conf$$.sh
751 + chmod +x conf$$.sh
752 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
753 + PATH_SEPARATOR=';'
754 + else
755 + PATH_SEPARATOR=:
756 + fi
757 + rm -f conf$$.sh
758 +fi
759 +ac_prog=ld
760 +if test "$GCC" = yes; then
761 + # Check if gcc -print-prog-name=ld gives a path.
762 + AC_MSG_CHECKING([for ld used by GCC])
763 + case $host in
764 + *-*-mingw*)
765 + # gcc leaves a trailing carriage return which upsets mingw
766 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
767 + *)
768 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
769 + esac
770 + case $ac_prog in
771 + # Accept absolute paths.
772 + [[\\/]* | [A-Za-z]:[\\/]*)]
773 + [re_direlt='/[^/][^/]*/\.\./']
774 + # Canonicalize the path of ld
775 + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
776 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
777 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
778 + done
779 + test -z "$LD" && LD="$ac_prog"
780 + ;;
781 + "")
782 + # If it fails, then pretend we aren't using GCC.
783 + ac_prog=ld
784 + ;;
785 + *)
786 + # If it is relative, then search for the first ld in PATH.
787 + with_gnu_ld=unknown
788 + ;;
789 + esac
790 +elif test "$with_gnu_ld" = yes; then
791 + AC_MSG_CHECKING([for GNU ld])
792 +else
793 + AC_MSG_CHECKING([for non-GNU ld])
794 +fi
795 +AC_CACHE_VAL(acl_cv_path_LD,
796 +[if test -z "$LD"; then
797 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
798 + for ac_dir in $PATH; do
799 + test -z "$ac_dir" && ac_dir=.
800 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
801 + acl_cv_path_LD="$ac_dir/$ac_prog"
802 + # Check to see if the program is GNU ld. I'd rather use --version,
803 + # but apparently some GNU ld's only accept -v.
804 + # Break only if it was the GNU/non-GNU ld that we prefer.
805 + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
806 + *GNU* | *'with BFD'*)
807 + test "$with_gnu_ld" != no && break ;;
808 + *)
809 + test "$with_gnu_ld" != yes && break ;;
810 + esac
811 + fi
812 + done
813 + IFS="$ac_save_ifs"
814 +else
815 + acl_cv_path_LD="$LD" # Let the user override the test with a path.
816 +fi])
817 +LD="$acl_cv_path_LD"
818 +if test -n "$LD"; then
819 + AC_MSG_RESULT($LD)
820 +else
821 + AC_MSG_RESULT(no)
822 +fi
823 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
824 +AC_LIB_PROG_LD_GNU
825 +])
826 +
827 # Like AC_CONFIG_HEADER, but automatically create stamp file.
828
829 AC_DEFUN([AM_CONFIG_HEADER],
830 @@ -164,12 +983,64 @@
831 AC_PROG_LEX
832 AC_DECL_YYTEXT])
833
834 -# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
835 +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
836
837 -# serial 46 AC_PROG_LIBTOOL
838 +# serial 47 AC_PROG_LIBTOOL
839 +# Debian $Rev$
840
841 +
842 +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
843 +# -----------------------------------------------------------
844 +# If this macro is not defined by Autoconf, define it here.
845 +m4_ifdef([AC_PROVIDE_IFELSE],
846 + [],
847 + [m4_define([AC_PROVIDE_IFELSE],
848 + [m4_ifdef([AC_PROVIDE_$1],
849 + [$2], [$3])])])
850 +
851 +
852 +# AC_PROG_LIBTOOL
853 +# ---------------
854 AC_DEFUN([AC_PROG_LIBTOOL],
855 +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
856 +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
857 +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
858 + AC_PROVIDE_IFELSE([AC_PROG_CXX],
859 + [AC_LIBTOOL_CXX],
860 + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
861 + ])])
862 +dnl And a similar setup for Fortran 77 support
863 + AC_PROVIDE_IFELSE([AC_PROG_F77],
864 + [AC_LIBTOOL_F77],
865 + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
866 +])])
867 +
868 +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
869 +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
870 +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
871 + AC_PROVIDE_IFELSE([AC_PROG_GCJ],
872 + [AC_LIBTOOL_GCJ],
873 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
874 + [AC_LIBTOOL_GCJ],
875 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
876 + [AC_LIBTOOL_GCJ],
877 + [ifdef([AC_PROG_GCJ],
878 + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
879 + ifdef([A][M_PROG_GCJ],
880 + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
881 + ifdef([LT_AC_PROG_GCJ],
882 + [define([LT_AC_PROG_GCJ],
883 + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
884 +])])# AC_PROG_LIBTOOL
885 +
886 +
887 +# _AC_PROG_LIBTOOL
888 +# ----------------
889 +AC_DEFUN([_AC_PROG_LIBTOOL],
890 [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
891 +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
892 +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
893 +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
894
895 # This can be used to rebuild libtool when needed
896 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
897 @@ -180,10 +1051,13 @@
898
899 # Prevent multiple expansion
900 define([AC_PROG_LIBTOOL], [])
901 -])
902 +])# _AC_PROG_LIBTOOL
903
904 +
905 +# AC_LIBTOOL_SETUP
906 +# ----------------
907 AC_DEFUN([AC_LIBTOOL_SETUP],
908 -[AC_PREREQ(2.13)dnl
909 +[AC_PREREQ(2.50)dnl
910 AC_REQUIRE([AC_ENABLE_SHARED])dnl
911 AC_REQUIRE([AC_ENABLE_STATIC])dnl
912 AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
913 @@ -193,15 +1067,103 @@
914 AC_REQUIRE([AC_PROG_LD])dnl
915 AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
916 AC_REQUIRE([AC_PROG_NM])dnl
917 -AC_REQUIRE([LT_AC_PROG_SED])dnl
918
919 AC_REQUIRE([AC_PROG_LN_S])dnl
920 AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
921 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
922 AC_REQUIRE([AC_OBJEXT])dnl
923 AC_REQUIRE([AC_EXEEXT])dnl
924 dnl
925
926 +AC_LIBTOOL_SYS_MAX_CMD_LEN
927 +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
928 +AC_LIBTOOL_OBJDIR
929 +
930 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
931 _LT_AC_PROG_ECHO_BACKSLASH
932 +
933 +case $host_os in
934 +aix3*)
935 + # AIX sometimes has problems with the GCC collect2 program. For some
936 + # reason, if we set the COLLECT_NAMES environment variable, the problems
937 + # vanish in a puff of smoke.
938 + if test "X${COLLECT_NAMES+set}" != Xset; then
939 + COLLECT_NAMES=
940 + export COLLECT_NAMES
941 + fi
942 + ;;
943 +esac
944 +
945 +# Sed substitution that helps us do robust quoting. It backslashifies
946 +# metacharacters that are still active within double-quoted strings.
947 +Xsed='sed -e s/^X//'
948 +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
949 +
950 +# Same as above, but do not quote variable references.
951 +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
952 +
953 +# Sed substitution to delay expansion of an escaped shell variable in a
954 +# double_quote_subst'ed string.
955 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
956 +
957 +# Sed substitution to avoid accidental globbing in evaled expressions
958 +no_glob_subst='s/\*/\\\*/g'
959 +
960 +# Constants:
961 +rm="rm -f"
962 +
963 +# Global variables:
964 +default_ofile=libtool
965 +can_build_shared=yes
966 +
967 +# All known linkers require a `.a' archive for static linking (except M$VC,
968 +# which needs '.lib').
969 +libext=a
970 +ltmain="$ac_aux_dir/ltmain.sh"
971 +ofile="$default_ofile"
972 +with_gnu_ld="$lt_cv_prog_gnu_ld"
973 +
974 +AC_CHECK_TOOL(AR, ar, false)
975 +AC_CHECK_TOOL(RANLIB, ranlib, :)
976 +AC_CHECK_TOOL(STRIP, strip, :)
977 +
978 +old_CC="$CC"
979 +old_CFLAGS="$CFLAGS"
980 +
981 +# Set sane defaults for various variables
982 +test -z "$AR" && AR=ar
983 +test -z "$AR_FLAGS" && AR_FLAGS=cru
984 +test -z "$AS" && AS=as
985 +test -z "$CC" && CC=cc
986 +test -z "$LTCC" && LTCC=$CC
987 +test -z "$DLLTOOL" && DLLTOOL=dlltool
988 +test -z "$LD" && LD=ld
989 +test -z "$LN_S" && LN_S="ln -s"
990 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
991 +test -z "$NM" && NM=nm
992 +test -z "$SED" && SED=sed
993 +test -z "$OBJDUMP" && OBJDUMP=objdump
994 +test -z "$RANLIB" && RANLIB=:
995 +test -z "$STRIP" && STRIP=:
996 +test -z "$ac_objext" && ac_objext=o
997 +
998 +# Determine commands to create old-style static archives.
999 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
1000 +old_postinstall_cmds='chmod 644 $oldlib'
1001 +old_postuninstall_cmds=
1002 +
1003 +if test -n "$RANLIB"; then
1004 + case $host_os in
1005 + openbsd*)
1006 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
1007 + ;;
1008 + *)
1009 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
1010 + ;;
1011 + esac
1012 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1013 +fi
1014 +
1015 # Only perform the check for file, if the check method requires it
1016 case $deplibs_check_method in
1017 file_magic*)
1018 @@ -211,327 +1173,78 @@
1019 ;;
1020 esac
1021
1022 -AC_CHECK_TOOL(RANLIB, ranlib, :)
1023 -AC_CHECK_TOOL(STRIP, strip, :)
1024 -
1025 -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
1026 -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
1027 +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
1028 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1029 enable_win32_dll=yes, enable_win32_dll=no)
1030
1031 -AC_ARG_ENABLE(libtool-lock,
1032 - [ --disable-libtool-lock avoid locking (might break parallel builds)])
1033 +AC_ARG_ENABLE([libtool-lock],
1034 + [AC_HELP_STRING([--disable-libtool-lock],
1035 + [avoid locking (might break parallel builds)])])
1036 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1037
1038 -# Some flags need to be propagated to the compiler or linker for good
1039 -# libtool support.
1040 -case $host in
1041 -*-*-irix6*)
1042 - # Find out which ABI we are using.
1043 - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1044 - if AC_TRY_EVAL(ac_compile); then
1045 - case `/usr/bin/file conftest.$ac_objext` in
1046 - *32-bit*)
1047 - LD="${LD-ld} -32"
1048 - ;;
1049 - *N32*)
1050 - LD="${LD-ld} -n32"
1051 - ;;
1052 - *64-bit*)
1053 - LD="${LD-ld} -64"
1054 - ;;
1055 - esac
1056 - fi
1057 - rm -rf conftest*
1058 - ;;
1059 +AC_ARG_WITH([pic],
1060 + [AC_HELP_STRING([--with-pic],
1061 + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
1062 + [pic_mode="$withval"],
1063 + [pic_mode=default])
1064 +test -z "$pic_mode" && pic_mode=default
1065
1066 -*-*-sco3.2v5*)
1067 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1068 - SAVE_CFLAGS="$CFLAGS"
1069 - CFLAGS="$CFLAGS -belf"
1070 - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1071 - [AC_LANG_SAVE
1072 - AC_LANG_C
1073 - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1074 - AC_LANG_RESTORE])
1075 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1076 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1077 - CFLAGS="$SAVE_CFLAGS"
1078 - fi
1079 - ;;
1080 +# Use C for the default configuration in the libtool script
1081 +tagname=
1082 +AC_LIBTOOL_LANG_C_CONFIG
1083 +_LT_AC_TAGCONFIG
1084 +])# AC_LIBTOOL_SETUP
1085
1086 -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
1087 -[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
1088 - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
1089 - AC_CHECK_TOOL(AS, as, false)
1090 - AC_CHECK_TOOL(OBJDUMP, objdump, false)
1091
1092 - # recent cygwin and mingw systems supply a stub DllMain which the user
1093 - # can override, but on older systems we have to supply one
1094 - AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
1095 - [AC_TRY_LINK([],
1096 - [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
1097 - DllMain (0, 0, 0);],
1098 - [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
1099 -
1100 - case $host/$CC in
1101 - *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
1102 - # old mingw systems require "-dll" to link a DLL, while more recent ones
1103 - # require "-mdll"
1104 - SAVE_CFLAGS="$CFLAGS"
1105 - CFLAGS="$CFLAGS -mdll"
1106 - AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
1107 - [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
1108 - CFLAGS="$SAVE_CFLAGS" ;;
1109 - *-*-cygwin* | *-*-pw32*)
1110 - # cygwin systems need to pass --dll to the linker, and not link
1111 - # crt.o which will require a WinMain@16 definition.
1112 - lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
1113 - esac
1114 - ;;
1115 - ])
1116 -esac
1117 +# _LT_AC_SYS_COMPILER
1118 +# -------------------
1119 +AC_DEFUN([_LT_AC_SYS_COMPILER],
1120 +[AC_REQUIRE([AC_PROG_CC])dnl
1121
1122 -_LT_AC_LTCONFIG_HACK
1123 +# If no C compiler was specified, use CC.
1124 +LTCC=${LTCC-"$CC"}
1125
1126 -])
1127 -
1128 -# AC_LIBTOOL_HEADER_ASSERT
1129 -# ------------------------
1130 -AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
1131 -[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
1132 - [lt_cv_func_assert_works],
1133 - [case $host in
1134 - *-*-solaris*)
1135 - if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
1136 - case `$CC --version 2>/dev/null` in
1137 - [[12]].*) lt_cv_func_assert_works=no ;;
1138 - *) lt_cv_func_assert_works=yes ;;
1139 - esac
1140 - fi
1141 - ;;
1142 - esac])
1143 -
1144 -if test "x$lt_cv_func_assert_works" = xyes; then
1145 - AC_CHECK_HEADERS(assert.h)
1146 -fi
1147 -])# AC_LIBTOOL_HEADER_ASSERT
1148 -
1149 -# _LT_AC_CHECK_DLFCN
1150 -# --------------------
1151 -AC_DEFUN([_LT_AC_CHECK_DLFCN],
1152 -[AC_CHECK_HEADERS(dlfcn.h)
1153 -])# _LT_AC_CHECK_DLFCN
1154 -
1155 -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
1156 -# ---------------------------------
1157 -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
1158 -[AC_REQUIRE([AC_CANONICAL_HOST])
1159 -AC_REQUIRE([AC_PROG_NM])
1160 -AC_REQUIRE([AC_OBJEXT])
1161 -# Check for command to grab the raw symbol name followed by C symbol from nm.
1162 -AC_MSG_CHECKING([command to parse $NM output])
1163 -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
1164 -
1165 -# These are sane defaults that work on at least a few old systems.
1166 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
1167 -
1168 -# Character class describing NM global symbol codes.
1169 -symcode='[[BCDEGRST]]'
1170 -
1171 -# Regexp to match symbols that can be accessed directly from C.
1172 -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
1173 -
1174 -# Transform the above into a raw symbol and a C symbol.
1175 -symxfrm='\1 \2\3 \3'
1176 -
1177 -# Transform an extracted symbol line into a proper C declaration
1178 -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
1179 -
1180 -# Transform an extracted symbol line into symbol name and symbol address
1181 -lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
1182 -
1183 -# Define system-specific variables.
1184 -case $host_os in
1185 -aix*)
1186 - symcode='[[BCDT]]'
1187 - ;;
1188 -cygwin* | mingw* | pw32*)
1189 - symcode='[[ABCDGISTW]]'
1190 - ;;
1191 -hpux*) # Its linker distinguishes data from code symbols
1192 - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1193 - lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
1194 - ;;
1195 -irix* | nonstopux*)
1196 - symcode='[[BCDEGRST]]'
1197 - ;;
1198 -osf*)
1199 - symcode='[[BCDEGQRST]]'
1200 - ;;
1201 -solaris* | sysv5*)
1202 - symcode='[[BDT]]'
1203 - ;;
1204 -sysv4)
1205 - symcode='[[DFNSTU]]'
1206 - ;;
1207 -esac
1208 -
1209 -# Handle CRLF in mingw tool chain
1210 -opt_cr=
1211 -case $host_os in
1212 -mingw*)
1213 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
1214 - ;;
1215 -esac
1216 -
1217 -# If we're using GNU nm, then use its standard symbol codes.
1218 -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
1219 - symcode='[[ABCDGISTW]]'
1220 -fi
1221 -
1222 -# Try without a prefix undercore, then with it.
1223 -for ac_symprfx in "" "_"; do
1224 -
1225 - # Write the raw and C identifiers.
1226 -lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
1227 -
1228 - # Check to see that the pipe works correctly.
1229 - pipe_works=no
1230 - rm -f conftest*
1231 - cat > conftest.$ac_ext <<EOF
1232 -#ifdef __cplusplus
1233 -extern "C" {
1234 -#endif
1235 -char nm_test_var;
1236 -void nm_test_func(){}
1237 -#ifdef __cplusplus
1238 -}
1239 -#endif
1240 -int main(){nm_test_var='a';nm_test_func();return(0);}
1241 -EOF
1242 -
1243 - if AC_TRY_EVAL(ac_compile); then
1244 - # Now try to grab the symbols.
1245 - nlist=conftest.nm
1246 - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
1247 - # Try sorting and uniquifying the output.
1248 - if sort "$nlist" | uniq > "$nlist"T; then
1249 - mv -f "$nlist"T "$nlist"
1250 - else
1251 - rm -f "$nlist"T
1252 - fi
1253 -
1254 - # Make sure that we snagged all the symbols we need.
1255 - if egrep ' nm_test_var$' "$nlist" >/dev/null; then
1256 - if egrep ' nm_test_func$' "$nlist" >/dev/null; then
1257 - cat <<EOF > conftest.$ac_ext
1258 -#ifdef __cplusplus
1259 -extern "C" {
1260 -#endif
1261 -
1262 -EOF
1263 - # Now generate the symbol file.
1264 - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
1265 -
1266 - cat <<EOF >> conftest.$ac_ext
1267 -#if defined (__STDC__) && __STDC__
1268 -# define lt_ptr void *
1269 -#else
1270 -# define lt_ptr char *
1271 -# define const
1272 -#endif
1273 -
1274 -/* The mapping between symbol names and symbols. */
1275 -const struct {
1276 - const char *name;
1277 - lt_ptr address;
1278 -}
1279 -lt_preloaded_symbols[[]] =
1280 -{
1281 -EOF
1282 - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
1283 - cat <<\EOF >> conftest.$ac_ext
1284 - {0, (lt_ptr) 0}
1285 -};
1286 +# Allow CC to be a program name with arguments.
1287 +compiler=$CC
1288 +])# _LT_AC_SYS_COMPILER
1289
1290 -#ifdef __cplusplus
1291 -}
1292 -#endif
1293 -EOF
1294 - # Now try linking the two files.
1295 - mv conftest.$ac_objext conftstm.$ac_objext
1296 - save_LIBS="$LIBS"
1297 - save_CFLAGS="$CFLAGS"
1298 - LIBS="conftstm.$ac_objext"
1299 - CFLAGS="$CFLAGS$no_builtin_flag"
1300 - if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
1301 - pipe_works=yes
1302 - fi
1303 - LIBS="$save_LIBS"
1304 - CFLAGS="$save_CFLAGS"
1305 - else
1306 - echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
1307 - fi
1308 - else
1309 - echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
1310 - fi
1311 - else
1312 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
1313 - fi
1314 - else
1315 - echo "$progname: failed program was:" >&AC_FD_CC
1316 - cat conftest.$ac_ext >&5
1317 - fi
1318 - rm -f conftest* conftst*
1319
1320 - # Do not use the global_symbol_pipe unless it works.
1321 - if test "$pipe_works" = yes; then
1322 - break
1323 - else
1324 - lt_cv_sys_global_symbol_pipe=
1325 - fi
1326 -done
1327 -])
1328 -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
1329 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
1330 - global_symbol_to_cdecl=
1331 - global_symbol_to_c_name_address=
1332 -else
1333 - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
1334 - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
1335 -fi
1336 -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
1337 -then
1338 - AC_MSG_RESULT(failed)
1339 -else
1340 - AC_MSG_RESULT(ok)
1341 -fi
1342 -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
1343 +# _LT_AC_SYS_LIBPATH_AIX
1344 +# ----------------------
1345 +# Links a minimal program and checks the executable
1346 +# for the system default hardcoded library path. In most cases,
1347 +# this is /usr/lib:/lib, but when the MPI compilers are used
1348 +# the location of the communication and MPI libs are included too.
1349 +# If we don't find anything, use the default library path according
1350 +# to the aix ld manual.
1351 +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
1352 +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
1353 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1354 +}'`
1355 +# Check for a 64-bit object if we didn't find anything.
1356 +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; }
1357 +}'`; fi],[])
1358 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1359 +])# _LT_AC_SYS_LIBPATH_AIX
1360 +
1361 +
1362 +# _LT_AC_SHELL_INIT(ARG)
1363 +# ----------------------
1364 +AC_DEFUN([_LT_AC_SHELL_INIT],
1365 +[ifdef([AC_DIVERSION_NOTICE],
1366 + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1367 + [AC_DIVERT_PUSH(NOTICE)])
1368 +$1
1369 +AC_DIVERT_POP
1370 +])# _LT_AC_SHELL_INIT
1371
1372 -# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
1373 -# ---------------------------------
1374 -AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
1375 -[# Find the correct PATH separator. Usually this is `:', but
1376 -# DJGPP uses `;' like DOS.
1377 -if test "X${PATH_SEPARATOR+set}" != Xset; then
1378 - UNAME=${UNAME-`uname 2>/dev/null`}
1379 - case X$UNAME in
1380 - *-DOS) lt_cv_sys_path_separator=';' ;;
1381 - *) lt_cv_sys_path_separator=':' ;;
1382 - esac
1383 - PATH_SEPARATOR=$lt_cv_sys_path_separator
1384 -fi
1385 -])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
1386
1387 # _LT_AC_PROG_ECHO_BACKSLASH
1388 # --------------------------
1389 # Add some code to the start of the generated configure script which
1390 # will find an echo command which doesn't interpret backslashes.
1391 AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
1392 -[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1393 - [AC_DIVERT_PUSH(NOTICE)])
1394 -_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
1395 -
1396 +[_LT_AC_SHELL_INIT([
1397 # Check that we are running under the correct shell.
1398 SHELL=${CONFIG_SHELL-/bin/sh}
1399
1400 @@ -549,7 +1262,7 @@
1401 elif test "X[$]1" = X--fallback-echo; then
1402 # Avoid inline document here, it may be left over
1403 :
1404 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
1405 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
1406 # Yippee, $echo works!
1407 :
1408 else
1409 @@ -561,7 +1274,7 @@
1410 # used as fallback echo
1411 shift
1412 cat <<EOF
1413 -$*
1414 +[$]*
1415 EOF
1416 exit 0
1417 fi
1418 @@ -595,8 +1308,9 @@
1419 #
1420 # So, first we look for a working echo in the user's PATH.
1421
1422 - IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1423 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1424 for dir in $PATH /usr/ucb; do
1425 + IFS="$lt_save_ifs"
1426 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1427 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1428 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1429 @@ -605,7 +1319,7 @@
1430 break
1431 fi
1432 done
1433 - IFS="$save_ifs"
1434 + IFS="$lt_save_ifs"
1435
1436 if test "X$echo" = Xecho; then
1437 # We didn't find a better echo, so look for alternatives.
1438 @@ -678,47 +1392,328 @@
1439 fi
1440
1441 AC_SUBST(ECHO)
1442 -AC_DIVERT_POP
1443 -])# _LT_AC_PROG_ECHO_BACKSLASH
1444 +])])# _LT_AC_PROG_ECHO_BACKSLASH
1445
1446 -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1447 -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1448 -# ------------------------------------------------------------------
1449 -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
1450 -[if test "$cross_compiling" = yes; then :
1451 - [$4]
1452 -else
1453 - AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1454 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1455 - lt_status=$lt_dlunknown
1456 - cat > conftest.$ac_ext <<EOF
1457 -[#line __oline__ "configure"
1458 -#include "confdefs.h"
1459
1460 -#if HAVE_DLFCN_H
1461 -#include <dlfcn.h>
1462 -#endif
1463 +# _LT_AC_LOCK
1464 +# -----------
1465 +AC_DEFUN([_LT_AC_LOCK],
1466 +[AC_ARG_ENABLE([libtool-lock],
1467 + [AC_HELP_STRING([--disable-libtool-lock],
1468 + [avoid locking (might break parallel builds)])])
1469 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1470
1471 -#include <stdio.h>
1472 +# Some flags need to be propagated to the compiler or linker for good
1473 +# libtool support.
1474 +case $host in
1475 +ia64-*-hpux*)
1476 + # Find out which ABI we are using.
1477 + echo 'int i;' > conftest.$ac_ext
1478 + if AC_TRY_EVAL(ac_compile); then
1479 + case `/usr/bin/file conftest.$ac_objext` in
1480 + *ELF-32*)
1481 + HPUX_IA64_MODE="32"
1482 + ;;
1483 + *ELF-64*)
1484 + HPUX_IA64_MODE="64"
1485 + ;;
1486 + esac
1487 + fi
1488 + rm -rf conftest*
1489 + ;;
1490 +*-*-irix6*)
1491 + # Find out which ABI we are using.
1492 + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1493 + if AC_TRY_EVAL(ac_compile); then
1494 + if test "$lt_cv_prog_gnu_ld" = yes; then
1495 + case `/usr/bin/file conftest.$ac_objext` in
1496 + *32-bit*)
1497 + LD="${LD-ld} -melf32bsmip"
1498 + ;;
1499 + *N32*)
1500 + LD="${LD-ld} -melf32bmipn32"
1501 + ;;
1502 + *64-bit*)
1503 + LD="${LD-ld} -melf64bmip"
1504 + ;;
1505 + esac
1506 + else
1507 + case `/usr/bin/file conftest.$ac_objext` in
1508 + *32-bit*)
1509 + LD="${LD-ld} -32"
1510 + ;;
1511 + *N32*)
1512 + LD="${LD-ld} -n32"
1513 + ;;
1514 + *64-bit*)
1515 + LD="${LD-ld} -64"
1516 + ;;
1517 + esac
1518 + fi
1519 + fi
1520 + rm -rf conftest*
1521 + ;;
1522
1523 -#ifdef RTLD_GLOBAL
1524 -# define LT_DLGLOBAL RTLD_GLOBAL
1525 -#else
1526 -# ifdef DL_GLOBAL
1527 -# define LT_DLGLOBAL DL_GLOBAL
1528 -# else
1529 -# define LT_DLGLOBAL 0
1530 -# endif
1531 -#endif
1532 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
1533 + # Find out which ABI we are using.
1534 + echo 'int i;' > conftest.$ac_ext
1535 + if AC_TRY_EVAL(ac_compile); then
1536 + case "`/usr/bin/file conftest.o`" in
1537 + *32-bit*)
1538 + case $host in
1539 + x86_64-*linux*)
1540 + LD="${LD-ld} -m elf_i386"
1541 + ;;
1542 + ppc64-*linux*|powerpc64-*linux*)
1543 + LD="${LD-ld} -m elf32ppclinux"
1544 + ;;
1545 + s390x-*linux*)
1546 + LD="${LD-ld} -m elf_s390"
1547 + ;;
1548 + sparc64-*linux*)
1549 + LD="${LD-ld} -m elf32_sparc"
1550 + ;;
1551 + esac
1552 + ;;
1553 + *64-bit*)
1554 + case $host in
1555 + x86_64-*linux*)
1556 + LD="${LD-ld} -m elf_x86_64"
1557 + ;;
1558 + ppc*-*linux*|powerpc*-*linux*)
1559 + LD="${LD-ld} -m elf64ppc"
1560 + ;;
1561 + s390*-*linux*)
1562 + LD="${LD-ld} -m elf64_s390"
1563 + ;;
1564 + sparc*-*linux*)
1565 + LD="${LD-ld} -m elf64_sparc"
1566 + ;;
1567 + esac
1568 + ;;
1569 + esac
1570 + fi
1571 + rm -rf conftest*
1572 + ;;
1573
1574 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1575 - find out it does not work in some platform. */
1576 -#ifndef LT_DLLAZY_OR_NOW
1577 -# ifdef RTLD_LAZY
1578 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
1579 -# else
1580 -# ifdef DL_LAZY
1581 -# define LT_DLLAZY_OR_NOW DL_LAZY
1582 +*-*-sco3.2v5*)
1583 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1584 + SAVE_CFLAGS="$CFLAGS"
1585 + CFLAGS="$CFLAGS -belf"
1586 + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1587 + [AC_LANG_PUSH(C)
1588 + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1589 + AC_LANG_POP])
1590 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1591 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1592 + CFLAGS="$SAVE_CFLAGS"
1593 + fi
1594 + ;;
1595 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1596 +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
1597 + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
1598 + AC_CHECK_TOOL(AS, as, false)
1599 + AC_CHECK_TOOL(OBJDUMP, objdump, false)
1600 + ;;
1601 + ])
1602 +esac
1603 +
1604 +need_locks="$enable_libtool_lock"
1605 +
1606 +])# _LT_AC_LOCK
1607 +
1608 +
1609 +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1610 +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1611 +# ----------------------------------------------------------------
1612 +# Check whether the given compiler option works
1613 +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
1614 +[AC_REQUIRE([LT_AC_PROG_SED])
1615 +AC_CACHE_CHECK([$1], [$2],
1616 + [$2=no
1617 + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
1618 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1619 + lt_compiler_flag="$3"
1620 + # Insert the option either (1) after the last *FLAGS variable, or
1621 + # (2) before a word containing "conftest.", or (3) at the end.
1622 + # Note that $ac_compile itself does not contain backslashes and begins
1623 + # with a dollar sign (not a hyphen), so the echo should work correctly.
1624 + # The option is referenced via a variable to avoid confusing sed.
1625 + lt_compile=`echo "$ac_compile" | $SED \
1626 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1627 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1628 + -e 's:$: $lt_compiler_flag:'`
1629 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1630 + (eval "$lt_compile" 2>conftest.err)
1631 + ac_status=$?
1632 + cat conftest.err >&AS_MESSAGE_LOG_FD
1633 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1634 + if (exit $ac_status) && test -s "$ac_outfile"; then
1635 + # The compiler can only warn and ignore the option if not recognized
1636 + # So say no if there are warnings
1637 + if test ! -s conftest.err; then
1638 + $2=yes
1639 + fi
1640 + fi
1641 + $rm conftest*
1642 +])
1643 +
1644 +if test x"[$]$2" = xyes; then
1645 + ifelse([$5], , :, [$5])
1646 +else
1647 + ifelse([$6], , :, [$6])
1648 +fi
1649 +])# AC_LIBTOOL_COMPILER_OPTION
1650 +
1651 +
1652 +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1653 +# [ACTION-SUCCESS], [ACTION-FAILURE])
1654 +# ------------------------------------------------------------
1655 +# Check whether the given compiler option works
1656 +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
1657 +[AC_CACHE_CHECK([$1], [$2],
1658 + [$2=no
1659 + save_LDFLAGS="$LDFLAGS"
1660 + LDFLAGS="$LDFLAGS $3"
1661 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
1662 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1663 + # The compiler can only warn and ignore the option if not recognized
1664 + # So say no if there are warnings
1665 + if test -s conftest.err; then
1666 + # Append any errors to the config.log.
1667 + cat conftest.err 1>&AS_MESSAGE_LOG_FD
1668 + else
1669 + $2=yes
1670 + fi
1671 + fi
1672 + $rm conftest*
1673 + LDFLAGS="$save_LDFLAGS"
1674 +])
1675 +
1676 +if test x"[$]$2" = xyes; then
1677 + ifelse([$4], , :, [$4])
1678 +else
1679 + ifelse([$5], , :, [$5])
1680 +fi
1681 +])# AC_LIBTOOL_LINKER_OPTION
1682 +
1683 +
1684 +# AC_LIBTOOL_SYS_MAX_CMD_LEN
1685 +# --------------------------
1686 +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
1687 +[# find the maximum length of command line arguments
1688 +AC_MSG_CHECKING([the maximum length of command line arguments])
1689 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1690 + i=0
1691 + teststring="ABCD"
1692 +
1693 + case $build_os in
1694 + msdosdjgpp*)
1695 + # On DJGPP, this test can blow up pretty badly due to problems in libc
1696 + # (any single argument exceeding 2000 bytes causes a buffer overrun
1697 + # during glob expansion). Even if it were fixed, the result of this
1698 + # check would be larger than it should be.
1699 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
1700 + ;;
1701 +
1702 + gnu*)
1703 + # Under GNU Hurd, this test is not required because there is
1704 + # no limit to the length of command line arguments.
1705 + # Libtool will interpret -1 as no limit whatsoever
1706 + lt_cv_sys_max_cmd_len=-1;
1707 + ;;
1708 +
1709 + cygwin* | mingw*)
1710 + # On Win9x/ME, this test blows up -- it succeeds, but takes
1711 + # about 5 minutes as the teststring grows exponentially.
1712 + # Worse, since 9x/ME are not pre-emptively multitasking,
1713 + # you end up with a "frozen" computer, even though with patience
1714 + # the test eventually succeeds (with a max line length of 256k).
1715 + # Instead, let's just punt: use the minimum linelength reported by
1716 + # all of the supported platforms: 8192 (on NT/2K/XP).
1717 + lt_cv_sys_max_cmd_len=8192;
1718 + ;;
1719 +
1720 + amigaos*)
1721 + # On AmigaOS with pdksh, this test takes hours, literally.
1722 + # So we just punt and use a minimum line length of 8192.
1723 + lt_cv_sys_max_cmd_len=8192;
1724 + ;;
1725 +
1726 + *)
1727 + # If test is not a shell built-in, we'll probably end up computing a
1728 + # maximum length that is only half of the actual maximum length, but
1729 + # we can't tell.
1730 + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
1731 + = "XX$teststring") >/dev/null 2>&1 &&
1732 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
1733 + lt_cv_sys_max_cmd_len=$new_result &&
1734 + test $i != 17 # 1/2 MB should be enough
1735 + do
1736 + i=`expr $i + 1`
1737 + teststring=$teststring$teststring
1738 + done
1739 + teststring=
1740 + # Add a significant safety factor because C++ compilers can tack on massive
1741 + # amounts of additional arguments before passing them to the linker.
1742 + # It appears as though 1/2 is a usable value.
1743 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1744 + ;;
1745 + esac
1746 +])
1747 +if test -n $lt_cv_sys_max_cmd_len ; then
1748 + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
1749 +else
1750 + AC_MSG_RESULT(none)
1751 +fi
1752 +])# AC_LIBTOOL_SYS_MAX_CMD_LEN
1753 +
1754 +
1755 +# _LT_AC_CHECK_DLFCN
1756 +# --------------------
1757 +AC_DEFUN([_LT_AC_CHECK_DLFCN],
1758 +[AC_CHECK_HEADERS(dlfcn.h)dnl
1759 +])# _LT_AC_CHECK_DLFCN
1760 +
1761 +
1762 +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1763 +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1764 +# ------------------------------------------------------------------
1765 +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
1766 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1767 +if test "$cross_compiling" = yes; then :
1768 + [$4]
1769 +else
1770 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1771 + lt_status=$lt_dlunknown
1772 + cat > conftest.$ac_ext <<EOF
1773 +[#line __oline__ "configure"
1774 +#include "confdefs.h"
1775 +
1776 +#if HAVE_DLFCN_H
1777 +#include <dlfcn.h>
1778 +#endif
1779 +
1780 +#include <stdio.h>
1781 +
1782 +#ifdef RTLD_GLOBAL
1783 +# define LT_DLGLOBAL RTLD_GLOBAL
1784 +#else
1785 +# ifdef DL_GLOBAL
1786 +# define LT_DLGLOBAL DL_GLOBAL
1787 +# else
1788 +# define LT_DLGLOBAL 0
1789 +# endif
1790 +#endif
1791 +
1792 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1793 + find out it does not work in some platform. */
1794 +#ifndef LT_DLLAZY_OR_NOW
1795 +# ifdef RTLD_LAZY
1796 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
1797 +# else
1798 +# ifdef DL_LAZY
1799 +# define LT_DLLAZY_OR_NOW DL_LAZY
1800 # else
1801 # ifdef RTLD_NOW
1802 # define LT_DLLAZY_OR_NOW RTLD_NOW
1803 @@ -769,10 +1764,12 @@
1804 rm -fr conftest*
1805 ])# _LT_AC_TRY_DLOPEN_SELF
1806
1807 +
1808 # AC_LIBTOOL_DLOPEN_SELF
1809 # -------------------
1810 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
1811 -[if test "x$enable_dlopen" != xyes; then
1812 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1813 +if test "x$enable_dlopen" != xyes; then
1814 enable_dlopen=unknown
1815 enable_dlopen_self=unknown
1816 enable_dlopen_self_static=unknown
1817 @@ -787,24 +1784,39 @@
1818 lt_cv_dlopen_self=yes
1819 ;;
1820
1821 - cygwin* | mingw* | pw32*)
1822 + mingw* | pw32*)
1823 lt_cv_dlopen="LoadLibrary"
1824 lt_cv_dlopen_libs=
1825 ;;
1826
1827 + cygwin*)
1828 + lt_cv_dlopen="dlopen"
1829 + lt_cv_dlopen_libs=
1830 + ;;
1831 +
1832 + darwin*)
1833 + # if libdl is installed we need to link against it
1834 + AC_CHECK_LIB([dl], [dlopen],
1835 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
1836 + lt_cv_dlopen="dyld"
1837 + lt_cv_dlopen_libs=
1838 + lt_cv_dlopen_self=yes
1839 + ])
1840 + ;;
1841 +
1842 *)
1843 AC_CHECK_FUNC([shl_load],
1844 - [lt_cv_dlopen="shl_load"],
1845 + [lt_cv_dlopen="shl_load"],
1846 [AC_CHECK_LIB([dld], [shl_load],
1847 - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
1848 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
1849 [AC_CHECK_FUNC([dlopen],
1850 [lt_cv_dlopen="dlopen"],
1851 [AC_CHECK_LIB([dl], [dlopen],
1852 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1853 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1854 [AC_CHECK_LIB([svld], [dlopen],
1855 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1856 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1857 [AC_CHECK_LIB([dld], [dld_link],
1858 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
1859 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
1860 ])
1861 ])
1862 ])
1863 @@ -822,7 +1834,6 @@
1864 case $lt_cv_dlopen in
1865 dlopen)
1866 save_CPPFLAGS="$CPPFLAGS"
1867 - AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1868 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1869
1870 save_LDFLAGS="$LDFLAGS"
1871 @@ -866,707 +1877,1838 @@
1872 fi
1873 ])# AC_LIBTOOL_DLOPEN_SELF
1874
1875 -AC_DEFUN([_LT_AC_LTCONFIG_HACK],
1876 -[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
1877 -# Sed substitution that helps us do robust quoting. It backslashifies
1878 -# metacharacters that are still active within double-quoted strings.
1879 -Xsed='sed -e s/^X//'
1880 -sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
1881 -
1882 -# Same as above, but do not quote variable references.
1883 -double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
1884 -
1885 -# Sed substitution to delay expansion of an escaped shell variable in a
1886 -# double_quote_subst'ed string.
1887 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1888
1889 -# Constants:
1890 -rm="rm -f"
1891 +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
1892 +# ---------------------------------
1893 +# Check to see if options -c and -o are simultaneously supported by compiler
1894 +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
1895 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1896 +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1897 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1898 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1899 + $rm -r conftest 2>/dev/null
1900 + mkdir conftest
1901 + cd conftest
1902 + mkdir out
1903 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1904 +
1905 + lt_compiler_flag="-o out/conftest2.$ac_objext"
1906 + # Insert the option either (1) after the last *FLAGS variable, or
1907 + # (2) before a word containing "conftest.", or (3) at the end.
1908 + # Note that $ac_compile itself does not contain backslashes and begins
1909 + # with a dollar sign (not a hyphen), so the echo should work correctly.
1910 + lt_compile=`echo "$ac_compile" | $SED \
1911 + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1912 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1913 + -e 's:$: $lt_compiler_flag:'`
1914 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1915 + (eval "$lt_compile" 2>out/conftest.err)
1916 + ac_status=$?
1917 + cat out/conftest.err >&AS_MESSAGE_LOG_FD
1918 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1919 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
1920 + then
1921 + # The compiler can only warn and ignore the option if not recognized
1922 + # So say no if there are warnings
1923 + if test ! -s out/conftest.err; then
1924 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1925 + fi
1926 + fi
1927 + chmod u+w .
1928 + $rm conftest*
1929 + # SGI C++ compiler will create directory out/ii_files/ for
1930 + # template instantiation
1931 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1932 + $rm out/* && rmdir out
1933 + cd ..
1934 + rmdir conftest
1935 + $rm conftest*
1936 +])
1937 +])# AC_LIBTOOL_PROG_CC_C_O
1938
1939 -# Global variables:
1940 -default_ofile=libtool
1941 -can_build_shared=yes
1942
1943 -# All known linkers require a `.a' archive for static linking (except M$VC,
1944 -# which needs '.lib').
1945 -libext=a
1946 -ltmain="$ac_aux_dir/ltmain.sh"
1947 -ofile="$default_ofile"
1948 -with_gnu_ld="$lt_cv_prog_gnu_ld"
1949 -need_locks="$enable_libtool_lock"
1950 +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
1951 +# -----------------------------------------
1952 +# Check to see if we can do hard links to lock some files if needed
1953 +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
1954 +[AC_REQUIRE([_LT_AC_LOCK])dnl
1955
1956 -old_CC="$CC"
1957 -old_CFLAGS="$CFLAGS"
1958 +hard_links="nottested"
1959 +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
1960 + # do not overwrite the value of need_locks provided by the user
1961 + AC_MSG_CHECKING([if we can lock with hard links])
1962 + hard_links=yes
1963 + $rm conftest*
1964 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
1965 + touch conftest.a
1966 + ln conftest.a conftest.b 2>&5 || hard_links=no
1967 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
1968 + AC_MSG_RESULT([$hard_links])
1969 + if test "$hard_links" = no; then
1970 + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
1971 + need_locks=warn
1972 + fi
1973 +else
1974 + need_locks=no
1975 +fi
1976 +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
1977
1978 -# Set sane defaults for various variables
1979 -test -z "$AR" && AR=ar
1980 -test -z "$AR_FLAGS" && AR_FLAGS=cru
1981 -test -z "$AS" && AS=as
1982 -test -z "$CC" && CC=cc
1983 -test -z "$DLLTOOL" && DLLTOOL=dlltool
1984 -test -z "$LD" && LD=ld
1985 -test -z "$LN_S" && LN_S="ln -s"
1986 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
1987 -test -z "$NM" && NM=nm
1988 -test -z "$OBJDUMP" && OBJDUMP=objdump
1989 -test -z "$RANLIB" && RANLIB=:
1990 -test -z "$STRIP" && STRIP=:
1991 -test -z "$ac_objext" && ac_objext=o
1992
1993 -if test x"$host" != x"$build"; then
1994 - ac_tool_prefix=${host_alias}-
1995 +# AC_LIBTOOL_OBJDIR
1996 +# -----------------
1997 +AC_DEFUN([AC_LIBTOOL_OBJDIR],
1998 +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
1999 +[rm -f .libs 2>/dev/null
2000 +mkdir .libs 2>/dev/null
2001 +if test -d .libs; then
2002 + lt_cv_objdir=.libs
2003 else
2004 - ac_tool_prefix=
2005 + # MS-DOS does not allow filenames that begin with a dot.
2006 + lt_cv_objdir=_libs
2007 fi
2008 +rmdir .libs 2>/dev/null])
2009 +objdir=$lt_cv_objdir
2010 +])# AC_LIBTOOL_OBJDIR
2011
2012 -# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
2013 -case $host_os in
2014 -linux-gnu*) ;;
2015 -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
2016 -esac
2017
2018 -case $host_os in
2019 -aix3*)
2020 - # AIX sometimes has problems with the GCC collect2 program. For some
2021 - # reason, if we set the COLLECT_NAMES environment variable, the problems
2022 - # vanish in a puff of smoke.
2023 - if test "X${COLLECT_NAMES+set}" != Xset; then
2024 - COLLECT_NAMES=
2025 - export COLLECT_NAMES
2026 +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
2027 +# ----------------------------------------------
2028 +# Check hardcoding attributes.
2029 +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
2030 +[AC_MSG_CHECKING([how to hardcode library paths into programs])
2031 +_LT_AC_TAGVAR(hardcode_action, $1)=
2032 +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
2033 + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
2034 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
2035 +
2036 + # We can hardcode non-existant directories.
2037 + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
2038 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
2039 + # have to relink, otherwise we might link with an installed library
2040 + # when we should be linking with a yet-to-be-installed one
2041 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
2042 + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
2043 + # Linking always hardcodes the temporary library directory.
2044 + _LT_AC_TAGVAR(hardcode_action, $1)=relink
2045 + else
2046 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
2047 + _LT_AC_TAGVAR(hardcode_action, $1)=immediate
2048 fi
2049 - ;;
2050 -esac
2051 +else
2052 + # We cannot hardcode anything, or else we can only hardcode existing
2053 + # directories.
2054 + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
2055 +fi
2056 +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
2057
2058 -# Determine commands to create old-style static archives.
2059 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
2060 -old_postinstall_cmds='chmod 644 $oldlib'
2061 -old_postuninstall_cmds=
2062 +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
2063 + # Fast installation is not supported
2064 + enable_fast_install=no
2065 +elif test "$shlibpath_overrides_runpath" = yes ||
2066 + test "$enable_shared" = no; then
2067 + # Fast installation is not necessary
2068 + enable_fast_install=needless
2069 +fi
2070 +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
2071
2072 -if test -n "$RANLIB"; then
2073 +
2074 +# AC_LIBTOOL_SYS_LIB_STRIP
2075 +# ------------------------
2076 +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
2077 +[striplib=
2078 +old_striplib=
2079 +AC_MSG_CHECKING([whether stripping libraries is possible])
2080 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
2081 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2082 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2083 + AC_MSG_RESULT([yes])
2084 +else
2085 +# FIXME - insert some real tests, host_os isn't really good enough
2086 case $host_os in
2087 - openbsd*)
2088 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
2089 - ;;
2090 - *)
2091 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
2092 + darwin*)
2093 + if test -n "$STRIP" ; then
2094 + striplib="$STRIP -x"
2095 + AC_MSG_RESULT([yes])
2096 + else
2097 + AC_MSG_RESULT([no])
2098 +fi
2099 + ;;
2100 + *)
2101 + AC_MSG_RESULT([no])
2102 ;;
2103 esac
2104 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
2105 fi
2106 +])# AC_LIBTOOL_SYS_LIB_STRIP
2107
2108 -# Allow CC to be a program name with arguments.
2109 -set dummy $CC
2110 -compiler="[$]2"
2111
2112 -AC_MSG_CHECKING([for objdir])
2113 -rm -f .libs 2>/dev/null
2114 -mkdir .libs 2>/dev/null
2115 -if test -d .libs; then
2116 - objdir=.libs
2117 +# AC_LIBTOOL_SYS_DYNAMIC_LINKER
2118 +# -----------------------------
2119 +# PORTME Fill in your ld.so characteristics
2120 +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
2121 +[AC_MSG_CHECKING([dynamic linker characteristics])
2122 +library_names_spec=
2123 +libname_spec='lib$name'
2124 +soname_spec=
2125 +shrext_cmds=".so"
2126 +postinstall_cmds=
2127 +postuninstall_cmds=
2128 +finish_cmds=
2129 +finish_eval=
2130 +shlibpath_var=
2131 +shlibpath_overrides_runpath=unknown
2132 +version_type=none
2133 +dynamic_linker="$host_os ld.so"
2134 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
2135 +if test "$GCC" = yes; then
2136 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2137 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
2138 + # if the path contains ";" then we assume it to be the separator
2139 + # otherwise default to the standard path separator (i.e. ":") - it is
2140 + # assumed that no part of a normal pathname contains ";" but that should
2141 + # okay in the real world where ";" in dirpaths is itself problematic.
2142 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2143 + else
2144 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2145 + fi
2146 else
2147 - # MS-DOS does not allow filenames that begin with a dot.
2148 - objdir=_libs
2149 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2150 fi
2151 -rmdir .libs 2>/dev/null
2152 -AC_MSG_RESULT($objdir)
2153 -
2154 +need_lib_prefix=unknown
2155 +hardcode_into_libs=no
2156
2157 -AC_ARG_WITH(pic,
2158 -[ --with-pic try to use only PIC/non-PIC objects [default=use both]],
2159 -pic_mode="$withval", pic_mode=default)
2160 -test -z "$pic_mode" && pic_mode=default
2161 +# when you set need_version to no, make sure it does not cause -set_version
2162 +# flags to be left without arguments
2163 +need_version=unknown
2164
2165 -# We assume here that the value for lt_cv_prog_cc_pic will not be cached
2166 -# in isolation, and that seeing it set (from the cache) indicates that
2167 -# the associated values are set (in the cache) correctly too.
2168 -AC_MSG_CHECKING([for $compiler option to produce PIC])
2169 -AC_CACHE_VAL(lt_cv_prog_cc_pic,
2170 -[ lt_cv_prog_cc_pic=
2171 - lt_cv_prog_cc_shlib=
2172 - lt_cv_prog_cc_wl=
2173 - lt_cv_prog_cc_static=
2174 - lt_cv_prog_cc_no_builtin=
2175 - lt_cv_prog_cc_can_build_shared=$can_build_shared
2176 +case $host_os in
2177 +aix3*)
2178 + version_type=linux
2179 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
2180 + shlibpath_var=LIBPATH
2181
2182 - if test "$GCC" = yes; then
2183 - lt_cv_prog_cc_wl='-Wl,'
2184 - lt_cv_prog_cc_static='-static'
2185 + # AIX 3 has no versioning support, so we append a major version to the name.
2186 + soname_spec='${libname}${release}${shared_ext}$major'
2187 + ;;
2188
2189 - case $host_os in
2190 - aix*)
2191 - # Below there is a dirty hack to force normal static linking with -ldl
2192 - # The problem is because libdl dynamically linked with both libc and
2193 - # libC (AIX C++ library), which obviously doesn't included in libraries
2194 - # list by gcc. This cause undefined symbols with -static flags.
2195 - # This hack allows C programs to be linked with "-static -ldl", but
2196 - # not sure about C++ programs.
2197 - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
2198 - ;;
2199 - amigaos*)
2200 - # FIXME: we need at least 68020 code to build shared libraries, but
2201 - # adding the `-m68020' flag to GCC prevents building anything better,
2202 - # like `-m68040'.
2203 - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
2204 - ;;
2205 - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
2206 - # PIC is the default for these OSes.
2207 - ;;
2208 - darwin* | rhapsody*)
2209 - # PIC is the default on this platform
2210 - # Common symbols not allowed in MH_DYLIB files
2211 - lt_cv_prog_cc_pic='-fno-common'
2212 - ;;
2213 - cygwin* | mingw* | pw32* | os2*)
2214 - # This hack is so that the source file can tell whether it is being
2215 - # built for inclusion in a dll (and should export symbols for example).
2216 - lt_cv_prog_cc_pic='-DDLL_EXPORT'
2217 - ;;
2218 - sysv4*MP*)
2219 - if test -d /usr/nec; then
2220 - lt_cv_prog_cc_pic=-Kconform_pic
2221 - fi
2222 - ;;
2223 - *)
2224 - lt_cv_prog_cc_pic='-fPIC'
2225 - ;;
2226 - esac
2227 +aix4* | aix5*)
2228 + version_type=linux
2229 + need_lib_prefix=no
2230 + need_version=no
2231 + hardcode_into_libs=yes
2232 + if test "$host_cpu" = ia64; then
2233 + # AIX 5 supports IA64
2234 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
2235 + shlibpath_var=LD_LIBRARY_PATH
2236 else
2237 - # PORTME Check for PIC flags for the system compiler.
2238 + # With GCC up to 2.95.x, collect2 would create an import file
2239 + # for dependence libraries. The import file would start with
2240 + # the line `#! .'. This would cause the generated library to
2241 + # depend on `.', always an invalid library. This was fixed in
2242 + # development snapshots of GCC prior to 3.0.
2243 case $host_os in
2244 - aix3* | aix4* | aix5*)
2245 - lt_cv_prog_cc_wl='-Wl,'
2246 - # All AIX code is PIC.
2247 - if test "$host_cpu" = ia64; then
2248 - # AIX 5 now supports IA64 processor
2249 - lt_cv_prog_cc_static='-Bstatic'
2250 + aix4 | aix4.[[01]] | aix4.[[01]].*)
2251 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
2252 + echo ' yes '
2253 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
2254 + :
2255 else
2256 - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
2257 + can_build_shared=no
2258 fi
2259 ;;
2260 + esac
2261 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
2262 + # soname into executable. Probably we can add versioning support to
2263 + # collect2, so additional links can be useful in future.
2264 + if test "$aix_use_runtimelinking" = yes; then
2265 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
2266 + # instead of lib<name>.a to let people know that these are not
2267 + # typical AIX shared libraries.
2268 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2269 + else
2270 + # We preserve .a as extension for shared libraries through AIX4.2
2271 + # and later when we are not doing run time linking.
2272 + library_names_spec='${libname}${release}.a $libname.a'
2273 + soname_spec='${libname}${release}${shared_ext}$major'
2274 + fi
2275 + shlibpath_var=LIBPATH
2276 + fi
2277 + ;;
2278
2279 - hpux9* | hpux10* | hpux11*)
2280 - # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
2281 - lt_cv_prog_cc_wl='-Wl,'
2282 - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
2283 - lt_cv_prog_cc_pic='+Z'
2284 - ;;
2285 -
2286 - irix5* | irix6* | nonstopux*)
2287 - lt_cv_prog_cc_wl='-Wl,'
2288 - lt_cv_prog_cc_static='-non_shared'
2289 - # PIC (with -KPIC) is the default.
2290 - ;;
2291 -
2292 - cygwin* | mingw* | pw32* | os2*)
2293 - # This hack is so that the source file can tell whether it is being
2294 - # built for inclusion in a dll (and should export symbols for example).
2295 - lt_cv_prog_cc_pic='-DDLL_EXPORT'
2296 - ;;
2297 -
2298 - newsos6)
2299 - lt_cv_prog_cc_pic='-KPIC'
2300 - lt_cv_prog_cc_static='-Bstatic'
2301 - ;;
2302 -
2303 - osf3* | osf4* | osf5*)
2304 - # All OSF/1 code is PIC.
2305 - lt_cv_prog_cc_wl='-Wl,'
2306 - lt_cv_prog_cc_static='-non_shared'
2307 - ;;
2308 +amigaos*)
2309 + library_names_spec='$libname.ixlibrary $libname.a'
2310 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
2311 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
2312 + ;;
2313
2314 - sco3.2v5*)
2315 - lt_cv_prog_cc_pic='-Kpic'
2316 - lt_cv_prog_cc_static='-dn'
2317 - lt_cv_prog_cc_shlib='-belf'
2318 - ;;
2319 +beos*)
2320 + library_names_spec='${libname}${shared_ext}'
2321 + dynamic_linker="$host_os ld.so"
2322 + shlibpath_var=LIBRARY_PATH
2323 + ;;
2324
2325 - solaris*)
2326 - lt_cv_prog_cc_pic='-KPIC'
2327 - lt_cv_prog_cc_static='-Bstatic'
2328 - lt_cv_prog_cc_wl='-Wl,'
2329 - ;;
2330 +bsdi4*)
2331 + version_type=linux
2332 + need_version=no
2333 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2334 + soname_spec='${libname}${release}${shared_ext}$major'
2335 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
2336 + shlibpath_var=LD_LIBRARY_PATH
2337 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
2338 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
2339 + # the default ld.so.conf also contains /usr/contrib/lib and
2340 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
2341 + # libtool to hard-code these into programs
2342 + ;;
2343
2344 - sunos4*)
2345 - lt_cv_prog_cc_pic='-PIC'
2346 - lt_cv_prog_cc_static='-Bstatic'
2347 - lt_cv_prog_cc_wl='-Qoption ld '
2348 - ;;
2349 +cygwin* | mingw* | pw32*)
2350 + version_type=windows
2351 + shrext_cmds=".dll"
2352 + need_version=no
2353 + need_lib_prefix=no
2354
2355 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2356 - lt_cv_prog_cc_pic='-KPIC'
2357 - lt_cv_prog_cc_static='-Bstatic'
2358 - lt_cv_prog_cc_wl='-Wl,'
2359 - ;;
2360 + case $GCC,$host_os in
2361 + yes,cygwin* | yes,mingw* | yes,pw32*)
2362 + library_names_spec='$libname.dll.a'
2363 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
2364 + postinstall_cmds='base_file=`basename \${file}`~
2365 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
2366 + dldir=$destdir/`dirname \$dlpath`~
2367 + test -d \$dldir || mkdir -p \$dldir~
2368 + $install_prog $dir/$dlname \$dldir/$dlname'
2369 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
2370 + dlpath=$dir/\$dldll~
2371 + $rm \$dlpath'
2372 + shlibpath_overrides_runpath=yes
2373
2374 - uts4*)
2375 - lt_cv_prog_cc_pic='-pic'
2376 - lt_cv_prog_cc_static='-Bstatic'
2377 + case $host_os in
2378 + cygwin*)
2379 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2380 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2381 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
2382 ;;
2383 -
2384 - sysv4*MP*)
2385 - if test -d /usr/nec ;then
2386 - lt_cv_prog_cc_pic='-Kconform_pic'
2387 - lt_cv_prog_cc_static='-Bstatic'
2388 + mingw*)
2389 + # MinGW DLLs use traditional 'lib' prefix
2390 + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2391 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2392 + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
2393 + # It is most probably a Windows format PATH printed by
2394 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
2395 + # path with ; separators, and with drive letters. We can handle the
2396 + # drive letters (cygwin fileutils understands them), so leave them,
2397 + # especially as we might pass files found there to a mingw objdump,
2398 + # which wouldn't understand a cygwinified path. Ahh.
2399 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2400 + else
2401 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2402 fi
2403 ;;
2404 -
2405 - *)
2406 - lt_cv_prog_cc_can_build_shared=no
2407 + pw32*)
2408 + # pw32 DLLs use 'pw' prefix rather than 'lib'
2409 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
2410 ;;
2411 esac
2412 - fi
2413 -])
2414 -if test -z "$lt_cv_prog_cc_pic"; then
2415 - AC_MSG_RESULT([none])
2416 -else
2417 - AC_MSG_RESULT([$lt_cv_prog_cc_pic])
2418 -
2419 - # Check to make sure the pic_flag actually works.
2420 - AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
2421 - AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
2422 - save_CFLAGS="$CFLAGS"
2423 - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
2424 - AC_TRY_COMPILE([], [], [dnl
2425 - case $host_os in
2426 - hpux9* | hpux10* | hpux11*)
2427 - # On HP-UX, both CC and GCC only warn that PIC is supported... then
2428 - # they create non-PIC objects. So, if there were any warnings, we
2429 - # assume that PIC is not supported.
2430 - if test -s conftest.err; then
2431 - lt_cv_prog_cc_pic_works=no
2432 - else
2433 - lt_cv_prog_cc_pic_works=yes
2434 - fi
2435 - ;;
2436 - *)
2437 - lt_cv_prog_cc_pic_works=yes
2438 - ;;
2439 - esac
2440 - ], [dnl
2441 - lt_cv_prog_cc_pic_works=no
2442 - ])
2443 - CFLAGS="$save_CFLAGS"
2444 - ])
2445 -
2446 - if test "X$lt_cv_prog_cc_pic_works" = Xno; then
2447 - lt_cv_prog_cc_pic=
2448 - lt_cv_prog_cc_can_build_shared=no
2449 - else
2450 - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
2451 - fi
2452 -
2453 - AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
2454 -fi
2455 -
2456 -# Check for any special shared library compilation flags.
2457 -if test -n "$lt_cv_prog_cc_shlib"; then
2458 - AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
2459 - if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then :
2460 - else
2461 - AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
2462 - lt_cv_prog_cc_can_build_shared=no
2463 - fi
2464 -fi
2465 -
2466 -AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
2467 -AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
2468 - lt_cv_prog_cc_static_works=no
2469 - save_LDFLAGS="$LDFLAGS"
2470 - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
2471 - AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
2472 - LDFLAGS="$save_LDFLAGS"
2473 -])
2474 -
2475 -# Belt *and* braces to stop my trousers falling down:
2476 -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
2477 -AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
2478 -
2479 -pic_flag="$lt_cv_prog_cc_pic"
2480 -special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
2481 -wl="$lt_cv_prog_cc_wl"
2482 -link_static_flag="$lt_cv_prog_cc_static"
2483 -no_builtin_flag="$lt_cv_prog_cc_no_builtin"
2484 -can_build_shared="$lt_cv_prog_cc_can_build_shared"
2485 -
2486 -
2487 -# Check to see if options -o and -c are simultaneously supported by compiler
2488 -AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
2489 -AC_CACHE_VAL([lt_cv_compiler_c_o], [
2490 -$rm -r conftest 2>/dev/null
2491 -mkdir conftest
2492 -cd conftest
2493 -echo "int some_variable = 0;" > conftest.$ac_ext
2494 -mkdir out
2495 -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
2496 -# that will create temporary files in the current directory regardless of
2497 -# the output directory. Thus, making CWD read-only will cause this test
2498 -# to fail, enabling locking or at least warning the user not to do parallel
2499 -# builds.
2500 -chmod -w .
2501 -save_CFLAGS="$CFLAGS"
2502 -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
2503 -compiler_c_o=no
2504 -if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
2505 - # The compiler can only warn and ignore the option if not recognized
2506 - # So say no if there are warnings
2507 - if test -s out/conftest.err; then
2508 - lt_cv_compiler_c_o=no
2509 - else
2510 - lt_cv_compiler_c_o=yes
2511 - fi
2512 -else
2513 - # Append any errors to the config.log.
2514 - cat out/conftest.err 1>&AC_FD_CC
2515 - lt_cv_compiler_c_o=no
2516 -fi
2517 -CFLAGS="$save_CFLAGS"
2518 -chmod u+w .
2519 -$rm conftest* out/*
2520 -rmdir out
2521 -cd ..
2522 -rmdir conftest
2523 -$rm -r conftest 2>/dev/null
2524 -])
2525 -compiler_c_o=$lt_cv_compiler_c_o
2526 -AC_MSG_RESULT([$compiler_c_o])
2527 -
2528 -if test x"$compiler_c_o" = x"yes"; then
2529 - # Check to see if we can write to a .lo
2530 - AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
2531 - AC_CACHE_VAL([lt_cv_compiler_o_lo], [
2532 - lt_cv_compiler_o_lo=no
2533 - save_CFLAGS="$CFLAGS"
2534 - CFLAGS="$CFLAGS -c -o conftest.lo"
2535 - save_objext="$ac_objext"
2536 - ac_objext=lo
2537 - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
2538 - # The compiler can only warn and ignore the option if not recognized
2539 - # So say no if there are warnings
2540 - if test -s conftest.err; then
2541 - lt_cv_compiler_o_lo=no
2542 - else
2543 - lt_cv_compiler_o_lo=yes
2544 - fi
2545 - ])
2546 - ac_objext="$save_objext"
2547 - CFLAGS="$save_CFLAGS"
2548 - ])
2549 - compiler_o_lo=$lt_cv_compiler_o_lo
2550 - AC_MSG_RESULT([$compiler_o_lo])
2551 -else
2552 - compiler_o_lo=no
2553 -fi
2554 -
2555 -# Check to see if we can do hard links to lock some files if needed
2556 -hard_links="nottested"
2557 -if test "$compiler_c_o" = no && test "$need_locks" != no; then
2558 - # do not overwrite the value of need_locks provided by the user
2559 - AC_MSG_CHECKING([if we can lock with hard links])
2560 - hard_links=yes
2561 - $rm conftest*
2562 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
2563 - touch conftest.a
2564 - ln conftest.a conftest.b 2>&5 || hard_links=no
2565 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
2566 - AC_MSG_RESULT([$hard_links])
2567 - if test "$hard_links" = no; then
2568 - AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
2569 - need_locks=warn
2570 - fi
2571 -else
2572 - need_locks=no
2573 -fi
2574 + ;;
2575
2576 -if test "$GCC" = yes; then
2577 - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
2578 - AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
2579 - echo "int some_variable = 0;" > conftest.$ac_ext
2580 - save_CFLAGS="$CFLAGS"
2581 - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
2582 - compiler_rtti_exceptions=no
2583 - AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
2584 - # The compiler can only warn and ignore the option if not recognized
2585 - # So say no if there are warnings
2586 - if test -s conftest.err; then
2587 - compiler_rtti_exceptions=no
2588 - else
2589 - compiler_rtti_exceptions=yes
2590 - fi
2591 - ])
2592 - CFLAGS="$save_CFLAGS"
2593 - AC_MSG_RESULT([$compiler_rtti_exceptions])
2594 + *)
2595 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
2596 + ;;
2597 + esac
2598 + dynamic_linker='Win32 ld.exe'
2599 + # FIXME: first we should search . and the directory the executable is in
2600 + shlibpath_var=PATH
2601 + ;;
2602
2603 - if test "$compiler_rtti_exceptions" = "yes"; then
2604 - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
2605 +darwin* | rhapsody*)
2606 + dynamic_linker="$host_os dyld"
2607 + version_type=darwin
2608 + need_lib_prefix=no
2609 + need_version=no
2610 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
2611 + soname_spec='${libname}${release}${major}$shared_ext'
2612 + shlibpath_overrides_runpath=yes
2613 + shlibpath_var=DYLD_LIBRARY_PATH
2614 + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
2615 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
2616 + if test "$GCC" = yes; then
2617 + 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"`
2618 else
2619 - no_builtin_flag=' -fno-builtin'
2620 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
2621 fi
2622 -fi
2623 -
2624 -# See if the linker supports building shared libraries.
2625 -AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
2626 -
2627 -allow_undefined_flag=
2628 -no_undefined_flag=
2629 -need_lib_prefix=unknown
2630 -need_version=unknown
2631 -# when you set need_version to no, make sure it does not cause -set_version
2632 -# flags to be left without arguments
2633 -archive_cmds=
2634 -archive_expsym_cmds=
2635 -old_archive_from_new_cmds=
2636 -old_archive_from_expsyms_cmds=
2637 -export_dynamic_flag_spec=
2638 -whole_archive_flag_spec=
2639 -thread_safe_flag_spec=
2640 -hardcode_into_libs=no
2641 -hardcode_libdir_flag_spec=
2642 -hardcode_libdir_separator=
2643 -hardcode_direct=no
2644 -hardcode_minus_L=no
2645 -hardcode_shlibpath_var=unsupported
2646 -runpath_var=
2647 -link_all_deplibs=unknown
2648 -always_export_symbols=no
2649 -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
2650 -# include_expsyms should be a list of space-separated symbols to be *always*
2651 -# included in the symbol list
2652 -include_expsyms=
2653 -# exclude_expsyms can be an egrep regular expression of symbols to exclude
2654 -# it will be wrapped by ` (' and `)$', so one must not match beginning or
2655 -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
2656 -# as well as any symbol that contains `d'.
2657 -exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
2658 -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
2659 -# platforms (ab)use it in PIC code, but their linkers get confused if
2660 -# the symbol is explicitly referenced. Since portable code cannot
2661 -# rely on this symbol name, it's probably fine to never include it in
2662 -# preloaded symbol tables.
2663 -extract_expsyms_cmds=
2664 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
2665 + ;;
2666
2667 -case $host_os in
2668 -cygwin* | mingw* | pw32*)
2669 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
2670 - # When not using gcc, we currently assume that we are using
2671 - # Microsoft Visual C++.
2672 - if test "$GCC" != yes; then
2673 - with_gnu_ld=no
2674 - fi
2675 +dgux*)
2676 + version_type=linux
2677 + need_lib_prefix=no
2678 + need_version=no
2679 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
2680 + soname_spec='${libname}${release}${shared_ext}$major'
2681 + shlibpath_var=LD_LIBRARY_PATH
2682 ;;
2683 -openbsd*)
2684 - with_gnu_ld=no
2685 +
2686 +freebsd1*)
2687 + dynamic_linker=no
2688 ;;
2689 -esac
2690
2691 -ld_shlibs=yes
2692 -if test "$with_gnu_ld" = yes; then
2693 - # If archive_cmds runs LD, not CC, wlarc should be empty
2694 - wlarc='${wl}'
2695 +kfreebsd*-gnu)
2696 + version_type=linux
2697 + need_lib_prefix=no
2698 + need_version=no
2699 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2700 + soname_spec='${libname}${release}${shared_ext}$major'
2701 + shlibpath_var=LD_LIBRARY_PATH
2702 + shlibpath_overrides_runpath=no
2703 + hardcode_into_libs=yes
2704 + dynamic_linker='GNU ld.so'
2705 + ;;
2706
2707 - # See if GNU ld supports shared libraries.
2708 +freebsd*)
2709 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
2710 + version_type=freebsd-$objformat
2711 + case $version_type in
2712 + freebsd-elf*)
2713 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
2714 + need_version=no
2715 + need_lib_prefix=no
2716 + ;;
2717 + freebsd-*)
2718 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
2719 + need_version=yes
2720 + ;;
2721 + esac
2722 + shlibpath_var=LD_LIBRARY_PATH
2723 case $host_os in
2724 - aix3* | aix4* | aix5*)
2725 - # On AIX, the GNU linker is very broken
2726 - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
2727 - ld_shlibs=no
2728 - cat <<EOF 1>&2
2729 -
2730 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
2731 -*** to be unable to reliably create shared libraries on AIX.
2732 -*** Therefore, libtool is disabling shared libraries support. If you
2733 -*** really care for shared libraries, you may want to modify your PATH
2734 -*** so that a non-GNU linker is found, and then restart.
2735 -
2736 -EOF
2737 + freebsd2*)
2738 + shlibpath_overrides_runpath=yes
2739 ;;
2740 -
2741 - amigaos*)
2742 - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
2743 - hardcode_libdir_flag_spec='-L$libdir'
2744 - hardcode_minus_L=yes
2745 -
2746 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
2747 - # that the semantics of dynamic libraries on AmigaOS, at least up
2748 - # to version 4, is to share data among multiple programs linked
2749 - # with the same dynamic library. Since this doesn't match the
2750 - # behavior of shared libraries on other platforms, we can use
2751 - # them.
2752 - ld_shlibs=no
2753 + freebsd3.[01]* | freebsdelf3.[01]*)
2754 + shlibpath_overrides_runpath=yes
2755 + hardcode_into_libs=yes
2756 ;;
2757 -
2758 - beos*)
2759 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
2760 - allow_undefined_flag=unsupported
2761 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
2762 - # support --undefined. This deserves some investigation. FIXME
2763 - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
2764 - else
2765 - ld_shlibs=no
2766 - fi
2767 + *) # from 3.2 on
2768 + shlibpath_overrides_runpath=no
2769 + hardcode_into_libs=yes
2770 ;;
2771 + esac
2772 + ;;
2773
2774 - cygwin* | mingw* | pw32*)
2775 - # hardcode_libdir_flag_spec is actually meaningless, as there is
2776 - # no search path for DLLs.
2777 - hardcode_libdir_flag_spec='-L$libdir'
2778 - allow_undefined_flag=unsupported
2779 - always_export_symbols=yes
2780 -
2781 - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
2782 - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
2783 - test -f $output_objdir/impgen.exe || (cd $output_objdir && \
2784 - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
2785 - else $CC -o impgen impgen.c ; fi)~
2786 - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
2787 -
2788 - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
2789 -
2790 - # cygwin and mingw dlls have different entry points and sets of symbols
2791 - # to exclude.
2792 - # FIXME: what about values for MSVC?
2793 - dll_entry=__cygwin_dll_entry@12
2794 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
2795 - case $host_os in
2796 - mingw*)
2797 - # mingw values
2798 - dll_entry=_DllMainCRTStartup@12
2799 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
2800 - ;;
2801 - esac
2802 -
2803 - # mingw and cygwin differ, and it's simplest to just exclude the union
2804 - # of the two symbol sets.
2805 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
2806 -
2807 - # recent cygwin and mingw systems supply a stub DllMain which the user
2808 - # can override, but on older systems we have to supply one (in ltdll.c)
2809 - if test "x$lt_cv_need_dllmain" = "xyes"; then
2810 - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
2811 - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
2812 - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
2813 - else
2814 - ltdll_obj=
2815 - ltdll_cmds=
2816 - fi
2817 -
2818 - # Extract the symbol export list from an `--export-all' def file,
2819 - # then regenerate the def file from the symbol export list, so that
2820 - # the compiled dll only exports the symbol export list.
2821 - # Be careful not to strip the DATA tag left be newer dlltools.
2822 - export_symbols_cmds="$ltdll_cmds"'
2823 - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
2824 - sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
2825 -
2826 - # If the export-symbols file already is a .def file (1st line
2827 - # is EXPORTS), use it as is.
2828 - # If DATA tags from a recent dlltool are present, honour them!
2829 - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
2830 - cp $export_symbols $output_objdir/$soname-def;
2831 - else
2832 - echo EXPORTS > $output_objdir/$soname-def;
2833 - _lt_hint=1;
2834 - cat $export_symbols | while read symbol; do
2835 - set dummy \$symbol;
2836 - case \[$]# in
2837 - 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
2838 - 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
2839 - *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
2840 - esac;
2841 - _lt_hint=`expr 1 + \$_lt_hint`;
2842 - done;
2843 - fi~
2844 - '"$ltdll_cmds"'
2845 - $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
2846 - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
2847 - $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
2848 - $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
2849 - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
2850 +gnu*)
2851 + version_type=linux
2852 + need_lib_prefix=no
2853 + need_version=no
2854 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2855 + soname_spec='${libname}${release}${shared_ext}$major'
2856 + shlibpath_var=LD_LIBRARY_PATH
2857 + hardcode_into_libs=yes
2858 + ;;
2859 +
2860 +hpux9* | hpux10* | hpux11*)
2861 + # Give a soname corresponding to the major version so that dld.sl refuses to
2862 + # link against other versions.
2863 + version_type=sunos
2864 + need_lib_prefix=no
2865 + need_version=no
2866 + case "$host_cpu" in
2867 + ia64*)
2868 + shrext_cmds='.so'
2869 + hardcode_into_libs=yes
2870 + dynamic_linker="$host_os dld.so"
2871 + shlibpath_var=LD_LIBRARY_PATH
2872 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2873 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2874 + soname_spec='${libname}${release}${shared_ext}$major'
2875 + if test "X$HPUX_IA64_MODE" = X32; then
2876 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
2877 + else
2878 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
2879 + fi
2880 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2881 + ;;
2882 + hppa*64*)
2883 + shrext_cmds='.sl'
2884 + hardcode_into_libs=yes
2885 + dynamic_linker="$host_os dld.sl"
2886 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
2887 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2888 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2889 + soname_spec='${libname}${release}${shared_ext}$major'
2890 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
2891 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2892 + ;;
2893 + *)
2894 + shrext_cmds='.sl'
2895 + dynamic_linker="$host_os dld.sl"
2896 + shlibpath_var=SHLIB_PATH
2897 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
2898 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2899 + soname_spec='${libname}${release}${shared_ext}$major'
2900 + ;;
2901 + esac
2902 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
2903 + postinstall_cmds='chmod 555 $lib'
2904 + ;;
2905 +
2906 +irix5* | irix6* | nonstopux*)
2907 + case $host_os in
2908 + nonstopux*) version_type=nonstopux ;;
2909 + *)
2910 + if test "$lt_cv_prog_gnu_ld" = yes; then
2911 + version_type=linux
2912 + else
2913 + version_type=irix
2914 + fi ;;
2915 + esac
2916 + need_lib_prefix=no
2917 + need_version=no
2918 + soname_spec='${libname}${release}${shared_ext}$major'
2919 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
2920 + case $host_os in
2921 + irix5* | nonstopux*)
2922 + libsuff= shlibsuff=
2923 + ;;
2924 + *)
2925 + case $LD in # libtool.m4 will add one of these switches to LD
2926 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2927 + libsuff= shlibsuff= libmagic=32-bit;;
2928 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2929 + libsuff=32 shlibsuff=N32 libmagic=N32;;
2930 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2931 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
2932 + *) libsuff= shlibsuff= libmagic=never-match;;
2933 + esac
2934 + ;;
2935 + esac
2936 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
2937 + shlibpath_overrides_runpath=no
2938 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
2939 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
2940 + hardcode_into_libs=yes
2941 + ;;
2942 +
2943 +# No shared lib support for Linux oldld, aout, or coff.
2944 +linux*oldld* | linux*aout* | linux*coff*)
2945 + dynamic_linker=no
2946 + ;;
2947 +
2948 +# This must be Linux ELF.
2949 +linux*)
2950 + version_type=linux
2951 + need_lib_prefix=no
2952 + need_version=no
2953 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2954 + soname_spec='${libname}${release}${shared_ext}$major'
2955 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2956 + shlibpath_var=LD_LIBRARY_PATH
2957 + shlibpath_overrides_runpath=no
2958 + # This implies no fast_install, which is unacceptable.
2959 + # Some rework will be needed to allow for fast_install
2960 + # before this can be enabled.
2961 + hardcode_into_libs=yes
2962 +
2963 + # Append ld.so.conf contents to the search path
2964 + if test -f /etc/ld.so.conf; then
2965 + lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
2966 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2967 + fi
2968 +
2969 + # We used to test for /lib/ld.so.1 and disable shared libraries on
2970 + # powerpc, because MkLinux only supported shared libraries with the
2971 + # GNU dynamic linker. Since this was broken with cross compilers,
2972 + # most powerpc-linux boxes support dynamic linking these days and
2973 + # people can always --disable-shared, the test was removed, and we
2974 + # assume the GNU/Linux dynamic linker is in use.
2975 + dynamic_linker='GNU/Linux ld.so'
2976 + ;;
2977 +
2978 +netbsdelf*-gnu)
2979 + version_type=linux
2980 + need_lib_prefix=no
2981 + need_version=no
2982 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2983 + soname_spec='${libname}${release}${shared_ext}$major'
2984 + shlibpath_var=LD_LIBRARY_PATH
2985 + shlibpath_overrides_runpath=no
2986 + hardcode_into_libs=yes
2987 + dynamic_linker='NetBSD ld.elf_so'
2988 + ;;
2989 +
2990 +knetbsd*-gnu)
2991 + version_type=linux
2992 + need_lib_prefix=no
2993 + need_version=no
2994 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2995 + soname_spec='${libname}${release}${shared_ext}$major'
2996 + shlibpath_var=LD_LIBRARY_PATH
2997 + shlibpath_overrides_runpath=no
2998 + hardcode_into_libs=yes
2999 + dynamic_linker='GNU ld.so'
3000 + ;;
3001 +
3002 +netbsd*)
3003 + version_type=sunos
3004 + need_lib_prefix=no
3005 + need_version=no
3006 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3007 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3008 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
3009 + dynamic_linker='NetBSD (a.out) ld.so'
3010 + else
3011 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3012 + soname_spec='${libname}${release}${shared_ext}$major'
3013 + dynamic_linker='NetBSD ld.elf_so'
3014 + fi
3015 + shlibpath_var=LD_LIBRARY_PATH
3016 + shlibpath_overrides_runpath=yes
3017 + hardcode_into_libs=yes
3018 + ;;
3019 +
3020 +newsos6)
3021 + version_type=linux
3022 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3023 + shlibpath_var=LD_LIBRARY_PATH
3024 + shlibpath_overrides_runpath=yes
3025 + ;;
3026 +
3027 +nto-qnx*)
3028 + version_type=linux
3029 + need_lib_prefix=no
3030 + need_version=no
3031 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3032 + soname_spec='${libname}${release}${shared_ext}$major'
3033 + shlibpath_var=LD_LIBRARY_PATH
3034 + shlibpath_overrides_runpath=yes
3035 + ;;
3036 +
3037 +openbsd*)
3038 + version_type=sunos
3039 + need_lib_prefix=no
3040 + need_version=yes
3041 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3042 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
3043 + shlibpath_var=LD_LIBRARY_PATH
3044 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3045 + case $host_os in
3046 + openbsd2.[[89]] | openbsd2.[[89]].*)
3047 + shlibpath_overrides_runpath=no
3048 + ;;
3049 + *)
3050 + shlibpath_overrides_runpath=yes
3051 + ;;
3052 + esac
3053 + else
3054 + shlibpath_overrides_runpath=yes
3055 + fi
3056 + ;;
3057 +
3058 +os2*)
3059 + libname_spec='$name'
3060 + shrext_cmds=".dll"
3061 + need_lib_prefix=no
3062 + library_names_spec='$libname${shared_ext} $libname.a'
3063 + dynamic_linker='OS/2 ld.exe'
3064 + shlibpath_var=LIBPATH
3065 + ;;
3066 +
3067 +osf3* | osf4* | osf5*)
3068 + version_type=osf
3069 + need_lib_prefix=no
3070 + need_version=no
3071 + soname_spec='${libname}${release}${shared_ext}$major'
3072 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3073 + shlibpath_var=LD_LIBRARY_PATH
3074 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
3075 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
3076 + ;;
3077 +
3078 +sco3.2v5*)
3079 + version_type=osf
3080 + soname_spec='${libname}${release}${shared_ext}$major'
3081 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3082 + shlibpath_var=LD_LIBRARY_PATH
3083 + ;;
3084 +
3085 +solaris*)
3086 + version_type=linux
3087 + need_lib_prefix=no
3088 + need_version=no
3089 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3090 + soname_spec='${libname}${release}${shared_ext}$major'
3091 + shlibpath_var=LD_LIBRARY_PATH
3092 + shlibpath_overrides_runpath=yes
3093 + hardcode_into_libs=yes
3094 + # ldd complains unless libraries are executable
3095 + postinstall_cmds='chmod +x $lib'
3096 + ;;
3097 +
3098 +sunos4*)
3099 + version_type=sunos
3100 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3101 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
3102 + shlibpath_var=LD_LIBRARY_PATH
3103 + shlibpath_overrides_runpath=yes
3104 + if test "$with_gnu_ld" = yes; then
3105 + need_lib_prefix=no
3106 + fi
3107 + need_version=yes
3108 + ;;
3109 +
3110 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3111 + version_type=linux
3112 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3113 + soname_spec='${libname}${release}${shared_ext}$major'
3114 + shlibpath_var=LD_LIBRARY_PATH
3115 + case $host_vendor in
3116 + sni)
3117 + shlibpath_overrides_runpath=no
3118 + need_lib_prefix=no
3119 + export_dynamic_flag_spec='${wl}-Blargedynsym'
3120 + runpath_var=LD_RUN_PATH
3121 + ;;
3122 + siemens)
3123 + need_lib_prefix=no
3124 + ;;
3125 + motorola)
3126 + need_lib_prefix=no
3127 + need_version=no
3128 + shlibpath_overrides_runpath=no
3129 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
3130 + ;;
3131 + esac
3132 + ;;
3133 +
3134 +sysv4*MP*)
3135 + if test -d /usr/nec ;then
3136 + version_type=linux
3137 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
3138 + soname_spec='$libname${shared_ext}.$major'
3139 + shlibpath_var=LD_LIBRARY_PATH
3140 + fi
3141 + ;;
3142 +
3143 +uts4*)
3144 + version_type=linux
3145 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3146 + soname_spec='${libname}${release}${shared_ext}$major'
3147 + shlibpath_var=LD_LIBRARY_PATH
3148 + ;;
3149 +
3150 +*)
3151 + dynamic_linker=no
3152 + ;;
3153 +esac
3154 +AC_MSG_RESULT([$dynamic_linker])
3155 +test "$dynamic_linker" = no && can_build_shared=no
3156 +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
3157 +
3158 +
3159 +# _LT_AC_TAGCONFIG
3160 +# ----------------
3161 +AC_DEFUN([_LT_AC_TAGCONFIG],
3162 +[AC_ARG_WITH([tags],
3163 + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
3164 + [include additional configurations @<:@automatic@:>@])],
3165 + [tagnames="$withval"])
3166 +
3167 +if test -f "$ltmain" && test -n "$tagnames"; then
3168 + if test ! -f "${ofile}"; then
3169 + AC_MSG_WARN([output file `$ofile' does not exist])
3170 + fi
3171 +
3172 + if test -z "$LTCC"; then
3173 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
3174 + if test -z "$LTCC"; then
3175 + AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
3176 + else
3177 + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
3178 + fi
3179 + fi
3180 +
3181 + # Extract list of available tagged configurations in $ofile.
3182 + # Note that this assumes the entire list is on one line.
3183 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
3184 +
3185 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3186 + for tagname in $tagnames; do
3187 + IFS="$lt_save_ifs"
3188 + # Check whether tagname contains only valid characters
3189 + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
3190 + "") ;;
3191 + *) AC_MSG_ERROR([invalid tag name: $tagname])
3192 + ;;
3193 + esac
3194 +
3195 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
3196 + then
3197 + AC_MSG_ERROR([tag name \"$tagname\" already exists])
3198 + fi
3199 +
3200 + # Update the list of available tags.
3201 + if test -n "$tagname"; then
3202 + echo appending configuration tag \"$tagname\" to $ofile
3203 +
3204 + case $tagname in
3205 + CXX)
3206 + if test -n "$CXX" && test "X$CXX" != "Xno"; then
3207 + AC_LIBTOOL_LANG_CXX_CONFIG
3208 + else
3209 + tagname=""
3210 + fi
3211 + ;;
3212 +
3213 + F77)
3214 + if test -n "$F77" && test "X$F77" != "Xno"; then
3215 + AC_LIBTOOL_LANG_F77_CONFIG
3216 + else
3217 + tagname=""
3218 + fi
3219 + ;;
3220 +
3221 + GCJ)
3222 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
3223 + AC_LIBTOOL_LANG_GCJ_CONFIG
3224 + else
3225 + tagname=""
3226 + fi
3227 + ;;
3228 +
3229 + RC)
3230 + AC_LIBTOOL_LANG_RC_CONFIG
3231 + ;;
3232 +
3233 + *)
3234 + AC_MSG_ERROR([Unsupported tag name: $tagname])
3235 + ;;
3236 + esac
3237 +
3238 + # Append the new tag name to the list of available tags.
3239 + if test -n "$tagname" ; then
3240 + available_tags="$available_tags $tagname"
3241 + fi
3242 + fi
3243 + done
3244 + IFS="$lt_save_ifs"
3245 +
3246 + # Now substitute the updated list of available tags.
3247 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
3248 + mv "${ofile}T" "$ofile"
3249 + chmod +x "$ofile"
3250 + else
3251 + rm -f "${ofile}T"
3252 + AC_MSG_ERROR([unable to update list of available tagged configurations.])
3253 + fi
3254 +fi
3255 +])# _LT_AC_TAGCONFIG
3256 +
3257 +
3258 +# AC_LIBTOOL_DLOPEN
3259 +# -----------------
3260 +# enable checks for dlopen support
3261 +AC_DEFUN([AC_LIBTOOL_DLOPEN],
3262 + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
3263 +])# AC_LIBTOOL_DLOPEN
3264 +
3265 +
3266 +# AC_LIBTOOL_WIN32_DLL
3267 +# --------------------
3268 +# declare package support for building win32 dll's
3269 +AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
3270 +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
3271 +])# AC_LIBTOOL_WIN32_DLL
3272 +
3273 +
3274 +# AC_ENABLE_SHARED([DEFAULT])
3275 +# ---------------------------
3276 +# implement the --enable-shared flag
3277 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3278 +AC_DEFUN([AC_ENABLE_SHARED],
3279 +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
3280 +AC_ARG_ENABLE([shared],
3281 + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
3282 + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
3283 + [p=${PACKAGE-default}
3284 + case $enableval in
3285 + yes) enable_shared=yes ;;
3286 + no) enable_shared=no ;;
3287 + *)
3288 + enable_shared=no
3289 + # Look at the argument we got. We use all the common list separators.
3290 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3291 + for pkg in $enableval; do
3292 + IFS="$lt_save_ifs"
3293 + if test "X$pkg" = "X$p"; then
3294 + enable_shared=yes
3295 + fi
3296 + done
3297 + IFS="$lt_save_ifs"
3298 + ;;
3299 + esac],
3300 + [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
3301 +])# AC_ENABLE_SHARED
3302 +
3303 +
3304 +# AC_DISABLE_SHARED
3305 +# -----------------
3306 +#- set the default shared flag to --disable-shared
3307 +AC_DEFUN([AC_DISABLE_SHARED],
3308 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3309 +AC_ENABLE_SHARED(no)
3310 +])# AC_DISABLE_SHARED
3311 +
3312 +
3313 +# AC_ENABLE_STATIC([DEFAULT])
3314 +# ---------------------------
3315 +# implement the --enable-static flag
3316 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3317 +AC_DEFUN([AC_ENABLE_STATIC],
3318 +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
3319 +AC_ARG_ENABLE([static],
3320 + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
3321 + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
3322 + [p=${PACKAGE-default}
3323 + case $enableval in
3324 + yes) enable_static=yes ;;
3325 + no) enable_static=no ;;
3326 + *)
3327 + enable_static=no
3328 + # Look at the argument we got. We use all the common list separators.
3329 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3330 + for pkg in $enableval; do
3331 + IFS="$lt_save_ifs"
3332 + if test "X$pkg" = "X$p"; then
3333 + enable_static=yes
3334 + fi
3335 + done
3336 + IFS="$lt_save_ifs"
3337 + ;;
3338 + esac],
3339 + [enable_static=]AC_ENABLE_STATIC_DEFAULT)
3340 +])# AC_ENABLE_STATIC
3341 +
3342 +
3343 +# AC_DISABLE_STATIC
3344 +# -----------------
3345 +# set the default static flag to --disable-static
3346 +AC_DEFUN([AC_DISABLE_STATIC],
3347 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3348 +AC_ENABLE_STATIC(no)
3349 +])# AC_DISABLE_STATIC
3350 +
3351 +
3352 +# AC_ENABLE_FAST_INSTALL([DEFAULT])
3353 +# ---------------------------------
3354 +# implement the --enable-fast-install flag
3355 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3356 +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
3357 +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
3358 +AC_ARG_ENABLE([fast-install],
3359 + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
3360 + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
3361 + [p=${PACKAGE-default}
3362 + case $enableval in
3363 + yes) enable_fast_install=yes ;;
3364 + no) enable_fast_install=no ;;
3365 + *)
3366 + enable_fast_install=no
3367 + # Look at the argument we got. We use all the common list separators.
3368 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3369 + for pkg in $enableval; do
3370 + IFS="$lt_save_ifs"
3371 + if test "X$pkg" = "X$p"; then
3372 + enable_fast_install=yes
3373 + fi
3374 + done
3375 + IFS="$lt_save_ifs"
3376 + ;;
3377 + esac],
3378 + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
3379 +])# AC_ENABLE_FAST_INSTALL
3380 +
3381 +
3382 +# AC_DISABLE_FAST_INSTALL
3383 +# -----------------------
3384 +# set the default to --disable-fast-install
3385 +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
3386 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3387 +AC_ENABLE_FAST_INSTALL(no)
3388 +])# AC_DISABLE_FAST_INSTALL
3389 +
3390 +
3391 +# AC_LIBTOOL_PICMODE([MODE])
3392 +# --------------------------
3393 +# implement the --with-pic flag
3394 +# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
3395 +AC_DEFUN([AC_LIBTOOL_PICMODE],
3396 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3397 +pic_mode=ifelse($#,1,$1,default)
3398 +])# AC_LIBTOOL_PICMODE
3399 +
3400 +
3401 +# AC_PROG_EGREP
3402 +# -------------
3403 +# This is predefined starting with Autoconf 2.54, so this conditional
3404 +# definition can be removed once we require Autoconf 2.54 or later.
3405 +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
3406 +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
3407 + [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3408 + then ac_cv_prog_egrep='grep -E'
3409 + else ac_cv_prog_egrep='egrep'
3410 + fi])
3411 + EGREP=$ac_cv_prog_egrep
3412 + AC_SUBST([EGREP])
3413 +])])
3414 +
3415 +
3416 +# AC_PATH_TOOL_PREFIX
3417 +# -------------------
3418 +# find a file program which can recognise shared library
3419 +AC_DEFUN([AC_PATH_TOOL_PREFIX],
3420 +[AC_REQUIRE([AC_PROG_EGREP])dnl
3421 +AC_MSG_CHECKING([for $1])
3422 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
3423 +[case $MAGIC_CMD in
3424 +[[\\/*] | ?:[\\/]*])
3425 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3426 + ;;
3427 +*)
3428 + lt_save_MAGIC_CMD="$MAGIC_CMD"
3429 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3430 +dnl $ac_dummy forces splitting on constant user-supplied paths.
3431 +dnl POSIX.2 word splitting is done only on the output of word expansions,
3432 +dnl not every word. This closes a longstanding sh security hole.
3433 + ac_dummy="ifelse([$2], , $PATH, [$2])"
3434 + for ac_dir in $ac_dummy; do
3435 + IFS="$lt_save_ifs"
3436 + test -z "$ac_dir" && ac_dir=.
3437 + if test -f $ac_dir/$1; then
3438 + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
3439 + if test -n "$file_magic_test_file"; then
3440 + case $deplibs_check_method in
3441 + "file_magic "*)
3442 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3443 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3444 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3445 + $EGREP "$file_magic_regex" > /dev/null; then
3446 + :
3447 + else
3448 + cat <<EOF 1>&2
3449 +
3450 +*** Warning: the command libtool uses to detect shared libraries,
3451 +*** $file_magic_cmd, produces output that libtool cannot recognize.
3452 +*** The result is that libtool may fail to recognize shared libraries
3453 +*** as such. This will affect the creation of libtool libraries that
3454 +*** depend on shared libraries, but programs linked with such libtool
3455 +*** libraries will work regardless of this problem. Nevertheless, you
3456 +*** may want to report the problem to your system manager and/or to
3457 +*** bug-libtool@gnu.org
3458 +
3459 +EOF
3460 + fi ;;
3461 + esac
3462 + fi
3463 + break
3464 + fi
3465 + done
3466 + IFS="$lt_save_ifs"
3467 + MAGIC_CMD="$lt_save_MAGIC_CMD"
3468 + ;;
3469 +esac])
3470 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3471 +if test -n "$MAGIC_CMD"; then
3472 + AC_MSG_RESULT($MAGIC_CMD)
3473 +else
3474 + AC_MSG_RESULT(no)
3475 +fi
3476 +])# AC_PATH_TOOL_PREFIX
3477 +
3478 +
3479 +# AC_PATH_MAGIC
3480 +# -------------
3481 +# find a file program which can recognise a shared library
3482 +AC_DEFUN([AC_PATH_MAGIC],
3483 +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
3484 +if test -z "$lt_cv_path_MAGIC_CMD"; then
3485 + if test -n "$ac_tool_prefix"; then
3486 + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
3487 + else
3488 + MAGIC_CMD=:
3489 + fi
3490 +fi
3491 +])# AC_PATH_MAGIC
3492 +
3493 +
3494 +# AC_PROG_LD
3495 +# ----------
3496 +# find the pathname to the GNU or non-GNU linker
3497 +AC_DEFUN([AC_PROG_LD],
3498 +[AC_ARG_WITH([gnu-ld],
3499 + [AC_HELP_STRING([--with-gnu-ld],
3500 + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
3501 + [test "$withval" = no || with_gnu_ld=yes],
3502 + [with_gnu_ld=no])
3503 +AC_REQUIRE([LT_AC_PROG_SED])dnl
3504 +AC_REQUIRE([AC_PROG_CC])dnl
3505 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
3506 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3507 +ac_prog=ld
3508 +if test "$GCC" = yes; then
3509 + # Check if gcc -print-prog-name=ld gives a path.
3510 + AC_MSG_CHECKING([for ld used by $CC])
3511 + case $host in
3512 + *-*-mingw*)
3513 + # gcc leaves a trailing carriage return which upsets mingw
3514 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3515 + *)
3516 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3517 + esac
3518 + case $ac_prog in
3519 + # Accept absolute paths.
3520 + [[\\/]]* | ?:[[\\/]]*)
3521 + re_direlt='/[[^/]][[^/]]*/\.\./'
3522 + # Canonicalize the pathname of ld
3523 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3524 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3525 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3526 + done
3527 + test -z "$LD" && LD="$ac_prog"
3528 + ;;
3529 + "")
3530 + # If it fails, then pretend we aren't using GCC.
3531 + ac_prog=ld
3532 + ;;
3533 + *)
3534 + # If it is relative, then search for the first ld in PATH.
3535 + with_gnu_ld=unknown
3536 + ;;
3537 + esac
3538 +elif test "$with_gnu_ld" = yes; then
3539 + AC_MSG_CHECKING([for GNU ld])
3540 +else
3541 + AC_MSG_CHECKING([for non-GNU ld])
3542 +fi
3543 +AC_CACHE_VAL(lt_cv_path_LD,
3544 +[if test -z "$LD"; then
3545 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3546 + for ac_dir in $PATH; do
3547 + IFS="$lt_save_ifs"
3548 + test -z "$ac_dir" && ac_dir=.
3549 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3550 + lt_cv_path_LD="$ac_dir/$ac_prog"
3551 + # Check to see if the program is GNU ld. I'd rather use --version,
3552 + # but apparently some GNU ld's only accept -v.
3553 + # Break only if it was the GNU/non-GNU ld that we prefer.
3554 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3555 + *GNU* | *'with BFD'*)
3556 + test "$with_gnu_ld" != no && break
3557 + ;;
3558 + *)
3559 + test "$with_gnu_ld" != yes && break
3560 + ;;
3561 + esac
3562 + fi
3563 + done
3564 + IFS="$lt_save_ifs"
3565 +else
3566 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
3567 +fi])
3568 +LD="$lt_cv_path_LD"
3569 +if test -n "$LD"; then
3570 + AC_MSG_RESULT($LD)
3571 +else
3572 + AC_MSG_RESULT(no)
3573 +fi
3574 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3575 +AC_PROG_LD_GNU
3576 +])# AC_PROG_LD
3577 +
3578 +
3579 +# AC_PROG_LD_GNU
3580 +# --------------
3581 +AC_DEFUN([AC_PROG_LD_GNU],
3582 +[AC_REQUIRE([AC_PROG_EGREP])dnl
3583 +AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
3584 +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
3585 +case `$LD -v 2>&1 </dev/null` in
3586 +*GNU* | *'with BFD'*)
3587 + lt_cv_prog_gnu_ld=yes
3588 + ;;
3589 +*)
3590 + lt_cv_prog_gnu_ld=no
3591 + ;;
3592 +esac])
3593 +with_gnu_ld=$lt_cv_prog_gnu_ld
3594 +])# AC_PROG_LD_GNU
3595 +
3596 +
3597 +# AC_PROG_LD_RELOAD_FLAG
3598 +# ----------------------
3599 +# find reload flag for linker
3600 +# -- PORTME Some linkers may need a different reload flag.
3601 +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
3602 +[AC_CACHE_CHECK([for $LD option to reload object files],
3603 + lt_cv_ld_reload_flag,
3604 + [lt_cv_ld_reload_flag='-r'])
3605 +reload_flag=$lt_cv_ld_reload_flag
3606 +case $reload_flag in
3607 +"" | " "*) ;;
3608 +*) reload_flag=" $reload_flag" ;;
3609 +esac
3610 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
3611 +])# AC_PROG_LD_RELOAD_FLAG
3612 +
3613 +
3614 +# AC_DEPLIBS_CHECK_METHOD
3615 +# -----------------------
3616 +# how to check for library dependencies
3617 +# -- PORTME fill in with the dynamic library characteristics
3618 +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
3619 +[AC_CACHE_CHECK([how to recognise dependent libraries],
3620 +lt_cv_deplibs_check_method,
3621 +[lt_cv_file_magic_cmd='$MAGIC_CMD'
3622 +lt_cv_file_magic_test_file=
3623 +lt_cv_deplibs_check_method='unknown'
3624 +# Need to set the preceding variable on all platforms that support
3625 +# interlibrary dependencies.
3626 +# 'none' -- dependencies not supported.
3627 +# `unknown' -- same as none, but documents that we really don't know.
3628 +# 'pass_all' -- all dependencies passed with no checks.
3629 +# 'test_compile' -- check by making test program.
3630 +# 'file_magic [[regex]]' -- check by looking for files in library path
3631 +# which responds to the $file_magic_cmd with a given extended regex.
3632 +# If you have `file' or equivalent on your system and you're not sure
3633 +# whether `pass_all' will *always* work, you probably want this one.
3634 +
3635 +case $host_os in
3636 +aix4* | aix5*)
3637 + lt_cv_deplibs_check_method=pass_all
3638 + ;;
3639 +
3640 +beos*)
3641 + lt_cv_deplibs_check_method=pass_all
3642 + ;;
3643 +
3644 +bsdi4*)
3645 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3646 + lt_cv_file_magic_cmd='/usr/bin/file -L'
3647 + lt_cv_file_magic_test_file=/shlib/libc.so
3648 + ;;
3649 +
3650 +cygwin*)
3651 + # func_win32_libid is a shell function defined in ltmain.sh
3652 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3653 + lt_cv_file_magic_cmd='func_win32_libid'
3654 + ;;
3655 +
3656 +mingw* | pw32*)
3657 + # Base MSYS/MinGW do not provide the 'file' command needed by
3658 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3659 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3660 + lt_cv_file_magic_cmd='$OBJDUMP -f'
3661 + ;;
3662 +
3663 +darwin* | rhapsody*)
3664 + lt_cv_deplibs_check_method=pass_all
3665 + ;;
3666 +
3667 +freebsd* | kfreebsd*-gnu)
3668 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3669 + case $host_cpu in
3670 + i*86 )
3671 + # Not sure whether the presence of OpenBSD here was a mistake.
3672 + # Let's accept both of them until this is cleared up.
3673 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
3674 + lt_cv_file_magic_cmd=/usr/bin/file
3675 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3676 + ;;
3677 + esac
3678 + else
3679 + lt_cv_deplibs_check_method=pass_all
3680 + fi
3681 + ;;
3682 +
3683 +gnu*)
3684 + lt_cv_deplibs_check_method=pass_all
3685 + ;;
3686 +
3687 +hpux10.20* | hpux11*)
3688 + lt_cv_file_magic_cmd=/usr/bin/file
3689 + case "$host_cpu" in
3690 + ia64*)
3691 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
3692 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3693 + ;;
3694 + hppa*64*)
3695 + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
3696 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3697 + ;;
3698 + *)
3699 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
3700 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
3701 + ;;
3702 + esac
3703 + ;;
3704 +
3705 +irix5* | irix6* | nonstopux*)
3706 + case $LD in
3707 + *-32|*"-32 ") libmagic=32-bit;;
3708 + *-n32|*"-n32 ") libmagic=N32;;
3709 + *-64|*"-64 ") libmagic=64-bit;;
3710 + *) libmagic=never-match;;
3711 + esac
3712 + lt_cv_deplibs_check_method=pass_all
3713 + ;;
3714 +
3715 +# This must be Linux ELF.
3716 +linux*)
3717 + lt_cv_deplibs_check_method=pass_all
3718 + ;;
3719 +
3720 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3721 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3722 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3723 + else
3724 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
3725 + fi
3726 + ;;
3727 +
3728 +newos6*)
3729 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3730 + lt_cv_file_magic_cmd=/usr/bin/file
3731 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
3732 + ;;
3733 +
3734 +nto-qnx*)
3735 + lt_cv_deplibs_check_method=unknown
3736 + ;;
3737 +
3738 +openbsd*)
3739 + lt_cv_file_magic_cmd=/usr/bin/file
3740 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3741 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3742 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
3743 + else
3744 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
3745 + fi
3746 + ;;
3747 +
3748 +osf3* | osf4* | osf5*)
3749 + lt_cv_deplibs_check_method=pass_all
3750 + ;;
3751 +
3752 +sco3.2v5*)
3753 + lt_cv_deplibs_check_method=pass_all
3754 + ;;
3755 +
3756 +solaris*)
3757 + lt_cv_deplibs_check_method=pass_all
3758 + ;;
3759 +
3760 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3761 + case $host_vendor in
3762 + motorola)
3763 + 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]]'
3764 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3765 + ;;
3766 + ncr)
3767 + lt_cv_deplibs_check_method=pass_all
3768 + ;;
3769 + sequent)
3770 + lt_cv_file_magic_cmd='/bin/file'
3771 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
3772 + ;;
3773 + sni)
3774 + lt_cv_file_magic_cmd='/bin/file'
3775 + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3776 + lt_cv_file_magic_test_file=/lib/libc.so
3777 + ;;
3778 + siemens)
3779 + lt_cv_deplibs_check_method=pass_all
3780 ;;
3781 + esac
3782 + ;;
3783 +
3784 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
3785 + lt_cv_deplibs_check_method=pass_all
3786 + ;;
3787 +esac
3788 +])
3789 +file_magic_cmd=$lt_cv_file_magic_cmd
3790 +deplibs_check_method=$lt_cv_deplibs_check_method
3791 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
3792 +])# AC_DEPLIBS_CHECK_METHOD
3793
3794 - netbsd*)
3795 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3796 - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
3797 - wlarc=
3798 - else
3799 - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3800 - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3801 +
3802 +# AC_PROG_NM
3803 +# ----------
3804 +# find the pathname to a BSD-compatible name lister
3805 +AC_DEFUN([AC_PROG_NM],
3806 +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
3807 +[if test -n "$NM"; then
3808 + # Let the user override the test.
3809 + lt_cv_path_NM="$NM"
3810 +else
3811 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3812 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3813 + IFS="$lt_save_ifs"
3814 + test -z "$ac_dir" && ac_dir=.
3815 + tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3816 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3817 + # Check to see if the nm accepts a BSD-compat flag.
3818 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3819 + # nm: unknown option "B" ignored
3820 + # Tru64's nm complains that /dev/null is an invalid object file
3821 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3822 + */dev/null* | *'Invalid file or object type'*)
3823 + lt_cv_path_NM="$tmp_nm -B"
3824 + break
3825 + ;;
3826 + *)
3827 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3828 + */dev/null*)
3829 + lt_cv_path_NM="$tmp_nm -p"
3830 + break
3831 + ;;
3832 + *)
3833 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3834 + continue # so that we can try to find one that supports BSD flags
3835 + ;;
3836 + esac
3837 + esac
3838 fi
3839 - ;;
3840 + done
3841 + IFS="$lt_save_ifs"
3842 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3843 +fi])
3844 +NM="$lt_cv_path_NM"
3845 +])# AC_PROG_NM
3846
3847 - solaris* | sysv5*)
3848 - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
3849 - ld_shlibs=no
3850 - cat <<EOF 1>&2
3851
3852 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
3853 -*** create shared libraries on Solaris systems. Therefore, libtool
3854 -*** is disabling shared libraries support. We urge you to upgrade GNU
3855 -*** binutils to release 2.9.1 or newer. Another option is to modify
3856 -*** your PATH or compiler configuration so that the native linker is
3857 -*** used, and then restart.
3858 +# AC_CHECK_LIBM
3859 +# -------------
3860 +# check for math library
3861 +AC_DEFUN([AC_CHECK_LIBM],
3862 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3863 +LIBM=
3864 +case $host in
3865 +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
3866 + # These system don't have libm, or don't need it
3867 + ;;
3868 +*-ncr-sysv4.3*)
3869 + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
3870 + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3871 + ;;
3872 +*)
3873 + AC_CHECK_LIB(m, cos, LIBM="-lm")
3874 + ;;
3875 +esac
3876 +])# AC_CHECK_LIBM
3877
3878 -EOF
3879 - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
3880 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3881 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3882 - else
3883 - ld_shlibs=no
3884 - fi
3885 - ;;
3886
3887 - sunos4*)
3888 - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3889 - wlarc=
3890 - hardcode_direct=yes
3891 - hardcode_shlibpath_var=no
3892 - ;;
3893 +# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
3894 +# -----------------------------------
3895 +# sets LIBLTDL to the link flags for the libltdl convenience library and
3896 +# LTDLINCL to the include flags for the libltdl header and adds
3897 +# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
3898 +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
3899 +# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
3900 +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
3901 +# '${top_srcdir}/' (note the single quotes!). If your package is not
3902 +# flat and you're not using automake, define top_builddir and
3903 +# top_srcdir appropriately in the Makefiles.
3904 +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
3905 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3906 + case $enable_ltdl_convenience in
3907 + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
3908 + "") enable_ltdl_convenience=yes
3909 + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
3910 + esac
3911 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
3912 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
3913 + # For backwards non-gettext consistent compatibility...
3914 + INCLTDL="$LTDLINCL"
3915 +])# AC_LIBLTDL_CONVENIENCE
3916
3917 - *)
3918 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
3919 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3920 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3921 - else
3922 - ld_shlibs=no
3923 - fi
3924 +
3925 +# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
3926 +# -----------------------------------
3927 +# sets LIBLTDL to the link flags for the libltdl installable library and
3928 +# LTDLINCL to the include flags for the libltdl header and adds
3929 +# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
3930 +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
3931 +# DIRECTORY is not provided and an installed libltdl is not found, it is
3932 +# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
3933 +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
3934 +# quotes!). If your package is not flat and you're not using automake,
3935 +# define top_builddir and top_srcdir appropriately in the Makefiles.
3936 +# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
3937 +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
3938 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3939 + AC_CHECK_LIB(ltdl, lt_dlinit,
3940 + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
3941 + [if test x"$enable_ltdl_install" = xno; then
3942 + AC_MSG_WARN([libltdl not installed, but installation disabled])
3943 + else
3944 + enable_ltdl_install=yes
3945 + fi
3946 + ])
3947 + if test x"$enable_ltdl_install" = x"yes"; then
3948 + ac_configure_args="$ac_configure_args --enable-ltdl-install"
3949 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
3950 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
3951 + else
3952 + ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
3953 + LIBLTDL="-lltdl"
3954 + LTDLINCL=
3955 + fi
3956 + # For backwards non-gettext consistent compatibility...
3957 + INCLTDL="$LTDLINCL"
3958 +])# AC_LIBLTDL_INSTALLABLE
3959 +
3960 +
3961 +# AC_LIBTOOL_CXX
3962 +# --------------
3963 +# enable support for C++ libraries
3964 +AC_DEFUN([AC_LIBTOOL_CXX],
3965 +[AC_REQUIRE([_LT_AC_LANG_CXX])
3966 +])# AC_LIBTOOL_CXX
3967 +
3968 +
3969 +# _LT_AC_LANG_CXX
3970 +# ---------------
3971 +AC_DEFUN([_LT_AC_LANG_CXX],
3972 +[AC_REQUIRE([AC_PROG_CXX])
3973 +AC_REQUIRE([AC_PROG_CXXCPP])
3974 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
3975 +])# _LT_AC_LANG_CXX
3976 +
3977 +
3978 +# AC_LIBTOOL_F77
3979 +# --------------
3980 +# enable support for Fortran 77 libraries
3981 +AC_DEFUN([AC_LIBTOOL_F77],
3982 +[AC_REQUIRE([_LT_AC_LANG_F77])
3983 +])# AC_LIBTOOL_F77
3984 +
3985 +
3986 +# _LT_AC_LANG_F77
3987 +# ---------------
3988 +AC_DEFUN([_LT_AC_LANG_F77],
3989 +[AC_REQUIRE([AC_PROG_F77])
3990 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
3991 +])# _LT_AC_LANG_F77
3992 +
3993 +
3994 +# AC_LIBTOOL_GCJ
3995 +# --------------
3996 +# enable support for GCJ libraries
3997 +AC_DEFUN([AC_LIBTOOL_GCJ],
3998 +[AC_REQUIRE([_LT_AC_LANG_GCJ])
3999 +])# AC_LIBTOOL_GCJ
4000 +
4001 +
4002 +# _LT_AC_LANG_GCJ
4003 +# ---------------
4004 +AC_DEFUN([_LT_AC_LANG_GCJ],
4005 +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
4006 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
4007 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
4008 + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
4009 + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
4010 + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
4011 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
4012 +])# _LT_AC_LANG_GCJ
4013 +
4014 +
4015 +# AC_LIBTOOL_RC
4016 +# --------------
4017 +# enable support for Windows resource files
4018 +AC_DEFUN([AC_LIBTOOL_RC],
4019 +[AC_REQUIRE([LT_AC_PROG_RC])
4020 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
4021 +])# AC_LIBTOOL_RC
4022 +
4023 +
4024 +# AC_LIBTOOL_LANG_C_CONFIG
4025 +# ------------------------
4026 +# Ensure that the configuration vars for the C compiler are
4027 +# suitably defined. Those variables are subsequently used by
4028 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4029 +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
4030 +AC_DEFUN([_LT_AC_LANG_C_CONFIG],
4031 +[lt_save_CC="$CC"
4032 +AC_LANG_PUSH(C)
4033 +
4034 +# Source file extension for C test sources.
4035 +ac_ext=c
4036 +
4037 +# Object file extension for compiled C test sources.
4038 +objext=o
4039 +_LT_AC_TAGVAR(objext, $1)=$objext
4040 +
4041 +# Code to be used in simple compile tests
4042 +lt_simple_compile_test_code="int some_variable = 0;\n"
4043 +
4044 +# Code to be used in simple link tests
4045 +lt_simple_link_test_code='int main(){return(0);}\n'
4046 +
4047 +_LT_AC_SYS_COMPILER
4048 +
4049 +#
4050 +# Check for any special shared library compilation flags.
4051 +#
4052 +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
4053 +if test "$GCC" = no; then
4054 + case $host_os in
4055 + sco3.2v5*)
4056 + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
4057 ;;
4058 esac
4059 +fi
4060 +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
4061 + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
4062 + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
4063 + else
4064 + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
4065 + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
4066 + fi
4067 +fi
4068
4069 - if test "$ld_shlibs" = yes; then
4070 - runpath_var=LD_RUN_PATH
4071 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
4072 - export_dynamic_flag_spec='${wl}--export-dynamic'
4073 - case $host_os in
4074 - cygwin* | mingw* | pw32*)
4075 - # dlltool doesn't understand --whole-archive et. al.
4076 - whole_archive_flag_spec=
4077 +
4078 +#
4079 +# Check to make sure the static flag actually works.
4080 +#
4081 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
4082 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
4083 + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
4084 + [],
4085 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
4086 +
4087 +
4088 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
4089 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
4090 +AC_LIBTOOL_PROG_CC_C_O($1)
4091 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4092 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
4093 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4094 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4095 +AC_LIBTOOL_SYS_LIB_STRIP
4096 +AC_LIBTOOL_DLOPEN_SELF($1)
4097 +
4098 +# Report which librarie types wil actually be built
4099 +AC_MSG_CHECKING([if libtool supports shared libraries])
4100 +AC_MSG_RESULT([$can_build_shared])
4101 +
4102 +AC_MSG_CHECKING([whether to build shared libraries])
4103 +test "$can_build_shared" = "no" && enable_shared=no
4104 +
4105 +# On AIX, shared libraries and static libraries use the same namespace, and
4106 +# are all built from PIC.
4107 +case "$host_os" in
4108 +aix3*)
4109 + test "$enable_shared" = yes && enable_static=no
4110 + if test -n "$RANLIB"; then
4111 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
4112 + postinstall_cmds='$RANLIB $lib'
4113 + fi
4114 + ;;
4115 +
4116 +aix4* | aix5*)
4117 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
4118 + test "$enable_shared" = yes && enable_static=no
4119 + fi
4120 + ;;
4121 + darwin* | rhapsody*)
4122 + if test "$GCC" = yes; then
4123 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4124 + case "$host_os" in
4125 + rhapsody* | darwin1.[[012]])
4126 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
4127 ;;
4128 - *)
4129 - # ancient GNU ld didn't support --whole-archive et. al.
4130 - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
4131 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
4132 + *) # Darwin 1.3 on
4133 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
4134 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
4135 else
4136 - whole_archive_flag_spec=
4137 + case ${MACOSX_DEPLOYMENT_TARGET} in
4138 + 10.[[012]])
4139 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
4140 + ;;
4141 + 10.*)
4142 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
4143 + ;;
4144 + esac
4145 fi
4146 ;;
4147 esac
4148 + output_verbose_link_cmd='echo'
4149 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
4150 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4151 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
4152 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
4153 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
4154 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4155 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
4156 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4157 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
4158 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4159 + else
4160 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4161 fi
4162 + ;;
4163 +esac
4164 +AC_MSG_RESULT([$enable_shared])
4165 +
4166 +AC_MSG_CHECKING([whether to build static libraries])
4167 +# Make sure either enable_shared or enable_static is yes.
4168 +test "$enable_shared" = yes || enable_static=yes
4169 +AC_MSG_RESULT([$enable_static])
4170 +
4171 +AC_LIBTOOL_CONFIG($1)
4172 +
4173 +AC_LANG_POP
4174 +CC="$lt_save_CC"
4175 +])# AC_LIBTOOL_LANG_C_CONFIG
4176 +
4177 +
4178 +# AC_LIBTOOL_LANG_CXX_CONFIG
4179 +# --------------------------
4180 +# Ensure that the configuration vars for the C compiler are
4181 +# suitably defined. Those variables are subsequently used by
4182 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4183 +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
4184 +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
4185 +[AC_LANG_PUSH(C++)
4186 +AC_REQUIRE([AC_PROG_CXX])
4187 +AC_REQUIRE([AC_PROG_CXXCPP])
4188 +
4189 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4190 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
4191 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
4192 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
4193 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
4194 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
4195 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4196 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4197 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4198 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4199 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
4200 +_LT_AC_TAGVAR(module_cmds, $1)=
4201 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
4202 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
4203 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4204 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
4205 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4206 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4207 +
4208 +# Dependencies to place before and after the object being linked:
4209 +_LT_AC_TAGVAR(predep_objects, $1)=
4210 +_LT_AC_TAGVAR(postdep_objects, $1)=
4211 +_LT_AC_TAGVAR(predeps, $1)=
4212 +_LT_AC_TAGVAR(postdeps, $1)=
4213 +_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
4214 +
4215 +# Source file extension for C++ test sources.
4216 +ac_ext=cc
4217 +
4218 +# Object file extension for compiled C++ test sources.
4219 +objext=o
4220 +_LT_AC_TAGVAR(objext, $1)=$objext
4221 +
4222 +# Code to be used in simple compile tests
4223 +lt_simple_compile_test_code="int some_variable = 0;\n"
4224 +
4225 +# Code to be used in simple link tests
4226 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
4227 +
4228 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4229 +_LT_AC_SYS_COMPILER
4230 +
4231 +# Allow CC to be a program name with arguments.
4232 +lt_save_CC=$CC
4233 +lt_save_LD=$LD
4234 +lt_save_GCC=$GCC
4235 +GCC=$GXX
4236 +lt_save_with_gnu_ld=$with_gnu_ld
4237 +lt_save_path_LD=$lt_cv_path_LD
4238 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
4239 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
4240 else
4241 - # PORTME fill in a description of your system's linker (not GNU ld)
4242 - case $host_os in
4243 - aix3*)
4244 - allow_undefined_flag=unsupported
4245 - always_export_symbols=yes
4246 - 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'
4247 - # Note: this linker hardcodes the directories in LIBPATH if there
4248 - # are no directories specified by -L.
4249 - hardcode_minus_L=yes
4250 - if test "$GCC" = yes && test -z "$link_static_flag"; then
4251 - # Neither direct hardcoding nor static linking is supported with a
4252 - # broken collect2.
4253 - hardcode_direct=unsupported
4254 + unset lt_cv_prog_gnu_ld
4255 +fi
4256 +if test -n "${lt_cv_path_LDCXX+set}"; then
4257 + lt_cv_path_LD=$lt_cv_path_LDCXX
4258 +else
4259 + unset lt_cv_path_LD
4260 +fi
4261 +test -z "${LDCXX+set}" || LD=$LDCXX
4262 +CC=${CXX-"c++"}
4263 +compiler=$CC
4264 +_LT_AC_TAGVAR(compiler, $1)=$CC
4265 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
4266 +
4267 +# We don't want -fno-exception wen compiling C++ code, so set the
4268 +# no_builtin_flag separately
4269 +if test "$GXX" = yes; then
4270 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
4271 +else
4272 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
4273 +fi
4274 +
4275 +if test "$GXX" = yes; then
4276 + # Set up default GNU C++ configuration
4277 +
4278 + AC_PROG_LD
4279 +
4280 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
4281 + # archiving commands below assume that GNU ld is being used.
4282 + if test "$with_gnu_ld" = yes; then
4283 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4284 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4285 +
4286 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
4287 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4288 +
4289 + # If archive_cmds runs LD, not CC, wlarc should be empty
4290 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
4291 + # investigate it a little bit more. (MM)
4292 + wlarc='${wl}'
4293 +
4294 + # ancient GNU ld didn't support --whole-archive et. al.
4295 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
4296 + grep 'no-whole-archive' > /dev/null; then
4297 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
4298 + else
4299 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4300 fi
4301 - ;;
4302 + else
4303 + with_gnu_ld=no
4304 + wlarc=
4305 +
4306 + # A generic and very simple default shared library creation
4307 + # command for GNU C++ for the case where it uses the native
4308 + # linker, instead of GNU ld. If possible, this setting should
4309 + # overridden to take advantage of the native linker features on
4310 + # the platform it is being used on.
4311 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
4312 + fi
4313 +
4314 + # Commands to make compiler produce verbose output that lists
4315 + # what "hidden" libraries, object files and flags are used when
4316 + # linking a shared library.
4317 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
4318 +
4319 +else
4320 + GXX=no
4321 + with_gnu_ld=no
4322 + wlarc=
4323 +fi
4324
4325 +# PORTME: fill in a description of your system's C++ link characteristics
4326 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
4327 +_LT_AC_TAGVAR(ld_shlibs, $1)=yes
4328 +case $host_os in
4329 + aix3*)
4330 + # FIXME: insert proper C++ library support
4331 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4332 + ;;
4333 aix4* | aix5*)
4334 if test "$host_cpu" = ia64; then
4335 # On IA64, the linker does run time linking by default, so we don't
4336 @@ -1586,7 +3728,7 @@
4337 *-brtl*)
4338 aix_use_runtimelinking=yes
4339 break
4340 - ;;
4341 + ;;
4342 esac
4343 done
4344 esac
4345 @@ -1601,34 +3743,39 @@
4346 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
4347 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
4348
4349 - hardcode_direct=yes
4350 - archive_cmds=''
4351 - hardcode_libdir_separator=':'
4352 - if test "$GCC" = yes; then
4353 - case $host_os in aix4.[[012]]|aix4.[[012]].*)
4354 + _LT_AC_TAGVAR(archive_cmds, $1)=''
4355 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4356 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
4357 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4358 +
4359 + if test "$GXX" = yes; then
4360 + case $host_os in aix4.[012]|aix4.[012].*)
4361 + # We only want to do this on AIX 4.2 and lower, the check
4362 + # below for broken collect2 doesn't work under 4.3+
4363 collect2name=`${CC} -print-prog-name=collect2`
4364 if test -f "$collect2name" && \
4365 - strings "$collect2name" | grep resolve_lib_name >/dev/null
4366 + strings "$collect2name" | grep resolve_lib_name >/dev/null
4367 then
4368 # We have reworked collect2
4369 - hardcode_direct=yes
4370 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4371 else
4372 # We have old collect2
4373 - hardcode_direct=unsupported
4374 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
4375 # It fails to find uninstalled libraries when the uninstalled
4376 # path is not listed in the libpath. Setting hardcode_minus_L
4377 # to unsupported forces relinking
4378 - hardcode_minus_L=yes
4379 - hardcode_libdir_flag_spec='-L$libdir'
4380 - hardcode_libdir_separator=
4381 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4382 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4383 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4384 fi
4385 esac
4386 -
4387 shared_flag='-shared'
4388 else
4389 # not using gcc
4390 if test "$host_cpu" = ia64; then
4391 - shared_flag='${wl}-G'
4392 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
4393 + # chokes on -Wl,-G. The following line is correct:
4394 + shared_flag='-G'
4395 else
4396 if test "$aix_use_runtimelinking" = yes; then
4397 shared_flag='${wl}-G'
4398 @@ -1638,833 +3785,867 @@
4399 fi
4400 fi
4401
4402 - # It seems that -bexpall can do strange things, so it is better to
4403 - # generate a list of symbols to export.
4404 - always_export_symbols=yes
4405 + # It seems that -bexpall does not export symbols beginning with
4406 + # underscore (_), so it is better to generate a list of symbols to export.
4407 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
4408 if test "$aix_use_runtimelinking" = yes; then
4409 # Warning - without using the other runtime loading flags (-brtl),
4410 # -berok will link without error, but may produce a broken library.
4411 - allow_undefined_flag='-berok'
4412 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
4413 - 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"
4414 - else
4415 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
4416 + # Determine the default libpath from the value encoded in an empty executable.
4417 + _LT_AC_SYS_LIBPATH_AIX
4418 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4419 +
4420 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$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"
4421 + else
4422 if test "$host_cpu" = ia64; then
4423 - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
4424 - allow_undefined_flag="-z nodefs"
4425 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
4426 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
4427 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
4428 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$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"
4429 else
4430 - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
4431 + # Determine the default libpath from the value encoded in an empty executable.
4432 + _LT_AC_SYS_LIBPATH_AIX
4433 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4434 # Warning - without using the other run time loading flags,
4435 # -berok will link without error, but may produce a broken library.
4436 - allow_undefined_flag='${wl}-berok'
4437 - # This is a bit strange, but is similar to how AIX traditionally builds
4438 - # it's shared libraries.
4439 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname'
4440 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
4441 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
4442 + # -bexpall does not export symbols beginning with underscore (_)
4443 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
4444 + # Exported symbols can be pulled into shared objects from archives
4445 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
4446 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
4447 + # This is similar to how AIX traditionally builds it's shared libraries.
4448 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$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'
4449 fi
4450 fi
4451 ;;
4452 -
4453 - amigaos*)
4454 - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
4455 - hardcode_libdir_flag_spec='-L$libdir'
4456 - hardcode_minus_L=yes
4457 - # see comment about different semantics on the GNU ld section
4458 - ld_shlibs=no
4459 + chorus*)
4460 + case $cc_basename in
4461 + *)
4462 + # FIXME: insert proper C++ library support
4463 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4464 + ;;
4465 + esac
4466 ;;
4467
4468 cygwin* | mingw* | pw32*)
4469 - # When not using gcc, we currently assume that we are using
4470 - # Microsoft Visual C++.
4471 - # hardcode_libdir_flag_spec is actually meaningless, as there is
4472 - # no search path for DLLs.
4473 - hardcode_libdir_flag_spec=' '
4474 - allow_undefined_flag=unsupported
4475 - # Tell ltmain to make .lib files, not .a files.
4476 - libext=lib
4477 - # FIXME: Setting linknames here is a bad hack.
4478 - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
4479 - # The linker will automatically build a .lib file if we build a DLL.
4480 - old_archive_from_new_cmds='true'
4481 - # FIXME: Should let the user specify the lib program.
4482 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
4483 - fix_srcfile_path='`cygpath -w "$srcfile"`'
4484 - ;;
4485 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
4486 + # as there is no search path for DLLs.
4487 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4488 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4489 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
4490 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
4491 +
4492 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
4493 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
4494 + # If the export-symbols file already is a .def file (1st line
4495 + # is EXPORTS), use it as is; otherwise, prepend...
4496 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
4497 + cp $export_symbols $output_objdir/$soname.def;
4498 + else
4499 + echo EXPORTS > $output_objdir/$soname.def;
4500 + cat $export_symbols >> $output_objdir/$soname.def;
4501 + fi~
4502 + $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'
4503 + else
4504 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4505 + fi
4506 + ;;
4507
4508 darwin* | rhapsody*)
4509 + if test "$GXX" = yes; then
4510 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4511 case "$host_os" in
4512 rhapsody* | darwin1.[[012]])
4513 - allow_undefined_flag='-undefined suppress'
4514 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
4515 ;;
4516 *) # Darwin 1.3 on
4517 - allow_undefined_flag='-flat_namespace -undefined suppress'
4518 - ;;
4519 - esac
4520 - # FIXME: Relying on posixy $() will cause problems for
4521 - # cross-compilation, but unfortunately the echo tests do not
4522 - # yet detect zsh echo's removal of \ escapes. Also zsh mangles
4523 - # `"' quotes if we put them in here... so don't!
4524 - archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
4525 - # We need to add '_' to the symbols in $export_symbols first
4526 - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
4527 - hardcode_direct=yes
4528 - hardcode_shlibpath_var=no
4529 - whole_archive_flag_spec='-all_load $convenience'
4530 - ;;
4531 -
4532 - freebsd1*)
4533 - ld_shlibs=no
4534 - ;;
4535 -
4536 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
4537 - # support. Future versions do this automatically, but an explicit c++rt0.o
4538 - # does not break anything, and helps significantly (at the cost of a little
4539 - # extra space).
4540 - freebsd2.2*)
4541 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
4542 - hardcode_libdir_flag_spec='-R$libdir'
4543 - hardcode_direct=yes
4544 - hardcode_shlibpath_var=no
4545 - ;;
4546 -
4547 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
4548 - freebsd2*)
4549 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4550 - hardcode_direct=yes
4551 - hardcode_minus_L=yes
4552 - hardcode_shlibpath_var=no
4553 - ;;
4554 -
4555 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
4556 - freebsd*)
4557 - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
4558 - hardcode_libdir_flag_spec='-R$libdir'
4559 - hardcode_direct=yes
4560 - hardcode_shlibpath_var=no
4561 - ;;
4562 -
4563 - hpux9* | hpux10* | hpux11*)
4564 - case $host_os in
4565 - hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
4566 - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
4567 - esac
4568 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
4569 - hardcode_libdir_separator=:
4570 - hardcode_direct=yes
4571 - hardcode_minus_L=yes # Not in the search PATH, but as the default
4572 - # location of the library.
4573 - export_dynamic_flag_spec='${wl}-E'
4574 - ;;
4575 -
4576 - irix5* | irix6* | nonstopux*)
4577 - if test "$GCC" = yes; then
4578 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
4579 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
4580 - else
4581 - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
4582 - hardcode_libdir_flag_spec='-rpath $libdir'
4583 - fi
4584 - hardcode_libdir_separator=:
4585 - link_all_deplibs=yes
4586 - ;;
4587 -
4588 - netbsd*)
4589 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4590 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
4591 - else
4592 - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
4593 - fi
4594 - hardcode_libdir_flag_spec='-R$libdir'
4595 - hardcode_direct=yes
4596 - hardcode_shlibpath_var=no
4597 - ;;
4598 -
4599 - newsos6)
4600 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4601 - hardcode_direct=yes
4602 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
4603 - hardcode_libdir_separator=:
4604 - hardcode_shlibpath_var=no
4605 - ;;
4606 -
4607 - openbsd*)
4608 - hardcode_direct=yes
4609 - hardcode_shlibpath_var=no
4610 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4611 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4612 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
4613 - export_dynamic_flag_spec='${wl}-E'
4614 - else
4615 - case "$host_os" in
4616 - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
4617 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4618 - hardcode_libdir_flag_spec='-R$libdir'
4619 - ;;
4620 - *)
4621 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4622 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
4623 - ;;
4624 - esac
4625 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
4626 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
4627 + else
4628 + case ${MACOSX_DEPLOYMENT_TARGET} in
4629 + 10.[[012]])
4630 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
4631 + ;;
4632 + 10.*)
4633 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
4634 + ;;
4635 + esac
4636 + fi
4637 + ;;
4638 + esac
4639 + lt_int_apple_cc_single_mod=no
4640 + output_verbose_link_cmd='echo'
4641 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
4642 + lt_int_apple_cc_single_mod=yes
4643 fi
4644 - ;;
4645 -
4646 - os2*)
4647 - hardcode_libdir_flag_spec='-L$libdir'
4648 - hardcode_minus_L=yes
4649 - allow_undefined_flag=unsupported
4650 - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
4651 - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
4652 - ;;
4653 -
4654 - osf3*)
4655 - if test "$GCC" = yes; then
4656 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
4657 - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
4658 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4659 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
4660 else
4661 - allow_undefined_flag=' -expect_unresolved \*'
4662 - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
4663 + _LT_AC_TAGVAR(archive_cmds, $1)='$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'
4664 fi
4665 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
4666 - hardcode_libdir_separator=:
4667 - ;;
4668 + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4669
4670 - osf4* | osf5*) # as osf3* with the addition of -msym flag
4671 - if test "$GCC" = yes; then
4672 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
4673 - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
4674 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
4675 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
4676 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4677 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
4678 else
4679 - allow_undefined_flag=' -expect_unresolved \*'
4680 - 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'
4681 - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
4682 - $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'
4683 -
4684 - #Both c and cxx compiler support -rpath directly
4685 - hardcode_libdir_flag_spec='-rpath $libdir'
4686 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
4687 fi
4688 - hardcode_libdir_separator=:
4689 - ;;
4690 -
4691 - sco3.2v5*)
4692 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4693 - hardcode_shlibpath_var=no
4694 - runpath_var=LD_RUN_PATH
4695 - hardcode_runpath_var=yes
4696 - export_dynamic_flag_spec='${wl}-Bexport'
4697 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
4698 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4699 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
4700 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4701 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
4702 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4703 + else
4704 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4705 + fi
4706 ;;
4707
4708 - solaris*)
4709 - # gcc --version < 3.0 without binutils cannot create self contained
4710 - # shared libraries reliably, requiring libgcc.a to resolve some of
4711 - # the object symbols generated in some cases. Libraries that use
4712 - # assert need libgcc.a to resolve __eprintf, for example. Linking
4713 - # a copy of libgcc.a into every shared library to guarantee resolving
4714 - # such symbols causes other problems: According to Tim Van Holder
4715 - # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
4716 - # (to the application) exception stack for one thing.
4717 - no_undefined_flag=' -z defs'
4718 - if test "$GCC" = yes; then
4719 - case `$CC --version 2>/dev/null` in
4720 - [[12]].*)
4721 - cat <<EOF 1>&2
4722 -
4723 -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
4724 -*** create self contained shared libraries on Solaris systems, without
4725 -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
4726 -*** -no-undefined support, which will at least allow you to build shared
4727 -*** libraries. However, you may find that when you link such libraries
4728 -*** into an application without using GCC, you have to manually add
4729 -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
4730 -*** upgrade to a newer version of GCC. Another option is to rebuild your
4731 -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
4732 -
4733 -EOF
4734 - no_undefined_flag=
4735 + dgux*)
4736 + case $cc_basename in
4737 + ec++)
4738 + # FIXME: insert proper C++ library support
4739 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4740 + ;;
4741 + ghcx)
4742 + # Green Hills C++ Compiler
4743 + # FIXME: insert proper C++ library support
4744 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4745 + ;;
4746 + *)
4747 + # FIXME: insert proper C++ library support
4748 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4749 ;;
4750 - esac
4751 - fi
4752 - # $CC -shared without GNU ld will not create a library from C++
4753 - # object files and a static libstdc++, better avoid it by now
4754 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4755 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4756 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
4757 - hardcode_libdir_flag_spec='-R$libdir'
4758 - hardcode_shlibpath_var=no
4759 - case $host_os in
4760 - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
4761 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
4762 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
4763 esac
4764 - link_all_deplibs=yes
4765 ;;
4766 -
4767 - sunos4*)
4768 - if test "x$host_vendor" = xsequent; then
4769 - # Use $CC to link under sequent, because it throws in some extra .o
4770 - # files that make .init and .fini sections work.
4771 - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
4772 - else
4773 - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
4774 - fi
4775 - hardcode_libdir_flag_spec='-L$libdir'
4776 - hardcode_direct=yes
4777 - hardcode_minus_L=yes
4778 - hardcode_shlibpath_var=no
4779 + freebsd[12]*)
4780 + # C++ shared libraries reported to be fairly broken before switch to ELF
4781 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4782 + ;;
4783 + freebsd-elf*)
4784 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4785 + ;;
4786 + freebsd* | kfreebsd*-gnu)
4787 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
4788 + # conventions
4789 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
4790 + ;;
4791 + gnu*)
4792 + ;;
4793 + hpux9*)
4794 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4795 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4796 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4797 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4798 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4799 + # but as the default
4800 + # location of the library.
4801 +
4802 + case $cc_basename in
4803 + CC)
4804 + # FIXME: insert proper C++ library support
4805 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4806 + ;;
4807 + aCC)
4808 + _LT_AC_TAGVAR(archive_cmds, $1)='$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'
4809 + # Commands to make compiler produce verbose output that lists
4810 + # what "hidden" libraries, object files and flags are used when
4811 + # linking a shared library.
4812 + #
4813 + # There doesn't appear to be a way to prevent this compiler from
4814 + # explicitly linking system object files so we need to strip them
4815 + # from the output so that they don't get included in the library
4816 + # dependencies.
4817 + 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'
4818 + ;;
4819 + *)
4820 + if test "$GXX" = yes; then
4821 + _LT_AC_TAGVAR(archive_cmds, $1)='$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'
4822 + else
4823 + # FIXME: insert proper C++ library support
4824 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4825 + fi
4826 + ;;
4827 + esac
4828 ;;
4829 -
4830 - sysv4)
4831 - case $host_vendor in
4832 - sni)
4833 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4834 - hardcode_direct=yes # is this really true???
4835 + hpux10*|hpux11*)
4836 + if test $with_gnu_ld = no; then
4837 + case "$host_cpu" in
4838 + hppa*64*)
4839 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4840 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
4841 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4842 ;;
4843 - siemens)
4844 - ## LD is ld it makes a PLAMLIB
4845 - ## CC just makes a GrossModule.
4846 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
4847 - reload_cmds='$CC -r -o $output$reload_objs'
4848 - hardcode_direct=no
4849 + ia64*)
4850 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4851 ;;
4852 - motorola)
4853 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4854 - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
4855 + *)
4856 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4857 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4858 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4859 ;;
4860 + esac
4861 + fi
4862 + case "$host_cpu" in
4863 + hppa*64*)
4864 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4865 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4866 + ;;
4867 + ia64*)
4868 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4869 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4870 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4871 + # but as the default
4872 + # location of the library.
4873 + ;;
4874 + *)
4875 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4876 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4877 + # but as the default
4878 + # location of the library.
4879 + ;;
4880 esac
4881 - runpath_var='LD_RUN_PATH'
4882 - hardcode_shlibpath_var=no
4883 - ;;
4884
4885 - sysv4.3*)
4886 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4887 - hardcode_shlibpath_var=no
4888 - export_dynamic_flag_spec='-Bexport'
4889 - ;;
4890 -
4891 - sysv5*)
4892 - no_undefined_flag=' -z text'
4893 - # $CC -shared without GNU ld will not create a library from C++
4894 - # object files and a static libstdc++, better avoid it by now
4895 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4896 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4897 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
4898 - hardcode_libdir_flag_spec=
4899 - hardcode_shlibpath_var=no
4900 - runpath_var='LD_RUN_PATH'
4901 - ;;
4902 -
4903 - uts4*)
4904 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4905 - hardcode_libdir_flag_spec='-L$libdir'
4906 - hardcode_shlibpath_var=no
4907 + case $cc_basename in
4908 + CC)
4909 + # FIXME: insert proper C++ library support
4910 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4911 + ;;
4912 + aCC)
4913 + case "$host_cpu" in
4914 + hppa*64*|ia64*)
4915 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
4916 + ;;
4917 + *)
4918 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4919 + ;;
4920 + esac
4921 + # Commands to make compiler produce verbose output that lists
4922 + # what "hidden" libraries, object files and flags are used when
4923 + # linking a shared library.
4924 + #
4925 + # There doesn't appear to be a way to prevent this compiler from
4926 + # explicitly linking system object files so we need to strip them
4927 + # from the output so that they don't get included in the library
4928 + # dependencies.
4929 + 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'
4930 + ;;
4931 + *)
4932 + if test "$GXX" = yes; then
4933 + if test $with_gnu_ld = no; then
4934 + case "$host_cpu" in
4935 + ia64*|hppa*64*)
4936 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
4937 + ;;
4938 + *)
4939 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4940 + ;;
4941 + esac
4942 + fi
4943 + else
4944 + # FIXME: insert proper C++ library support
4945 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4946 + fi
4947 + ;;
4948 + esac
4949 ;;
4950 -
4951 - dgux*)
4952 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4953 - hardcode_libdir_flag_spec='-L$libdir'
4954 - hardcode_shlibpath_var=no
4955 + irix5* | irix6*)
4956 + case $cc_basename in
4957 + CC)
4958 + # SGI C++
4959 + _LT_AC_TAGVAR(archive_cmds, $1)='$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'
4960 +
4961 + # Archives containing C++ object files must be created using
4962 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
4963 + # necessary to make sure instantiated templates are included
4964 + # in the archive.
4965 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
4966 + ;;
4967 + *)
4968 + if test "$GXX" = yes; then
4969 + if test "$with_gnu_ld" = no; then
4970 + _LT_AC_TAGVAR(archive_cmds, $1)='$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'
4971 + else
4972 + _LT_AC_TAGVAR(archive_cmds, $1)='$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'
4973 + fi
4974 + fi
4975 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4976 + ;;
4977 + esac
4978 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4979 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4980 ;;
4981 -
4982 - sysv4*MP*)
4983 - if test -d /usr/nec; then
4984 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4985 - hardcode_shlibpath_var=no
4986 - runpath_var=LD_RUN_PATH
4987 - hardcode_runpath_var=yes
4988 - ld_shlibs=yes
4989 - fi
4990 + linux*)
4991 + case $cc_basename in
4992 + KCC)
4993 + # Kuck and Associates, Inc. (KAI) C++ Compiler
4994 +
4995 + # KCC will only create a shared library if the output file
4996 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
4997 + # to its proper name (with version) after linking.
4998 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
4999 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
5000 + # Commands to make compiler produce verbose output that lists
5001 + # what "hidden" libraries, object files and flags are used when
5002 + # linking a shared library.
5003 + #
5004 + # There doesn't appear to be a way to prevent this compiler from
5005 + # explicitly linking system object files so we need to strip them
5006 + # from the output so that they don't get included in the library
5007 + # dependencies.
5008 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
5009 +
5010 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
5011 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5012 +
5013 + # Archives containing C++ object files must be created using
5014 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
5015 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
5016 + ;;
5017 + icpc)
5018 + # Intel C++
5019 + with_gnu_ld=yes
5020 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5021 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5022 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5023 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5024 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5025 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
5026 + ;;
5027 + cxx)
5028 + # Compaq C++
5029 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5030 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
5031 +
5032 + runpath_var=LD_RUN_PATH
5033 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5034 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5035 +
5036 + # Commands to make compiler produce verbose output that lists
5037 + # what "hidden" libraries, object files and flags are used when
5038 + # linking a shared library.
5039 + #
5040 + # There doesn't appear to be a way to prevent this compiler from
5041 + # explicitly linking system object files so we need to strip them
5042 + # from the output so that they don't get included in the library
5043 + # dependencies.
5044 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
5045 + ;;
5046 + esac
5047 ;;
5048 -
5049 - sysv4.2uw2*)
5050 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5051 - hardcode_direct=yes
5052 - hardcode_minus_L=no
5053 - hardcode_shlibpath_var=no
5054 - hardcode_runpath_var=yes
5055 - runpath_var=LD_RUN_PATH
5056 + lynxos*)
5057 + # FIXME: insert proper C++ library support
5058 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5059 + ;;
5060 + m88k*)
5061 + # FIXME: insert proper C++ library support
5062 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5063 + ;;
5064 + mvs*)
5065 + case $cc_basename in
5066 + cxx)
5067 + # FIXME: insert proper C++ library support
5068 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5069 + ;;
5070 + *)
5071 + # FIXME: insert proper C++ library support
5072 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5073 + ;;
5074 + esac
5075 ;;
5076 -
5077 - sysv5uw7* | unixware7*)
5078 - no_undefined_flag='${wl}-z ${wl}text'
5079 - if test "$GCC" = yes; then
5080 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5081 - else
5082 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5083 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
5084 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5085 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
5086 + wlarc=
5087 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5088 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5089 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5090 fi
5091 - runpath_var='LD_RUN_PATH'
5092 - hardcode_shlibpath_var=no
5093 - ;;
5094 -
5095 - *)
5096 - ld_shlibs=no
5097 + # Workaround some broken pre-1.5 toolchains
5098 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
5099 ;;
5100 - esac
5101 -fi
5102 -AC_MSG_RESULT([$ld_shlibs])
5103 -test "$ld_shlibs" = no && can_build_shared=no
5104 -
5105 -# Check hardcoding attributes.
5106 -AC_MSG_CHECKING([how to hardcode library paths into programs])
5107 -hardcode_action=
5108 -if test -n "$hardcode_libdir_flag_spec" || \
5109 - test -n "$runpath_var"; then
5110 -
5111 - # We can hardcode non-existant directories.
5112 - if test "$hardcode_direct" != no &&
5113 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
5114 - # have to relink, otherwise we might link with an installed library
5115 - # when we should be linking with a yet-to-be-installed one
5116 - ## test "$hardcode_shlibpath_var" != no &&
5117 - test "$hardcode_minus_L" != no; then
5118 - # Linking always hardcodes the temporary library directory.
5119 - hardcode_action=relink
5120 - else
5121 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
5122 - hardcode_action=immediate
5123 - fi
5124 -else
5125 - # We cannot hardcode anything, or else we can only hardcode existing
5126 - # directories.
5127 - hardcode_action=unsupported
5128 -fi
5129 -AC_MSG_RESULT([$hardcode_action])
5130 -
5131 -striplib=
5132 -old_striplib=
5133 -AC_MSG_CHECKING([whether stripping libraries is possible])
5134 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
5135 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
5136 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
5137 - AC_MSG_RESULT([yes])
5138 -else
5139 - AC_MSG_RESULT([no])
5140 -fi
5141 -
5142 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
5143 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
5144 -
5145 -# PORTME Fill in your ld.so characteristics
5146 -AC_MSG_CHECKING([dynamic linker characteristics])
5147 -library_names_spec=
5148 -libname_spec='lib$name'
5149 -soname_spec=
5150 -postinstall_cmds=
5151 -postuninstall_cmds=
5152 -finish_cmds=
5153 -finish_eval=
5154 -shlibpath_var=
5155 -shlibpath_overrides_runpath=unknown
5156 -version_type=none
5157 -dynamic_linker="$host_os ld.so"
5158 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
5159 -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
5160 -
5161 -case $host_os in
5162 -aix3*)
5163 - version_type=linux
5164 - library_names_spec='${libname}${release}.so$versuffix $libname.a'
5165 - shlibpath_var=LIBPATH
5166 + osf3*)
5167 + case $cc_basename in
5168 + KCC)
5169 + # Kuck and Associates, Inc. (KAI) C++ Compiler
5170 +
5171 + # KCC will only create a shared library if the output file
5172 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
5173 + # to its proper name (with version) after linking.
5174 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
5175 +
5176 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5177 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5178 +
5179 + # Archives containing C++ object files must be created using
5180 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
5181 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
5182
5183 - # AIX has no versioning support, so we append a major version to the name.
5184 - soname_spec='${libname}${release}.so$major'
5185 - ;;
5186 + ;;
5187 + RCC)
5188 + # Rational C++ 2.4.1
5189 + # FIXME: insert proper C++ library support
5190 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5191 + ;;
5192 + cxx)
5193 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5194 + _LT_AC_TAGVAR(archive_cmds, $1)='$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'
5195 +
5196 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5197 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5198 +
5199 + # Commands to make compiler produce verbose output that lists
5200 + # what "hidden" libraries, object files and flags are used when
5201 + # linking a shared library.
5202 + #
5203 + # There doesn't appear to be a way to prevent this compiler from
5204 + # explicitly linking system object files so we need to strip them
5205 + # from the output so that they don't get included in the library
5206 + # dependencies.
5207 + 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'
5208 + ;;
5209 + *)
5210 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5211 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5212 + _LT_AC_TAGVAR(archive_cmds, $1)='$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'
5213 +
5214 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5215 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5216 +
5217 + # Commands to make compiler produce verbose output that lists
5218 + # what "hidden" libraries, object files and flags are used when
5219 + # linking a shared library.
5220 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
5221
5222 -aix4* | aix5*)
5223 - version_type=linux
5224 - need_lib_prefix=no
5225 - need_version=no
5226 - hardcode_into_libs=yes
5227 - if test "$host_cpu" = ia64; then
5228 - # AIX 5 supports IA64
5229 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
5230 - shlibpath_var=LD_LIBRARY_PATH
5231 - else
5232 - # With GCC up to 2.95.x, collect2 would create an import file
5233 - # for dependence libraries. The import file would start with
5234 - # the line `#! .'. This would cause the generated library to
5235 - # depend on `.', always an invalid library. This was fixed in
5236 - # development snapshots of GCC prior to 3.0.
5237 - case $host_os in
5238 - aix4 | aix4.[[01]] | aix4.[[01]].*)
5239 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
5240 - echo ' yes '
5241 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
5242 - :
5243 else
5244 - can_build_shared=no
5245 + # FIXME: insert proper C++ library support
5246 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5247 fi
5248 ;;
5249 esac
5250 - # AIX (on Power*) has no versioning support, so currently we can
5251 - # not hardcode correct soname into executable. Probably we can
5252 - # add versioning support to collect2, so additional links can
5253 - # be useful in future.
5254 - if test "$aix_use_runtimelinking" = yes; then
5255 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
5256 - # instead of lib<name>.a to let people know that these are not
5257 - # typical AIX shared libraries.
5258 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5259 - else
5260 - # We preserve .a as extension for shared libraries through AIX4.2
5261 - # and later when we are not doing run time linking.
5262 - library_names_spec='${libname}${release}.a $libname.a'
5263 - soname_spec='${libname}${release}.so$major'
5264 - fi
5265 - shlibpath_var=LIBPATH
5266 - fi
5267 - hardcode_into_libs=yes
5268 - ;;
5269 -
5270 -amigaos*)
5271 - library_names_spec='$libname.ixlibrary $libname.a'
5272 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
5273 - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
5274 - ;;
5275 -
5276 -beos*)
5277 - library_names_spec='${libname}.so'
5278 - dynamic_linker="$host_os ld.so"
5279 - shlibpath_var=LIBRARY_PATH
5280 - ;;
5281 -
5282 -bsdi4*)
5283 - version_type=linux
5284 - need_version=no
5285 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5286 - soname_spec='${libname}${release}.so$major'
5287 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
5288 - shlibpath_var=LD_LIBRARY_PATH
5289 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
5290 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
5291 - export_dynamic_flag_spec=-rdynamic
5292 - # the default ld.so.conf also contains /usr/contrib/lib and
5293 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
5294 - # libtool to hard-code these into programs
5295 - ;;
5296 -
5297 -cygwin* | mingw* | pw32*)
5298 - version_type=windows
5299 - need_version=no
5300 - need_lib_prefix=no
5301 - case $GCC,$host_os in
5302 - yes,cygwin*)
5303 - library_names_spec='$libname.dll.a'
5304 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
5305 - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
5306 - dldir=$destdir/`dirname \$dlpath`~
5307 - test -d \$dldir || mkdir -p \$dldir~
5308 - $install_prog .libs/$dlname \$dldir/$dlname'
5309 - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
5310 - dlpath=$dir/\$dldll~
5311 - $rm \$dlpath'
5312 - ;;
5313 - yes,mingw*)
5314 - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
5315 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
5316 - ;;
5317 - yes,pw32*)
5318 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
5319 ;;
5320 - *)
5321 - library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
5322 - ;;
5323 - esac
5324 - dynamic_linker='Win32 ld.exe'
5325 - # FIXME: first we should search . and the directory the executable is in
5326 - shlibpath_var=PATH
5327 - ;;
5328 -
5329 -darwin* | rhapsody*)
5330 - dynamic_linker="$host_os dyld"
5331 - version_type=darwin
5332 - need_lib_prefix=no
5333 - need_version=no
5334 - # FIXME: Relying on posixy $() will cause problems for
5335 - # cross-compilation, but unfortunately the echo tests do not
5336 - # yet detect zsh echo's removal of \ escapes.
5337 - library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
5338 - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
5339 - shlibpath_overrides_runpath=yes
5340 - shlibpath_var=DYLD_LIBRARY_PATH
5341 - ;;
5342 -
5343 -freebsd1*)
5344 - dynamic_linker=no
5345 - ;;
5346 -
5347 -freebsd*-gnu*)
5348 - version_type=linux
5349 - need_lib_prefix=no
5350 - need_version=no
5351 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5352 - soname_spec='${libname}${release}.so$major'
5353 - shlibpath_var=LD_LIBRARY_PATH
5354 - shlibpath_overrides_runpath=no
5355 - hardcode_into_libs=yes
5356 - dynamic_linker='GNU/FreeBSD ld.so'
5357 - ;;
5358 + osf4* | osf5*)
5359 + case $cc_basename in
5360 + KCC)
5361 + # Kuck and Associates, Inc. (KAI) C++ Compiler
5362 +
5363 + # KCC will only create a shared library if the output file
5364 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
5365 + # to its proper name (with version) after linking.
5366 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
5367 +
5368 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5369 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5370 +
5371 + # Archives containing C++ object files must be created using
5372 + # the KAI C++ compiler.
5373 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
5374 + ;;
5375 + RCC)
5376 + # Rational C++ 2.4.1
5377 + # FIXME: insert proper C++ library support
5378 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5379 + ;;
5380 + cxx)
5381 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5382 + _LT_AC_TAGVAR(archive_cmds, $1)='$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'
5383 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
5384 + echo "-hidden">> $lib.exp~
5385 + $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~
5386 + $rm $lib.exp'
5387 +
5388 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5389 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5390 +
5391 + # Commands to make compiler produce verbose output that lists
5392 + # what "hidden" libraries, object files and flags are used when
5393 + # linking a shared library.
5394 + #
5395 + # There doesn't appear to be a way to prevent this compiler from
5396 + # explicitly linking system object files so we need to strip them
5397 + # from the output so that they don't get included in the library
5398 + # dependencies.
5399 + 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'
5400 + ;;
5401 + *)
5402 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5403 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5404 + _LT_AC_TAGVAR(archive_cmds, $1)='$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'
5405 +
5406 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5407 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5408 +
5409 + # Commands to make compiler produce verbose output that lists
5410 + # what "hidden" libraries, object files and flags are used when
5411 + # linking a shared library.
5412 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
5413
5414 -freebsd*)
5415 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
5416 - version_type=freebsd-$objformat
5417 - case $version_type in
5418 - freebsd-elf*)
5419 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
5420 - need_version=no
5421 - need_lib_prefix=no
5422 - ;;
5423 - freebsd-*)
5424 - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
5425 - need_version=yes
5426 - ;;
5427 - esac
5428 - shlibpath_var=LD_LIBRARY_PATH
5429 - case $host_os in
5430 - freebsd2*)
5431 - shlibpath_overrides_runpath=yes
5432 + else
5433 + # FIXME: insert proper C++ library support
5434 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5435 + fi
5436 + ;;
5437 + esac
5438 ;;
5439 - *)
5440 - shlibpath_overrides_runpath=no
5441 - hardcode_into_libs=yes
5442 + psos*)
5443 + # FIXME: insert proper C++ library support
5444 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5445 + ;;
5446 + sco*)
5447 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5448 + case $cc_basename in
5449 + CC)
5450 + # FIXME: insert proper C++ library support
5451 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5452 + ;;
5453 + *)
5454 + # FIXME: insert proper C++ library support
5455 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5456 + ;;
5457 + esac
5458 ;;
5459 - esac
5460 - ;;
5461 + sunos4*)
5462 + case $cc_basename in
5463 + CC)
5464 + # Sun C++ 4.x
5465 + # FIXME: insert proper C++ library support
5466 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5467 + ;;
5468 + lcc)
5469 + # Lucid
5470 + # FIXME: insert proper C++ library support
5471 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5472 + ;;
5473 + *)
5474 + # FIXME: insert proper C++ library support
5475 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5476 + ;;
5477 + esac
5478 + ;;
5479 + solaris*)
5480 + case $cc_basename in
5481 + CC)
5482 + # Sun C++ 4.2, 5.x and Centerline C++
5483 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
5484 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5485 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5486 + $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'
5487 +
5488 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5489 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5490 + case $host_os in
5491 + solaris2.[0-5] | solaris2.[0-5].*) ;;
5492 + *)
5493 + # The C++ compiler is used as linker so we must use $wl
5494 + # flag to pass the commands to the underlying system
5495 + # linker.
5496 + # Supported since Solaris 2.6 (maybe 2.5.1?)
5497 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
5498 + ;;
5499 + esac
5500 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5501
5502 -gnu*)
5503 - version_type=linux
5504 - need_lib_prefix=no
5505 - need_version=no
5506 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
5507 - soname_spec='${libname}${release}.so$major'
5508 - shlibpath_var=LD_LIBRARY_PATH
5509 - hardcode_into_libs=yes
5510 - ;;
5511 + # Commands to make compiler produce verbose output that lists
5512 + # what "hidden" libraries, object files and flags are used when
5513 + # linking a shared library.
5514 + #
5515 + # There doesn't appear to be a way to prevent this compiler from
5516 + # explicitly linking system object files so we need to strip them
5517 + # from the output so that they don't get included in the library
5518 + # dependencies.
5519 + 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'
5520 +
5521 + # Archives containing C++ object files must be created using
5522 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
5523 + # necessary to make sure instantiated templates are included
5524 + # in the archive.
5525 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
5526 + ;;
5527 + gcx)
5528 + # Green Hills C++ Compiler
5529 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5530
5531 -hpux9* | hpux10* | hpux11*)
5532 - # Give a soname corresponding to the major version so that dld.sl refuses to
5533 - # link against other versions.
5534 - dynamic_linker="$host_os dld.sl"
5535 - version_type=sunos
5536 - need_lib_prefix=no
5537 - need_version=no
5538 - shlibpath_var=SHLIB_PATH
5539 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
5540 - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
5541 - soname_spec='${libname}${release}.sl$major'
5542 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
5543 - postinstall_cmds='chmod 555 $lib'
5544 - ;;
5545 + # The C++ compiler must be used to create the archive.
5546 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
5547 + ;;
5548 + *)
5549 + # GNU C++ compiler with Solaris linker
5550 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5551 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
5552 + if $CC --version | grep -v '^2\.7' > /dev/null; then
5553 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5554 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5555 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
5556 +
5557 + # Commands to make compiler produce verbose output that lists
5558 + # what "hidden" libraries, object files and flags are used when
5559 + # linking a shared library.
5560 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
5561 + else
5562 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
5563 + # platform.
5564 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5565 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5566 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
5567 +
5568 + # Commands to make compiler produce verbose output that lists
5569 + # what "hidden" libraries, object files and flags are used when
5570 + # linking a shared library.
5571 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
5572 + fi
5573
5574 -irix5* | irix6* | nonstopux*)
5575 - case $host_os in
5576 - nonstopux*) version_type=nonstopux ;;
5577 - *) version_type=irix ;;
5578 - esac
5579 - need_lib_prefix=no
5580 - need_version=no
5581 - soname_spec='${libname}${release}.so$major'
5582 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
5583 - case $host_os in
5584 - irix5* | nonstopux*)
5585 - libsuff= shlibsuff=
5586 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
5587 + fi
5588 + ;;
5589 + esac
5590 ;;
5591 - *)
5592 - case $LD in # libtool.m4 will add one of these switches to LD
5593 - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
5594 - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
5595 - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
5596 - *) libsuff= shlibsuff= libmagic=never-match;;
5597 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
5598 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5599 + ;;
5600 + tandem*)
5601 + case $cc_basename in
5602 + NCC)
5603 + # NonStop-UX NCC 3.20
5604 + # FIXME: insert proper C++ library support
5605 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5606 + ;;
5607 + *)
5608 + # FIXME: insert proper C++ library support
5609 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5610 + ;;
5611 esac
5612 ;;
5613 - esac
5614 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
5615 - shlibpath_overrides_runpath=no
5616 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
5617 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
5618 - ;;
5619 -
5620 -# No shared lib support for Linux oldld, aout, or coff.
5621 -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
5622 - dynamic_linker=no
5623 - ;;
5624 + vxworks*)
5625 + # FIXME: insert proper C++ library support
5626 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5627 + ;;
5628 + *)
5629 + # FIXME: insert proper C++ library support
5630 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5631 + ;;
5632 +esac
5633 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
5634 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
5635
5636 -# This must be Linux ELF.
5637 -linux-gnu*)
5638 - version_type=linux
5639 - need_lib_prefix=no
5640 - need_version=no
5641 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5642 - soname_spec='${libname}${release}.so$major'
5643 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
5644 - shlibpath_var=LD_LIBRARY_PATH
5645 - shlibpath_overrides_runpath=no
5646 - # This implies no fast_install, which is unacceptable.
5647 - # Some rework will be needed to allow for fast_install
5648 - # before this can be enabled.
5649 - hardcode_into_libs=yes
5650 +_LT_AC_TAGVAR(GCC, $1)="$GXX"
5651 +_LT_AC_TAGVAR(LD, $1)="$LD"
5652
5653 - # We used to test for /lib/ld.so.1 and disable shared libraries on
5654 - # powerpc, because MkLinux only supported shared libraries with the
5655 - # GNU dynamic linker. Since this was broken with cross compilers,
5656 - # most powerpc-linux boxes support dynamic linking these days and
5657 - # people can always --disable-shared, the test was removed, and we
5658 - # assume the GNU/Linux dynamic linker is in use.
5659 - dynamic_linker='GNU/Linux ld.so'
5660 - ;;
5661 +AC_LIBTOOL_POSTDEP_PREDEP($1)
5662 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
5663 +AC_LIBTOOL_PROG_CC_C_O($1)
5664 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
5665 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
5666 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
5667 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
5668 +AC_LIBTOOL_SYS_LIB_STRIP
5669 +AC_LIBTOOL_DLOPEN_SELF($1)
5670 +
5671 +AC_LIBTOOL_CONFIG($1)
5672 +
5673 +AC_LANG_POP
5674 +CC=$lt_save_CC
5675 +LDCXX=$LD
5676 +LD=$lt_save_LD
5677 +GCC=$lt_save_GCC
5678 +with_gnu_ldcxx=$with_gnu_ld
5679 +with_gnu_ld=$lt_save_with_gnu_ld
5680 +lt_cv_path_LDCXX=$lt_cv_path_LD
5681 +lt_cv_path_LD=$lt_save_path_LD
5682 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
5683 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
5684 +])# AC_LIBTOOL_LANG_CXX_CONFIG
5685
5686 -netbsd*)
5687 - version_type=sunos
5688 - need_lib_prefix=no
5689 - need_version=no
5690 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5691 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
5692 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5693 - dynamic_linker='NetBSD (a.out) ld.so'
5694 - else
5695 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
5696 - soname_spec='${libname}${release}.so$major'
5697 - dynamic_linker='NetBSD ld.elf_so'
5698 - fi
5699 - shlibpath_var=LD_LIBRARY_PATH
5700 - shlibpath_overrides_runpath=yes
5701 - hardcode_into_libs=yes
5702 - ;;
5703 +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
5704 +# ------------------------
5705 +# Figure out "hidden" library dependencies from verbose
5706 +# compiler output when linking a shared library.
5707 +# Parse the compiler output and extract the necessary
5708 +# objects, libraries and library flags.
5709 +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
5710 +dnl we can't use the lt_simple_compile_test_code here,
5711 +dnl because it contains code intended for an executable,
5712 +dnl not a library. It's possible we should let each
5713 +dnl tag define a new lt_????_link_test_code variable,
5714 +dnl but it's only used here...
5715 +ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
5716 +int a;
5717 +void foo (void) { a = 0; }
5718 +EOF
5719 +],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
5720 +class Foo
5721 +{
5722 +public:
5723 + Foo (void) { a = 0; }
5724 +private:
5725 + int a;
5726 +};
5727 +EOF
5728 +],[$1],[F77],[cat > conftest.$ac_ext <<EOF
5729 + subroutine foo
5730 + implicit none
5731 + integer*4 a
5732 + a=0
5733 + return
5734 + end
5735 +EOF
5736 +],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
5737 +public class foo {
5738 + private int a;
5739 + public void bar (void) {
5740 + a = 0;
5741 + }
5742 +};
5743 +EOF
5744 +])
5745 +dnl Parse the compiler output and extract the necessary
5746 +dnl objects, libraries and library flags.
5747 +if AC_TRY_EVAL(ac_compile); then
5748 + # Parse the compiler output and extract the necessary
5749 + # objects, libraries and library flags.
5750 +
5751 + # Sentinel used to keep track of whether or not we are before
5752 + # the conftest object file.
5753 + pre_test_object_deps_done=no
5754 +
5755 + # The `*' in the case matches for architectures that use `case' in
5756 + # $output_verbose_cmd can trigger glob expansion during the loop
5757 + # eval without this substitution.
5758 + output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
5759 +
5760 + for p in `eval $output_verbose_link_cmd`; do
5761 + case $p in
5762 +
5763 + -L* | -R* | -l*)
5764 + # Some compilers place space between "-{L,R}" and the path.
5765 + # Remove the space.
5766 + if test $p = "-L" \
5767 + || test $p = "-R"; then
5768 + prev=$p
5769 + continue
5770 + else
5771 + prev=
5772 + fi
5773 +
5774 + if test "$pre_test_object_deps_done" = no; then
5775 + case $p in
5776 + -L* | -R*)
5777 + # Internal compiler library paths should come after those
5778 + # provided the user. The postdeps already come after the
5779 + # user supplied libs so there is no need to process them.
5780 + if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
5781 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
5782 + else
5783 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
5784 + fi
5785 + ;;
5786 + # The "-l" case would never come before the object being
5787 + # linked, so don't bother handling this case.
5788 + esac
5789 + else
5790 + if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
5791 + _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
5792 + else
5793 + _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
5794 + fi
5795 + fi
5796 + ;;
5797 +
5798 + *.$objext)
5799 + # This assumes that the test object file only shows up
5800 + # once in the compiler output.
5801 + if test "$p" = "conftest.$objext"; then
5802 + pre_test_object_deps_done=yes
5803 + continue
5804 + fi
5805 +
5806 + if test "$pre_test_object_deps_done" = no; then
5807 + if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
5808 + _LT_AC_TAGVAR(predep_objects, $1)="$p"
5809 + else
5810 + _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
5811 + fi
5812 + else
5813 + if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
5814 + _LT_AC_TAGVAR(postdep_objects, $1)="$p"
5815 + else
5816 + _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
5817 + fi
5818 + fi
5819 + ;;
5820
5821 -newsos6)
5822 - version_type=linux
5823 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5824 - shlibpath_var=LD_LIBRARY_PATH
5825 - shlibpath_overrides_runpath=yes
5826 - ;;
5827 + *) ;; # Ignore the rest.
5828
5829 -openbsd*)
5830 - version_type=sunos
5831 - need_lib_prefix=no
5832 - need_version=no
5833 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5834 - case "$host_os" in
5835 - openbsd2.[[89]] | openbsd2.[[89]].*)
5836 - shlibpath_overrides_runpath=no
5837 - ;;
5838 - *)
5839 - shlibpath_overrides_runpath=yes
5840 - ;;
5841 esac
5842 - else
5843 - shlibpath_overrides_runpath=yes
5844 - fi
5845 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
5846 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5847 - shlibpath_var=LD_LIBRARY_PATH
5848 - ;;
5849 -
5850 -os2*)
5851 - libname_spec='$name'
5852 - need_lib_prefix=no
5853 - library_names_spec='$libname.dll $libname.a'
5854 - dynamic_linker='OS/2 ld.exe'
5855 - shlibpath_var=LIBPATH
5856 - ;;
5857 -
5858 -osf3* | osf4* | osf5*)
5859 - version_type=osf
5860 - need_version=no
5861 - need_lib_prefix=no
5862 - soname_spec='${libname}${release}.so$major'
5863 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5864 - shlibpath_var=LD_LIBRARY_PATH
5865 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5866 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
5867 - hardcode_into_libs=yes
5868 - ;;
5869 + done
5870
5871 -sco3.2v5*)
5872 - version_type=osf
5873 - soname_spec='${libname}${release}.so$major'
5874 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5875 - shlibpath_var=LD_LIBRARY_PATH
5876 - ;;
5877 + # Clean up.
5878 + rm -f a.out a.exe
5879 +else
5880 + echo "libtool.m4: error: problem compiling $1 test program"
5881 +fi
5882
5883 -solaris*)
5884 - version_type=linux
5885 - need_lib_prefix=no
5886 - need_version=no
5887 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5888 - soname_spec='${libname}${release}.so$major'
5889 - shlibpath_var=LD_LIBRARY_PATH
5890 - shlibpath_overrides_runpath=yes
5891 - hardcode_into_libs=yes
5892 - # ldd complains unless libraries are executable
5893 - postinstall_cmds='chmod +x $lib'
5894 - ;;
5895 +$rm -f confest.$objext
5896
5897 -sunos4*)
5898 - version_type=sunos
5899 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
5900 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5901 - shlibpath_var=LD_LIBRARY_PATH
5902 - shlibpath_overrides_runpath=yes
5903 - if test "$with_gnu_ld" = yes; then
5904 - need_lib_prefix=no
5905 - fi
5906 - need_version=yes
5907 - ;;
5908 +case " $_LT_AC_TAGVAR(postdeps, $1) " in
5909 +*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
5910 +esac
5911 +])# AC_LIBTOOL_POSTDEP_PREDEP
5912
5913 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5914 - version_type=linux
5915 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5916 - soname_spec='${libname}${release}.so$major'
5917 - shlibpath_var=LD_LIBRARY_PATH
5918 - case $host_vendor in
5919 - sni)
5920 - shlibpath_overrides_runpath=no
5921 - need_lib_prefix=no
5922 - export_dynamic_flag_spec='${wl}-Blargedynsym'
5923 - runpath_var=LD_RUN_PATH
5924 - ;;
5925 - siemens)
5926 - need_lib_prefix=no
5927 - ;;
5928 - motorola)
5929 - need_lib_prefix=no
5930 - need_version=no
5931 - shlibpath_overrides_runpath=no
5932 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
5933 - ;;
5934 - esac
5935 - ;;
5936 +# AC_LIBTOOL_LANG_F77_CONFIG
5937 +# ------------------------
5938 +# Ensure that the configuration vars for the C compiler are
5939 +# suitably defined. Those variables are subsequently used by
5940 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
5941 +AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
5942 +AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
5943 +[AC_REQUIRE([AC_PROG_F77])
5944 +AC_LANG_PUSH(Fortran 77)
5945 +
5946 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5947 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
5948 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
5949 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
5950 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5951 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
5952 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5953 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5954 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5955 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
5956 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
5957 +_LT_AC_TAGVAR(module_cmds, $1)=
5958 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
5959 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
5960 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
5961 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
5962 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5963 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
5964 +
5965 +# Source file extension for f77 test sources.
5966 +ac_ext=f
5967 +
5968 +# Object file extension for compiled f77 test sources.
5969 +objext=o
5970 +_LT_AC_TAGVAR(objext, $1)=$objext
5971
5972 -uts4*)
5973 - version_type=linux
5974 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5975 - soname_spec='${libname}${release}.so$major'
5976 - shlibpath_var=LD_LIBRARY_PATH
5977 - ;;
5978 +# Code to be used in simple compile tests
5979 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
5980
5981 -dgux*)
5982 - version_type=linux
5983 - need_lib_prefix=no
5984 - need_version=no
5985 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5986 - soname_spec='${libname}${release}.so$major'
5987 - shlibpath_var=LD_LIBRARY_PATH
5988 - ;;
5989 +# Code to be used in simple link tests
5990 +lt_simple_link_test_code=" program t\n end\n"
5991
5992 -sysv4*MP*)
5993 - if test -d /usr/nec ;then
5994 - version_type=linux
5995 - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
5996 - soname_spec='$libname.so.$major'
5997 - shlibpath_var=LD_LIBRARY_PATH
5998 - fi
5999 - ;;
6000 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6001 +_LT_AC_SYS_COMPILER
6002
6003 -*)
6004 - dynamic_linker=no
6005 - ;;
6006 -esac
6007 -AC_MSG_RESULT([$dynamic_linker])
6008 -test "$dynamic_linker" = no && can_build_shared=no
6009 +# Allow CC to be a program name with arguments.
6010 +lt_save_CC="$CC"
6011 +CC=${F77-"f77"}
6012 +compiler=$CC
6013 +_LT_AC_TAGVAR(compiler, $1)=$CC
6014 +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
6015
6016 -# Report the final consequences.
6017 AC_MSG_CHECKING([if libtool supports shared libraries])
6018 AC_MSG_RESULT([$can_build_shared])
6019
6020 @@ -2481,125 +4662,206 @@
6021 postinstall_cmds='$RANLIB $lib'
6022 fi
6023 ;;
6024 +aix4* | aix5*)
6025 + test "$enable_shared" = yes && enable_static=no
6026 + ;;
6027 +esac
6028 +AC_MSG_RESULT([$enable_shared])
6029 +
6030 +AC_MSG_CHECKING([whether to build static libraries])
6031 +# Make sure either enable_shared or enable_static is yes.
6032 +test "$enable_shared" = yes || enable_static=yes
6033 +AC_MSG_RESULT([$enable_static])
6034 +
6035 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
6036 +
6037 +_LT_AC_TAGVAR(GCC, $1)="$G77"
6038 +_LT_AC_TAGVAR(LD, $1)="$LD"
6039 +
6040 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
6041 +AC_LIBTOOL_PROG_CC_C_O($1)
6042 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
6043 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
6044 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
6045 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
6046 +AC_LIBTOOL_SYS_LIB_STRIP
6047 +
6048 +
6049 +AC_LIBTOOL_CONFIG($1)
6050 +
6051 +AC_LANG_POP
6052 +CC="$lt_save_CC"
6053 +])# AC_LIBTOOL_LANG_F77_CONFIG
6054 +
6055 +
6056 +# AC_LIBTOOL_LANG_GCJ_CONFIG
6057 +# --------------------------
6058 +# Ensure that the configuration vars for the C compiler are
6059 +# suitably defined. Those variables are subsequently used by
6060 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
6061 +AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
6062 +AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
6063 +[AC_LANG_SAVE
6064 +
6065 +# Source file extension for Java test sources.
6066 +ac_ext=java
6067 +
6068 +# Object file extension for compiled Java test sources.
6069 +objext=o
6070 +_LT_AC_TAGVAR(objext, $1)=$objext
6071 +
6072 +# Code to be used in simple compile tests
6073 +lt_simple_compile_test_code="class foo {}\n"
6074 +
6075 +# Code to be used in simple link tests
6076 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
6077 +
6078 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6079 +_LT_AC_SYS_COMPILER
6080 +
6081 +# Allow CC to be a program name with arguments.
6082 +lt_save_CC="$CC"
6083 +CC=${GCJ-"gcj"}
6084 +compiler=$CC
6085 +_LT_AC_TAGVAR(compiler, $1)=$CC
6086 +
6087 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
6088 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6089 +
6090 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
6091 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
6092 +AC_LIBTOOL_PROG_CC_C_O($1)
6093 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
6094 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
6095 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
6096 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
6097 +AC_LIBTOOL_SYS_LIB_STRIP
6098 +AC_LIBTOOL_DLOPEN_SELF($1)
6099 +
6100 +AC_LIBTOOL_CONFIG($1)
6101 +
6102 +AC_LANG_RESTORE
6103 +CC="$lt_save_CC"
6104 +])# AC_LIBTOOL_LANG_GCJ_CONFIG
6105 +
6106 +
6107 +# AC_LIBTOOL_LANG_RC_CONFIG
6108 +# --------------------------
6109 +# Ensure that the configuration vars for the Windows resource compiler are
6110 +# suitably defined. Those variables are subsequently used by
6111 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
6112 +AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
6113 +AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
6114 +[AC_LANG_SAVE
6115 +
6116 +# Source file extension for RC test sources.
6117 +ac_ext=rc
6118 +
6119 +# Object file extension for compiled RC test sources.
6120 +objext=o
6121 +_LT_AC_TAGVAR(objext, $1)=$objext
6122
6123 -aix4*)
6124 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6125 - test "$enable_shared" = yes && enable_static=no
6126 - fi
6127 - ;;
6128 -esac
6129 -AC_MSG_RESULT([$enable_shared])
6130 +# Code to be used in simple compile tests
6131 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
6132
6133 -AC_MSG_CHECKING([whether to build static libraries])
6134 -# Make sure either enable_shared or enable_static is yes.
6135 -test "$enable_shared" = yes || enable_static=yes
6136 -AC_MSG_RESULT([$enable_static])
6137 +# Code to be used in simple link tests
6138 +lt_simple_link_test_code="$lt_simple_compile_test_code"
6139
6140 -if test "$hardcode_action" = relink; then
6141 - # Fast installation is not supported
6142 - enable_fast_install=no
6143 -elif test "$shlibpath_overrides_runpath" = yes ||
6144 - test "$enable_shared" = no; then
6145 - # Fast installation is not necessary
6146 - enable_fast_install=needless
6147 -fi
6148 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6149 +_LT_AC_SYS_COMPILER
6150
6151 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6152 -if test "$GCC" = yes; then
6153 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6154 -fi
6155 +# Allow CC to be a program name with arguments.
6156 +lt_save_CC="$CC"
6157 +CC=${RC-"windres"}
6158 +compiler=$CC
6159 +_LT_AC_TAGVAR(compiler, $1)=$CC
6160 +_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
6161
6162 -AC_LIBTOOL_DLOPEN_SELF
6163 +AC_LIBTOOL_CONFIG($1)
6164 +
6165 +AC_LANG_RESTORE
6166 +CC="$lt_save_CC"
6167 +])# AC_LIBTOOL_LANG_RC_CONFIG
6168
6169 -if test "$enable_shared" = yes && test "$GCC" = yes; then
6170 - case $archive_cmds in
6171 - *'~'*)
6172 - # FIXME: we may have to deal with multi-command sequences.
6173 - ;;
6174 - '$CC '*)
6175 - # Test whether the compiler implicitly links with -lc since on some
6176 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
6177 - # to ld, don't add -lc before -lgcc.
6178 - AC_MSG_CHECKING([whether -lc should be explicitly linked in])
6179 - AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
6180 - [$rm conftest*
6181 - echo 'static int dummy;' > conftest.$ac_ext
6182 -
6183 - if AC_TRY_EVAL(ac_compile); then
6184 - soname=conftest
6185 - lib=conftest
6186 - libobjs=conftest.$ac_objext
6187 - deplibs=
6188 - wl=$lt_cv_prog_cc_wl
6189 - compiler_flags=-v
6190 - linker_flags=-v
6191 - verstring=
6192 - output_objdir=.
6193 - libname=conftest
6194 - save_allow_undefined_flag=$allow_undefined_flag
6195 - allow_undefined_flag=
6196 - if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
6197 - then
6198 - lt_cv_archive_cmds_need_lc=no
6199 - else
6200 - lt_cv_archive_cmds_need_lc=yes
6201 - fi
6202 - allow_undefined_flag=$save_allow_undefined_flag
6203 - else
6204 - cat conftest.err 1>&5
6205 - fi])
6206 - AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
6207 - ;;
6208 - esac
6209 -fi
6210 -need_lc=${lt_cv_archive_cmds_need_lc-yes}
6211
6212 -# The second clause should only fire when bootstrapping the
6213 +# AC_LIBTOOL_CONFIG([TAGNAME])
6214 +# ----------------------------
6215 +# If TAGNAME is not passed, then create an initial libtool script
6216 +# with a default configuration from the untagged config vars. Otherwise
6217 +# add code to config.status for appending the configuration named by
6218 +# TAGNAME from the matching tagged config vars.
6219 +AC_DEFUN([AC_LIBTOOL_CONFIG],
6220 +[# The else clause should only fire when bootstrapping the
6221 # libtool distribution, otherwise you forgot to ship ltmain.sh
6222 # with your package, and you will get complaints that there are
6223 # no rules to generate ltmain.sh.
6224 if test -f "$ltmain"; then
6225 - :
6226 -else
6227 - # If there is no Makefile yet, we rely on a make rule to execute
6228 - # `config.status --recheck' to rerun these tests and create the
6229 - # libtool script then.
6230 - test -f Makefile && make "$ltmain"
6231 -fi
6232 -
6233 -if test -f "$ltmain"; then
6234 - trap "$rm \"${ofile}T\"; exit 1" 1 2 15
6235 - $rm -f "${ofile}T"
6236 -
6237 - echo creating $ofile
6238 -
6239 + # See if we are running on zsh, and set the options which allow our commands through
6240 + # without removal of \ escapes.
6241 + if test -n "${ZSH_VERSION+set}" ; then
6242 + setopt NO_GLOB_SUBST
6243 + fi
6244 # Now quote all the things that may contain metacharacters while being
6245 # careful not to overquote the AC_SUBSTed values. We take copies of the
6246 # variables and quote the copies for generation of the libtool script.
6247 - for var in echo old_CC old_CFLAGS SED \
6248 - AR AR_FLAGS CC LD LN_S NM SHELL \
6249 - reload_flag reload_cmds wl \
6250 - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
6251 - thread_safe_flag_spec whole_archive_flag_spec libname_spec \
6252 - library_names_spec soname_spec \
6253 - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
6254 - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
6255 - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
6256 - old_striplib striplib file_magic_cmd export_symbols_cmds \
6257 - deplibs_check_method allow_undefined_flag no_undefined_flag \
6258 - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
6259 - global_symbol_to_c_name_address \
6260 - hardcode_libdir_flag_spec hardcode_libdir_separator \
6261 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
6262 + SED SHELL STRIP \
6263 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
6264 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
6265 + deplibs_check_method reload_flag reload_cmds need_locks \
6266 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
6267 + lt_cv_sys_global_symbol_to_c_name_address \
6268 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
6269 - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
6270 + old_postinstall_cmds old_postuninstall_cmds \
6271 + _LT_AC_TAGVAR(compiler, $1) \
6272 + _LT_AC_TAGVAR(CC, $1) \
6273 + _LT_AC_TAGVAR(LD, $1) \
6274 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
6275 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
6276 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
6277 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
6278 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
6279 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
6280 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
6281 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
6282 + _LT_AC_TAGVAR(old_archive_cmds, $1) \
6283 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
6284 + _LT_AC_TAGVAR(predep_objects, $1) \
6285 + _LT_AC_TAGVAR(postdep_objects, $1) \
6286 + _LT_AC_TAGVAR(predeps, $1) \
6287 + _LT_AC_TAGVAR(postdeps, $1) \
6288 + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
6289 + _LT_AC_TAGVAR(archive_cmds, $1) \
6290 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
6291 + _LT_AC_TAGVAR(postinstall_cmds, $1) \
6292 + _LT_AC_TAGVAR(postuninstall_cmds, $1) \
6293 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
6294 + _LT_AC_TAGVAR(allow_undefined_flag, $1) \
6295 + _LT_AC_TAGVAR(no_undefined_flag, $1) \
6296 + _LT_AC_TAGVAR(export_symbols_cmds, $1) \
6297 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
6298 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
6299 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
6300 + _LT_AC_TAGVAR(hardcode_automatic, $1) \
6301 + _LT_AC_TAGVAR(module_cmds, $1) \
6302 + _LT_AC_TAGVAR(module_expsym_cmds, $1) \
6303 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
6304 + _LT_AC_TAGVAR(exclude_expsyms, $1) \
6305 + _LT_AC_TAGVAR(include_expsyms, $1); do
6306
6307 case $var in
6308 - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
6309 - old_postinstall_cmds | old_postuninstall_cmds | \
6310 - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
6311 - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
6312 + _LT_AC_TAGVAR(old_archive_cmds, $1) | \
6313 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
6314 + _LT_AC_TAGVAR(archive_cmds, $1) | \
6315 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
6316 + _LT_AC_TAGVAR(module_cmds, $1) | \
6317 + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
6318 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
6319 + _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
6320 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
6321 postinstall_cmds | postuninstall_cmds | \
6322 - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6323 + old_postinstall_cmds | old_postuninstall_cmds | \
6324 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6325 # Double-quote double-evaled strings.
6326 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
6327 ;;
6328 @@ -2609,14 +4871,31 @@
6329 esac
6330 done
6331
6332 - cat <<__EOF__ > "${ofile}T"
6333 -#! $SHELL
6334 + case $lt_echo in
6335 + *'\[$]0 --fallback-echo"')
6336 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
6337 + ;;
6338 + esac
6339
6340 -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
6341 +ifelse([$1], [],
6342 + [cfgfile="${ofile}T"
6343 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
6344 + $rm -f "$cfgfile"
6345 + AC_MSG_NOTICE([creating $ofile])],
6346 + [cfgfile="$ofile"])
6347 +
6348 + cat <<__EOF__ >> "$cfgfile"
6349 +ifelse([$1], [],
6350 +[#! $SHELL
6351 +
6352 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
6353 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
6354 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
6355 #
6356 -# Copyright (C) 1996-2000 Free Software Foundation, Inc.
6357 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
6358 +# Free Software Foundation, Inc.
6359 +#
6360 +# This file is part of GNU Libtool:
6361 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
6362 #
6363 # This program is free software; you can redistribute it and/or modify
6364 @@ -2638,17 +4917,21 @@
6365 # configuration script generated by Autoconf, you may include it under
6366 # the same distribution terms that you use for the rest of that program.
6367
6368 -# A sed that does not truncate output.
6369 +# A sed program that does not truncate output.
6370 SED=$lt_SED
6371
6372 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
6373 -Xsed="${SED} -e s/^X//"
6374 +Xsed="$SED -e s/^X//"
6375
6376 # The HP-UX ksh and POSIX shell print the target directory to stdout
6377 # if CDPATH is set.
6378 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
6379
6380 -# ### BEGIN LIBTOOL CONFIG
6381 +# The names of the tagged configurations supported by this script.
6382 +available_tags=
6383 +
6384 +# ### BEGIN LIBTOOL CONFIG],
6385 +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
6386
6387 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6388
6389 @@ -2662,7 +4945,10 @@
6390 build_old_libs=$enable_static
6391
6392 # Whether or not to add -lc for building shared libraries.
6393 -build_libtool_need_lc=$need_lc
6394 +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
6395 +
6396 +# Whether or not to disallow shared libs when runtime libs are static
6397 +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
6398
6399 # Whether or not to optimize for fast installation.
6400 fast_install=$enable_fast_install
6401 @@ -2678,14 +4964,20 @@
6402 AR=$lt_AR
6403 AR_FLAGS=$lt_AR_FLAGS
6404
6405 -# The default C compiler.
6406 -CC=$lt_CC
6407 +# A C compiler.
6408 +LTCC=$lt_LTCC
6409 +
6410 +# A language-specific compiler.
6411 +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
6412
6413 # Is the compiler the GNU C compiler?
6414 -with_gcc=$GCC
6415 +with_gcc=$_LT_AC_TAGVAR(GCC, $1)
6416 +
6417 +# An ERE matcher.
6418 +EGREP=$lt_EGREP
6419
6420 # The linker used to build libraries.
6421 -LD=$lt_LD
6422 +LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
6423
6424 # Whether we need hard or soft links.
6425 LN_S=$lt_LN_S
6426 @@ -2694,7 +4986,7 @@
6427 NM=$lt_NM
6428
6429 # A symbol stripping program
6430 -STRIP=$STRIP
6431 +STRIP=$lt_STRIP
6432
6433 # Used to examine libraries when file_magic_cmd begins "file"
6434 MAGIC_CMD=$MAGIC_CMD
6435 @@ -2716,7 +5008,7 @@
6436 reload_cmds=$lt_reload_cmds
6437
6438 # How to pass a linker flag through the compiler.
6439 -wl=$lt_wl
6440 +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
6441
6442 # Object file suffix (normally "o").
6443 objext="$ac_objext"
6444 @@ -2724,18 +5016,21 @@
6445 # Old archive suffix (normally "a").
6446 libext="$libext"
6447
6448 +# Shared library suffix (normally ".so").
6449 +shrext_cmds='$shrext_cmds'
6450 +
6451 # Executable file suffix (normally "").
6452 exeext="$exeext"
6453
6454 # Additional compiler flags for building library objects.
6455 -pic_flag=$lt_pic_flag
6456 +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
6457 pic_mode=$pic_mode
6458
6459 -# Does compiler simultaneously support -c and -o options?
6460 -compiler_c_o=$lt_compiler_c_o
6461 +# What is the maximum length of a command?
6462 +max_cmd_len=$lt_cv_sys_max_cmd_len
6463
6464 -# Can we write directly to a .lo ?
6465 -compiler_o_lo=$lt_compiler_o_lo
6466 +# Does compiler simultaneously support -c and -o options?
6467 +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
6468
6469 # Must we lock files when doing compilation ?
6470 need_locks=$lt_need_locks
6471 @@ -2756,946 +5051,1770 @@
6472 dlopen_self_static=$enable_dlopen_self_static
6473
6474 # Compiler flag to prevent dynamic linking.
6475 -link_static_flag=$lt_link_static_flag
6476 +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
6477
6478 # Compiler flag to turn off builtin functions.
6479 -no_builtin_flag=$lt_no_builtin_flag
6480 +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
6481
6482 # Compiler flag to allow reflexive dlopens.
6483 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
6484 +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
6485
6486 # Compiler flag to generate shared objects directly from archives.
6487 -whole_archive_flag_spec=$lt_whole_archive_flag_spec
6488 +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
6489
6490 # Compiler flag to generate thread-safe objects.
6491 -thread_safe_flag_spec=$lt_thread_safe_flag_spec
6492 +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
6493 +
6494 +# Library versioning type.
6495 +version_type=$version_type
6496 +
6497 +# Format of library name prefix.
6498 +libname_spec=$lt_libname_spec
6499 +
6500 +# List of archive names. First name is the real one, the rest are links.
6501 +# The last name is the one that the linker finds with -lNAME.
6502 +library_names_spec=$lt_library_names_spec
6503 +
6504 +# The coded name of the library, if different from the real name.
6505 +soname_spec=$lt_soname_spec
6506 +
6507 +# Commands used to build and install an old-style archive.
6508 +RANLIB=$lt_RANLIB
6509 +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
6510 +old_postinstall_cmds=$lt_old_postinstall_cmds
6511 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
6512 +
6513 +# Create an old-style archive from a shared archive.
6514 +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
6515 +
6516 +# Create a temporary old-style archive to link instead of a shared archive.
6517 +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
6518 +
6519 +# Commands used to build and install a shared archive.
6520 +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
6521 +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
6522 +postinstall_cmds=$lt_postinstall_cmds
6523 +postuninstall_cmds=$lt_postuninstall_cmds
6524 +
6525 +# Commands used to build a loadable module (assumed same as above if empty)
6526 +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
6527 +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
6528 +
6529 +# Commands to strip libraries.
6530 +old_striplib=$lt_old_striplib
6531 +striplib=$lt_striplib
6532 +
6533 +# Dependencies to place before the objects being linked to create a
6534 +# shared library.
6535 +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
6536 +
6537 +# Dependencies to place after the objects being linked to create a
6538 +# shared library.
6539 +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
6540 +
6541 +# Dependencies to place before the objects being linked to create a
6542 +# shared library.
6543 +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
6544 +
6545 +# Dependencies to place after the objects being linked to create a
6546 +# shared library.
6547 +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
6548 +
6549 +# The library search path used internally by the compiler when linking
6550 +# a shared library.
6551 +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
6552 +
6553 +# Method to check whether dependent libraries are shared objects.
6554 +deplibs_check_method=$lt_deplibs_check_method
6555 +
6556 +# Command to use when deplibs_check_method == file_magic.
6557 +file_magic_cmd=$lt_file_magic_cmd
6558 +
6559 +# Flag that allows shared libraries with undefined symbols to be built.
6560 +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
6561 +
6562 +# Flag that forces no undefined symbols.
6563 +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
6564 +
6565 +# Commands used to finish a libtool library installation in a directory.
6566 +finish_cmds=$lt_finish_cmds
6567 +
6568 +# Same as above, but a single script fragment to be evaled but not shown.
6569 +finish_eval=$lt_finish_eval
6570 +
6571 +# Take the output of nm and produce a listing of raw symbols and C names.
6572 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6573 +
6574 +# Transform the output of nm in a proper C declaration
6575 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6576 +
6577 +# Transform the output of nm in a C name address pair
6578 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6579 +
6580 +# This is the shared library runtime path variable.
6581 +runpath_var=$runpath_var
6582 +
6583 +# This is the shared library path variable.
6584 +shlibpath_var=$shlibpath_var
6585 +
6586 +# Is shlibpath searched before the hard-coded library search path?
6587 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6588 +
6589 +# How to hardcode a shared library path into an executable.
6590 +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
6591 +
6592 +# Whether we should hardcode library paths into libraries.
6593 +hardcode_into_libs=$hardcode_into_libs
6594 +
6595 +# Flag to hardcode \$libdir into a binary during linking.
6596 +# This must work even if \$libdir does not exist.
6597 +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
6598 +
6599 +# If ld is used when linking, flag to hardcode \$libdir into
6600 +# a binary during linking. This must work even if \$libdir does
6601 +# not exist.
6602 +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
6603 +
6604 +# Whether we need a single -rpath flag with a separated argument.
6605 +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
6606 +
6607 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6608 +# resulting binary.
6609 +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
6610 +
6611 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6612 +# resulting binary.
6613 +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
6614 +
6615 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6616 +# the resulting binary.
6617 +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
6618 +
6619 +# Set to yes if building a shared library automatically hardcodes DIR into the library
6620 +# and all subsequent libraries and executables linked against it.
6621 +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
6622 +
6623 +# Variables whose values should be saved in libtool wrapper scripts and
6624 +# restored at relink time.
6625 +variables_saved_for_relink="$variables_saved_for_relink"
6626 +
6627 +# Whether libtool must link a program against all its dependency libraries.
6628 +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
6629 +
6630 +# Compile-time system search path for libraries
6631 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6632 +
6633 +# Run-time system search path for libraries
6634 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6635 +
6636 +# Fix the shell variable \$srcfile for the compiler.
6637 +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
6638 +
6639 +# Set to yes if exported symbols are required.
6640 +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
6641 +
6642 +# The commands to list exported symbols.
6643 +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
6644 +
6645 +# The commands to extract the exported symbol list from a shared archive.
6646 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
6647 +
6648 +# Symbols that should not be listed in the preloaded symbols.
6649 +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
6650 +
6651 +# Symbols that must always be exported.
6652 +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
6653 +
6654 +ifelse([$1],[],
6655 +[# ### END LIBTOOL CONFIG],
6656 +[# ### END LIBTOOL TAG CONFIG: $tagname])
6657 +
6658 +__EOF__
6659 +
6660 +ifelse([$1],[], [
6661 + case $host_os in
6662 + aix3*)
6663 + cat <<\EOF >> "$cfgfile"
6664 +
6665 +# AIX sometimes has problems with the GCC collect2 program. For some
6666 +# reason, if we set the COLLECT_NAMES environment variable, the problems
6667 +# vanish in a puff of smoke.
6668 +if test "X${COLLECT_NAMES+set}" != Xset; then
6669 + COLLECT_NAMES=
6670 + export COLLECT_NAMES
6671 +fi
6672 +EOF
6673 + ;;
6674 + esac
6675 +
6676 + # We use sed instead of cat because bash on DJGPP gets confused if
6677 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
6678 + # text mode, it properly converts lines to CR/LF. This bash problem
6679 + # is reportedly fixed, but why not run on old versions too?
6680 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
6681 +
6682 + mv -f "$cfgfile" "$ofile" || \
6683 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
6684 + chmod +x "$ofile"
6685 +])
6686 +else
6687 + # If there is no Makefile yet, we rely on a make rule to execute
6688 + # `config.status --recheck' to rerun these tests and create the
6689 + # libtool script then.
6690 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6691 + if test -f "$ltmain_in"; then
6692 + test -f Makefile && make "$ltmain"
6693 + fi
6694 +fi
6695 +])# AC_LIBTOOL_CONFIG
6696 +
6697 +
6698 +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
6699 +# -------------------------------------------
6700 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
6701 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
6702 +
6703 +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
6704 +
6705 +if test "$GCC" = yes; then
6706 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6707 +
6708 + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
6709 + lt_cv_prog_compiler_rtti_exceptions,
6710 + [-fno-rtti -fno-exceptions], [],
6711 + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
6712 +fi
6713 +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
6714 +
6715 +
6716 +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
6717 +# ---------------------------------
6718 +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
6719 +[AC_REQUIRE([AC_CANONICAL_HOST])
6720 +AC_REQUIRE([AC_PROG_NM])
6721 +AC_REQUIRE([AC_OBJEXT])
6722 +# Check for command to grab the raw symbol name followed by C symbol from nm.
6723 +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
6724 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
6725 +[
6726 +# These are sane defaults that work on at least a few old systems.
6727 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6728 +
6729 +# Character class describing NM global symbol codes.
6730 +symcode='[[BCDEGRST]]'
6731 +
6732 +# Regexp to match symbols that can be accessed directly from C.
6733 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
6734 +
6735 +# Transform the above into a raw symbol and a C symbol.
6736 +symxfrm='\1 \2\3 \3'
6737 +
6738 +# Transform an extracted symbol line into a proper C declaration
6739 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6740 +
6741 +# Transform an extracted symbol line into symbol name and symbol address
6742 +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'"
6743 +
6744 +# Define system-specific variables.
6745 +case $host_os in
6746 +aix*)
6747 + symcode='[[BCDT]]'
6748 + ;;
6749 +cygwin* | mingw* | pw32*)
6750 + symcode='[[ABCDGISTW]]'
6751 + ;;
6752 +hpux*) # Its linker distinguishes data from code symbols
6753 + if test "$host_cpu" = ia64; then
6754 + symcode='[[ABCDEGRST]]'
6755 + fi
6756 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6757 + 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'"
6758 + ;;
6759 +irix* | nonstopux*)
6760 + symcode='[[BCDEGRST]]'
6761 + ;;
6762 +osf*)
6763 + symcode='[[BCDEGQRST]]'
6764 + ;;
6765 +solaris* | sysv5*)
6766 + symcode='[[BDRT]]'
6767 + ;;
6768 +sysv4)
6769 + symcode='[[DFNSTU]]'
6770 + ;;
6771 +esac
6772 +
6773 +# Handle CRLF in mingw tool chain
6774 +opt_cr=
6775 +case $build_os in
6776 +mingw*)
6777 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6778 + ;;
6779 +esac
6780
6781 -# Library versioning type.
6782 -version_type=$version_type
6783 +# If we're using GNU nm, then use its standard symbol codes.
6784 +case `$NM -V 2>&1` in
6785 +*GNU* | *'with BFD'*)
6786 + symcode='[[ABCDGIRSTW]]' ;;
6787 +esac
6788
6789 -# Format of library name prefix.
6790 -libname_spec=$lt_libname_spec
6791 +# Try without a prefix undercore, then with it.
6792 +for ac_symprfx in "" "_"; do
6793
6794 -# List of archive names. First name is the real one, the rest are links.
6795 -# The last name is the one that the linker finds with -lNAME.
6796 -library_names_spec=$lt_library_names_spec
6797 + # Write the raw and C identifiers.
6798 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
6799
6800 -# The coded name of the library, if different from the real name.
6801 -soname_spec=$lt_soname_spec
6802 + # Check to see that the pipe works correctly.
6803 + pipe_works=no
6804
6805 -# Commands used to build and install an old-style archive.
6806 -RANLIB=$lt_RANLIB
6807 -old_archive_cmds=$lt_old_archive_cmds
6808 -old_postinstall_cmds=$lt_old_postinstall_cmds
6809 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
6810 + rm -f conftest*
6811 + cat > conftest.$ac_ext <<EOF
6812 +#ifdef __cplusplus
6813 +extern "C" {
6814 +#endif
6815 +char nm_test_var;
6816 +void nm_test_func(){}
6817 +#ifdef __cplusplus
6818 +}
6819 +#endif
6820 +int main(){nm_test_var='a';nm_test_func();return(0);}
6821 +EOF
6822
6823 -# Create an old-style archive from a shared archive.
6824 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
6825 + if AC_TRY_EVAL(ac_compile); then
6826 + # Now try to grab the symbols.
6827 + nlist=conftest.nm
6828 + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
6829 + # Try sorting and uniquifying the output.
6830 + if sort "$nlist" | uniq > "$nlist"T; then
6831 + mv -f "$nlist"T "$nlist"
6832 + else
6833 + rm -f "$nlist"T
6834 + fi
6835
6836 -# Create a temporary old-style archive to link instead of a shared archive.
6837 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
6838 + # Make sure that we snagged all the symbols we need.
6839 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
6840 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
6841 + cat <<EOF > conftest.$ac_ext
6842 +#ifdef __cplusplus
6843 +extern "C" {
6844 +#endif
6845
6846 -# Commands used to build and install a shared archive.
6847 -archive_cmds=$lt_archive_cmds
6848 -archive_expsym_cmds=$lt_archive_expsym_cmds
6849 -postinstall_cmds=$lt_postinstall_cmds
6850 -postuninstall_cmds=$lt_postuninstall_cmds
6851 +EOF
6852 + # Now generate the symbol file.
6853 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6854
6855 -# Commands to strip libraries.
6856 -old_striplib=$lt_old_striplib
6857 -striplib=$lt_striplib
6858 + cat <<EOF >> conftest.$ac_ext
6859 +#if defined (__STDC__) && __STDC__
6860 +# define lt_ptr_t void *
6861 +#else
6862 +# define lt_ptr_t char *
6863 +# define const
6864 +#endif
6865
6866 -# Method to check whether dependent libraries are shared objects.
6867 -deplibs_check_method=$lt_deplibs_check_method
6868 +/* The mapping between symbol names and symbols. */
6869 +const struct {
6870 + const char *name;
6871 + lt_ptr_t address;
6872 +}
6873 +lt_preloaded_symbols[[]] =
6874 +{
6875 +EOF
6876 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6877 + cat <<\EOF >> conftest.$ac_ext
6878 + {0, (lt_ptr_t) 0}
6879 +};
6880
6881 -# Command to use when deplibs_check_method == file_magic.
6882 -file_magic_cmd=$lt_file_magic_cmd
6883 +#ifdef __cplusplus
6884 +}
6885 +#endif
6886 +EOF
6887 + # Now try linking the two files.
6888 + mv conftest.$ac_objext conftstm.$ac_objext
6889 + lt_save_LIBS="$LIBS"
6890 + lt_save_CFLAGS="$CFLAGS"
6891 + LIBS="conftstm.$ac_objext"
6892 + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
6893 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
6894 + pipe_works=yes
6895 + fi
6896 + LIBS="$lt_save_LIBS"
6897 + CFLAGS="$lt_save_CFLAGS"
6898 + else
6899 + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
6900 + fi
6901 + else
6902 + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
6903 + fi
6904 + else
6905 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
6906 + fi
6907 + else
6908 + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
6909 + cat conftest.$ac_ext >&5
6910 + fi
6911 + rm -f conftest* conftst*
6912
6913 -# Flag that allows shared libraries with undefined symbols to be built.
6914 -allow_undefined_flag=$lt_allow_undefined_flag
6915 + # Do not use the global_symbol_pipe unless it works.
6916 + if test "$pipe_works" = yes; then
6917 + break
6918 + else
6919 + lt_cv_sys_global_symbol_pipe=
6920 + fi
6921 +done
6922 +])
6923 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
6924 + lt_cv_sys_global_symbol_to_cdecl=
6925 +fi
6926 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6927 + AC_MSG_RESULT(failed)
6928 +else
6929 + AC_MSG_RESULT(ok)
6930 +fi
6931 +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
6932
6933 -# Flag that forces no undefined symbols.
6934 -no_undefined_flag=$lt_no_undefined_flag
6935
6936 -# Commands used to finish a libtool library installation in a directory.
6937 -finish_cmds=$lt_finish_cmds
6938 +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
6939 +# ---------------------------------------
6940 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
6941 +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
6942 +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6943 +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
6944
6945 -# Same as above, but a single script fragment to be evaled but not shown.
6946 -finish_eval=$lt_finish_eval
6947 +AC_MSG_CHECKING([for $compiler option to produce PIC])
6948 + ifelse([$1],[CXX],[
6949 + # C++ specific cases for pic, static, wl, etc.
6950 + if test "$GXX" = yes; then
6951 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6952 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6953
6954 -# Take the output of nm and produce a listing of raw symbols and C names.
6955 -global_symbol_pipe=$lt_global_symbol_pipe
6956 + case $host_os in
6957 + aix*)
6958 + # All AIX code is PIC.
6959 + if test "$host_cpu" = ia64; then
6960 + # AIX 5 now supports IA64 processor
6961 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6962 + fi
6963 + ;;
6964 + amigaos*)
6965 + # FIXME: we need at least 68020 code to build shared libraries, but
6966 + # adding the `-m68020' flag to GCC prevents building anything better,
6967 + # like `-m68040'.
6968 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
6969 + ;;
6970 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6971 + # PIC is the default for these OSes.
6972 + ;;
6973 + mingw* | os2* | pw32*)
6974 + # This hack is so that the source file can tell whether it is being
6975 + # built for inclusion in a dll (and should export symbols for example).
6976 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
6977 + ;;
6978 + darwin* | rhapsody*)
6979 + # PIC is the default on this platform
6980 + # Common symbols not allowed in MH_DYLIB files
6981 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
6982 + ;;
6983 + *djgpp*)
6984 + # DJGPP does not support shared libraries at all
6985 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6986 + ;;
6987 + sysv4*MP*)
6988 + if test -d /usr/nec; then
6989 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
6990 + fi
6991 + ;;
6992 + hpux*)
6993 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6994 + # not for PA HP-UX.
6995 + case "$host_cpu" in
6996 + hppa*64*|ia64*)
6997 + ;;
6998 + *)
6999 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7000 + ;;
7001 + esac
7002 + ;;
7003 + *)
7004 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7005 + ;;
7006 + esac
7007 + else
7008 + case $host_os in
7009 + aix4* | aix5*)
7010 + # All AIX code is PIC.
7011 + if test "$host_cpu" = ia64; then
7012 + # AIX 5 now supports IA64 processor
7013 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7014 + else
7015 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
7016 + fi
7017 + ;;
7018 + chorus*)
7019 + case $cc_basename in
7020 + cxch68)
7021 + # Green Hills C++ Compiler
7022 + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--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"
7023 + ;;
7024 + esac
7025 + ;;
7026 + dgux*)
7027 + case $cc_basename in
7028 + ec++)
7029 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7030 + ;;
7031 + ghcx)
7032 + # Green Hills C++ Compiler
7033 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7034 + ;;
7035 + *)
7036 + ;;
7037 + esac
7038 + ;;
7039 + freebsd* | kfreebsd*-gnu)
7040 + # FreeBSD uses GNU C++
7041 + ;;
7042 + hpux9* | hpux10* | hpux11*)
7043 + case $cc_basename in
7044 + CC)
7045 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7046 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
7047 + if test "$host_cpu" != ia64; then
7048 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
7049 + fi
7050 + ;;
7051 + aCC)
7052 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7053 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
7054 + case "$host_cpu" in
7055 + hppa*64*|ia64*)
7056 + # +Z the default
7057 + ;;
7058 + *)
7059 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
7060 + ;;
7061 + esac
7062 + ;;
7063 + *)
7064 + ;;
7065 + esac
7066 + ;;
7067 + irix5* | irix6* | nonstopux*)
7068 + case $cc_basename in
7069 + CC)
7070 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7071 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7072 + # CC pic flag -KPIC is the default.
7073 + ;;
7074 + *)
7075 + ;;
7076 + esac
7077 + ;;
7078 + linux*)
7079 + case $cc_basename in
7080 + KCC)
7081 + # KAI C++ Compiler
7082 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
7083 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7084 + ;;
7085 + icpc)
7086 + # Intel C++
7087 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7088 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7089 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
7090 + ;;
7091 + cxx)
7092 + # Compaq C++
7093 + # Make sure the PIC flag is empty. It appears that all Alpha
7094 + # Linux and Compaq Tru64 Unix objects are PIC.
7095 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7096 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7097 + ;;
7098 + *)
7099 + ;;
7100 + esac
7101 + ;;
7102 + lynxos*)
7103 + ;;
7104 + m88k*)
7105 + ;;
7106 + mvs*)
7107 + case $cc_basename in
7108 + cxx)
7109 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
7110 + ;;
7111 + *)
7112 + ;;
7113 + esac
7114 + ;;
7115 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7116 + ;;
7117 + osf3* | osf4* | osf5*)
7118 + case $cc_basename in
7119 + KCC)
7120 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
7121 + ;;
7122 + RCC)
7123 + # Rational C++ 2.4.1
7124 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7125 + ;;
7126 + cxx)
7127 + # Digital/Compaq C++
7128 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7129 + # Make sure the PIC flag is empty. It appears that all Alpha
7130 + # Linux and Compaq Tru64 Unix objects are PIC.
7131 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7132 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7133 + ;;
7134 + *)
7135 + ;;
7136 + esac
7137 + ;;
7138 + psos*)
7139 + ;;
7140 + sco*)
7141 + case $cc_basename in
7142 + CC)
7143 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7144 + ;;
7145 + *)
7146 + ;;
7147 + esac
7148 + ;;
7149 + solaris*)
7150 + case $cc_basename in
7151 + CC)
7152 + # Sun C++ 4.2, 5.x and Centerline C++
7153 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7154 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7155 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
7156 + ;;
7157 + gcx)
7158 + # Green Hills C++ Compiler
7159 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
7160 + ;;
7161 + *)
7162 + ;;
7163 + esac
7164 + ;;
7165 + sunos4*)
7166 + case $cc_basename in
7167 + CC)
7168 + # Sun C++ 4.x
7169 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7170 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7171 + ;;
7172 + lcc)
7173 + # Lucid
7174 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7175 + ;;
7176 + *)
7177 + ;;
7178 + esac
7179 + ;;
7180 + tandem*)
7181 + case $cc_basename in
7182 + NCC)
7183 + # NonStop-UX NCC 3.20
7184 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7185 + ;;
7186 + *)
7187 + ;;
7188 + esac
7189 + ;;
7190 + unixware*)
7191 + ;;
7192 + vxworks*)
7193 + ;;
7194 + *)
7195 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
7196 + ;;
7197 + esac
7198 + fi
7199 +],
7200 +[
7201 + if test "$GCC" = yes; then
7202 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7203 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
7204
7205 -# Transform the output of nm in a proper C declaration
7206 -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
7207 + case $host_os in
7208 + aix*)
7209 + # All AIX code is PIC.
7210 + if test "$host_cpu" = ia64; then
7211 + # AIX 5 now supports IA64 processor
7212 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7213 + fi
7214 + ;;
7215
7216 -# Transform the output of nm in a C name address pair
7217 -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
7218 + amigaos*)
7219 + # FIXME: we need at least 68020 code to build shared libraries, but
7220 + # adding the `-m68020' flag to GCC prevents building anything better,
7221 + # like `-m68040'.
7222 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
7223 + ;;
7224
7225 -# This is the shared library runtime path variable.
7226 -runpath_var=$runpath_var
7227 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7228 + # PIC is the default for these OSes.
7229 + ;;
7230
7231 -# This is the shared library path variable.
7232 -shlibpath_var=$shlibpath_var
7233 + mingw* | pw32* | os2*)
7234 + # This hack is so that the source file can tell whether it is being
7235 + # built for inclusion in a dll (and should export symbols for example).
7236 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
7237 + ;;
7238
7239 -# Is shlibpath searched before the hard-coded library search path?
7240 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
7241 + darwin* | rhapsody*)
7242 + # PIC is the default on this platform
7243 + # Common symbols not allowed in MH_DYLIB files
7244 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
7245 + ;;
7246
7247 -# How to hardcode a shared library path into an executable.
7248 -hardcode_action=$hardcode_action
7249 + msdosdjgpp*)
7250 + # Just because we use GCC doesn't mean we suddenly get shared libraries
7251 + # on systems that don't support them.
7252 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
7253 + enable_shared=no
7254 + ;;
7255
7256 -# Whether we should hardcode library paths into libraries.
7257 -hardcode_into_libs=$hardcode_into_libs
7258 + sysv4*MP*)
7259 + if test -d /usr/nec; then
7260 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
7261 + fi
7262 + ;;
7263
7264 -# Flag to hardcode \$libdir into a binary during linking.
7265 -# This must work even if \$libdir does not exist.
7266 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
7267 + hpux*)
7268 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7269 + # not for PA HP-UX.
7270 + case "$host_cpu" in
7271 + hppa*64*|ia64*)
7272 + # +Z the default
7273 + ;;
7274 + *)
7275 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7276 + ;;
7277 + esac
7278 + ;;
7279
7280 -# Whether we need a single -rpath flag with a separated argument.
7281 -hardcode_libdir_separator=$lt_hardcode_libdir_separator
7282 + *)
7283 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
7284 + ;;
7285 + esac
7286 + else
7287 + # PORTME Check for flag to pass linker flags through the system compiler.
7288 + case $host_os in
7289 + aix*)
7290 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7291 + if test "$host_cpu" = ia64; then
7292 + # AIX 5 now supports IA64 processor
7293 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7294 + else
7295 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
7296 + fi
7297 + ;;
7298
7299 -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
7300 -# resulting binary.
7301 -hardcode_direct=$hardcode_direct
7302 + mingw* | pw32* | os2*)
7303 + # This hack is so that the source file can tell whether it is being
7304 + # built for inclusion in a dll (and should export symbols for example).
7305 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
7306 + ;;
7307
7308 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
7309 -# resulting binary.
7310 -hardcode_minus_L=$hardcode_minus_L
7311 + hpux9* | hpux10* | hpux11*)
7312 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7313 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7314 + # not for PA HP-UX.
7315 + case "$host_cpu" in
7316 + hppa*64*|ia64*)
7317 + # +Z the default
7318 + ;;
7319 + *)
7320 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
7321 + ;;
7322 + esac
7323 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
7324 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
7325 + ;;
7326
7327 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
7328 -# the resulting binary.
7329 -hardcode_shlibpath_var=$hardcode_shlibpath_var
7330 + irix5* | irix6* | nonstopux*)
7331 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7332 + # PIC (with -KPIC) is the default.
7333 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7334 + ;;
7335
7336 -# Variables whose values should be saved in libtool wrapper scripts and
7337 -# restored at relink time.
7338 -variables_saved_for_relink="$variables_saved_for_relink"
7339 + newsos6)
7340 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7341 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7342 + ;;
7343
7344 -# Whether libtool must link a program against all its dependency libraries.
7345 -link_all_deplibs=$link_all_deplibs
7346 + linux*)
7347 + case $CC in
7348 + icc* | ecc*)
7349 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7350 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7351 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
7352 + ;;
7353 + ccc*)
7354 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7355 + # All Alpha code is PIC.
7356 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7357 + ;;
7358 + esac
7359 + ;;
7360
7361 -# Compile-time system search path for libraries
7362 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
7363 + osf3* | osf4* | osf5*)
7364 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7365 + # All OSF/1 code is PIC.
7366 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
7367 + ;;
7368
7369 -# Run-time system search path for libraries
7370 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
7371 + sco3.2v5*)
7372 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
7373 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
7374 + ;;
7375
7376 -# Fix the shell variable \$srcfile for the compiler.
7377 -fix_srcfile_path="$fix_srcfile_path"
7378 + solaris*)
7379 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7380 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7381 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7382 + ;;
7383
7384 -# Set to yes if exported symbols are required.
7385 -always_export_symbols=$always_export_symbols
7386 + sunos4*)
7387 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
7388 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
7389 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7390 + ;;
7391
7392 -# The commands to list exported symbols.
7393 -export_symbols_cmds=$lt_export_symbols_cmds
7394 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7395 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
7396 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
7397 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7398 + ;;
7399
7400 -# The commands to extract the exported symbol list from a shared archive.
7401 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
7402 + sysv4*MP*)
7403 + if test -d /usr/nec ;then
7404 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
7405 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7406 + fi
7407 + ;;
7408
7409 -# Symbols that should not be listed in the preloaded symbols.
7410 -exclude_expsyms=$lt_exclude_expsyms
7411 + uts4*)
7412 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
7413 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7414 + ;;
7415
7416 -# Symbols that must always be exported.
7417 -include_expsyms=$lt_include_expsyms
7418 + *)
7419 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
7420 + ;;
7421 + esac
7422 + fi
7423 +])
7424 +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
7425
7426 -# ### END LIBTOOL CONFIG
7427 +#
7428 +# Check to make sure the PIC flag actually works.
7429 +#
7430 +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
7431 + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
7432 + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
7433 + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
7434 + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
7435 + "" | " "*) ;;
7436 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
7437 + esac],
7438 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7439 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
7440 +fi
7441 +case "$host_os" in
7442 + # For platforms which do not support PIC, -DPIC is meaningless:
7443 + *djgpp*)
7444 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7445 + ;;
7446 + *)
7447 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
7448 + ;;
7449 +esac
7450 +])
7451
7452 -__EOF__
7453
7454 +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
7455 +# ------------------------------------
7456 +# See if the linker supports building shared libraries.
7457 +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
7458 +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
7459 +ifelse([$1],[CXX],[
7460 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7461 case $host_os in
7462 - aix3*)
7463 - cat <<\EOF >> "${ofile}T"
7464 -
7465 -# AIX sometimes has problems with the GCC collect2 program. For some
7466 -# reason, if we set the COLLECT_NAMES environment variable, the problems
7467 -# vanish in a puff of smoke.
7468 -if test "X${COLLECT_NAMES+set}" != Xset; then
7469 - COLLECT_NAMES=
7470 - export COLLECT_NAMES
7471 -fi
7472 -EOF
7473 + aix4* | aix5*)
7474 + # If we're using GNU nm, then we don't want the "-C" option.
7475 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
7476 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7477 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
7478 + else
7479 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
7480 + fi
7481 ;;
7482 + pw32*)
7483 + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
7484 + ;;
7485 + cygwin* | mingw*)
7486 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
7487 + ;;
7488 + linux*)
7489 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
7490 + ;;
7491 + *)
7492 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7493 + ;;
7494 esac
7495 +],[
7496 + runpath_var=
7497 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
7498 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7499 + _LT_AC_TAGVAR(archive_cmds, $1)=
7500 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
7501 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
7502 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
7503 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
7504 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7505 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
7506 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
7507 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7508 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
7509 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
7510 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
7511 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
7512 + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
7513 + _LT_AC_TAGVAR(hardcode_automatic, $1)=no
7514 + _LT_AC_TAGVAR(module_cmds, $1)=
7515 + _LT_AC_TAGVAR(module_expsym_cmds, $1)=
7516 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
7517 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7518 + # include_expsyms should be a list of space-separated symbols to be *always*
7519 + # included in the symbol list
7520 + _LT_AC_TAGVAR(include_expsyms, $1)=
7521 + # exclude_expsyms can be an extended regexp of symbols to exclude
7522 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
7523 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7524 + # as well as any symbol that contains `d'.
7525 + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
7526 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7527 + # platforms (ab)use it in PIC code, but their linkers get confused if
7528 + # the symbol is explicitly referenced. Since portable code cannot
7529 + # rely on this symbol name, it's probably fine to never include it in
7530 + # preloaded symbol tables.
7531 + extract_expsyms_cmds=
7532
7533 case $host_os in
7534 - cygwin* | mingw* | pw32* | os2*)
7535 - cat <<'EOF' >> "${ofile}T"
7536 - # This is a source program that is used to create dlls on Windows
7537 - # Don't remove nor modify the starting and closing comments
7538 -# /* ltdll.c starts here */
7539 -# #define WIN32_LEAN_AND_MEAN
7540 -# #include <windows.h>
7541 -# #undef WIN32_LEAN_AND_MEAN
7542 -# #include <stdio.h>
7543 -#
7544 -# #ifndef __CYGWIN__
7545 -# # ifdef __CYGWIN32__
7546 -# # define __CYGWIN__ __CYGWIN32__
7547 -# # endif
7548 -# #endif
7549 -#
7550 -# #ifdef __cplusplus
7551 -# extern "C" {
7552 -# #endif
7553 -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
7554 -# #ifdef __cplusplus
7555 -# }
7556 -# #endif
7557 -#
7558 -# #ifdef __CYGWIN__
7559 -# #include <cygwin/cygwin_dll.h>
7560 -# DECLARE_CYGWIN_DLL( DllMain );
7561 -# #endif
7562 -# HINSTANCE __hDllInstance_base;
7563 -#
7564 -# BOOL APIENTRY
7565 -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
7566 -# {
7567 -# __hDllInstance_base = hInst;
7568 -# return TRUE;
7569 -# }
7570 -# /* ltdll.c ends here */
7571 - # This is a source program that is used to create import libraries
7572 - # on Windows for dlls which lack them. Don't remove nor modify the
7573 - # starting and closing comments
7574 -# /* impgen.c starts here */
7575 -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
7576 -#
7577 -# This file is part of GNU libtool.
7578 -#
7579 -# This program is free software; you can redistribute it and/or modify
7580 -# it under the terms of the GNU General Public License as published by
7581 -# the Free Software Foundation; either version 2 of the License, or
7582 -# (at your option) any later version.
7583 -#
7584 -# This program is distributed in the hope that it will be useful,
7585 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
7586 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7587 -# GNU General Public License for more details.
7588 -#
7589 -# You should have received a copy of the GNU General Public License
7590 -# along with this program; if not, write to the Free Software
7591 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
7592 -# */
7593 -#
7594 -# #include <stdio.h> /* for printf() */
7595 -# #include <unistd.h> /* for open(), lseek(), read() */
7596 -# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
7597 -# #include <string.h> /* for strdup() */
7598 -#
7599 -# /* O_BINARY isn't required (or even defined sometimes) under Unix */
7600 -# #ifndef O_BINARY
7601 -# #define O_BINARY 0
7602 -# #endif
7603 -#
7604 -# static unsigned int
7605 -# pe_get16 (fd, offset)
7606 -# int fd;
7607 -# int offset;
7608 -# {
7609 -# unsigned char b[2];
7610 -# lseek (fd, offset, SEEK_SET);
7611 -# read (fd, b, 2);
7612 -# return b[0] + (b[1]<<8);
7613 -# }
7614 -#
7615 -# static unsigned int
7616 -# pe_get32 (fd, offset)
7617 -# int fd;
7618 -# int offset;
7619 -# {
7620 -# unsigned char b[4];
7621 -# lseek (fd, offset, SEEK_SET);
7622 -# read (fd, b, 4);
7623 -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
7624 -# }
7625 -#
7626 -# static unsigned int
7627 -# pe_as32 (ptr)
7628 -# void *ptr;
7629 -# {
7630 -# unsigned char *b = ptr;
7631 -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
7632 -# }
7633 -#
7634 -# int
7635 -# main (argc, argv)
7636 -# int argc;
7637 -# char *argv[];
7638 -# {
7639 -# int dll;
7640 -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
7641 -# unsigned long export_rva, export_size, nsections, secptr, expptr;
7642 -# unsigned long name_rvas, nexp;
7643 -# unsigned char *expdata, *erva;
7644 -# char *filename, *dll_name;
7645 -#
7646 -# filename = argv[1];
7647 -#
7648 -# dll = open(filename, O_RDONLY|O_BINARY);
7649 -# if (dll < 1)
7650 -# return 1;
7651 -#
7652 -# dll_name = filename;
7653 -#
7654 -# for (i=0; filename[i]; i++)
7655 -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
7656 -# dll_name = filename + i +1;
7657 -#
7658 -# pe_header_offset = pe_get32 (dll, 0x3c);
7659 -# opthdr_ofs = pe_header_offset + 4 + 20;
7660 -# num_entries = pe_get32 (dll, opthdr_ofs + 92);
7661 -#
7662 -# if (num_entries < 1) /* no exports */
7663 -# return 1;
7664 -#
7665 -# export_rva = pe_get32 (dll, opthdr_ofs + 96);
7666 -# export_size = pe_get32 (dll, opthdr_ofs + 100);
7667 -# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
7668 -# secptr = (pe_header_offset + 4 + 20 +
7669 -# pe_get16 (dll, pe_header_offset + 4 + 16));
7670 -#
7671 -# expptr = 0;
7672 -# for (i = 0; i < nsections; i++)
7673 -# {
7674 -# char sname[8];
7675 -# unsigned long secptr1 = secptr + 40 * i;
7676 -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
7677 -# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
7678 -# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
7679 -# lseek(dll, secptr1, SEEK_SET);
7680 -# read(dll, sname, 8);
7681 -# if (vaddr <= export_rva && vaddr+vsize > export_rva)
7682 -# {
7683 -# expptr = fptr + (export_rva - vaddr);
7684 -# if (export_rva + export_size > vaddr + vsize)
7685 -# export_size = vsize - (export_rva - vaddr);
7686 -# break;
7687 -# }
7688 -# }
7689 -#
7690 -# expdata = (unsigned char*)malloc(export_size);
7691 -# lseek (dll, expptr, SEEK_SET);
7692 -# read (dll, expdata, export_size);
7693 -# erva = expdata - export_rva;
7694 -#
7695 -# nexp = pe_as32 (expdata+24);
7696 -# name_rvas = pe_as32 (expdata+32);
7697 -#
7698 -# printf ("EXPORTS\n");
7699 -# for (i = 0; i<nexp; i++)
7700 -# {
7701 -# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
7702 -# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
7703 -# }
7704 -#
7705 -# return 0;
7706 -# }
7707 -# /* impgen.c ends here */
7708 -
7709 -EOF
7710 + cygwin* | mingw* | pw32*)
7711 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
7712 + # When not using gcc, we currently assume that we are using
7713 + # Microsoft Visual C++.
7714 + if test "$GCC" != yes; then
7715 + with_gnu_ld=no
7716 + fi
7717 + ;;
7718 + openbsd*)
7719 + with_gnu_ld=no
7720 ;;
7721 esac
7722
7723 - # We use sed instead of cat because bash on DJGPP gets confused if
7724 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
7725 - # text mode, it properly converts lines to CR/LF. This bash problem
7726 - # is reportedly fixed, but why not run on old versions too?
7727 - sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
7728 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
7729 + if test "$with_gnu_ld" = yes; then
7730 + # If archive_cmds runs LD, not CC, wlarc should be empty
7731 + wlarc='${wl}'
7732
7733 - mv -f "${ofile}T" "$ofile" || \
7734 - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
7735 - chmod +x "$ofile"
7736 -fi
7737 + # See if GNU ld supports shared libraries.
7738 + case $host_os in
7739 + aix3* | aix4* | aix5*)
7740 + # On AIX/PPC, the GNU linker is very broken
7741 + if test "$host_cpu" != ia64; then
7742 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7743 + cat <<EOF 1>&2
7744
7745 -])# _LT_AC_LTCONFIG_HACK
7746 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7747 +*** to be unable to reliably create shared libraries on AIX.
7748 +*** Therefore, libtool is disabling shared libraries support. If you
7749 +*** really care for shared libraries, you may want to modify your PATH
7750 +*** so that a non-GNU linker is found, and then restart.
7751
7752 -# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
7753 -AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
7754 +EOF
7755 + fi
7756 + ;;
7757
7758 -# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
7759 -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
7760 + amigaos*)
7761 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7762 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7763 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7764 +
7765 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7766 + # that the semantics of dynamic libraries on AmigaOS, at least up
7767 + # to version 4, is to share data among multiple programs linked
7768 + # with the same dynamic library. Since this doesn't match the
7769 + # behavior of shared libraries on other platforms, we can't use
7770 + # them.
7771 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7772 + ;;
7773
7774 -# AC_ENABLE_SHARED - implement the --enable-shared flag
7775 -# Usage: AC_ENABLE_SHARED[(DEFAULT)]
7776 -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
7777 -# `yes'.
7778 -AC_DEFUN([AC_ENABLE_SHARED],
7779 -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
7780 -AC_ARG_ENABLE(shared,
7781 -changequote(<<, >>)dnl
7782 -<< --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
7783 -changequote([, ])dnl
7784 -[p=${PACKAGE-default}
7785 -case $enableval in
7786 -yes) enable_shared=yes ;;
7787 -no) enable_shared=no ;;
7788 -*)
7789 - enable_shared=no
7790 - # Look at the argument we got. We use all the common list separators.
7791 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
7792 - for pkg in $enableval; do
7793 - if test "X$pkg" = "X$p"; then
7794 - enable_shared=yes
7795 - fi
7796 - done
7797 - IFS="$ac_save_ifs"
7798 - ;;
7799 -esac],
7800 -enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
7801 -])
7802 + beos*)
7803 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7804 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7805 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7806 + # support --undefined. This deserves some investigation. FIXME
7807 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7808 + else
7809 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7810 + fi
7811 + ;;
7812
7813 -# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
7814 -AC_DEFUN([AC_DISABLE_SHARED],
7815 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
7816 -AC_ENABLE_SHARED(no)])
7817 + cygwin* | mingw* | pw32*)
7818 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
7819 + # as there is no search path for DLLs.
7820 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7821 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7822 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
7823 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
7824 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
7825 +
7826 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7827 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7828 + # If the export-symbols file already is a .def file (1st line
7829 + # is EXPORTS), use it as is; otherwise, prepend...
7830 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7831 + cp $export_symbols $output_objdir/$soname.def;
7832 + else
7833 + echo EXPORTS > $output_objdir/$soname.def;
7834 + cat $export_symbols >> $output_objdir/$soname.def;
7835 + fi~
7836 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7837 + else
7838 + ld_shlibs=no
7839 + fi
7840 + ;;
7841
7842 -# AC_ENABLE_STATIC - implement the --enable-static flag
7843 -# Usage: AC_ENABLE_STATIC[(DEFAULT)]
7844 -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
7845 -# `yes'.
7846 -AC_DEFUN([AC_ENABLE_STATIC],
7847 -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
7848 -AC_ARG_ENABLE(static,
7849 -changequote(<<, >>)dnl
7850 -<< --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
7851 -changequote([, ])dnl
7852 -[p=${PACKAGE-default}
7853 -case $enableval in
7854 -yes) enable_static=yes ;;
7855 -no) enable_static=no ;;
7856 -*)
7857 - enable_static=no
7858 - # Look at the argument we got. We use all the common list separators.
7859 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
7860 - for pkg in $enableval; do
7861 - if test "X$pkg" = "X$p"; then
7862 - enable_static=yes
7863 - fi
7864 - done
7865 - IFS="$ac_save_ifs"
7866 - ;;
7867 -esac],
7868 -enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
7869 -])
7870 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7871 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7872 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7873 + wlarc=
7874 + else
7875 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7876 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7877 + fi
7878 + ;;
7879
7880 -# AC_DISABLE_STATIC - set the default static flag to --disable-static
7881 -AC_DEFUN([AC_DISABLE_STATIC],
7882 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
7883 -AC_ENABLE_STATIC(no)])
7884 + solaris* | sysv5*)
7885 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7886 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7887 + cat <<EOF 1>&2
7888 +
7889 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7890 +*** create shared libraries on Solaris systems. Therefore, libtool
7891 +*** is disabling shared libraries support. We urge you to upgrade GNU
7892 +*** binutils to release 2.9.1 or newer. Another option is to modify
7893 +*** your PATH or compiler configuration so that the native linker is
7894 +*** used, and then restart.
7895
7896 +EOF
7897 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7898 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7899 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7900 + else
7901 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7902 + fi
7903 + ;;
7904
7905 -# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
7906 -# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
7907 -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
7908 -# `yes'.
7909 -AC_DEFUN([AC_ENABLE_FAST_INSTALL],
7910 -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
7911 -AC_ARG_ENABLE(fast-install,
7912 -changequote(<<, >>)dnl
7913 -<< --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
7914 -changequote([, ])dnl
7915 -[p=${PACKAGE-default}
7916 -case $enableval in
7917 -yes) enable_fast_install=yes ;;
7918 -no) enable_fast_install=no ;;
7919 -*)
7920 - enable_fast_install=no
7921 - # Look at the argument we got. We use all the common list separators.
7922 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
7923 - for pkg in $enableval; do
7924 - if test "X$pkg" = "X$p"; then
7925 - enable_fast_install=yes
7926 + sunos4*)
7927 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7928 + wlarc=
7929 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7930 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7931 + ;;
7932 +
7933 + linux*)
7934 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7935 + tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7936 + _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
7937 + supports_anon_versioning=no
7938 + case `$LD -v 2>/dev/null` in
7939 + *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
7940 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7941 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7942 + *\ 2.11.*) ;; # other 2.11 versions
7943 + *) supports_anon_versioning=yes ;;
7944 + esac
7945 + if test $supports_anon_versioning = yes; then
7946 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
7947 +cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7948 +$echo "local: *; };" >> $output_objdir/$libname.ver~
7949 + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7950 + else
7951 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
7952 + fi
7953 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
7954 + else
7955 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7956 fi
7957 - done
7958 - IFS="$ac_save_ifs"
7959 - ;;
7960 -esac],
7961 -enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
7962 -])
7963 + ;;
7964
7965 -# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
7966 -AC_DEFUN([AC_DISABLE_FAST_INSTALL],
7967 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
7968 -AC_ENABLE_FAST_INSTALL(no)])
7969 + *)
7970 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7971 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7972 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7973 + else
7974 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7975 + fi
7976 + ;;
7977 + esac
7978 +
7979 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
7980 + runpath_var=LD_RUN_PATH
7981 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
7982 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
7983 + # ancient GNU ld didn't support --whole-archive et. al.
7984 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7985 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7986 + else
7987 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7988 + fi
7989 + fi
7990 + else
7991 + # PORTME fill in a description of your system's linker (not GNU ld)
7992 + case $host_os in
7993 + aix3*)
7994 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7995 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
7996 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7997 + # Note: this linker hardcodes the directories in LIBPATH if there
7998 + # are no directories specified by -L.
7999 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8000 + if test "$GCC" = yes && test -z "$link_static_flag"; then
8001 + # Neither direct hardcoding nor static linking is supported with a
8002 + # broken collect2.
8003 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
8004 + fi
8005 + ;;
8006 +
8007 + aix4* | aix5*)
8008 + if test "$host_cpu" = ia64; then
8009 + # On IA64, the linker does run time linking by default, so we don't
8010 + # have to do anything special.
8011 + aix_use_runtimelinking=no
8012 + exp_sym_flag='-Bexport'
8013 + no_entry_flag=""
8014 + else
8015 + # If we're using GNU nm, then we don't want the "-C" option.
8016 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
8017 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8018 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
8019 + else
8020 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
8021 + fi
8022 + aix_use_runtimelinking=no
8023
8024 -# AC_LIBTOOL_PICMODE - implement the --with-pic flag
8025 -# Usage: AC_LIBTOOL_PICMODE[(MODE)]
8026 -# Where MODE is either `yes' or `no'. If omitted, it defaults to
8027 -# `both'.
8028 -AC_DEFUN([AC_LIBTOOL_PICMODE],
8029 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
8030 -pic_mode=ifelse($#,1,$1,default)])
8031 + # Test if we are trying to use run time linking or normal
8032 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8033 + # need to do runtime linking.
8034 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
8035 + for ld_flag in $LDFLAGS; do
8036 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8037 + aix_use_runtimelinking=yes
8038 + break
8039 + fi
8040 + done
8041 + esac
8042
8043 + exp_sym_flag='-bexport'
8044 + no_entry_flag='-bnoentry'
8045 + fi
8046
8047 -# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
8048 -AC_DEFUN([AC_PATH_TOOL_PREFIX],
8049 -[AC_MSG_CHECKING([for $1])
8050 -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
8051 -[case $MAGIC_CMD in
8052 - /*)
8053 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8054 - ;;
8055 - ?:/*)
8056 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
8057 - ;;
8058 - *)
8059 - ac_save_MAGIC_CMD="$MAGIC_CMD"
8060 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8061 -dnl $ac_dummy forces splitting on constant user-supplied paths.
8062 -dnl POSIX.2 word splitting is done only on the output of word expansions,
8063 -dnl not every word. This closes a longstanding sh security hole.
8064 - ac_dummy="ifelse([$2], , $PATH, [$2])"
8065 - for ac_dir in $ac_dummy; do
8066 - test -z "$ac_dir" && ac_dir=.
8067 - if test -f $ac_dir/$1; then
8068 - lt_cv_path_MAGIC_CMD="$ac_dir/$1"
8069 - if test -n "$file_magic_test_file"; then
8070 - case $deplibs_check_method in
8071 - "file_magic "*)
8072 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
8073 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8074 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8075 - egrep "$file_magic_regex" > /dev/null; then
8076 - :
8077 + # When large executables or shared objects are built, AIX ld can
8078 + # have problems creating the table of contents. If linking a library
8079 + # or program results in "error TOC overflow" add -mminimal-toc to
8080 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8081 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8082 +
8083 + _LT_AC_TAGVAR(archive_cmds, $1)=''
8084 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8085 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
8086 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8087 +
8088 + if test "$GCC" = yes; then
8089 + case $host_os in aix4.[012]|aix4.[012].*)
8090 + # We only want to do this on AIX 4.2 and lower, the check
8091 + # below for broken collect2 doesn't work under 4.3+
8092 + collect2name=`${CC} -print-prog-name=collect2`
8093 + if test -f "$collect2name" && \
8094 + strings "$collect2name" | grep resolve_lib_name >/dev/null
8095 + then
8096 + # We have reworked collect2
8097 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8098 else
8099 - cat <<EOF 1>&2
8100 -
8101 -*** Warning: the command libtool uses to detect shared libraries,
8102 -*** $file_magic_cmd, produces output that libtool cannot recognize.
8103 -*** The result is that libtool may fail to recognize shared libraries
8104 -*** as such. This will affect the creation of libtool libraries that
8105 -*** depend on shared libraries, but programs linked with such libtool
8106 -*** libraries will work regardless of this problem. Nevertheless, you
8107 -*** may want to report the problem to your system manager and/or to
8108 -*** bug-libtool@gnu.org
8109 -
8110 -EOF
8111 - fi ;;
8112 + # We have old collect2
8113 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
8114 + # It fails to find uninstalled libraries when the uninstalled
8115 + # path is not listed in the libpath. Setting hardcode_minus_L
8116 + # to unsupported forces relinking
8117 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8118 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8119 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
8120 + fi
8121 esac
8122 + shared_flag='-shared'
8123 + else
8124 + # not using gcc
8125 + if test "$host_cpu" = ia64; then
8126 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8127 + # chokes on -Wl,-G. The following line is correct:
8128 + shared_flag='-G'
8129 + else
8130 + if test "$aix_use_runtimelinking" = yes; then
8131 + shared_flag='${wl}-G'
8132 + else
8133 + shared_flag='${wl}-bM:SRE'
8134 + fi
8135 + fi
8136 fi
8137 - break
8138 - fi
8139 - done
8140 - IFS="$ac_save_ifs"
8141 - MAGIC_CMD="$ac_save_MAGIC_CMD"
8142 - ;;
8143 -esac])
8144 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8145 -if test -n "$MAGIC_CMD"; then
8146 - AC_MSG_RESULT($MAGIC_CMD)
8147 -else
8148 - AC_MSG_RESULT(no)
8149 -fi
8150 -])
8151
8152 + # It seems that -bexpall does not export symbols beginning with
8153 + # underscore (_), so it is better to generate a list of symbols to export.
8154 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
8155 + if test "$aix_use_runtimelinking" = yes; then
8156 + # Warning - without using the other runtime loading flags (-brtl),
8157 + # -berok will link without error, but may produce a broken library.
8158 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
8159 + # Determine the default libpath from the value encoded in an empty executable.
8160 + _LT_AC_SYS_LIBPATH_AIX
8161 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
8162 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$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"
8163 + else
8164 + if test "$host_cpu" = ia64; then
8165 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
8166 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
8167 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$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"
8168 + else
8169 + # Determine the default libpath from the value encoded in an empty executable.
8170 + _LT_AC_SYS_LIBPATH_AIX
8171 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
8172 + # Warning - without using the other run time loading flags,
8173 + # -berok will link without error, but may produce a broken library.
8174 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
8175 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
8176 + # -bexpall does not export symbols beginning with underscore (_)
8177 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
8178 + # Exported symbols can be pulled into shared objects from archives
8179 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
8180 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8181 + # This is similar to how AIX traditionally builds it's shared libraries.
8182 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$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'
8183 + fi
8184 + fi
8185 + ;;
8186
8187 -# AC_PATH_MAGIC - find a file program which can recognise a shared library
8188 -AC_DEFUN([AC_PATH_MAGIC],
8189 -[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
8190 -AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
8191 -if test -z "$lt_cv_path_MAGIC_CMD"; then
8192 - if test -n "$ac_tool_prefix"; then
8193 - AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
8194 - else
8195 - MAGIC_CMD=:
8196 - fi
8197 -fi
8198 -])
8199 + amigaos*)
8200 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8201 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8202 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8203 + # see comment about different semantics on the GNU ld section
8204 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
8205 + ;;
8206
8207 + bsdi4*)
8208 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
8209 + ;;
8210
8211 -# AC_PROG_LD - find the path to the GNU or non-GNU linker
8212 -AC_DEFUN([AC_PROG_LD],
8213 -[AC_ARG_WITH(gnu-ld,
8214 -[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
8215 -test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
8216 -AC_REQUIRE([AC_PROG_CC])dnl
8217 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
8218 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
8219 -AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
8220 -ac_prog=ld
8221 -if test "$GCC" = yes; then
8222 - # Check if gcc -print-prog-name=ld gives a path.
8223 - AC_MSG_CHECKING([for ld used by GCC])
8224 - case $host in
8225 - *-*-mingw*)
8226 - # gcc leaves a trailing carriage return which upsets mingw
8227 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8228 - *)
8229 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8230 - esac
8231 - case $ac_prog in
8232 - # Accept absolute paths.
8233 - [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
8234 - re_direlt='/[[^/]][[^/]]*/\.\./'
8235 - # Canonicalize the path of ld
8236 - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
8237 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
8238 - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
8239 - done
8240 - test -z "$LD" && LD="$ac_prog"
8241 + cygwin* | mingw* | pw32*)
8242 + # When not using gcc, we currently assume that we are using
8243 + # Microsoft Visual C++.
8244 + # hardcode_libdir_flag_spec is actually meaningless, as there is
8245 + # no search path for DLLs.
8246 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
8247 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
8248 + # Tell ltmain to make .lib files, not .a files.
8249 + libext=lib
8250 + # Tell ltmain to make .dll files, not .so files.
8251 + shrext_cmds=".dll"
8252 + # FIXME: Setting linknames here is a bad hack.
8253 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8254 + # The linker will automatically build a .lib file if we build a DLL.
8255 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
8256 + # FIXME: Should let the user specify the lib program.
8257 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
8258 + fix_srcfile_path='`cygpath -w "$srcfile"`'
8259 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
8260 ;;
8261 - "")
8262 - # If it fails, then pretend we aren't using GCC.
8263 - ac_prog=ld
8264 - ;;
8265 - *)
8266 - # If it is relative, then search for the first ld in PATH.
8267 - with_gnu_ld=unknown
8268 - ;;
8269 - esac
8270 -elif test "$with_gnu_ld" = yes; then
8271 - AC_MSG_CHECKING([for GNU ld])
8272 -else
8273 - AC_MSG_CHECKING([for non-GNU ld])
8274 -fi
8275 -AC_CACHE_VAL(lt_cv_path_LD,
8276 -[if test -z "$LD"; then
8277 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8278 - for ac_dir in $PATH; do
8279 - test -z "$ac_dir" && ac_dir=.
8280 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8281 - lt_cv_path_LD="$ac_dir/$ac_prog"
8282 - # Check to see if the program is GNU ld. I'd rather use --version,
8283 - # but apparently some GNU ld's only accept -v.
8284 - # Break only if it was the GNU/non-GNU ld that we prefer.
8285 - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
8286 - test "$with_gnu_ld" != no && break
8287 +
8288 + darwin* | rhapsody*)
8289 + if test "$GXX" = yes ; then
8290 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8291 + case "$host_os" in
8292 + rhapsody* | darwin1.[[012]])
8293 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
8294 + ;;
8295 + *) # Darwin 1.3 on
8296 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8297 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
8298 else
8299 - test "$with_gnu_ld" != yes && break
8300 + case ${MACOSX_DEPLOYMENT_TARGET} in
8301 + 10.[[012]])
8302 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
8303 + ;;
8304 + 10.*)
8305 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
8306 + ;;
8307 + esac
8308 fi
8309 + ;;
8310 + esac
8311 + lt_int_apple_cc_single_mod=no
8312 + output_verbose_link_cmd='echo'
8313 + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
8314 + lt_int_apple_cc_single_mod=yes
8315 + fi
8316 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
8317 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8318 + else
8319 + _LT_AC_TAGVAR(archive_cmds, $1)='$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'
8320 + fi
8321 + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8322 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8323 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
8324 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
8325 + else
8326 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
8327 + fi
8328 + _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
8329 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
8330 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
8331 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
8332 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
8333 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8334 + else
8335 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
8336 fi
8337 - done
8338 - IFS="$ac_save_ifs"
8339 -else
8340 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
8341 -fi])
8342 -LD="$lt_cv_path_LD"
8343 -if test -n "$LD"; then
8344 - AC_MSG_RESULT($LD)
8345 -else
8346 - AC_MSG_RESULT(no)
8347 -fi
8348 -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
8349 -AC_PROG_LD_GNU
8350 -])
8351 + ;;
8352
8353 -# AC_PROG_LD_GNU -
8354 -AC_DEFUN([AC_PROG_LD_GNU],
8355 -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
8356 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
8357 -if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
8358 - lt_cv_prog_gnu_ld=yes
8359 -else
8360 - lt_cv_prog_gnu_ld=no
8361 -fi])
8362 -with_gnu_ld=$lt_cv_prog_gnu_ld
8363 -])
8364 + dgux*)
8365 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8366 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8367 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8368 + ;;
8369
8370 -# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
8371 -# -- PORTME Some linkers may need a different reload flag.
8372 -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
8373 -[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
8374 -[lt_cv_ld_reload_flag='-r'])
8375 -reload_flag=$lt_cv_ld_reload_flag
8376 -test -n "$reload_flag" && reload_flag=" $reload_flag"
8377 -])
8378 + freebsd1*)
8379 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
8380 + ;;
8381
8382 -# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
8383 -# -- PORTME fill in with the dynamic library characteristics
8384 -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
8385 -[AC_CACHE_CHECK([how to recognise dependent libraries],
8386 -lt_cv_deplibs_check_method,
8387 -[lt_cv_file_magic_cmd='$MAGIC_CMD'
8388 -lt_cv_file_magic_test_file=
8389 -lt_cv_deplibs_check_method='unknown'
8390 -# Need to set the preceding variable on all platforms that support
8391 -# interlibrary dependencies.
8392 -# 'none' -- dependencies not supported.
8393 -# `unknown' -- same as none, but documents that we really don't know.
8394 -# 'pass_all' -- all dependencies passed with no checks.
8395 -# 'test_compile' -- check by making test program.
8396 -# 'file_magic [[regex]]' -- check by looking for files in library path
8397 -# which responds to the $file_magic_cmd with a given egrep regex.
8398 -# If you have `file' or equivalent on your system and you're not sure
8399 -# whether `pass_all' will *always* work, you probably want this one.
8400 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8401 + # support. Future versions do this automatically, but an explicit c++rt0.o
8402 + # does not break anything, and helps significantly (at the cost of a little
8403 + # extra space).
8404 + freebsd2.2*)
8405 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8406 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8407 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8408 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8409 + ;;
8410
8411 -case $host_os in
8412 -aix4* | aix5*)
8413 - lt_cv_deplibs_check_method=pass_all
8414 - ;;
8415 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8416 + freebsd2*)
8417 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8418 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8419 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8420 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8421 + ;;
8422
8423 -beos*)
8424 - lt_cv_deplibs_check_method=pass_all
8425 - ;;
8426 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8427 + freebsd* | kfreebsd*-gnu)
8428 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8429 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8430 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8431 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8432 + ;;
8433
8434 -bsdi4*)
8435 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
8436 - lt_cv_file_magic_cmd='/usr/bin/file -L'
8437 - lt_cv_file_magic_test_file=/shlib/libc.so
8438 - ;;
8439 + hpux9*)
8440 + if test "$GCC" = yes; then
8441 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8442 + else
8443 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8444 + fi
8445 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
8446 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8447 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8448 +
8449 + # hardcode_minus_L: Not really in the search PATH,
8450 + # but as the default location of the library.
8451 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8452 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8453 + ;;
8454
8455 -cygwin* | mingw* | pw32*)
8456 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
8457 - lt_cv_file_magic_cmd='$OBJDUMP -f'
8458 - ;;
8459 + hpux10* | hpux11*)
8460 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8461 + case "$host_cpu" in
8462 + hppa*64*|ia64*)
8463 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8464 + ;;
8465 + *)
8466 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8467 + ;;
8468 + esac
8469 + else
8470 + case "$host_cpu" in
8471 + hppa*64*|ia64*)
8472 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
8473 + ;;
8474 + *)
8475 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8476 + ;;
8477 + esac
8478 + fi
8479 + if test "$with_gnu_ld" = no; then
8480 + case "$host_cpu" in
8481 + hppa*64*)
8482 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
8483 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
8484 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8485 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
8486 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8487 + ;;
8488 + ia64*)
8489 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8490 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
8491 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8492 +
8493 + # hardcode_minus_L: Not really in the search PATH,
8494 + # but as the default location of the library.
8495 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8496 + ;;
8497 + *)
8498 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
8499 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8500 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8501 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8502 +
8503 + # hardcode_minus_L: Not really in the search PATH,
8504 + # but as the default location of the library.
8505 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8506 + ;;
8507 + esac
8508 + fi
8509 + ;;
8510
8511 -darwin* | rhapsody*)
8512 - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
8513 - lt_cv_file_magic_cmd='/usr/bin/file -L'
8514 - case "$host_os" in
8515 - rhapsody* | darwin1.[[012]])
8516 - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
8517 - ;;
8518 - *) # Darwin 1.3 on
8519 - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
8520 - ;;
8521 - esac
8522 - ;;
8523 + irix5* | irix6* | nonstopux*)
8524 + if test "$GCC" = yes; then
8525 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8526 + else
8527 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8528 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
8529 + fi
8530 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8531 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8532 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8533 + ;;
8534
8535 -freebsd*)
8536 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8537 - case $host_cpu in
8538 - i*86 )
8539 - # Not sure whether the presence of OpenBSD here was a mistake.
8540 - # Let's accept both of them until this is cleared up.
8541 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
8542 - lt_cv_file_magic_cmd=/usr/bin/file
8543 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8544 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
8545 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8546 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8547 + else
8548 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8549 + fi
8550 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8551 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8552 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8553 + ;;
8554 +
8555 + newsos6)
8556 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8557 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8558 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8559 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8560 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8561 + ;;
8562 +
8563 + openbsd*)
8564 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8565 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8566 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8567 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8568 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8569 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8570 + else
8571 + case $host_os in
8572 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
8573 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8574 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8575 + ;;
8576 + *)
8577 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8578 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8579 + ;;
8580 + esac
8581 + fi
8582 + ;;
8583 +
8584 + os2*)
8585 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8586 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8587 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
8588 + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8589 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8590 + ;;
8591 +
8592 + osf3*)
8593 + if test "$GCC" = yes; then
8594 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8595 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8596 + else
8597 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
8598 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8599 + fi
8600 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8601 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8602 ;;
8603 - esac
8604 - else
8605 - lt_cv_deplibs_check_method=pass_all
8606 - fi
8607 - ;;
8608
8609 -gnu*)
8610 - lt_cv_deplibs_check_method=pass_all
8611 - ;;
8612 + osf4* | osf5*) # as osf3* with the addition of -msym flag
8613 + if test "$GCC" = yes; then
8614 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8615 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8616 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8617 + else
8618 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
8619 + _LT_AC_TAGVAR(archive_cmds, $1)='$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'
8620 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8621 + $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'
8622
8623 -hpux10.20*|hpux11*)
8624 - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
8625 - lt_cv_file_magic_cmd=/usr/bin/file
8626 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
8627 - ;;
8628 + # Both c and cxx compiler support -rpath directly
8629 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
8630 + fi
8631 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8632 + ;;
8633
8634 -irix5* | irix6* | nonstopux*)
8635 - case $host_os in
8636 - irix5* | nonstopux*)
8637 - # this will be overridden with pass_all, but let us keep it just in case
8638 - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
8639 - ;;
8640 - *)
8641 - case $LD in
8642 - *-32|*"-32 ") libmagic=32-bit;;
8643 - *-n32|*"-n32 ") libmagic=N32;;
8644 - *-64|*"-64 ") libmagic=64-bit;;
8645 - *) libmagic=never-match;;
8646 - esac
8647 - # this will be overridden with pass_all, but let us keep it just in case
8648 - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
8649 - ;;
8650 - esac
8651 - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
8652 - lt_cv_deplibs_check_method=pass_all
8653 - ;;
8654 + sco3.2v5*)
8655 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8656 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8657 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
8658 + runpath_var=LD_RUN_PATH
8659 + hardcode_runpath_var=yes
8660 + ;;
8661
8662 -# This must be Linux ELF.
8663 -linux-gnu*)
8664 - case $host_cpu in
8665 - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
8666 - lt_cv_deplibs_check_method=pass_all ;;
8667 - *)
8668 - # glibc up to 2.1.1 does not perform some relocations on ARM
8669 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
8670 - esac
8671 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
8672 - ;;
8673 + solaris*)
8674 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
8675 + if test "$GCC" = yes; then
8676 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8677 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8678 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8679 + else
8680 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8681 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8682 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8683 + fi
8684 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8685 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8686 + case $host_os in
8687 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
8688 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
8689 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
8690 + esac
8691 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8692 + ;;
8693
8694 -netbsd*)
8695 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8696 - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
8697 - else
8698 - lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
8699 - fi
8700 - ;;
8701 + sunos4*)
8702 + if test "x$host_vendor" = xsequent; then
8703 + # Use $CC to link under sequent, because it throws in some extra .o
8704 + # files that make .init and .fini sections work.
8705 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8706 + else
8707 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8708 + fi
8709 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8710 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8711 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8712 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8713 + ;;
8714
8715 -newos6*)
8716 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
8717 - lt_cv_file_magic_cmd=/usr/bin/file
8718 - lt_cv_file_magic_test_file=/usr/lib/libnls.so
8719 - ;;
8720 + sysv4)
8721 + case $host_vendor in
8722 + sni)
8723 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8724 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
8725 + ;;
8726 + siemens)
8727 + ## LD is ld it makes a PLAMLIB
8728 + ## CC just makes a GrossModule.
8729 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8730 + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
8731 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
8732 + ;;
8733 + motorola)
8734 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8735 + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
8736 + ;;
8737 + esac
8738 + runpath_var='LD_RUN_PATH'
8739 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8740 + ;;
8741
8742 -openbsd*)
8743 - lt_cv_file_magic_cmd=/usr/bin/file
8744 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8745 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8746 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
8747 - else
8748 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
8749 - fi
8750 - ;;
8751 + sysv4.3*)
8752 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8753 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8754 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
8755 + ;;
8756
8757 -osf3* | osf4* | osf5*)
8758 - # this will be overridden with pass_all, but let us keep it just in case
8759 - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
8760 - lt_cv_file_magic_test_file=/shlib/libc.so
8761 - lt_cv_deplibs_check_method=pass_all
8762 - ;;
8763 + sysv4*MP*)
8764 + if test -d /usr/nec; then
8765 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8766 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8767 + runpath_var=LD_RUN_PATH
8768 + hardcode_runpath_var=yes
8769 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
8770 + fi
8771 + ;;
8772
8773 -sco3.2v5*)
8774 - lt_cv_deplibs_check_method=pass_all
8775 - ;;
8776 + sysv4.2uw2*)
8777 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8778 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8779 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
8780 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8781 + hardcode_runpath_var=yes
8782 + runpath_var=LD_RUN_PATH
8783 + ;;
8784
8785 -solaris*)
8786 - lt_cv_deplibs_check_method=pass_all
8787 - lt_cv_file_magic_test_file=/lib/libc.so
8788 - ;;
8789 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
8790 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
8791 + if test "$GCC" = yes; then
8792 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8793 + else
8794 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8795 + fi
8796 + runpath_var='LD_RUN_PATH'
8797 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8798 + ;;
8799
8800 -sysv5uw[[78]]* | sysv4*uw2*)
8801 - lt_cv_deplibs_check_method=pass_all
8802 - ;;
8803 + sysv5*)
8804 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
8805 + # $CC -shared without GNU ld will not create a library from C++
8806 + # object files and a static libstdc++, better avoid it by now
8807 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8808 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8809 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8810 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
8811 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8812 + runpath_var='LD_RUN_PATH'
8813 + ;;
8814
8815 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8816 - case $host_vendor in
8817 - motorola)
8818 - 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]]'
8819 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8820 - ;;
8821 - ncr)
8822 - lt_cv_deplibs_check_method=pass_all
8823 - ;;
8824 - sequent)
8825 - lt_cv_file_magic_cmd='/bin/file'
8826 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
8827 - ;;
8828 - sni)
8829 - lt_cv_file_magic_cmd='/bin/file'
8830 - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
8831 - lt_cv_file_magic_test_file=/lib/libc.so
8832 - ;;
8833 - siemens)
8834 - lt_cv_deplibs_check_method=pass_all
8835 - ;;
8836 - esac
8837 - ;;
8838 -esac
8839 -])
8840 -file_magic_cmd=$lt_cv_file_magic_cmd
8841 -deplibs_check_method=$lt_cv_deplibs_check_method
8842 + uts4*)
8843 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8844 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8845 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8846 + ;;
8847 +
8848 + *)
8849 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
8850 + ;;
8851 + esac
8852 + fi
8853 ])
8854 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
8855 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
8856
8857 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8858 +if test "$GCC" = yes; then
8859 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8860 +fi
8861
8862 -# AC_PROG_NM - find the path to a BSD-compatible name lister
8863 -AC_DEFUN([AC_PROG_NM],
8864 -[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
8865 -AC_MSG_CHECKING([for BSD-compatible nm])
8866 -AC_CACHE_VAL(lt_cv_path_NM,
8867 -[if test -n "$NM"; then
8868 - # Let the user override the test.
8869 - lt_cv_path_NM="$NM"
8870 -else
8871 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8872 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
8873 - test -z "$ac_dir" && ac_dir=.
8874 - tmp_nm=$ac_dir/${ac_tool_prefix}nm
8875 - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
8876 - # Check to see if the nm accepts a BSD-compat flag.
8877 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8878 - # nm: unknown option "B" ignored
8879 - # Tru64's nm complains that /dev/null is an invalid object file
8880 - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
8881 - lt_cv_path_NM="$tmp_nm -B"
8882 - break
8883 - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
8884 - lt_cv_path_NM="$tmp_nm -p"
8885 - break
8886 +#
8887 +# Do we need to explicitly link libc?
8888 +#
8889 +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
8890 +x|xyes)
8891 + # Assume -lc should be added
8892 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8893 +
8894 + if test "$enable_shared" = yes && test "$GCC" = yes; then
8895 + case $_LT_AC_TAGVAR(archive_cmds, $1) in
8896 + *'~'*)
8897 + # FIXME: we may have to deal with multi-command sequences.
8898 + ;;
8899 + '$CC '*)
8900 + # Test whether the compiler implicitly links with -lc since on some
8901 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
8902 + # to ld, don't add -lc before -lgcc.
8903 + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
8904 + $rm conftest*
8905 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8906 +
8907 + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
8908 + soname=conftest
8909 + lib=conftest
8910 + libobjs=conftest.$ac_objext
8911 + deplibs=
8912 + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
8913 + compiler_flags=-v
8914 + linker_flags=-v
8915 + verstring=
8916 + output_objdir=.
8917 + libname=conftest
8918 + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
8919 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
8920 + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
8921 + then
8922 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8923 + else
8924 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8925 + fi
8926 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
8927 else
8928 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8929 - continue # so that we can try to find one that supports BSD flags
8930 + cat conftest.err 1>&5
8931 fi
8932 - fi
8933 - done
8934 - IFS="$ac_save_ifs"
8935 - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
8936 -fi])
8937 -NM="$lt_cv_path_NM"
8938 -AC_MSG_RESULT([$NM])
8939 -])
8940 -
8941 -# AC_CHECK_LIBM - check for math library
8942 -AC_DEFUN([AC_CHECK_LIBM],
8943 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
8944 -LIBM=
8945 -case $host in
8946 -*-*-beos* | *-*-cygwin* | *-*-pw32*)
8947 - # These system don't have libm
8948 - ;;
8949 -*-ncr-sysv4.3*)
8950 - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
8951 - AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
8952 - ;;
8953 -*)
8954 - AC_CHECK_LIB(m, main, LIBM="-lm")
8955 + $rm conftest*
8956 + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
8957 + ;;
8958 + esac
8959 + fi
8960 ;;
8961 esac
8962 -])
8963 +])# AC_LIBTOOL_PROG_LD_SHLIBS
8964
8965 -# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
8966 -# the libltdl convenience library and LTDLINCL to the include flags for
8967 -# the libltdl header and adds --enable-ltdl-convenience to the
8968 -# configure arguments. Note that LIBLTDL and LTDLINCL are not
8969 -# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
8970 -# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
8971 -# with '${top_builddir}/' and LTDLINCL will be prefixed with
8972 -# '${top_srcdir}/' (note the single quotes!). If your package is not
8973 -# flat and you're not using automake, define top_builddir and
8974 -# top_srcdir appropriately in the Makefiles.
8975 -AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
8976 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
8977 - case $enable_ltdl_convenience in
8978 - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
8979 - "") enable_ltdl_convenience=yes
8980 - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
8981 - esac
8982 - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
8983 - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
8984 - # For backwards non-gettext consistent compatibility...
8985 - INCLTDL="$LTDLINCL"
8986 -])
8987
8988 -# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
8989 -# the libltdl installable library and LTDLINCL to the include flags for
8990 -# the libltdl header and adds --enable-ltdl-install to the configure
8991 -# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is
8992 -# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
8993 -# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
8994 -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed
8995 -# with '${top_srcdir}/' (note the single quotes!). If your package is
8996 -# not flat and you're not using automake, define top_builddir and
8997 -# top_srcdir appropriately in the Makefiles.
8998 -# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
8999 -AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
9000 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
9001 - AC_CHECK_LIB(ltdl, main,
9002 - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
9003 - [if test x"$enable_ltdl_install" = xno; then
9004 - AC_MSG_WARN([libltdl not installed, but installation disabled])
9005 - else
9006 - enable_ltdl_install=yes
9007 - fi
9008 - ])
9009 - if test x"$enable_ltdl_install" = x"yes"; then
9010 - ac_configure_args="$ac_configure_args --enable-ltdl-install"
9011 - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
9012 - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
9013 - else
9014 - ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
9015 - LIBLTDL="-lltdl"
9016 - LTDLINCL=
9017 - fi
9018 - # For backwards non-gettext consistent compatibility...
9019 - INCLTDL="$LTDLINCL"
9020 -])
9021 +# _LT_AC_FILE_LTDLL_C
9022 +# -------------------
9023 +# Be careful that the start marker always follows a newline.
9024 +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
9025 +# /* ltdll.c starts here */
9026 +# #define WIN32_LEAN_AND_MEAN
9027 +# #include <windows.h>
9028 +# #undef WIN32_LEAN_AND_MEAN
9029 +# #include <stdio.h>
9030 +#
9031 +# #ifndef __CYGWIN__
9032 +# # ifdef __CYGWIN32__
9033 +# # define __CYGWIN__ __CYGWIN32__
9034 +# # endif
9035 +# #endif
9036 +#
9037 +# #ifdef __cplusplus
9038 +# extern "C" {
9039 +# #endif
9040 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
9041 +# #ifdef __cplusplus
9042 +# }
9043 +# #endif
9044 +#
9045 +# #ifdef __CYGWIN__
9046 +# #include <cygwin/cygwin_dll.h>
9047 +# DECLARE_CYGWIN_DLL( DllMain );
9048 +# #endif
9049 +# HINSTANCE __hDllInstance_base;
9050 +#
9051 +# BOOL APIENTRY
9052 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
9053 +# {
9054 +# __hDllInstance_base = hInst;
9055 +# return TRUE;
9056 +# }
9057 +# /* ltdll.c ends here */
9058 +])# _LT_AC_FILE_LTDLL_C
9059 +
9060 +
9061 +# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
9062 +# ---------------------------------
9063 +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
9064 +
9065
9066 # old names
9067 AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
9068 @@ -3709,6 +6828,16 @@
9069 # This is just to silence aclocal about the macro not being used
9070 ifelse([AC_DISABLE_FAST_INSTALL])
9071
9072 +AC_DEFUN([LT_AC_PROG_GCJ],
9073 +[AC_CHECK_TOOL(GCJ, gcj, no)
9074 + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
9075 + AC_SUBST(GCJFLAGS)
9076 +])
9077 +
9078 +AC_DEFUN([LT_AC_PROG_RC],
9079 +[AC_CHECK_TOOL(RC, windres, no)
9080 +])
9081 +
9082 # NOTE: This macro has been submitted for inclusion into #
9083 # GNU Autoconf as AC_PROG_SED. When it is available in #
9084 # a released version of Autoconf we should remove this #
9085 @@ -3722,79 +6851,51 @@
9086 AC_CACHE_VAL(lt_cv_path_SED,
9087 [# Loop through the user's path and test for sed and gsed.
9088 # Then use that list of sed's as ones to test for truncation.
9089 -as_executable_p="test -f"
9090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9091 for as_dir in $PATH
9092 do
9093 IFS=$as_save_IFS
9094 test -z "$as_dir" && as_dir=.
9095 - for ac_prog in sed gsed; do
9096 + for lt_ac_prog in sed gsed; do
9097 for ac_exec_ext in '' $ac_executable_extensions; do
9098 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9099 - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
9100 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
9101 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
9102 fi
9103 done
9104 done
9105 done
9106 -
9107 - # Create a temporary directory, and hook for its removal unless debugging.
9108 -$debug ||
9109 -{
9110 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9111 - trap '{ (exit 1); exit 1; }' 1 2 13 15
9112 -}
9113 -
9114 -# Create a (secure) tmp directory for tmp files.
9115 -: ${TMPDIR=/tmp}
9116 -{
9117 - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
9118 - test -n "$tmp" && test -d "$tmp"
9119 -} ||
9120 -{
9121 - tmp=$TMPDIR/sed$$-$RANDOM
9122 - (umask 077 && mkdir $tmp)
9123 -} ||
9124 -{
9125 - echo "$me: cannot create a temporary directory in $TMPDIR" >&2
9126 - { (exit 1); exit 1; }
9127 -}
9128 - _max=0
9129 - _count=0
9130 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris
9131 - # along with /bin/sed that truncates output.
9132 - for _sed in $_sed_list /usr/xpg4/bin/sed; do
9133 - test ! -f ${_sed} && break
9134 - cat /dev/null > "$tmp/sed.in"
9135 - _count=0
9136 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
9137 - # Check for GNU sed and select it if it is found.
9138 - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
9139 - lt_cv_path_SED=${_sed}
9140 - break
9141 +lt_ac_max=0
9142 +lt_ac_count=0
9143 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
9144 +# along with /bin/sed that truncates output.
9145 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
9146 + test ! -f $lt_ac_sed && break
9147 + cat /dev/null > conftest.in
9148 + lt_ac_count=0
9149 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
9150 + # Check for GNU sed and select it if it is found.
9151 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
9152 + lt_cv_path_SED=$lt_ac_sed
9153 + break
9154 + fi
9155 + while true; do
9156 + cat conftest.in conftest.in >conftest.tmp
9157 + mv conftest.tmp conftest.in
9158 + cp conftest.in conftest.nl
9159 + echo >>conftest.nl
9160 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
9161 + cmp -s conftest.out conftest.nl || break
9162 + # 10000 chars as input seems more than enough
9163 + test $lt_ac_count -gt 10 && break
9164 + lt_ac_count=`expr $lt_ac_count + 1`
9165 + if test $lt_ac_count -gt $lt_ac_max; then
9166 + lt_ac_max=$lt_ac_count
9167 + lt_cv_path_SED=$lt_ac_sed
9168 fi
9169 - while true; do
9170 - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
9171 - mv "$tmp/sed.tmp" "$tmp/sed.in"
9172 - cp "$tmp/sed.in" "$tmp/sed.nl"
9173 - echo >>"$tmp/sed.nl"
9174 - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
9175 - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
9176 - # 40000 chars as input seems more than enough
9177 - test $_count -gt 10 && break
9178 - _count=`expr $_count + 1`
9179 - if test $_count -gt $_max; then
9180 - _max=$_count
9181 - lt_cv_path_SED=$_sed
9182 - fi
9183 - done
9184 done
9185 - rm -rf "$tmp"
9186 +done
9187 +SED=$lt_cv_path_SED
9188 ])
9189 -if test "X$SED" != "X"; then
9190 - lt_cv_path_SED=$SED
9191 -else
9192 - SED=$lt_cv_path_SED
9193 -fi
9194 AC_MSG_RESULT([$SED])
9195 ])
9196
9197 diff -urN linux-atm.old/configure linux-atm.dev/configure
9198 --- linux-atm.old/configure 2005-08-23 01:12:10.846787000 +0200
9199 +++ linux-atm.dev/configure 2005-08-23 01:12:41.187175024 +0200
9200 @@ -1,9 +1,8 @@
9201 #! /bin/sh
9202 # Guess values for system-dependent variables and create Makefiles.
9203 -# Generated by GNU Autoconf 2.57.
9204 +# Generated by GNU Autoconf 2.59.
9205 #
9206 -# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9207 -# Free Software Foundation, Inc.
9208 +# Copyright (C) 2003 Free Software Foundation, Inc.
9209 # This configure script is free software; the Free Software Foundation
9210 # gives unlimited permission to copy, distribute and modify it.
9211 ## --------------------- ##
9212 @@ -20,9 +19,10 @@
9213 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9214 set -o posix
9215 fi
9216 +DUALCASE=1; export DUALCASE # for MKS sh
9217
9218 # Support unset when possible.
9219 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
9220 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9221 as_unset=unset
9222 else
9223 as_unset=false
9224 @@ -41,7 +41,7 @@
9225 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9226 LC_TELEPHONE LC_TIME
9227 do
9228 - if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
9229 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9230 eval $as_var=C; export $as_var
9231 else
9232 $as_unset $as_var
9233 @@ -218,16 +218,17 @@
9234 if mkdir -p . 2>/dev/null; then
9235 as_mkdir_p=:
9236 else
9237 + test -d ./-p && rmdir ./-p
9238 as_mkdir_p=false
9239 fi
9240
9241 as_executable_p="test -f"
9242
9243 # Sed expression to map a string onto a valid CPP name.
9244 -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
9245 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9246
9247 # Sed expression to map a string onto a valid variable name.
9248 -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
9249 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9250
9251
9252 # IFS
9253 @@ -826,7 +827,7 @@
9254
9255 # Be sure to have absolute paths.
9256 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
9257 - localstatedir libdir includedir oldincludedir infodir mandir
9258 + localstatedir libdir includedir oldincludedir infodir mandir
9259 do
9260 eval ac_val=$`echo $ac_var`
9261 case $ac_val in
9262 @@ -866,10 +867,10 @@
9263 # Try the directory containing this script, then its parent.
9264 ac_confdir=`(dirname "$0") 2>/dev/null ||
9265 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9266 - X"$0" : 'X\(//\)[^/]' \| \
9267 - X"$0" : 'X\(//\)$' \| \
9268 - X"$0" : 'X\(/\)' \| \
9269 - . : '\(.\)' 2>/dev/null ||
9270 + X"$0" : 'X\(//\)[^/]' \| \
9271 + X"$0" : 'X\(//\)$' \| \
9272 + X"$0" : 'X\(/\)' \| \
9273 + . : '\(.\)' 2>/dev/null ||
9274 echo X"$0" |
9275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9276 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9277 @@ -961,9 +962,9 @@
9278 cat <<_ACEOF
9279 Installation directories:
9280 --prefix=PREFIX install architecture-independent files in PREFIX
9281 - [$ac_default_prefix]
9282 + [$ac_default_prefix]
9283 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
9284 - [PREFIX]
9285 + [PREFIX]
9286
9287 By default, \`make install' will install all the files in
9288 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
9289 @@ -1071,12 +1072,45 @@
9290 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9291 ac_top_srcdir=$ac_top_builddir$srcdir ;;
9292 esac
9293 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
9294 -# absolute.
9295 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
9296 -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
9297 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
9298 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9299 +
9300 +# Do not use `cd foo && pwd` to compute absolute paths, because
9301 +# the directories may not exist.
9302 +case `pwd` in
9303 +.) ac_abs_builddir="$ac_dir";;
9304 +*)
9305 + case "$ac_dir" in
9306 + .) ac_abs_builddir=`pwd`;;
9307 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9308 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
9309 + esac;;
9310 +esac
9311 +case $ac_abs_builddir in
9312 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
9313 +*)
9314 + case ${ac_top_builddir}. in
9315 + .) ac_abs_top_builddir=$ac_abs_builddir;;
9316 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9317 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9318 + esac;;
9319 +esac
9320 +case $ac_abs_builddir in
9321 +.) ac_abs_srcdir=$ac_srcdir;;
9322 +*)
9323 + case $ac_srcdir in
9324 + .) ac_abs_srcdir=$ac_abs_builddir;;
9325 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9326 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9327 + esac;;
9328 +esac
9329 +case $ac_abs_builddir in
9330 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
9331 +*)
9332 + case $ac_top_srcdir in
9333 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
9334 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9335 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9336 + esac;;
9337 +esac
9338
9339 cd $ac_dir
9340 # Check for guested configure; otherwise get Cygnus style configure.
9341 @@ -1087,13 +1121,13 @@
9342 echo
9343 $SHELL $ac_srcdir/configure --help=recursive
9344 elif test -f $ac_srcdir/configure.ac ||
9345 - test -f $ac_srcdir/configure.in; then
9346 + test -f $ac_srcdir/configure.in; then
9347 echo
9348 $ac_configure --help
9349 else
9350 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
9351 fi
9352 - cd $ac_popdir
9353 + cd "$ac_popdir"
9354 done
9355 fi
9356
9357 @@ -1101,8 +1135,7 @@
9358 if $ac_init_version; then
9359 cat <<\_ACEOF
9360
9361 -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9362 -Free Software Foundation, Inc.
9363 +Copyright (C) 2003 Free Software Foundation, Inc.
9364 This configure script is free software; the Free Software Foundation
9365 gives unlimited permission to copy, distribute and modify it.
9366 _ACEOF
9367 @@ -1114,7 +1147,7 @@
9368 running configure, to aid debugging if configure makes a mistake.
9369
9370 It was created by $as_me, which was
9371 -generated by GNU Autoconf 2.57. Invocation command line was
9372 +generated by GNU Autoconf 2.59. Invocation command line was
9373
9374 $ $0 $@
9375
9376 @@ -1191,19 +1224,19 @@
9377 2)
9378 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
9379 if test $ac_must_keep_next = true; then
9380 - ac_must_keep_next=false # Got value, back to normal.
9381 + ac_must_keep_next=false # Got value, back to normal.
9382 else
9383 - case $ac_arg in
9384 - *=* | --config-cache | -C | -disable-* | --disable-* \
9385 - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
9386 - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
9387 - | -with-* | --with-* | -without-* | --without-* | --x)
9388 - case "$ac_configure_args0 " in
9389 - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
9390 - esac
9391 - ;;
9392 - -* ) ac_must_keep_next=true ;;
9393 - esac
9394 + case $ac_arg in
9395 + *=* | --config-cache | -C | -disable-* | --disable-* \
9396 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
9397 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
9398 + | -with-* | --with-* | -without-* | --without-* | --x)
9399 + case "$ac_configure_args0 " in
9400 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
9401 + esac
9402 + ;;
9403 + -* ) ac_must_keep_next=true ;;
9404 + esac
9405 fi
9406 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
9407 # Get rid of the leading space.
9408 @@ -1237,12 +1270,12 @@
9409 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
9410 *ac_space=\ *)
9411 sed -n \
9412 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
9413 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
9414 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
9415 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
9416 ;;
9417 *)
9418 sed -n \
9419 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9420 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9421 ;;
9422 esac;
9423 }
9424 @@ -1271,7 +1304,7 @@
9425 for ac_var in $ac_subst_files
9426 do
9427 eval ac_val=$`echo $ac_var`
9428 - echo "$ac_var='"'"'$ac_val'"'"'"
9429 + echo "$ac_var='"'"'$ac_val'"'"'"
9430 done | sort
9431 echo
9432 fi
9433 @@ -1370,7 +1403,7 @@
9434 # value.
9435 ac_cache_corrupted=false
9436 for ac_var in `(set) 2>&1 |
9437 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
9438 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
9439 eval ac_old_set=\$ac_cv_env_${ac_var}_set
9440 eval ac_new_set=\$ac_env_${ac_var}_set
9441 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
9442 @@ -1387,13 +1420,13 @@
9443 ,);;
9444 *)
9445 if test "x$ac_old_val" != "x$ac_new_val"; then
9446 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
9447 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
9448 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
9449 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
9450 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
9451 echo "$as_me: former value: $ac_old_val" >&2;}
9452 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
9453 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
9454 echo "$as_me: current value: $ac_new_val" >&2;}
9455 - ac_cache_corrupted=:
9456 + ac_cache_corrupted=:
9457 fi;;
9458 esac
9459 # Pass precious variables to config.status.
9460 @@ -1567,6 +1600,7 @@
9461 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9462 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9463 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9464 +# OS/2's system install, which has a completely different semantic
9465 # ./install, which can be erroneously created by make from ./install.sh.
9466 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9467 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
9468 @@ -1583,6 +1617,7 @@
9469 case $as_dir/ in
9470 ./ | .// | /cC/* | \
9471 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
9472 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
9473 /usr/ucb/* ) ;;
9474 *)
9475 # OSF1 and SCO ODT 3.0 have their own names for install.
9476 @@ -1590,20 +1625,20 @@
9477 # by default.
9478 for ac_prog in ginstall scoinst install; do
9479 for ac_exec_ext in '' $ac_executable_extensions; do
9480 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9481 - if test $ac_prog = install &&
9482 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9483 - # AIX install. It has an incompatible calling convention.
9484 - :
9485 - elif test $ac_prog = install &&
9486 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9487 - # program-specific install script used by HP pwplus--don't use.
9488 - :
9489 - else
9490 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
9491 - break 3
9492 - fi
9493 - fi
9494 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9495 + if test $ac_prog = install &&
9496 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9497 + # AIX install. It has an incompatible calling convention.
9498 + :
9499 + elif test $ac_prog = install &&
9500 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9501 + # program-specific install script used by HP pwplus--don't use.
9502 + :
9503 + else
9504 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
9505 + break 3
9506 + fi
9507 + fi
9508 done
9509 done
9510 ;;
9511 @@ -1693,7 +1728,7 @@
9512
9513 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9514 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
9515 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
9516 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
9517 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
9518 echo $ECHO_N "(cached) $ECHO_C" >&6
9519 else
9520 @@ -2163,7 +2198,6 @@
9521 (exit $ac_status); }
9522
9523 cat >conftest.$ac_ext <<_ACEOF
9524 -#line $LINENO "configure"
9525 /* confdefs.h. */
9526 _ACEOF
9527 cat confdefs.h >>conftest.$ac_ext
9528 @@ -2183,8 +2217,8 @@
9529 # Try to create an executable without -o first, disregard a.out.
9530 # It will help us diagnose broken compilers, and finding out an intuition
9531 # of exeext.
9532 -echo "$as_me:$LINENO: checking for C compiler default output" >&5
9533 -echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
9534 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
9535 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
9536 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9537 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
9538 (eval $ac_link_default) 2>&5
9539 @@ -2204,23 +2238,23 @@
9540 test -f "$ac_file" || continue
9541 case $ac_file in
9542 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
9543 - ;;
9544 + ;;
9545 conftest.$ac_ext )
9546 - # This is the source file.
9547 - ;;
9548 + # This is the source file.
9549 + ;;
9550 [ab].out )
9551 - # We found the default executable, but exeext='' is most
9552 - # certainly right.
9553 - break;;
9554 + # We found the default executable, but exeext='' is most
9555 + # certainly right.
9556 + break;;
9557 *.* )
9558 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9559 - # FIXME: I believe we export ac_cv_exeext for Libtool,
9560 - # but it would be cool to find out if it's true. Does anybody
9561 - # maintain Libtool? --akim.
9562 - export ac_cv_exeext
9563 - break;;
9564 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9565 + # FIXME: I believe we export ac_cv_exeext for Libtool,
9566 + # but it would be cool to find out if it's true. Does anybody
9567 + # maintain Libtool? --akim.
9568 + export ac_cv_exeext
9569 + break;;
9570 * )
9571 - break;;
9572 + break;;
9573 esac
9574 done
9575 else
9576 @@ -2294,8 +2328,8 @@
9577 case $ac_file in
9578 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
9579 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9580 - export ac_cv_exeext
9581 - break;;
9582 + export ac_cv_exeext
9583 + break;;
9584 * ) break;;
9585 esac
9586 done
9587 @@ -2320,7 +2354,6 @@
9588 echo $ECHO_N "(cached) $ECHO_C" >&6
9589 else
9590 cat >conftest.$ac_ext <<_ACEOF
9591 -#line $LINENO "configure"
9592 /* confdefs.h. */
9593 _ACEOF
9594 cat confdefs.h >>conftest.$ac_ext
9595 @@ -2371,7 +2404,6 @@
9596 echo $ECHO_N "(cached) $ECHO_C" >&6
9597 else
9598 cat >conftest.$ac_ext <<_ACEOF
9599 -#line $LINENO "configure"
9600 /* confdefs.h. */
9601 _ACEOF
9602 cat confdefs.h >>conftest.$ac_ext
9603 @@ -2391,11 +2423,20 @@
9604 _ACEOF
9605 rm -f conftest.$ac_objext
9606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9607 - (eval $ac_compile) 2>&5
9608 + (eval $ac_compile) 2>conftest.er1
9609 ac_status=$?
9610 + grep -v '^ *+' conftest.er1 >conftest.err
9611 + rm -f conftest.er1
9612 + cat conftest.err >&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); } &&
9615 - { ac_try='test -s conftest.$ac_objext'
9616 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9617 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9618 + (eval $ac_try) 2>&5
9619 + ac_status=$?
9620 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 + (exit $ac_status); }; } &&
9622 + { ac_try='test -s conftest.$ac_objext'
9623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9624 (eval $ac_try) 2>&5
9625 ac_status=$?
9626 @@ -2408,7 +2449,7 @@
9627
9628 ac_compiler_gnu=no
9629 fi
9630 -rm -f conftest.$ac_objext conftest.$ac_ext
9631 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9632 ac_cv_c_compiler_gnu=$ac_compiler_gnu
9633
9634 fi
9635 @@ -2424,7 +2465,6 @@
9636 echo $ECHO_N "(cached) $ECHO_C" >&6
9637 else
9638 cat >conftest.$ac_ext <<_ACEOF
9639 -#line $LINENO "configure"
9640 /* confdefs.h. */
9641 _ACEOF
9642 cat confdefs.h >>conftest.$ac_ext
9643 @@ -2441,11 +2481,20 @@
9644 _ACEOF
9645 rm -f conftest.$ac_objext
9646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9647 - (eval $ac_compile) 2>&5
9648 + (eval $ac_compile) 2>conftest.er1
9649 ac_status=$?
9650 + grep -v '^ *+' conftest.er1 >conftest.err
9651 + rm -f conftest.er1
9652 + cat conftest.err >&5
9653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654 (exit $ac_status); } &&
9655 - { ac_try='test -s conftest.$ac_objext'
9656 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9657 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9658 + (eval $ac_try) 2>&5
9659 + ac_status=$?
9660 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661 + (exit $ac_status); }; } &&
9662 + { ac_try='test -s conftest.$ac_objext'
9663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9664 (eval $ac_try) 2>&5
9665 ac_status=$?
9666 @@ -2458,7 +2507,7 @@
9667
9668 ac_cv_prog_cc_g=no
9669 fi
9670 -rm -f conftest.$ac_objext conftest.$ac_ext
9671 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9672 fi
9673 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
9674 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
9675 @@ -2485,7 +2534,6 @@
9676 ac_cv_prog_cc_stdc=no
9677 ac_save_CC=$CC
9678 cat >conftest.$ac_ext <<_ACEOF
9679 -#line $LINENO "configure"
9680 /* confdefs.h. */
9681 _ACEOF
9682 cat confdefs.h >>conftest.$ac_ext
9683 @@ -2513,6 +2561,16 @@
9684 va_end (v);
9685 return s;
9686 }
9687 +
9688 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
9689 + function prototypes and stuff, but not '\xHH' hex character constants.
9690 + These don't provoke an error unfortunately, instead are silently treated
9691 + as 'x'. The following induces an error, until -std1 is added to get
9692 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
9693 + array size at least. It's necessary to write '\x00'==0 to get something
9694 + that's true only with -std1. */
9695 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
9696 +
9697 int test (int i, double x);
9698 struct s1 {int (*f) (int a);};
9699 struct s2 {int (*f) (double a);};
9700 @@ -2539,11 +2597,20 @@
9701 CC="$ac_save_CC $ac_arg"
9702 rm -f conftest.$ac_objext
9703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9704 - (eval $ac_compile) 2>&5
9705 + (eval $ac_compile) 2>conftest.er1
9706 ac_status=$?
9707 + grep -v '^ *+' conftest.er1 >conftest.err
9708 + rm -f conftest.er1
9709 + cat conftest.err >&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); } &&
9712 - { ac_try='test -s conftest.$ac_objext'
9713 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9714 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9715 + (eval $ac_try) 2>&5
9716 + ac_status=$?
9717 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 + (exit $ac_status); }; } &&
9719 + { ac_try='test -s conftest.$ac_objext'
9720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9721 (eval $ac_try) 2>&5
9722 ac_status=$?
9723 @@ -2556,7 +2623,7 @@
9724 sed 's/^/| /' conftest.$ac_ext >&5
9725
9726 fi
9727 -rm -f conftest.$ac_objext
9728 +rm -f conftest.err conftest.$ac_objext
9729 done
9730 rm -f conftest.$ac_ext conftest.$ac_objext
9731 CC=$ac_save_CC
9732 @@ -2584,11 +2651,20 @@
9733 _ACEOF
9734 rm -f conftest.$ac_objext
9735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9736 - (eval $ac_compile) 2>&5
9737 + (eval $ac_compile) 2>conftest.er1
9738 ac_status=$?
9739 + grep -v '^ *+' conftest.er1 >conftest.err
9740 + rm -f conftest.er1
9741 + cat conftest.err >&5
9742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9743 (exit $ac_status); } &&
9744 - { ac_try='test -s conftest.$ac_objext'
9745 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9746 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9747 + (eval $ac_try) 2>&5
9748 + ac_status=$?
9749 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 + (exit $ac_status); }; } &&
9751 + { ac_try='test -s conftest.$ac_objext'
9752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9753 (eval $ac_try) 2>&5
9754 ac_status=$?
9755 @@ -2603,7 +2679,6 @@
9756 'void exit (int);'
9757 do
9758 cat >conftest.$ac_ext <<_ACEOF
9759 -#line $LINENO "configure"
9760 /* confdefs.h. */
9761 _ACEOF
9762 cat confdefs.h >>conftest.$ac_ext
9763 @@ -2621,11 +2696,20 @@
9764 _ACEOF
9765 rm -f conftest.$ac_objext
9766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9767 - (eval $ac_compile) 2>&5
9768 + (eval $ac_compile) 2>conftest.er1
9769 ac_status=$?
9770 + grep -v '^ *+' conftest.er1 >conftest.err
9771 + rm -f conftest.er1
9772 + cat conftest.err >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); } &&
9775 - { ac_try='test -s conftest.$ac_objext'
9776 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9777 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9778 + (eval $ac_try) 2>&5
9779 + ac_status=$?
9780 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 + (exit $ac_status); }; } &&
9782 + { ac_try='test -s conftest.$ac_objext'
9783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9784 (eval $ac_try) 2>&5
9785 ac_status=$?
9786 @@ -2638,9 +2722,8 @@
9787
9788 continue
9789 fi
9790 -rm -f conftest.$ac_objext conftest.$ac_ext
9791 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9792 cat >conftest.$ac_ext <<_ACEOF
9793 -#line $LINENO "configure"
9794 /* confdefs.h. */
9795 _ACEOF
9796 cat confdefs.h >>conftest.$ac_ext
9797 @@ -2657,11 +2740,20 @@
9798 _ACEOF
9799 rm -f conftest.$ac_objext
9800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9801 - (eval $ac_compile) 2>&5
9802 + (eval $ac_compile) 2>conftest.er1
9803 ac_status=$?
9804 + grep -v '^ *+' conftest.er1 >conftest.err
9805 + rm -f conftest.er1
9806 + cat conftest.err >&5
9807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808 (exit $ac_status); } &&
9809 - { ac_try='test -s conftest.$ac_objext'
9810 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9811 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9812 + (eval $ac_try) 2>&5
9813 + ac_status=$?
9814 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815 + (exit $ac_status); }; } &&
9816 + { ac_try='test -s conftest.$ac_objext'
9817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9818 (eval $ac_try) 2>&5
9819 ac_status=$?
9820 @@ -2673,7 +2765,7 @@
9821 sed 's/^/| /' conftest.$ac_ext >&5
9822
9823 fi
9824 -rm -f conftest.$ac_objext conftest.$ac_ext
9825 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9826 done
9827 rm -f conftest*
9828 if test -n "$ac_declaration"; then
9829 @@ -2687,7 +2779,7 @@
9830 sed 's/^/| /' conftest.$ac_ext >&5
9831
9832 fi
9833 -rm -f conftest.$ac_objext conftest.$ac_ext
9834 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9835 ac_ext=c
9836 ac_cpp='$CPP $CPPFLAGS'
9837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9838 @@ -2788,7 +2880,6 @@
9839 ac_check_lib_save_LIBS=$LIBS
9840 LIBS="-lfl $LIBS"
9841 cat >conftest.$ac_ext <<_ACEOF
9842 -#line $LINENO "configure"
9843 /* confdefs.h. */
9844 _ACEOF
9845 cat confdefs.h >>conftest.$ac_ext
9846 @@ -2812,11 +2903,20 @@
9847 _ACEOF
9848 rm -f conftest.$ac_objext conftest$ac_exeext
9849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9850 - (eval $ac_link) 2>&5
9851 + (eval $ac_link) 2>conftest.er1
9852 ac_status=$?
9853 + grep -v '^ *+' conftest.er1 >conftest.err
9854 + rm -f conftest.er1
9855 + cat conftest.err >&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); } &&
9858 - { ac_try='test -s conftest$ac_exeext'
9859 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9860 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9861 + (eval $ac_try) 2>&5
9862 + ac_status=$?
9863 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864 + (exit $ac_status); }; } &&
9865 + { ac_try='test -s conftest$ac_exeext'
9866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9867 (eval $ac_try) 2>&5
9868 ac_status=$?
9869 @@ -2829,7 +2929,8 @@
9870
9871 ac_cv_lib_fl_yywrap=no
9872 fi
9873 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9874 +rm -f conftest.err conftest.$ac_objext \
9875 + conftest$ac_exeext conftest.$ac_ext
9876 LIBS=$ac_check_lib_save_LIBS
9877 fi
9878 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
9879 @@ -2845,7 +2946,6 @@
9880 ac_check_lib_save_LIBS=$LIBS
9881 LIBS="-ll $LIBS"
9882 cat >conftest.$ac_ext <<_ACEOF
9883 -#line $LINENO "configure"
9884 /* confdefs.h. */
9885 _ACEOF
9886 cat confdefs.h >>conftest.$ac_ext
9887 @@ -2869,11 +2969,20 @@
9888 _ACEOF
9889 rm -f conftest.$ac_objext conftest$ac_exeext
9890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9891 - (eval $ac_link) 2>&5
9892 + (eval $ac_link) 2>conftest.er1
9893 ac_status=$?
9894 + grep -v '^ *+' conftest.er1 >conftest.err
9895 + rm -f conftest.er1
9896 + cat conftest.err >&5
9897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9898 (exit $ac_status); } &&
9899 - { ac_try='test -s conftest$ac_exeext'
9900 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9901 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9902 + (eval $ac_try) 2>&5
9903 + ac_status=$?
9904 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 + (exit $ac_status); }; } &&
9906 + { ac_try='test -s conftest$ac_exeext'
9907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9908 (eval $ac_try) 2>&5
9909 ac_status=$?
9910 @@ -2886,7 +2995,8 @@
9911
9912 ac_cv_lib_l_yywrap=no
9913 fi
9914 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9915 +rm -f conftest.err conftest.$ac_objext \
9916 + conftest$ac_exeext conftest.$ac_ext
9917 LIBS=$ac_check_lib_save_LIBS
9918 fi
9919 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
9920 @@ -2948,11 +3058,20 @@
9921 _ACEOF
9922 rm -f conftest.$ac_objext conftest$ac_exeext
9923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9924 - (eval $ac_link) 2>&5
9925 + (eval $ac_link) 2>conftest.er1
9926 ac_status=$?
9927 + grep -v '^ *+' conftest.er1 >conftest.err
9928 + rm -f conftest.er1
9929 + cat conftest.err >&5
9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); } &&
9932 - { ac_try='test -s conftest$ac_exeext'
9933 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9934 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9935 + (eval $ac_try) 2>&5
9936 + ac_status=$?
9937 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 + (exit $ac_status); }; } &&
9939 + { ac_try='test -s conftest$ac_exeext'
9940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9941 (eval $ac_try) 2>&5
9942 ac_status=$?
9943 @@ -2964,7 +3083,8 @@
9944 sed 's/^/| /' conftest.$ac_ext >&5
9945
9946 fi
9947 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9948 +rm -f conftest.err conftest.$ac_objext \
9949 + conftest$ac_exeext conftest.$ac_ext
9950 LIBS=$ac_save_LIBS
9951 rm -f "${LEX_OUTPUT_ROOT}.c"
9952
9953 @@ -3033,6 +3153,7 @@
9954 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9955 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9956 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9957 +# OS/2's system install, which has a completely different semantic
9958 # ./install, which can be erroneously created by make from ./install.sh.
9959 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9960 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
9961 @@ -3049,6 +3170,7 @@
9962 case $as_dir/ in
9963 ./ | .// | /cC/* | \
9964 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
9965 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
9966 /usr/ucb/* ) ;;
9967 *)
9968 # OSF1 and SCO ODT 3.0 have their own names for install.
9969 @@ -3056,20 +3178,20 @@
9970 # by default.
9971 for ac_prog in ginstall scoinst install; do
9972 for ac_exec_ext in '' $ac_executable_extensions; do
9973 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9974 - if test $ac_prog = install &&
9975 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9976 - # AIX install. It has an incompatible calling convention.
9977 - :
9978 - elif test $ac_prog = install &&
9979 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9980 - # program-specific install script used by HP pwplus--don't use.
9981 - :
9982 - else
9983 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
9984 - break 3
9985 - fi
9986 - fi
9987 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9988 + if test $ac_prog = install &&
9989 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9990 + # AIX install. It has an incompatible calling convention.
9991 + :
9992 + elif test $ac_prog = install &&
9993 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9994 + # program-specific install script used by HP pwplus--don't use.
9995 + :
9996 + else
9997 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
9998 + break 3
9999 + fi
10000 + fi
10001 done
10002 done
10003 ;;
10004 @@ -3842,7 +3964,6 @@
10005 # On the NeXT, cc -E runs the code through the compiler's parser,
10006 # not just through cpp. "Syntax error" is here to catch this case.
10007 cat >conftest.$ac_ext <<_ACEOF
10008 -#line $LINENO "configure"
10009 /* confdefs.h. */
10010 _ACEOF
10011 cat confdefs.h >>conftest.$ac_ext
10012 @@ -3853,7 +3974,7 @@
10013 #else
10014 # include <assert.h>
10015 #endif
10016 - Syntax error
10017 + Syntax error
10018 _ACEOF
10019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10021 @@ -3865,6 +3986,7 @@
10022 (exit $ac_status); } >/dev/null; then
10023 if test -s conftest.err; then
10024 ac_cpp_err=$ac_c_preproc_warn_flag
10025 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10026 else
10027 ac_cpp_err=
10028 fi
10029 @@ -3885,7 +4007,6 @@
10030 # OK, works on sane cases. Now check whether non-existent headers
10031 # can be detected and how.
10032 cat >conftest.$ac_ext <<_ACEOF
10033 -#line $LINENO "configure"
10034 /* confdefs.h. */
10035 _ACEOF
10036 cat confdefs.h >>conftest.$ac_ext
10037 @@ -3903,6 +4024,7 @@
10038 (exit $ac_status); } >/dev/null; then
10039 if test -s conftest.err; then
10040 ac_cpp_err=$ac_c_preproc_warn_flag
10041 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10042 else
10043 ac_cpp_err=
10044 fi
10045 @@ -3949,7 +4071,6 @@
10046 # On the NeXT, cc -E runs the code through the compiler's parser,
10047 # not just through cpp. "Syntax error" is here to catch this case.
10048 cat >conftest.$ac_ext <<_ACEOF
10049 -#line $LINENO "configure"
10050 /* confdefs.h. */
10051 _ACEOF
10052 cat confdefs.h >>conftest.$ac_ext
10053 @@ -3960,7 +4081,7 @@
10054 #else
10055 # include <assert.h>
10056 #endif
10057 - Syntax error
10058 + Syntax error
10059 _ACEOF
10060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10061 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10062 @@ -3972,6 +4093,7 @@
10063 (exit $ac_status); } >/dev/null; then
10064 if test -s conftest.err; then
10065 ac_cpp_err=$ac_c_preproc_warn_flag
10066 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10067 else
10068 ac_cpp_err=
10069 fi
10070 @@ -3992,7 +4114,6 @@
10071 # OK, works on sane cases. Now check whether non-existent headers
10072 # can be detected and how.
10073 cat >conftest.$ac_ext <<_ACEOF
10074 -#line $LINENO "configure"
10075 /* confdefs.h. */
10076 _ACEOF
10077 cat confdefs.h >>conftest.$ac_ext
10078 @@ -4010,6 +4131,7 @@
10079 (exit $ac_status); } >/dev/null; then
10080 if test -s conftest.err; then
10081 ac_cpp_err=$ac_c_preproc_warn_flag
10082 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10083 else
10084 ac_cpp_err=
10085 fi
10086 @@ -4070,7 +4192,6 @@
10087 echo $ECHO_N "(cached) $ECHO_C" >&6
10088 else
10089 cat >conftest.$ac_ext <<_ACEOF
10090 -#line $LINENO "configure"
10091 /* confdefs.h. */
10092 _ACEOF
10093 cat confdefs.h >>conftest.$ac_ext
10094 @@ -4091,11 +4212,20 @@
10095 _ACEOF
10096 rm -f conftest.$ac_objext
10097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10098 - (eval $ac_compile) 2>&5
10099 + (eval $ac_compile) 2>conftest.er1
10100 ac_status=$?
10101 + grep -v '^ *+' conftest.er1 >conftest.err
10102 + rm -f conftest.er1
10103 + cat conftest.err >&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); } &&
10106 - { ac_try='test -s conftest.$ac_objext'
10107 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10108 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109 + (eval $ac_try) 2>&5
10110 + ac_status=$?
10111 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 + (exit $ac_status); }; } &&
10113 + { ac_try='test -s conftest.$ac_objext'
10114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10115 (eval $ac_try) 2>&5
10116 ac_status=$?
10117 @@ -4108,12 +4238,11 @@
10118
10119 ac_cv_header_stdc=no
10120 fi
10121 -rm -f conftest.$ac_objext conftest.$ac_ext
10122 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10123
10124 if test $ac_cv_header_stdc = yes; then
10125 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10126 cat >conftest.$ac_ext <<_ACEOF
10127 -#line $LINENO "configure"
10128 /* confdefs.h. */
10129 _ACEOF
10130 cat confdefs.h >>conftest.$ac_ext
10131 @@ -4135,7 +4264,6 @@
10132 if test $ac_cv_header_stdc = yes; then
10133 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10134 cat >conftest.$ac_ext <<_ACEOF
10135 -#line $LINENO "configure"
10136 /* confdefs.h. */
10137 _ACEOF
10138 cat confdefs.h >>conftest.$ac_ext
10139 @@ -4160,7 +4288,6 @@
10140 :
10141 else
10142 cat >conftest.$ac_ext <<_ACEOF
10143 -#line $LINENO "configure"
10144 /* confdefs.h. */
10145 _ACEOF
10146 cat confdefs.h >>conftest.$ac_ext
10147 @@ -4172,9 +4299,9 @@
10148 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10149 #else
10150 # define ISLOWER(c) \
10151 - (('a' <= (c) && (c) <= 'i') \
10152 - || ('j' <= (c) && (c) <= 'r') \
10153 - || ('s' <= (c) && (c) <= 'z'))
10154 + (('a' <= (c) && (c) <= 'i') \
10155 + || ('j' <= (c) && (c) <= 'r') \
10156 + || ('s' <= (c) && (c) <= 'z'))
10157 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10158 #endif
10159
10160 @@ -4185,7 +4312,7 @@
10161 int i;
10162 for (i = 0; i < 256; i++)
10163 if (XOR (islower (i), ISLOWER (i))
10164 - || toupper (i) != TOUPPER (i))
10165 + || toupper (i) != TOUPPER (i))
10166 exit(2);
10167 exit (0);
10168 }
10169 @@ -4235,7 +4362,7 @@
10170
10171
10172 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10173 - inttypes.h stdint.h unistd.h
10174 + inttypes.h stdint.h unistd.h
10175 do
10176 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10177 echo "$as_me:$LINENO: checking for $ac_header" >&5
10178 @@ -4244,7 +4371,6 @@
10179 echo $ECHO_N "(cached) $ECHO_C" >&6
10180 else
10181 cat >conftest.$ac_ext <<_ACEOF
10182 -#line $LINENO "configure"
10183 /* confdefs.h. */
10184 _ACEOF
10185 cat confdefs.h >>conftest.$ac_ext
10186 @@ -4256,11 +4382,20 @@
10187 _ACEOF
10188 rm -f conftest.$ac_objext
10189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10190 - (eval $ac_compile) 2>&5
10191 + (eval $ac_compile) 2>conftest.er1
10192 ac_status=$?
10193 + grep -v '^ *+' conftest.er1 >conftest.err
10194 + rm -f conftest.er1
10195 + cat conftest.err >&5
10196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197 (exit $ac_status); } &&
10198 - { ac_try='test -s conftest.$ac_objext'
10199 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10200 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10201 + (eval $ac_try) 2>&5
10202 + ac_status=$?
10203 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 + (exit $ac_status); }; } &&
10205 + { ac_try='test -s conftest.$ac_objext'
10206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10207 (eval $ac_try) 2>&5
10208 ac_status=$?
10209 @@ -4273,7 +4408,7 @@
10210
10211 eval "$as_ac_Header=no"
10212 fi
10213 -rm -f conftest.$ac_objext conftest.$ac_ext
10214 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10215 fi
10216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10218 @@ -4304,7 +4439,6 @@
10219 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10221 cat >conftest.$ac_ext <<_ACEOF
10222 -#line $LINENO "configure"
10223 /* confdefs.h. */
10224 _ACEOF
10225 cat confdefs.h >>conftest.$ac_ext
10226 @@ -4315,11 +4449,20 @@
10227 _ACEOF
10228 rm -f conftest.$ac_objext
10229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10230 - (eval $ac_compile) 2>&5
10231 + (eval $ac_compile) 2>conftest.er1
10232 ac_status=$?
10233 + grep -v '^ *+' conftest.er1 >conftest.err
10234 + rm -f conftest.er1
10235 + cat conftest.err >&5
10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10237 (exit $ac_status); } &&
10238 - { ac_try='test -s conftest.$ac_objext'
10239 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10240 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10241 + (eval $ac_try) 2>&5
10242 + ac_status=$?
10243 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 + (exit $ac_status); }; } &&
10245 + { ac_try='test -s conftest.$ac_objext'
10246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10247 (eval $ac_try) 2>&5
10248 ac_status=$?
10249 @@ -4332,7 +4475,7 @@
10250
10251 ac_header_compiler=no
10252 fi
10253 -rm -f conftest.$ac_objext conftest.$ac_ext
10254 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10256 echo "${ECHO_T}$ac_header_compiler" >&6
10257
10258 @@ -4340,7 +4483,6 @@
10259 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10261 cat >conftest.$ac_ext <<_ACEOF
10262 -#line $LINENO "configure"
10263 /* confdefs.h. */
10264 _ACEOF
10265 cat confdefs.h >>conftest.$ac_ext
10266 @@ -4358,6 +4500,7 @@
10267 (exit $ac_status); } >/dev/null; then
10268 if test -s conftest.err; then
10269 ac_cpp_err=$ac_c_preproc_warn_flag
10270 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10271 else
10272 ac_cpp_err=
10273 fi
10274 @@ -4377,33 +4520,32 @@
10275 echo "${ECHO_T}$ac_header_preproc" >&6
10276
10277 # So? What about this header?
10278 -case $ac_header_compiler:$ac_header_preproc in
10279 - yes:no )
10280 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10281 + yes:no: )
10282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10284 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10285 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10286 - (
10287 - cat <<\_ASBOX
10288 -## ------------------------------------ ##
10289 -## Report this to bug-autoconf@gnu.org. ##
10290 -## ------------------------------------ ##
10291 -_ASBOX
10292 - ) |
10293 - sed "s/^/$as_me: WARNING: /" >&2
10294 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10295 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10296 + ac_header_preproc=yes
10297 ;;
10298 - no:yes )
10299 + no:yes:* )
10300 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10301 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10302 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10303 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10304 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10305 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10306 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10307 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10308 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10309 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10312 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10313 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10314 (
10315 cat <<\_ASBOX
10316 -## ------------------------------------ ##
10317 -## Report this to bug-autoconf@gnu.org. ##
10318 -## ------------------------------------ ##
10319 +## ------------------------------------------ ##
10320 +## Report this to the AC_PACKAGE_NAME lists. ##
10321 +## ------------------------------------------ ##
10322 _ASBOX
10323 ) |
10324 sed "s/^/$as_me: WARNING: /" >&2
10325 @@ -4414,7 +4556,7 @@
10326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10327 echo $ECHO_N "(cached) $ECHO_C" >&6
10328 else
10329 - eval "$as_ac_Header=$ac_header_preproc"
10330 + eval "$as_ac_Header=\$ac_header_preproc"
10331 fi
10332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10334 @@ -4749,7 +4891,7 @@
10335 case $host in
10336 *-*-irix6*)
10337 # Find out which ABI we are using.
10338 - echo '#line 4752 "configure"' > conftest.$ac_ext
10339 + echo '#line 4894 "configure"' > conftest.$ac_ext
10340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10341 (eval $ac_compile) 2>&5
10342 ac_status=$?
10343 @@ -4788,7 +4930,6 @@
10344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10345
10346 cat >conftest.$ac_ext <<_ACEOF
10347 -#line $LINENO "configure"
10348 /* confdefs.h. */
10349 _ACEOF
10350 cat confdefs.h >>conftest.$ac_ext
10351 @@ -4805,11 +4946,20 @@
10352 _ACEOF
10353 rm -f conftest.$ac_objext conftest$ac_exeext
10354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10355 - (eval $ac_link) 2>&5
10356 + (eval $ac_link) 2>conftest.er1
10357 ac_status=$?
10358 + grep -v '^ *+' conftest.er1 >conftest.err
10359 + rm -f conftest.er1
10360 + cat conftest.err >&5
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 (exit $ac_status); } &&
10363 - { ac_try='test -s conftest$ac_exeext'
10364 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10365 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10366 + (eval $ac_try) 2>&5
10367 + ac_status=$?
10368 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369 + (exit $ac_status); }; } &&
10370 + { ac_try='test -s conftest$ac_exeext'
10371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372 (eval $ac_try) 2>&5
10373 ac_status=$?
10374 @@ -4822,7 +4972,8 @@
10375
10376 lt_cv_cc_needs_belf=no
10377 fi
10378 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10379 +rm -f conftest.err conftest.$ac_objext \
10380 + conftest$ac_exeext conftest.$ac_ext
10381 ac_ext=c
10382 ac_cpp='$CPP $CPPFLAGS'
10383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10384 @@ -5117,7 +5268,6 @@
10385 save_CFLAGS="$CFLAGS"
10386 CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
10387 cat >conftest.$ac_ext <<_ACEOF
10388 -#line $LINENO "configure"
10389 /* confdefs.h. */
10390 _ACEOF
10391 cat confdefs.h >>conftest.$ac_ext
10392 @@ -5134,11 +5284,20 @@
10393 _ACEOF
10394 rm -f conftest.$ac_objext
10395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10396 - (eval $ac_compile) 2>&5
10397 + (eval $ac_compile) 2>conftest.er1
10398 ac_status=$?
10399 + grep -v '^ *+' conftest.er1 >conftest.err
10400 + rm -f conftest.er1
10401 + cat conftest.err >&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } &&
10404 - { ac_try='test -s conftest.$ac_objext'
10405 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10406 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 + (eval $ac_try) 2>&5
10408 + ac_status=$?
10409 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 + (exit $ac_status); }; } &&
10411 + { ac_try='test -s conftest.$ac_objext'
10412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10413 (eval $ac_try) 2>&5
10414 ac_status=$?
10415 @@ -5167,7 +5326,7 @@
10416 lt_cv_prog_cc_pic_works=no
10417
10418 fi
10419 -rm -f conftest.$ac_objext conftest.$ac_ext
10420 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10421 CFLAGS="$save_CFLAGS"
10422
10423 fi
10424 @@ -5205,7 +5364,6 @@
10425 save_LDFLAGS="$LDFLAGS"
10426 LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
10427 cat >conftest.$ac_ext <<_ACEOF
10428 -#line $LINENO "configure"
10429 /* confdefs.h. */
10430 _ACEOF
10431 cat confdefs.h >>conftest.$ac_ext
10432 @@ -5222,11 +5380,20 @@
10433 _ACEOF
10434 rm -f conftest.$ac_objext conftest$ac_exeext
10435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10436 - (eval $ac_link) 2>&5
10437 + (eval $ac_link) 2>conftest.er1
10438 ac_status=$?
10439 + grep -v '^ *+' conftest.er1 >conftest.err
10440 + rm -f conftest.er1
10441 + cat conftest.err >&5
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); } &&
10444 - { ac_try='test -s conftest$ac_exeext'
10445 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10446 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10447 + (eval $ac_try) 2>&5
10448 + ac_status=$?
10449 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10450 + (exit $ac_status); }; } &&
10451 + { ac_try='test -s conftest$ac_exeext'
10452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10453 (eval $ac_try) 2>&5
10454 ac_status=$?
10455 @@ -5238,7 +5405,8 @@
10456 sed 's/^/| /' conftest.$ac_ext >&5
10457
10458 fi
10459 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10460 +rm -f conftest.err conftest.$ac_objext \
10461 + conftest$ac_exeext conftest.$ac_ext
10462 LDFLAGS="$save_LDFLAGS"
10463
10464 fi
10465 @@ -5278,7 +5446,7 @@
10466 save_CFLAGS="$CFLAGS"
10467 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
10468 compiler_c_o=no
10469 -if { (eval echo configure:5281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
10470 +if { (eval echo configure:5449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
10471 # The compiler can only warn and ignore the option if not recognized
10472 # So say no if there are warnings
10473 if test -s out/conftest.err; then
10474 @@ -5319,7 +5487,6 @@
10475 save_objext="$ac_objext"
10476 ac_objext=lo
10477 cat >conftest.$ac_ext <<_ACEOF
10478 -#line $LINENO "configure"
10479 /* confdefs.h. */
10480 _ACEOF
10481 cat confdefs.h >>conftest.$ac_ext
10482 @@ -5336,11 +5503,20 @@
10483 _ACEOF
10484 rm -f conftest.$ac_objext
10485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10486 - (eval $ac_compile) 2>&5
10487 + (eval $ac_compile) 2>conftest.er1
10488 ac_status=$?
10489 + grep -v '^ *+' conftest.er1 >conftest.err
10490 + rm -f conftest.er1
10491 + cat conftest.err >&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); } &&
10494 - { ac_try='test -s conftest.$ac_objext'
10495 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10496 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10497 + (eval $ac_try) 2>&5
10498 + ac_status=$?
10499 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 + (exit $ac_status); }; } &&
10501 + { ac_try='test -s conftest.$ac_objext'
10502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10503 (eval $ac_try) 2>&5
10504 ac_status=$?
10505 @@ -5359,7 +5535,7 @@
10506 sed 's/^/| /' conftest.$ac_ext >&5
10507
10508 fi
10509 -rm -f conftest.$ac_objext conftest.$ac_ext
10510 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10511 ac_objext="$save_objext"
10512 CFLAGS="$save_CFLAGS"
10513
10514 @@ -5404,7 +5580,6 @@
10515 CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
10516 compiler_rtti_exceptions=no
10517 cat >conftest.$ac_ext <<_ACEOF
10518 -#line $LINENO "configure"
10519 /* confdefs.h. */
10520 _ACEOF
10521 cat confdefs.h >>conftest.$ac_ext
10522 @@ -5421,11 +5596,20 @@
10523 _ACEOF
10524 rm -f conftest.$ac_objext
10525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10526 - (eval $ac_compile) 2>&5
10527 + (eval $ac_compile) 2>conftest.er1
10528 ac_status=$?
10529 + grep -v '^ *+' conftest.er1 >conftest.err
10530 + rm -f conftest.er1
10531 + cat conftest.err >&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); } &&
10534 - { ac_try='test -s conftest.$ac_objext'
10535 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10536 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10537 + (eval $ac_try) 2>&5
10538 + ac_status=$?
10539 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 + (exit $ac_status); }; } &&
10541 + { ac_try='test -s conftest.$ac_objext'
10542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10543 (eval $ac_try) 2>&5
10544 ac_status=$?
10545 @@ -5444,7 +5628,7 @@
10546 sed 's/^/| /' conftest.$ac_ext >&5
10547
10548 fi
10549 -rm -f conftest.$ac_objext conftest.$ac_ext
10550 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10551 CFLAGS="$save_CFLAGS"
10552 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
10553 echo "${ECHO_T}$compiler_rtti_exceptions" >&6
10554 @@ -6704,21 +6888,28 @@
10555 echo $ECHO_N "(cached) $ECHO_C" >&6
10556 else
10557 cat >conftest.$ac_ext <<_ACEOF
10558 -#line $LINENO "configure"
10559 /* confdefs.h. */
10560 _ACEOF
10561 cat confdefs.h >>conftest.$ac_ext
10562 cat >>conftest.$ac_ext <<_ACEOF
10563 /* end confdefs.h. */
10564 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10565 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
10566 +#define shl_load innocuous_shl_load
10567 +
10568 /* System header to define __stub macros and hopefully few prototypes,
10569 which can conflict with char shl_load (); below.
10570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10571 <limits.h> exists even on freestanding compilers. */
10572 +
10573 #ifdef __STDC__
10574 # include <limits.h>
10575 #else
10576 # include <assert.h>
10577 #endif
10578 +
10579 +#undef shl_load
10580 +
10581 /* Override any gcc2 internal prototype to avoid an error. */
10582 #ifdef __cplusplus
10583 extern "C"
10584 @@ -6749,11 +6940,20 @@
10585 _ACEOF
10586 rm -f conftest.$ac_objext conftest$ac_exeext
10587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10588 - (eval $ac_link) 2>&5
10589 + (eval $ac_link) 2>conftest.er1
10590 ac_status=$?
10591 + grep -v '^ *+' conftest.er1 >conftest.err
10592 + rm -f conftest.er1
10593 + cat conftest.err >&5
10594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595 (exit $ac_status); } &&
10596 - { ac_try='test -s conftest$ac_exeext'
10597 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10598 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10599 + (eval $ac_try) 2>&5
10600 + ac_status=$?
10601 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 + (exit $ac_status); }; } &&
10603 + { ac_try='test -s conftest$ac_exeext'
10604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605 (eval $ac_try) 2>&5
10606 ac_status=$?
10607 @@ -6766,7 +6966,8 @@
10608
10609 ac_cv_func_shl_load=no
10610 fi
10611 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10612 +rm -f conftest.err conftest.$ac_objext \
10613 + conftest$ac_exeext conftest.$ac_ext
10614 fi
10615 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10616 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10617 @@ -6781,7 +6982,6 @@
10618 ac_check_lib_save_LIBS=$LIBS
10619 LIBS="-ldld $LIBS"
10620 cat >conftest.$ac_ext <<_ACEOF
10621 -#line $LINENO "configure"
10622 /* confdefs.h. */
10623 _ACEOF
10624 cat confdefs.h >>conftest.$ac_ext
10625 @@ -6805,11 +7005,20 @@
10626 _ACEOF
10627 rm -f conftest.$ac_objext conftest$ac_exeext
10628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10629 - (eval $ac_link) 2>&5
10630 + (eval $ac_link) 2>conftest.er1
10631 ac_status=$?
10632 + grep -v '^ *+' conftest.er1 >conftest.err
10633 + rm -f conftest.er1
10634 + cat conftest.err >&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); } &&
10637 - { ac_try='test -s conftest$ac_exeext'
10638 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10639 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10640 + (eval $ac_try) 2>&5
10641 + ac_status=$?
10642 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10643 + (exit $ac_status); }; } &&
10644 + { ac_try='test -s conftest$ac_exeext'
10645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10646 (eval $ac_try) 2>&5
10647 ac_status=$?
10648 @@ -6822,7 +7031,8 @@
10649
10650 ac_cv_lib_dld_shl_load=no
10651 fi
10652 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10653 +rm -f conftest.err conftest.$ac_objext \
10654 + conftest$ac_exeext conftest.$ac_ext
10655 LIBS=$ac_check_lib_save_LIBS
10656 fi
10657 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10658 @@ -6836,21 +7046,28 @@
10659 echo $ECHO_N "(cached) $ECHO_C" >&6
10660 else
10661 cat >conftest.$ac_ext <<_ACEOF
10662 -#line $LINENO "configure"
10663 /* confdefs.h. */
10664 _ACEOF
10665 cat confdefs.h >>conftest.$ac_ext
10666 cat >>conftest.$ac_ext <<_ACEOF
10667 /* end confdefs.h. */
10668 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10669 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
10670 +#define dlopen innocuous_dlopen
10671 +
10672 /* System header to define __stub macros and hopefully few prototypes,
10673 which can conflict with char dlopen (); below.
10674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10675 <limits.h> exists even on freestanding compilers. */
10676 +
10677 #ifdef __STDC__
10678 # include <limits.h>
10679 #else
10680 # include <assert.h>
10681 #endif
10682 +
10683 +#undef dlopen
10684 +
10685 /* Override any gcc2 internal prototype to avoid an error. */
10686 #ifdef __cplusplus
10687 extern "C"
10688 @@ -6881,11 +7098,20 @@
10689 _ACEOF
10690 rm -f conftest.$ac_objext conftest$ac_exeext
10691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10692 - (eval $ac_link) 2>&5
10693 + (eval $ac_link) 2>conftest.er1
10694 ac_status=$?
10695 + grep -v '^ *+' conftest.er1 >conftest.err
10696 + rm -f conftest.er1
10697 + cat conftest.err >&5
10698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); } &&
10700 - { ac_try='test -s conftest$ac_exeext'
10701 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10702 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10703 + (eval $ac_try) 2>&5
10704 + ac_status=$?
10705 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 + (exit $ac_status); }; } &&
10707 + { ac_try='test -s conftest$ac_exeext'
10708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10709 (eval $ac_try) 2>&5
10710 ac_status=$?
10711 @@ -6898,7 +7124,8 @@
10712
10713 ac_cv_func_dlopen=no
10714 fi
10715 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10716 +rm -f conftest.err conftest.$ac_objext \
10717 + conftest$ac_exeext conftest.$ac_ext
10718 fi
10719 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10720 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10721 @@ -6913,7 +7140,6 @@
10722 ac_check_lib_save_LIBS=$LIBS
10723 LIBS="-ldl $LIBS"
10724 cat >conftest.$ac_ext <<_ACEOF
10725 -#line $LINENO "configure"
10726 /* confdefs.h. */
10727 _ACEOF
10728 cat confdefs.h >>conftest.$ac_ext
10729 @@ -6937,11 +7163,20 @@
10730 _ACEOF
10731 rm -f conftest.$ac_objext conftest$ac_exeext
10732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10733 - (eval $ac_link) 2>&5
10734 + (eval $ac_link) 2>conftest.er1
10735 ac_status=$?
10736 + grep -v '^ *+' conftest.er1 >conftest.err
10737 + rm -f conftest.er1
10738 + cat conftest.err >&5
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); } &&
10741 - { ac_try='test -s conftest$ac_exeext'
10742 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10743 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10744 + (eval $ac_try) 2>&5
10745 + ac_status=$?
10746 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 + (exit $ac_status); }; } &&
10748 + { ac_try='test -s conftest$ac_exeext'
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5
10751 ac_status=$?
10752 @@ -6954,7 +7189,8 @@
10753
10754 ac_cv_lib_dl_dlopen=no
10755 fi
10756 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10757 +rm -f conftest.err conftest.$ac_objext \
10758 + conftest$ac_exeext conftest.$ac_ext
10759 LIBS=$ac_check_lib_save_LIBS
10760 fi
10761 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10762 @@ -6970,7 +7206,6 @@
10763 ac_check_lib_save_LIBS=$LIBS
10764 LIBS="-lsvld $LIBS"
10765 cat >conftest.$ac_ext <<_ACEOF
10766 -#line $LINENO "configure"
10767 /* confdefs.h. */
10768 _ACEOF
10769 cat confdefs.h >>conftest.$ac_ext
10770 @@ -6994,11 +7229,20 @@
10771 _ACEOF
10772 rm -f conftest.$ac_objext conftest$ac_exeext
10773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10774 - (eval $ac_link) 2>&5
10775 + (eval $ac_link) 2>conftest.er1
10776 ac_status=$?
10777 + grep -v '^ *+' conftest.er1 >conftest.err
10778 + rm -f conftest.er1
10779 + cat conftest.err >&5
10780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781 (exit $ac_status); } &&
10782 - { ac_try='test -s conftest$ac_exeext'
10783 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10784 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10785 + (eval $ac_try) 2>&5
10786 + ac_status=$?
10787 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788 + (exit $ac_status); }; } &&
10789 + { ac_try='test -s conftest$ac_exeext'
10790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10791 (eval $ac_try) 2>&5
10792 ac_status=$?
10793 @@ -7011,7 +7255,8 @@
10794
10795 ac_cv_lib_svld_dlopen=no
10796 fi
10797 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10798 +rm -f conftest.err conftest.$ac_objext \
10799 + conftest$ac_exeext conftest.$ac_ext
10800 LIBS=$ac_check_lib_save_LIBS
10801 fi
10802 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10803 @@ -7027,7 +7272,6 @@
10804 ac_check_lib_save_LIBS=$LIBS
10805 LIBS="-ldld $LIBS"
10806 cat >conftest.$ac_ext <<_ACEOF
10807 -#line $LINENO "configure"
10808 /* confdefs.h. */
10809 _ACEOF
10810 cat confdefs.h >>conftest.$ac_ext
10811 @@ -7051,11 +7295,20 @@
10812 _ACEOF
10813 rm -f conftest.$ac_objext conftest$ac_exeext
10814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10815 - (eval $ac_link) 2>&5
10816 + (eval $ac_link) 2>conftest.er1
10817 ac_status=$?
10818 + grep -v '^ *+' conftest.er1 >conftest.err
10819 + rm -f conftest.er1
10820 + cat conftest.err >&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); } &&
10823 - { ac_try='test -s conftest$ac_exeext'
10824 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10825 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10826 + (eval $ac_try) 2>&5
10827 + ac_status=$?
10828 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 + (exit $ac_status); }; } &&
10830 + { ac_try='test -s conftest$ac_exeext'
10831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10832 (eval $ac_try) 2>&5
10833 ac_status=$?
10834 @@ -7068,7 +7321,8 @@
10835
10836 ac_cv_lib_dld_dld_link=no
10837 fi
10838 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10839 +rm -f conftest.err conftest.$ac_objext \
10840 + conftest$ac_exeext conftest.$ac_ext
10841 LIBS=$ac_check_lib_save_LIBS
10842 fi
10843 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10844 @@ -7123,7 +7377,7 @@
10845 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10846 lt_status=$lt_dlunknown
10847 cat > conftest.$ac_ext <<EOF
10848 -#line 7126 "configure"
10849 +#line 7380 "configure"
10850 #include "confdefs.h"
10851
10852 #if HAVE_DLFCN_H
10853 @@ -7221,7 +7475,7 @@
10854 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10855 lt_status=$lt_dlunknown
10856 cat > conftest.$ac_ext <<EOF
10857 -#line 7224 "configure"
10858 +#line 7478 "configure"
10859 #include "confdefs.h"
10860
10861 #if HAVE_DLFCN_H
10862 @@ -8005,7 +8259,6 @@
10863 echo "$as_me:$LINENO: checking asm/errno.h usability" >&5
10864 echo $ECHO_N "checking asm/errno.h usability... $ECHO_C" >&6
10865 cat >conftest.$ac_ext <<_ACEOF
10866 -#line $LINENO "configure"
10867 /* confdefs.h. */
10868 _ACEOF
10869 cat confdefs.h >>conftest.$ac_ext
10870 @@ -8016,11 +8269,20 @@
10871 _ACEOF
10872 rm -f conftest.$ac_objext
10873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10874 - (eval $ac_compile) 2>&5
10875 + (eval $ac_compile) 2>conftest.er1
10876 ac_status=$?
10877 + grep -v '^ *+' conftest.er1 >conftest.err
10878 + rm -f conftest.er1
10879 + cat conftest.err >&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); } &&
10882 - { ac_try='test -s conftest.$ac_objext'
10883 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10884 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10885 + (eval $ac_try) 2>&5
10886 + ac_status=$?
10887 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 + (exit $ac_status); }; } &&
10889 + { ac_try='test -s conftest.$ac_objext'
10890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10891 (eval $ac_try) 2>&5
10892 ac_status=$?
10893 @@ -8033,7 +8295,7 @@
10894
10895 ac_header_compiler=no
10896 fi
10897 -rm -f conftest.$ac_objext conftest.$ac_ext
10898 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10900 echo "${ECHO_T}$ac_header_compiler" >&6
10901
10902 @@ -8041,7 +8303,6 @@
10903 echo "$as_me:$LINENO: checking asm/errno.h presence" >&5
10904 echo $ECHO_N "checking asm/errno.h presence... $ECHO_C" >&6
10905 cat >conftest.$ac_ext <<_ACEOF
10906 -#line $LINENO "configure"
10907 /* confdefs.h. */
10908 _ACEOF
10909 cat confdefs.h >>conftest.$ac_ext
10910 @@ -8059,6 +8320,7 @@
10911 (exit $ac_status); } >/dev/null; then
10912 if test -s conftest.err; then
10913 ac_cpp_err=$ac_c_preproc_warn_flag
10914 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10915 else
10916 ac_cpp_err=
10917 fi
10918 @@ -8078,33 +8340,32 @@
10919 echo "${ECHO_T}$ac_header_preproc" >&6
10920
10921 # So? What about this header?
10922 -case $ac_header_compiler:$ac_header_preproc in
10923 - yes:no )
10924 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10925 + yes:no: )
10926 { echo "$as_me:$LINENO: WARNING: asm/errno.h: accepted by the compiler, rejected by the preprocessor!" >&5
10927 echo "$as_me: WARNING: asm/errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10928 - { echo "$as_me:$LINENO: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&5
10929 -echo "$as_me: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&2;}
10930 - (
10931 - cat <<\_ASBOX
10932 -## ------------------------------------ ##
10933 -## Report this to bug-autoconf@gnu.org. ##
10934 -## ------------------------------------ ##
10935 -_ASBOX
10936 - ) |
10937 - sed "s/^/$as_me: WARNING: /" >&2
10938 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: proceeding with the compiler's result" >&5
10939 +echo "$as_me: WARNING: asm/errno.h: proceeding with the compiler's result" >&2;}
10940 + ac_header_preproc=yes
10941 ;;
10942 - no:yes )
10943 + no:yes:* )
10944 { echo "$as_me:$LINENO: WARNING: asm/errno.h: present but cannot be compiled" >&5
10945 echo "$as_me: WARNING: asm/errno.h: present but cannot be compiled" >&2;}
10946 - { echo "$as_me:$LINENO: WARNING: asm/errno.h: check for missing prerequisite headers?" >&5
10947 -echo "$as_me: WARNING: asm/errno.h: check for missing prerequisite headers?" >&2;}
10948 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: check for missing prerequisite headers?" >&5
10949 +echo "$as_me: WARNING: asm/errno.h: check for missing prerequisite headers?" >&2;}
10950 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: see the Autoconf documentation" >&5
10951 +echo "$as_me: WARNING: asm/errno.h: see the Autoconf documentation" >&2;}
10952 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: section \"Present But Cannot Be Compiled\"" >&5
10953 +echo "$as_me: WARNING: asm/errno.h: section \"Present But Cannot Be Compiled\"" >&2;}
10954 { echo "$as_me:$LINENO: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&5
10955 echo "$as_me: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&2;}
10956 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: in the future, the compiler will take precedence" >&5
10957 +echo "$as_me: WARNING: asm/errno.h: in the future, the compiler will take precedence" >&2;}
10958 (
10959 cat <<\_ASBOX
10960 -## ------------------------------------ ##
10961 -## Report this to bug-autoconf@gnu.org. ##
10962 -## ------------------------------------ ##
10963 +## ------------------------------------------ ##
10964 +## Report this to the AC_PACKAGE_NAME lists. ##
10965 +## ------------------------------------------ ##
10966 _ASBOX
10967 ) |
10968 sed "s/^/$as_me: WARNING: /" >&2
10969 @@ -8145,7 +8406,6 @@
10970 echo "$as_me:$LINENO: checking linux/atmsap.h usability" >&5
10971 echo $ECHO_N "checking linux/atmsap.h usability... $ECHO_C" >&6
10972 cat >conftest.$ac_ext <<_ACEOF
10973 -#line $LINENO "configure"
10974 /* confdefs.h. */
10975 _ACEOF
10976 cat confdefs.h >>conftest.$ac_ext
10977 @@ -8156,11 +8416,20 @@
10978 _ACEOF
10979 rm -f conftest.$ac_objext
10980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10981 - (eval $ac_compile) 2>&5
10982 + (eval $ac_compile) 2>conftest.er1
10983 ac_status=$?
10984 + grep -v '^ *+' conftest.er1 >conftest.err
10985 + rm -f conftest.er1
10986 + cat conftest.err >&5
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); } &&
10989 - { ac_try='test -s conftest.$ac_objext'
10990 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10991 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10992 + (eval $ac_try) 2>&5
10993 + ac_status=$?
10994 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 + (exit $ac_status); }; } &&
10996 + { ac_try='test -s conftest.$ac_objext'
10997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10998 (eval $ac_try) 2>&5
10999 ac_status=$?
11000 @@ -8173,7 +8442,7 @@
11001
11002 ac_header_compiler=no
11003 fi
11004 -rm -f conftest.$ac_objext conftest.$ac_ext
11005 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11007 echo "${ECHO_T}$ac_header_compiler" >&6
11008
11009 @@ -8181,7 +8450,6 @@
11010 echo "$as_me:$LINENO: checking linux/atmsap.h presence" >&5
11011 echo $ECHO_N "checking linux/atmsap.h presence... $ECHO_C" >&6
11012 cat >conftest.$ac_ext <<_ACEOF
11013 -#line $LINENO "configure"
11014 /* confdefs.h. */
11015 _ACEOF
11016 cat confdefs.h >>conftest.$ac_ext
11017 @@ -8199,6 +8467,7 @@
11018 (exit $ac_status); } >/dev/null; then
11019 if test -s conftest.err; then
11020 ac_cpp_err=$ac_c_preproc_warn_flag
11021 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11022 else
11023 ac_cpp_err=
11024 fi
11025 @@ -8218,33 +8487,32 @@
11026 echo "${ECHO_T}$ac_header_preproc" >&6
11027
11028 # So? What about this header?
11029 -case $ac_header_compiler:$ac_header_preproc in
11030 - yes:no )
11031 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11032 + yes:no: )
11033 { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: accepted by the compiler, rejected by the preprocessor!" >&5
11034 echo "$as_me: WARNING: linux/atmsap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11035 - { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&5
11036 -echo "$as_me: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&2;}
11037 - (
11038 - cat <<\_ASBOX
11039 -## ------------------------------------ ##
11040 -## Report this to bug-autoconf@gnu.org. ##
11041 -## ------------------------------------ ##
11042 -_ASBOX
11043 - ) |
11044 - sed "s/^/$as_me: WARNING: /" >&2
11045 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: proceeding with the compiler's result" >&5
11046 +echo "$as_me: WARNING: linux/atmsap.h: proceeding with the compiler's result" >&2;}
11047 + ac_header_preproc=yes
11048 ;;
11049 - no:yes )
11050 + no:yes:* )
11051 { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: present but cannot be compiled" >&5
11052 echo "$as_me: WARNING: linux/atmsap.h: present but cannot be compiled" >&2;}
11053 - { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: check for missing prerequisite headers?" >&5
11054 -echo "$as_me: WARNING: linux/atmsap.h: check for missing prerequisite headers?" >&2;}
11055 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: check for missing prerequisite headers?" >&5
11056 +echo "$as_me: WARNING: linux/atmsap.h: check for missing prerequisite headers?" >&2;}
11057 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: see the Autoconf documentation" >&5
11058 +echo "$as_me: WARNING: linux/atmsap.h: see the Autoconf documentation" >&2;}
11059 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: section \"Present But Cannot Be Compiled\"" >&5
11060 +echo "$as_me: WARNING: linux/atmsap.h: section \"Present But Cannot Be Compiled\"" >&2;}
11061 { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&5
11062 echo "$as_me: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&2;}
11063 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: in the future, the compiler will take precedence" >&5
11064 +echo "$as_me: WARNING: linux/atmsap.h: in the future, the compiler will take precedence" >&2;}
11065 (
11066 cat <<\_ASBOX
11067 -## ------------------------------------ ##
11068 -## Report this to bug-autoconf@gnu.org. ##
11069 -## ------------------------------------ ##
11070 +## ------------------------------------------ ##
11071 +## Report this to the AC_PACKAGE_NAME lists. ##
11072 +## ------------------------------------------ ##
11073 _ASBOX
11074 ) |
11075 sed "s/^/$as_me: WARNING: /" >&2
11076 @@ -8281,7 +8549,6 @@
11077 ac_check_lib_save_LIBS=$LIBS
11078 LIBS="-lresolv $LIBS"
11079 cat >conftest.$ac_ext <<_ACEOF
11080 -#line $LINENO "configure"
11081 /* confdefs.h. */
11082 _ACEOF
11083 cat confdefs.h >>conftest.$ac_ext
11084 @@ -8299,11 +8566,20 @@
11085 _ACEOF
11086 rm -f conftest.$ac_objext conftest$ac_exeext
11087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11088 - (eval $ac_link) 2>&5
11089 + (eval $ac_link) 2>conftest.er1
11090 ac_status=$?
11091 + grep -v '^ *+' conftest.er1 >conftest.err
11092 + rm -f conftest.er1
11093 + cat conftest.err >&5
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); } &&
11096 - { ac_try='test -s conftest$ac_exeext'
11097 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11098 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11099 + (eval $ac_try) 2>&5
11100 + ac_status=$?
11101 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 + (exit $ac_status); }; } &&
11103 + { ac_try='test -s conftest$ac_exeext'
11104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11105 (eval $ac_try) 2>&5
11106 ac_status=$?
11107 @@ -8316,7 +8592,8 @@
11108
11109 ac_cv_lib_resolv_main=no
11110 fi
11111 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11112 +rm -f conftest.err conftest.$ac_objext \
11113 + conftest$ac_exeext conftest.$ac_ext
11114 LIBS=$ac_check_lib_save_LIBS
11115 fi
11116 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
11117 @@ -8477,7 +8754,6 @@
11118 ac_check_lib_save_LIBS=$LIBS
11119 LIBS="-lmpr $LIBS"
11120 cat >conftest.$ac_ext <<_ACEOF
11121 -#line $LINENO "configure"
11122 /* confdefs.h. */
11123 _ACEOF
11124 cat confdefs.h >>conftest.$ac_ext
11125 @@ -8495,11 +8771,20 @@
11126 _ACEOF
11127 rm -f conftest.$ac_objext conftest$ac_exeext
11128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11129 - (eval $ac_link) 2>&5
11130 + (eval $ac_link) 2>conftest.er1
11131 ac_status=$?
11132 + grep -v '^ *+' conftest.er1 >conftest.err
11133 + rm -f conftest.er1
11134 + cat conftest.err >&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } &&
11137 - { ac_try='test -s conftest$ac_exeext'
11138 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11139 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11140 + (eval $ac_try) 2>&5
11141 + ac_status=$?
11142 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 + (exit $ac_status); }; } &&
11144 + { ac_try='test -s conftest$ac_exeext'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11147 ac_status=$?
11148 @@ -8512,7 +8797,8 @@
11149
11150 ac_cv_lib_mpr_main=no
11151 fi
11152 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11153 +rm -f conftest.err conftest.$ac_objext \
11154 + conftest$ac_exeext conftest.$ac_ext
11155 LIBS=$ac_check_lib_save_LIBS
11156 fi
11157 echo "$as_me:$LINENO: result: $ac_cv_lib_mpr_main" >&5
11158 @@ -8539,7 +8825,7 @@
11159 fi;
11160
11161
11162 - ac_config_files="$ac_config_files Makefile doc/Makefile m4/Makefile src/Makefile src/include/Makefile src/lib/Makefile src/test/Makefile src/debug/Makefile src/qgen/Makefile src/saal/Makefile src/sigd/Makefile src/maint/Makefile src/arpd/Makefile src/ilmid/Makefile src/ilmid/asn1/Makefile src/man/Makefile src/led/Makefile src/lane/Makefile src/mpoad/Makefile src/switch/Makefile src/switch/debug/Makefile src/switch/tcp/Makefile src/config/Makefile src/config/init-redhat/Makefile src/extra/Makefile src/extra/linux-atm.spec src/extra/ANS/Makefile"
11163 + ac_config_files="$ac_config_files Makefile doc/Makefile m4/Makefile src/Makefile src/include/Makefile src/lib/Makefile"
11164 cat >confcache <<\_ACEOF
11165 # This file is a shell script that caches the results of configure
11166 # tests run on this system so they can be shared between configure
11167 @@ -8568,13 +8854,13 @@
11168 # `set' does not quote correctly, so add quotes (double-quote
11169 # substitution turns \\\\ into \\, and sed turns \\ into \).
11170 sed -n \
11171 - "s/'/'\\\\''/g;
11172 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11173 + "s/'/'\\\\''/g;
11174 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11175 ;;
11176 *)
11177 # `set' quotes correctly as required by POSIX, so do not add quotes.
11178 sed -n \
11179 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11180 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11181 ;;
11182 esac;
11183 } |
11184 @@ -8604,13 +8890,13 @@
11185 # trailing colons and then remove the whole line if VPATH becomes empty
11186 # (actually we leave an empty line to preserve line numbers).
11187 if test "x$srcdir" = x.; then
11188 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
11189 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
11190 s/:*\$(srcdir):*/:/;
11191 s/:*\${srcdir}:*/:/;
11192 s/:*@srcdir@:*/:/;
11193 -s/^\([^=]*=[ ]*\):*/\1/;
11194 +s/^\([^=]*=[ ]*\):*/\1/;
11195 s/:*$//;
11196 -s/^[^=]*=[ ]*$//;
11197 +s/^[^=]*=[ ]*$//;
11198 }'
11199 fi
11200
11201 @@ -8621,7 +8907,7 @@
11202 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11203 # 1. Remove the extension, and $U if already installed.
11204 ac_i=`echo "$ac_i" |
11205 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11206 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11207 # 2. Add them.
11208 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11209 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11210 @@ -8665,9 +8951,10 @@
11211 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11212 set -o posix
11213 fi
11214 +DUALCASE=1; export DUALCASE # for MKS sh
11215
11216 # Support unset when possible.
11217 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
11218 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11219 as_unset=unset
11220 else
11221 as_unset=false
11222 @@ -8686,7 +8973,7 @@
11223 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11224 LC_TELEPHONE LC_TIME
11225 do
11226 - if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
11227 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11228 eval $as_var=C; export $as_var
11229 else
11230 $as_unset $as_var
11231 @@ -8865,16 +9152,17 @@
11232 if mkdir -p . 2>/dev/null; then
11233 as_mkdir_p=:
11234 else
11235 + test -d ./-p && rmdir ./-p
11236 as_mkdir_p=false
11237 fi
11238
11239 as_executable_p="test -f"
11240
11241 # Sed expression to map a string onto a valid CPP name.
11242 -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
11243 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11244
11245 # Sed expression to map a string onto a valid variable name.
11246 -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
11247 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11248
11249
11250 # IFS
11251 @@ -8901,7 +9189,7 @@
11252 cat >&5 <<_CSEOF
11253
11254 This file was extended by $as_me, which was
11255 -generated by GNU Autoconf 2.57. Invocation command line was
11256 +generated by GNU Autoconf 2.59. Invocation command line was
11257
11258 CONFIG_FILES = $CONFIG_FILES
11259 CONFIG_HEADERS = $CONFIG_HEADERS
11260 @@ -8945,9 +9233,9 @@
11261 -d, --debug don't remove temporary files
11262 --recheck update $as_me by reconfiguring in the same conditions
11263 --file=FILE[:TEMPLATE]
11264 - instantiate the configuration file FILE
11265 + instantiate the configuration file FILE
11266 --header=FILE[:TEMPLATE]
11267 - instantiate the configuration header FILE
11268 + instantiate the configuration header FILE
11269
11270 Configuration files:
11271 $config_files
11272 @@ -8964,11 +9252,10 @@
11273 cat >>$CONFIG_STATUS <<_ACEOF
11274 ac_cs_version="\\
11275 config.status
11276 -configured by $0, generated by GNU Autoconf 2.57,
11277 +configured by $0, generated by GNU Autoconf 2.59,
11278 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11279
11280 -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
11281 -Free Software Foundation, Inc.
11282 +Copyright (C) 2003 Free Software Foundation, Inc.
11283 This config.status script is free software; the Free Software Foundation
11284 gives unlimited permission to copy, distribute and modify it."
11285 srcdir=$srcdir
11286 @@ -9080,27 +9367,6 @@
11287 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
11288 "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
11289 "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
11290 - "src/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;;
11291 - "src/debug/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/debug/Makefile" ;;
11292 - "src/qgen/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/qgen/Makefile" ;;
11293 - "src/saal/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/saal/Makefile" ;;
11294 - "src/sigd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sigd/Makefile" ;;
11295 - "src/maint/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/maint/Makefile" ;;
11296 - "src/arpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/arpd/Makefile" ;;
11297 - "src/ilmid/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/ilmid/Makefile" ;;
11298 - "src/ilmid/asn1/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/ilmid/asn1/Makefile" ;;
11299 - "src/man/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/man/Makefile" ;;
11300 - "src/led/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/led/Makefile" ;;
11301 - "src/lane/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lane/Makefile" ;;
11302 - "src/mpoad/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/mpoad/Makefile" ;;
11303 - "src/switch/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/switch/Makefile" ;;
11304 - "src/switch/debug/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/switch/debug/Makefile" ;;
11305 - "src/switch/tcp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/switch/tcp/Makefile" ;;
11306 - "src/config/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/config/Makefile" ;;
11307 - "src/config/init-redhat/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/config/init-redhat/Makefile" ;;
11308 - "src/extra/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/extra/Makefile" ;;
11309 - "src/extra/linux-atm.spec" ) CONFIG_FILES="$CONFIG_FILES src/extra/linux-atm.spec" ;;
11310 - "src/extra/ANS/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/extra/ANS/Makefile" ;;
11311 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
11312 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11313 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11314 @@ -9267,9 +9534,9 @@
11315 (echo ':t
11316 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11317 if test -z "$ac_sed_cmds"; then
11318 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11319 + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11320 else
11321 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11322 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11323 fi
11324 ac_sed_frag=`expr $ac_sed_frag + 1`
11325 ac_beg=$ac_end
11326 @@ -9287,21 +9554,21 @@
11327 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11328 case $ac_file in
11329 - | *:- | *:-:* ) # input from stdin
11330 - cat >$tmp/stdin
11331 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11332 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11333 + cat >$tmp/stdin
11334 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11335 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11336 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11337 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11338 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11339 * ) ac_file_in=$ac_file.in ;;
11340 esac
11341
11342 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11343 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11344 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11345 - X"$ac_file" : 'X\(//\)[^/]' \| \
11346 - X"$ac_file" : 'X\(//\)$' \| \
11347 - X"$ac_file" : 'X\(/\)' \| \
11348 - . : '\(.\)' 2>/dev/null ||
11349 + X"$ac_file" : 'X\(//\)[^/]' \| \
11350 + X"$ac_file" : 'X\(//\)$' \| \
11351 + X"$ac_file" : 'X\(/\)' \| \
11352 + . : '\(.\)' 2>/dev/null ||
11353 echo X"$ac_file" |
11354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11355 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11356 @@ -9317,10 +9584,10 @@
11357 as_dirs="$as_dir $as_dirs"
11358 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11359 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11360 - X"$as_dir" : 'X\(//\)[^/]' \| \
11361 - X"$as_dir" : 'X\(//\)$' \| \
11362 - X"$as_dir" : 'X\(/\)' \| \
11363 - . : '\(.\)' 2>/dev/null ||
11364 + X"$as_dir" : 'X\(//\)[^/]' \| \
11365 + X"$as_dir" : 'X\(//\)$' \| \
11366 + X"$as_dir" : 'X\(/\)' \| \
11367 + . : '\(.\)' 2>/dev/null ||
11368 echo X"$as_dir" |
11369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11370 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11371 @@ -9358,12 +9625,45 @@
11372 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11373 ac_top_srcdir=$ac_top_builddir$srcdir ;;
11374 esac
11375 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
11376 -# absolute.
11377 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
11378 -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
11379 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
11380 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
11381 +
11382 +# Do not use `cd foo && pwd` to compute absolute paths, because
11383 +# the directories may not exist.
11384 +case `pwd` in
11385 +.) ac_abs_builddir="$ac_dir";;
11386 +*)
11387 + case "$ac_dir" in
11388 + .) ac_abs_builddir=`pwd`;;
11389 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11390 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
11391 + esac;;
11392 +esac
11393 +case $ac_abs_builddir in
11394 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
11395 +*)
11396 + case ${ac_top_builddir}. in
11397 + .) ac_abs_top_builddir=$ac_abs_builddir;;
11398 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11399 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11400 + esac;;
11401 +esac
11402 +case $ac_abs_builddir in
11403 +.) ac_abs_srcdir=$ac_srcdir;;
11404 +*)
11405 + case $ac_srcdir in
11406 + .) ac_abs_srcdir=$ac_abs_builddir;;
11407 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11408 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11409 + esac;;
11410 +esac
11411 +case $ac_abs_builddir in
11412 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
11413 +*)
11414 + case $ac_top_srcdir in
11415 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
11416 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11417 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11418 + esac;;
11419 +esac
11420
11421
11422 case $INSTALL in
11423 @@ -9371,11 +9671,6 @@
11424 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11425 esac
11426
11427 - if test x"$ac_file" != x-; then
11428 - { echo "$as_me:$LINENO: creating $ac_file" >&5
11429 -echo "$as_me: creating $ac_file" >&6;}
11430 - rm -f "$ac_file"
11431 - fi
11432 # Let's still pretend it is `configure' which instantiates (i.e., don't
11433 # use $as_me), people would be surprised to read:
11434 # /* config.h. Generated by config.status. */
11435 @@ -9385,7 +9680,7 @@
11436 configure_input="$ac_file. "
11437 fi
11438 configure_input=$configure_input"Generated from `echo $ac_file_in |
11439 - sed 's,.*/,,'` by configure."
11440 + sed 's,.*/,,'` by configure."
11441
11442 # First look for the input files in the build tree, otherwise in the
11443 # src tree.
11444 @@ -9394,26 +9689,32 @@
11445 case $f in
11446 -) echo $tmp/stdin ;;
11447 [\\/$]*)
11448 - # Absolute (can't be DOS-style, as IFS=:)
11449 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11450 + # Absolute (can't be DOS-style, as IFS=:)
11451 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11452 echo "$as_me: error: cannot find input file: $f" >&2;}
11453 { (exit 1); exit 1; }; }
11454 - echo $f;;
11455 + echo "$f";;
11456 *) # Relative
11457 - if test -f "$f"; then
11458 - # Build tree
11459 - echo $f
11460 - elif test -f "$srcdir/$f"; then
11461 - # Source tree
11462 - echo $srcdir/$f
11463 - else
11464 - # /dev/null tree
11465 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11466 + if test -f "$f"; then
11467 + # Build tree
11468 + echo "$f"
11469 + elif test -f "$srcdir/$f"; then
11470 + # Source tree
11471 + echo "$srcdir/$f"
11472 + else
11473 + # /dev/null tree
11474 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11475 echo "$as_me: error: cannot find input file: $f" >&2;}
11476 { (exit 1); exit 1; }; }
11477 - fi;;
11478 + fi;;
11479 esac
11480 done` || { (exit 1); exit 1; }
11481 +
11482 + if test x"$ac_file" != x-; then
11483 + { echo "$as_me:$LINENO: creating $ac_file" >&5
11484 +echo "$as_me: creating $ac_file" >&6;}
11485 + rm -f "$ac_file"
11486 + fi
11487 _ACEOF
11488 cat >>$CONFIG_STATUS <<_ACEOF
11489 sed "$ac_vpsub
11490 @@ -9453,12 +9754,12 @@
11491 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11492 #
11493 # ac_d sets the value in "#define NAME VALUE" lines.
11494 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11495 -ac_dB='[ ].*$,\1#\2'
11496 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11497 +ac_dB='[ ].*$,\1#\2'
11498 ac_dC=' '
11499 ac_dD=',;t'
11500 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11501 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11502 +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11503 ac_uB='$,\1#\2define\3'
11504 ac_uC=' '
11505 ac_uD=',;t'
11506 @@ -9467,11 +9768,11 @@
11507 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11508 case $ac_file in
11509 - | *:- | *:-:* ) # input from stdin
11510 - cat >$tmp/stdin
11511 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11512 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11513 + cat >$tmp/stdin
11514 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11515 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11516 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11517 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11518 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11519 * ) ac_file_in=$ac_file.in ;;
11520 esac
11521
11522 @@ -9485,28 +9786,29 @@
11523 case $f in
11524 -) echo $tmp/stdin ;;
11525 [\\/$]*)
11526 - # Absolute (can't be DOS-style, as IFS=:)
11527 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11528 + # Absolute (can't be DOS-style, as IFS=:)
11529 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11530 echo "$as_me: error: cannot find input file: $f" >&2;}
11531 { (exit 1); exit 1; }; }
11532 - echo $f;;
11533 + # Do quote $f, to prevent DOS paths from being IFS'd.
11534 + echo "$f";;
11535 *) # Relative
11536 - if test -f "$f"; then
11537 - # Build tree
11538 - echo $f
11539 - elif test -f "$srcdir/$f"; then
11540 - # Source tree
11541 - echo $srcdir/$f
11542 - else
11543 - # /dev/null tree
11544 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11545 + if test -f "$f"; then
11546 + # Build tree
11547 + echo "$f"
11548 + elif test -f "$srcdir/$f"; then
11549 + # Source tree
11550 + echo "$srcdir/$f"
11551 + else
11552 + # /dev/null tree
11553 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11554 echo "$as_me: error: cannot find input file: $f" >&2;}
11555 { (exit 1); exit 1; }; }
11556 - fi;;
11557 + fi;;
11558 esac
11559 done` || { (exit 1); exit 1; }
11560 # Remove the trailing spaces.
11561 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11562 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11563
11564 _ACEOF
11565
11566 @@ -9529,9 +9831,9 @@
11567 s,[\\$`],\\&,g
11568 t clear
11569 : clear
11570 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11571 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11572 t end
11573 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11574 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11575 : end
11576 _ACEOF
11577 # If some macros were called several times there might be several times
11578 @@ -9545,13 +9847,13 @@
11579 # example, in the case of _POSIX_SOURCE, which is predefined and required
11580 # on some systems where configure will not decide to define it.
11581 cat >>conftest.undefs <<\_ACEOF
11582 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11583 +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11584 _ACEOF
11585
11586 # Break up conftest.defines because some shells have a limit on the size
11587 # of here documents, and old seds have small limits too (100 cmds).
11588 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11589 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11590 +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11591 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11592 echo ' :' >>$CONFIG_STATUS
11593 rm -f conftest.tail
11594 @@ -9560,7 +9862,7 @@
11595 # Write a limited-size here document to $tmp/defines.sed.
11596 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11597 # Speed up: don't consider the non `#define' lines.
11598 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11599 + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11600 # Work around the forget-to-reset-the-flag bug.
11601 echo 't clr' >>$CONFIG_STATUS
11602 echo ': clr' >>$CONFIG_STATUS
11603 @@ -9587,7 +9889,7 @@
11604 # Write a limited-size here document to $tmp/undefs.sed.
11605 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11606 # Speed up: don't consider the non `#undef'
11607 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11608 + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11609 # Work around the forget-to-reset-the-flag bug.
11610 echo 't clr' >>$CONFIG_STATUS
11611 echo ': clr' >>$CONFIG_STATUS
11612 @@ -9621,10 +9923,10 @@
11613 else
11614 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11615 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11616 - X"$ac_file" : 'X\(//\)[^/]' \| \
11617 - X"$ac_file" : 'X\(//\)$' \| \
11618 - X"$ac_file" : 'X\(/\)' \| \
11619 - . : '\(.\)' 2>/dev/null ||
11620 + X"$ac_file" : 'X\(//\)[^/]' \| \
11621 + X"$ac_file" : 'X\(//\)$' \| \
11622 + X"$ac_file" : 'X\(/\)' \| \
11623 + . : '\(.\)' 2>/dev/null ||
11624 echo X"$ac_file" |
11625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11626 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11627 @@ -9640,10 +9942,10 @@
11628 as_dirs="$as_dir $as_dirs"
11629 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11630 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11631 - X"$as_dir" : 'X\(//\)[^/]' \| \
11632 - X"$as_dir" : 'X\(//\)$' \| \
11633 - X"$as_dir" : 'X\(/\)' \| \
11634 - . : '\(.\)' 2>/dev/null ||
11635 + X"$as_dir" : 'X\(//\)[^/]' \| \
11636 + X"$as_dir" : 'X\(//\)$' \| \
11637 + X"$as_dir" : 'X\(/\)' \| \
11638 + . : '\(.\)' 2>/dev/null ||
11639 echo X"$as_dir" |
11640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11641 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11642 @@ -9675,16 +9977,41 @@
11643 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
11644 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
11645 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11646 - X"$ac_dest" : 'X\(//\)[^/]' \| \
11647 - X"$ac_dest" : 'X\(//\)$' \| \
11648 - X"$ac_dest" : 'X\(/\)' \| \
11649 - . : '\(.\)' 2>/dev/null ||
11650 + X"$ac_dest" : 'X\(//\)[^/]' \| \
11651 + X"$ac_dest" : 'X\(//\)$' \| \
11652 + X"$ac_dest" : 'X\(/\)' \| \
11653 + . : '\(.\)' 2>/dev/null ||
11654 echo X"$ac_dest" |
11655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11656 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11657 /^X\(\/\/\)$/{ s//\1/; q; }
11658 /^X\(\/\).*/{ s//\1/; q; }
11659 s/.*/./; q'`
11660 + { if $as_mkdir_p; then
11661 + mkdir -p "$ac_dir"
11662 + else
11663 + as_dir="$ac_dir"
11664 + as_dirs=
11665 + while test ! -d "$as_dir"; do
11666 + as_dirs="$as_dir $as_dirs"
11667 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
11668 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11669 + X"$as_dir" : 'X\(//\)[^/]' \| \
11670 + X"$as_dir" : 'X\(//\)$' \| \
11671 + X"$as_dir" : 'X\(/\)' \| \
11672 + . : '\(.\)' 2>/dev/null ||
11673 +echo X"$as_dir" |
11674 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11675 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11676 + /^X\(\/\/\)$/{ s//\1/; q; }
11677 + /^X\(\/\).*/{ s//\1/; q; }
11678 + s/.*/./; q'`
11679 + done
11680 + test ! -n "$as_dirs" || mkdir $as_dirs
11681 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11682 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11683 + { (exit 1); exit 1; }; }; }
11684 +
11685 ac_builddir=.
11686
11687 if test "$ac_dir" != .; then
11688 @@ -9710,12 +10037,45 @@
11689 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11690 ac_top_srcdir=$ac_top_builddir$srcdir ;;
11691 esac
11692 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
11693 -# absolute.
11694 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
11695 -ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
11696 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
11697 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
11698 +
11699 +# Do not use `cd foo && pwd` to compute absolute paths, because
11700 +# the directories may not exist.
11701 +case `pwd` in
11702 +.) ac_abs_builddir="$ac_dir";;
11703 +*)
11704 + case "$ac_dir" in
11705 + .) ac_abs_builddir=`pwd`;;
11706 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11707 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
11708 + esac;;
11709 +esac
11710 +case $ac_abs_builddir in
11711 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
11712 +*)
11713 + case ${ac_top_builddir}. in
11714 + .) ac_abs_top_builddir=$ac_abs_builddir;;
11715 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11716 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11717 + esac;;
11718 +esac
11719 +case $ac_abs_builddir in
11720 +.) ac_abs_srcdir=$ac_srcdir;;
11721 +*)
11722 + case $ac_srcdir in
11723 + .) ac_abs_srcdir=$ac_abs_builddir;;
11724 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11725 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11726 + esac;;
11727 +esac
11728 +case $ac_abs_builddir in
11729 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
11730 +*)
11731 + case $ac_top_srcdir in
11732 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
11733 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11734 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11735 + esac;;
11736 +esac
11737
11738
11739 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11740 diff -urN linux-atm.old/doc/Makefile.in linux-atm.dev/doc/Makefile.in
11741 --- linux-atm.old/doc/Makefile.in 2005-08-23 01:12:10.885781000 +0200
11742 +++ linux-atm.dev/doc/Makefile.in 2005-08-23 01:12:46.551359544 +0200
11743 @@ -63,24 +63,35 @@
11744 host_triplet = @host@
11745 target_alias = @target_alias@
11746 target_triplet = @target@
11747 +AR = @AR@
11748 AS = @AS@
11749 CC = @CC@
11750 +CXX = @CXX@
11751 +CXXCPP = @CXXCPP@
11752 DLLTOOL = @DLLTOOL@
11753 ECHO = @ECHO@
11754 +EGREP = @EGREP@
11755 EXEEXT = @EXEEXT@
11756 +F77 = @F77@
11757 +GCJ = @GCJ@
11758 +GCJFLAGS = @GCJFLAGS@
11759 +HAVE_LIB = @HAVE_LIB@
11760 LEX = @LEX@
11761 +LIB = @LIB@
11762 LIBTOOL = @LIBTOOL@
11763 LIBTOOL_DEPS = @LIBTOOL_DEPS@
11764 LIBVER_AGE = @LIBVER_AGE@
11765 LIBVER_CURRENT = @LIBVER_CURRENT@
11766 LIBVER_REVISION = @LIBVER_REVISION@
11767 LN_S = @LN_S@
11768 +LTLIB = @LTLIB@
11769 MAKEINFO = @MAKEINFO@
11770 OBJDUMP = @OBJDUMP@
11771 OBJEXT = @OBJEXT@
11772 PACKAGE = @PACKAGE@
11773 PERL = @PERL@
11774 RANLIB = @RANLIB@
11775 +RC = @RC@
11776 STRIP = @STRIP@
11777 VERSION = @VERSION@
11778 YACC = @YACC@
11779 diff -urN linux-atm.old/m4/Makefile.in linux-atm.dev/m4/Makefile.in
11780 --- linux-atm.old/m4/Makefile.in 2005-08-23 01:12:10.850786000 +0200
11781 +++ linux-atm.dev/m4/Makefile.in 2005-08-23 01:12:46.559358328 +0200
11782 @@ -63,24 +63,35 @@
11783 host_triplet = @host@
11784 target_alias = @target_alias@
11785 target_triplet = @target@
11786 +AR = @AR@
11787 AS = @AS@
11788 CC = @CC@
11789 +CXX = @CXX@
11790 +CXXCPP = @CXXCPP@
11791 DLLTOOL = @DLLTOOL@
11792 ECHO = @ECHO@
11793 +EGREP = @EGREP@
11794 EXEEXT = @EXEEXT@
11795 +F77 = @F77@
11796 +GCJ = @GCJ@
11797 +GCJFLAGS = @GCJFLAGS@
11798 +HAVE_LIB = @HAVE_LIB@
11799 LEX = @LEX@
11800 +LIB = @LIB@
11801 LIBTOOL = @LIBTOOL@
11802 LIBTOOL_DEPS = @LIBTOOL_DEPS@
11803 LIBVER_AGE = @LIBVER_AGE@
11804 LIBVER_CURRENT = @LIBVER_CURRENT@
11805 LIBVER_REVISION = @LIBVER_REVISION@
11806 LN_S = @LN_S@
11807 +LTLIB = @LTLIB@
11808 MAKEINFO = @MAKEINFO@
11809 OBJDUMP = @OBJDUMP@
11810 OBJEXT = @OBJEXT@
11811 PACKAGE = @PACKAGE@
11812 PERL = @PERL@
11813 RANLIB = @RANLIB@
11814 +RC = @RC@
11815 STRIP = @STRIP@
11816 VERSION = @VERSION@
11817 YACC = @YACC@
11818 diff -urN linux-atm.old/Makefile.in linux-atm.dev/Makefile.in
11819 --- linux-atm.old/Makefile.in 2005-08-23 01:12:10.830789000 +0200
11820 +++ linux-atm.dev/Makefile.in 2005-08-23 01:12:46.542360912 +0200
11821 @@ -63,24 +63,35 @@
11822 host_triplet = @host@
11823 target_alias = @target_alias@
11824 target_triplet = @target@
11825 +AR = @AR@
11826 AS = @AS@
11827 CC = @CC@
11828 +CXX = @CXX@
11829 +CXXCPP = @CXXCPP@
11830 DLLTOOL = @DLLTOOL@
11831 ECHO = @ECHO@
11832 +EGREP = @EGREP@
11833 EXEEXT = @EXEEXT@
11834 +F77 = @F77@
11835 +GCJ = @GCJ@
11836 +GCJFLAGS = @GCJFLAGS@
11837 +HAVE_LIB = @HAVE_LIB@
11838 LEX = @LEX@
11839 +LIB = @LIB@
11840 LIBTOOL = @LIBTOOL@
11841 LIBTOOL_DEPS = @LIBTOOL_DEPS@
11842 LIBVER_AGE = @LIBVER_AGE@
11843 LIBVER_CURRENT = @LIBVER_CURRENT@
11844 LIBVER_REVISION = @LIBVER_REVISION@
11845 LN_S = @LN_S@
11846 +LTLIB = @LTLIB@
11847 MAKEINFO = @MAKEINFO@
11848 OBJDUMP = @OBJDUMP@
11849 OBJEXT = @OBJEXT@
11850 PACKAGE = @PACKAGE@
11851 PERL = @PERL@
11852 RANLIB = @RANLIB@
11853 +RC = @RC@
11854 STRIP = @STRIP@
11855 VERSION = @VERSION@
11856 YACC = @YACC@
11857 diff -urN linux-atm.old/src/include/Makefile.in linux-atm.dev/src/include/Makefile.in
11858 --- linux-atm.old/src/include/Makefile.in 2005-08-23 01:12:10.851786000 +0200
11859 +++ linux-atm.dev/src/include/Makefile.in 2005-08-23 01:12:46.585354376 +0200
11860 @@ -63,24 +63,35 @@
11861 host_triplet = @host@
11862 target_alias = @target_alias@
11863 target_triplet = @target@
11864 +AR = @AR@
11865 AS = @AS@
11866 CC = @CC@
11867 +CXX = @CXX@
11868 +CXXCPP = @CXXCPP@
11869 DLLTOOL = @DLLTOOL@
11870 ECHO = @ECHO@
11871 +EGREP = @EGREP@
11872 EXEEXT = @EXEEXT@
11873 +F77 = @F77@
11874 +GCJ = @GCJ@
11875 +GCJFLAGS = @GCJFLAGS@
11876 +HAVE_LIB = @HAVE_LIB@
11877 LEX = @LEX@
11878 +LIB = @LIB@
11879 LIBTOOL = @LIBTOOL@
11880 LIBTOOL_DEPS = @LIBTOOL_DEPS@
11881 LIBVER_AGE = @LIBVER_AGE@
11882 LIBVER_CURRENT = @LIBVER_CURRENT@
11883 LIBVER_REVISION = @LIBVER_REVISION@
11884 LN_S = @LN_S@
11885 +LTLIB = @LTLIB@
11886 MAKEINFO = @MAKEINFO@
11887 OBJDUMP = @OBJDUMP@
11888 OBJEXT = @OBJEXT@
11889 PACKAGE = @PACKAGE@
11890 PERL = @PERL@
11891 RANLIB = @RANLIB@
11892 +RC = @RC@
11893 STRIP = @STRIP@
11894 VERSION = @VERSION@
11895 YACC = @YACC@
11896 diff -urN linux-atm.old/src/lib/Makefile.in linux-atm.dev/src/lib/Makefile.in
11897 --- linux-atm.old/src/lib/Makefile.in 2005-08-23 01:12:10.852786000 +0200
11898 +++ linux-atm.dev/src/lib/Makefile.in 2005-08-23 01:12:46.607351032 +0200
11899 @@ -65,24 +65,35 @@
11900 host_triplet = @host@
11901 target_alias = @target_alias@
11902 target_triplet = @target@
11903 +AR = @AR@
11904 AS = @AS@
11905 CC = @CC@
11906 +CXX = @CXX@
11907 +CXXCPP = @CXXCPP@
11908 DLLTOOL = @DLLTOOL@
11909 ECHO = @ECHO@
11910 +EGREP = @EGREP@
11911 EXEEXT = @EXEEXT@
11912 +F77 = @F77@
11913 +GCJ = @GCJ@
11914 +GCJFLAGS = @GCJFLAGS@
11915 +HAVE_LIB = @HAVE_LIB@
11916 LEX = @LEX@
11917 +LIB = @LIB@
11918 LIBTOOL = @LIBTOOL@
11919 LIBTOOL_DEPS = @LIBTOOL_DEPS@
11920 LIBVER_AGE = @LIBVER_AGE@
11921 LIBVER_CURRENT = @LIBVER_CURRENT@
11922 LIBVER_REVISION = @LIBVER_REVISION@
11923 LN_S = @LN_S@
11924 +LTLIB = @LTLIB@
11925 MAKEINFO = @MAKEINFO@
11926 OBJDUMP = @OBJDUMP@
11927 OBJEXT = @OBJEXT@
11928 PACKAGE = @PACKAGE@
11929 PERL = @PERL@
11930 RANLIB = @RANLIB@
11931 +RC = @RC@
11932 STRIP = @STRIP@
11933 VERSION = @VERSION@
11934 YACC = @YACC@
11935 diff -urN linux-atm.old/src/Makefile.in linux-atm.dev/src/Makefile.in
11936 --- linux-atm.old/src/Makefile.in 2005-08-23 01:12:10.851786000 +0200
11937 +++ linux-atm.dev/src/Makefile.in 2005-08-23 01:12:46.572356352 +0200
11938 @@ -63,30 +63,40 @@
11939 host_triplet = @host@
11940 target_alias = @target_alias@
11941 target_triplet = @target@
11942 +AR = @AR@
11943 AS = @AS@
11944 CC = @CC@
11945 +CXX = @CXX@
11946 +CXXCPP = @CXXCPP@
11947 DLLTOOL = @DLLTOOL@
11948 ECHO = @ECHO@
11949 +EGREP = @EGREP@
11950 EXEEXT = @EXEEXT@
11951 +F77 = @F77@
11952 +GCJ = @GCJ@
11953 +GCJFLAGS = @GCJFLAGS@
11954 +HAVE_LIB = @HAVE_LIB@
11955 LEX = @LEX@
11956 +LIB = @LIB@
11957 LIBTOOL = @LIBTOOL@
11958 LIBTOOL_DEPS = @LIBTOOL_DEPS@
11959 LIBVER_AGE = @LIBVER_AGE@
11960 LIBVER_CURRENT = @LIBVER_CURRENT@
11961 LIBVER_REVISION = @LIBVER_REVISION@
11962 LN_S = @LN_S@
11963 +LTLIB = @LTLIB@
11964 MAKEINFO = @MAKEINFO@
11965 OBJDUMP = @OBJDUMP@
11966 OBJEXT = @OBJEXT@
11967 PACKAGE = @PACKAGE@
11968 PERL = @PERL@
11969 RANLIB = @RANLIB@
11970 +RC = @RC@
11971 STRIP = @STRIP@
11972 VERSION = @VERSION@
11973 YACC = @YACC@
11974
11975 -SUBDIRS = include lib
11976 -
11977 +SUBDIRS = include lib
11978 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
11979 CONFIG_HEADER = ../config.h
11980 CONFIG_CLEAN_FILES =
This page took 0.542567 seconds and 5 git commands to generate.