refresh linux-atm patches
[openwrt/svn-archive/archive.git] / package / linux-atm / patches / 700-libtoolize.patch
1 Index: linux-atm-2.4.1/aclocal.m4
2 ===================================================================
3 --- linux-atm-2.4.1.orig/aclocal.m4 2007-10-20 19:19:17.570629771 +0200
4 +++ linux-atm-2.4.1/aclocal.m4 2007-10-20 19:19:19.510740331 +0200
5 @@ -1,992 +1,19 @@
6 -dnl aclocal.m4 generated automatically by aclocal 1.4-p6
7 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
8
9 -dnl Copyright (C) 1994, 1995-8, 1999, 2001 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 This program is distributed in the hope that it will be useful,
15 -dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
16 -dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 -dnl PARTICULAR PURPOSE.
18 -
19 -# lib-prefix.m4 serial 4 (gettext-0.14.2)
20 -dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
21 -dnl This file is free software; the Free Software Foundation
22 -dnl gives unlimited permission to copy and/or distribute it,
23 -dnl with or without modifications, as long as this notice is preserved.
24 -
25 -dnl From Bruno Haible.
26 -
27 -dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
28 -dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
29 -dnl require excessive bracketing.
30 -ifdef([AC_HELP_STRING],
31 -[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
32 -[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
33 -
34 -dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
35 -dnl to access previously installed libraries. The basic assumption is that
36 -dnl a user will want packages to use other packages he previously installed
37 -dnl with the same --prefix option.
38 -dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
39 -dnl libraries, but is otherwise very convenient.
40 -AC_DEFUN([AC_LIB_PREFIX],
41 -[
42 - AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
43 - AC_REQUIRE([AC_PROG_CC])
44 - AC_REQUIRE([AC_CANONICAL_HOST])
45 - AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
46 - dnl By default, look in $includedir and $libdir.
47 - use_additional=yes
48 - AC_LIB_WITH_FINAL_PREFIX([
49 - eval additional_includedir=\"$includedir\"
50 - eval additional_libdir=\"$libdir\"
51 - ])
52 - AC_LIB_ARG_WITH([lib-prefix],
53 -[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
54 - --without-lib-prefix don't search for libraries in includedir and libdir],
55 -[
56 - if test "X$withval" = "Xno"; then
57 - use_additional=no
58 - else
59 - if test "X$withval" = "X"; then
60 - AC_LIB_WITH_FINAL_PREFIX([
61 - eval additional_includedir=\"$includedir\"
62 - eval additional_libdir=\"$libdir\"
63 - ])
64 - else
65 - additional_includedir="$withval/include"
66 - additional_libdir="$withval/lib"
67 - fi
68 - fi
69 -])
70 - if test $use_additional = yes; then
71 - dnl Potentially add $additional_includedir to $CPPFLAGS.
72 - dnl But don't add it
73 - dnl 1. if it's the standard /usr/include,
74 - dnl 2. if it's already present in $CPPFLAGS,
75 - dnl 3. if it's /usr/local/include and we are using GCC on Linux,
76 - dnl 4. if it doesn't exist as a directory.
77 - if test "X$additional_includedir" != "X/usr/include"; then
78 - haveit=
79 - for x in $CPPFLAGS; do
80 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
81 - if test "X$x" = "X-I$additional_includedir"; then
82 - haveit=yes
83 - break
84 - fi
85 - done
86 - if test -z "$haveit"; then
87 - if test "X$additional_includedir" = "X/usr/local/include"; then
88 - if test -n "$GCC"; then
89 - case $host_os in
90 - linux* | gnu* | k*bsd*-gnu) haveit=yes;;
91 - esac
92 - fi
93 - fi
94 - if test -z "$haveit"; then
95 - if test -d "$additional_includedir"; then
96 - dnl Really add $additional_includedir to $CPPFLAGS.
97 - CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
98 - fi
99 - fi
100 - fi
101 - fi
102 - dnl Potentially add $additional_libdir to $LDFLAGS.
103 - dnl But don't add it
104 - dnl 1. if it's the standard /usr/lib,
105 - dnl 2. if it's already present in $LDFLAGS,
106 - dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
107 - dnl 4. if it doesn't exist as a directory.
108 - if test "X$additional_libdir" != "X/usr/lib"; then
109 - haveit=
110 - for x in $LDFLAGS; do
111 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
112 - if test "X$x" = "X-L$additional_libdir"; then
113 - haveit=yes
114 - break
115 - fi
116 - done
117 - if test -z "$haveit"; then
118 - if test "X$additional_libdir" = "X/usr/local/lib"; then
119 - if test -n "$GCC"; then
120 - case $host_os in
121 - linux*) haveit=yes;;
122 - esac
123 - fi
124 - fi
125 - if test -z "$haveit"; then
126 - if test -d "$additional_libdir"; then
127 - dnl Really add $additional_libdir to $LDFLAGS.
128 - LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
129 - fi
130 - fi
131 - fi
132 - fi
133 - fi
134 -])
135 -
136 -dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
137 -dnl acl_final_exec_prefix, containing the values to which $prefix and
138 -dnl $exec_prefix will expand at the end of the configure script.
139 -AC_DEFUN([AC_LIB_PREPARE_PREFIX],
140 -[
141 - dnl Unfortunately, prefix and exec_prefix get only finally determined
142 - dnl at the end of configure.
143 - if test "X$prefix" = "XNONE"; then
144 - acl_final_prefix="$ac_default_prefix"
145 - else
146 - acl_final_prefix="$prefix"
147 - fi
148 - if test "X$exec_prefix" = "XNONE"; then
149 - acl_final_exec_prefix='${prefix}'
150 - else
151 - acl_final_exec_prefix="$exec_prefix"
152 - fi
153 - acl_save_prefix="$prefix"
154 - prefix="$acl_final_prefix"
155 - eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
156 - prefix="$acl_save_prefix"
157 -])
158 -
159 -dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
160 -dnl variables prefix and exec_prefix bound to the values they will have
161 -dnl at the end of the configure script.
162 -AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
163 -[
164 - acl_save_prefix="$prefix"
165 - prefix="$acl_final_prefix"
166 - acl_save_exec_prefix="$exec_prefix"
167 - exec_prefix="$acl_final_exec_prefix"
168 - $1
169 - exec_prefix="$acl_save_exec_prefix"
170 - prefix="$acl_save_prefix"
171 -])
172 -
173 -# lib-link.m4 serial 6 (gettext-0.14.3)
174 -dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
175 -dnl This file is free software; the Free Software Foundation
176 -dnl gives unlimited permission to copy and/or distribute it,
177 -dnl with or without modifications, as long as this notice is preserved.
178 -
179 -dnl From Bruno Haible.
180 -
181 -AC_PREREQ(2.50)
182 -
183 -dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
184 -dnl the libraries corresponding to explicit and implicit dependencies.
185 -dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
186 -dnl augments the CPPFLAGS variable.
187 -AC_DEFUN([AC_LIB_LINKFLAGS],
188 -[
189 - AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
190 - AC_REQUIRE([AC_LIB_RPATH])
191 - define([Name],[translit([$1],[./-], [___])])
192 - define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
193 - [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
194 - AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
195 - AC_LIB_LINKFLAGS_BODY([$1], [$2])
196 - ac_cv_lib[]Name[]_libs="$LIB[]NAME"
197 - ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
198 - ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
199 - ])
200 - LIB[]NAME="$ac_cv_lib[]Name[]_libs"
201 - LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
202 - INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
203 - AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
204 - AC_SUBST([LIB]NAME)
205 - AC_SUBST([LTLIB]NAME)
206 - dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
207 - dnl results of this search when this library appears as a dependency.
208 - HAVE_LIB[]NAME=yes
209 - undefine([Name])
210 - undefine([NAME])
211 -])
212 -
213 -dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
214 -dnl searches for libname and the libraries corresponding to explicit and
215 -dnl implicit dependencies, together with the specified include files and
216 -dnl the ability to compile and link the specified testcode. If found, it
217 -dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
218 -dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
219 -dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
220 -dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
221 -AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
222 -[
223 - AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
224 - AC_REQUIRE([AC_LIB_RPATH])
225 - define([Name],[translit([$1],[./-], [___])])
226 - define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
227 - [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
228 -
229 - dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
230 - dnl accordingly.
231 - AC_LIB_LINKFLAGS_BODY([$1], [$2])
232 -
233 - dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
234 - dnl because if the user has installed lib[]Name and not disabled its use
235 - dnl via --without-lib[]Name-prefix, he wants to use it.
236 - ac_save_CPPFLAGS="$CPPFLAGS"
237 - AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
238 -
239 - AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
240 - ac_save_LIBS="$LIBS"
241 - LIBS="$LIBS $LIB[]NAME"
242 - AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
243 - LIBS="$ac_save_LIBS"
244 - ])
245 - if test "$ac_cv_lib[]Name" = yes; then
246 - HAVE_LIB[]NAME=yes
247 - AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
248 - AC_MSG_CHECKING([how to link with lib[]$1])
249 - AC_MSG_RESULT([$LIB[]NAME])
250 - else
251 - HAVE_LIB[]NAME=no
252 - dnl If $LIB[]NAME didn't lead to a usable library, we don't need
253 - dnl $INC[]NAME either.
254 - CPPFLAGS="$ac_save_CPPFLAGS"
255 - LIB[]NAME=
256 - LTLIB[]NAME=
257 - fi
258 - AC_SUBST([HAVE_LIB]NAME)
259 - AC_SUBST([LIB]NAME)
260 - AC_SUBST([LTLIB]NAME)
261 - undefine([Name])
262 - undefine([NAME])
263 -])
264 -
265 -dnl Determine the platform dependent parameters needed to use rpath:
266 -dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
267 -dnl hardcode_direct, hardcode_minus_L.
268 -AC_DEFUN([AC_LIB_RPATH],
269 -[
270 - dnl Tell automake >= 1.10 to complain if config.rpath is missing.
271 - m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
272 - AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
273 - AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
274 - AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
275 - AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
276 - AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
277 - CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
278 - ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
279 - . ./conftest.sh
280 - rm -f ./conftest.sh
281 - acl_cv_rpath=done
282 - ])
283 - wl="$acl_cv_wl"
284 - libext="$acl_cv_libext"
285 - shlibext="$acl_cv_shlibext"
286 - hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
287 - hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
288 - hardcode_direct="$acl_cv_hardcode_direct"
289 - hardcode_minus_L="$acl_cv_hardcode_minus_L"
290 - dnl Determine whether the user wants rpath handling at all.
291 - AC_ARG_ENABLE(rpath,
292 - [ --disable-rpath do not hardcode runtime library paths],
293 - :, enable_rpath=yes)
294 -])
295 -
296 -dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
297 -dnl the libraries corresponding to explicit and implicit dependencies.
298 -dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
299 -AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
300 -[
301 - define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
302 - [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
303 - dnl By default, look in $includedir and $libdir.
304 - use_additional=yes
305 - AC_LIB_WITH_FINAL_PREFIX([
306 - eval additional_includedir=\"$includedir\"
307 - eval additional_libdir=\"$libdir\"
308 - ])
309 - AC_LIB_ARG_WITH([lib$1-prefix],
310 -[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
311 - --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
312 -[
313 - if test "X$withval" = "Xno"; then
314 - use_additional=no
315 - else
316 - if test "X$withval" = "X"; then
317 - AC_LIB_WITH_FINAL_PREFIX([
318 - eval additional_includedir=\"$includedir\"
319 - eval additional_libdir=\"$libdir\"
320 - ])
321 - else
322 - additional_includedir="$withval/include"
323 - additional_libdir="$withval/lib"
324 - fi
325 - fi
326 -])
327 - dnl Search the library and its dependencies in $additional_libdir and
328 - dnl $LDFLAGS. Using breadth-first-seach.
329 - LIB[]NAME=
330 - LTLIB[]NAME=
331 - INC[]NAME=
332 - rpathdirs=
333 - ltrpathdirs=
334 - names_already_handled=
335 - names_next_round='$1 $2'
336 - while test -n "$names_next_round"; do
337 - names_this_round="$names_next_round"
338 - names_next_round=
339 - for name in $names_this_round; do
340 - already_handled=
341 - for n in $names_already_handled; do
342 - if test "$n" = "$name"; then
343 - already_handled=yes
344 - break
345 - fi
346 - done
347 - if test -z "$already_handled"; then
348 - names_already_handled="$names_already_handled $name"
349 - dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
350 - dnl or AC_LIB_HAVE_LINKFLAGS call.
351 - uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
352 - eval value=\"\$HAVE_LIB$uppername\"
353 - if test -n "$value"; then
354 - if test "$value" = yes; then
355 - eval value=\"\$LIB$uppername\"
356 - test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
357 - eval value=\"\$LTLIB$uppername\"
358 - test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
359 - else
360 - dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
361 - dnl that this library doesn't exist. So just drop it.
362 - :
363 - fi
364 - else
365 - dnl Search the library lib$name in $additional_libdir and $LDFLAGS
366 - dnl and the already constructed $LIBNAME/$LTLIBNAME.
367 - found_dir=
368 - found_la=
369 - found_so=
370 - found_a=
371 - if test $use_additional = yes; then
372 - if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
373 - found_dir="$additional_libdir"
374 - found_so="$additional_libdir/lib$name.$shlibext"
375 - if test -f "$additional_libdir/lib$name.la"; then
376 - found_la="$additional_libdir/lib$name.la"
377 - fi
378 - else
379 - if test -f "$additional_libdir/lib$name.$libext"; then
380 - found_dir="$additional_libdir"
381 - found_a="$additional_libdir/lib$name.$libext"
382 - if test -f "$additional_libdir/lib$name.la"; then
383 - found_la="$additional_libdir/lib$name.la"
384 - fi
385 - fi
386 - fi
387 - fi
388 - if test "X$found_dir" = "X"; then
389 - for x in $LDFLAGS $LTLIB[]NAME; do
390 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
391 - case "$x" in
392 - -L*)
393 - dir=`echo "X$x" | sed -e 's/^X-L//'`
394 - if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
395 - found_dir="$dir"
396 - found_so="$dir/lib$name.$shlibext"
397 - if test -f "$dir/lib$name.la"; then
398 - found_la="$dir/lib$name.la"
399 - fi
400 - else
401 - if test -f "$dir/lib$name.$libext"; then
402 - found_dir="$dir"
403 - found_a="$dir/lib$name.$libext"
404 - if test -f "$dir/lib$name.la"; then
405 - found_la="$dir/lib$name.la"
406 - fi
407 - fi
408 - fi
409 - ;;
410 - esac
411 - if test "X$found_dir" != "X"; then
412 - break
413 - fi
414 - done
415 - fi
416 - if test "X$found_dir" != "X"; then
417 - dnl Found the library.
418 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
419 - if test "X$found_so" != "X"; then
420 - dnl Linking with a shared library. We attempt to hardcode its
421 - dnl directory into the executable's runpath, unless it's the
422 - dnl standard /usr/lib.
423 - if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
424 - dnl No hardcoding is needed.
425 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
426 - else
427 - dnl Use an explicit option to hardcode DIR into the resulting
428 - dnl binary.
429 - dnl Potentially add DIR to ltrpathdirs.
430 - dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
431 - haveit=
432 - for x in $ltrpathdirs; do
433 - if test "X$x" = "X$found_dir"; then
434 - haveit=yes
435 - break
436 - fi
437 - done
438 - if test -z "$haveit"; then
439 - ltrpathdirs="$ltrpathdirs $found_dir"
440 - fi
441 - dnl The hardcoding into $LIBNAME is system dependent.
442 - if test "$hardcode_direct" = yes; then
443 - dnl Using DIR/libNAME.so during linking hardcodes DIR into the
444 - dnl resulting binary.
445 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
446 - else
447 - if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
448 - dnl Use an explicit option to hardcode DIR into the resulting
449 - dnl binary.
450 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
451 - dnl Potentially add DIR to rpathdirs.
452 - dnl The rpathdirs will be appended to $LIBNAME at the end.
453 - haveit=
454 - for x in $rpathdirs; do
455 - if test "X$x" = "X$found_dir"; then
456 - haveit=yes
457 - break
458 - fi
459 - done
460 - if test -z "$haveit"; then
461 - rpathdirs="$rpathdirs $found_dir"
462 - fi
463 - else
464 - dnl Rely on "-L$found_dir".
465 - dnl But don't add it if it's already contained in the LDFLAGS
466 - dnl or the already constructed $LIBNAME
467 - haveit=
468 - for x in $LDFLAGS $LIB[]NAME; do
469 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
470 - if test "X$x" = "X-L$found_dir"; then
471 - haveit=yes
472 - break
473 - fi
474 - done
475 - if test -z "$haveit"; then
476 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
477 - fi
478 - if test "$hardcode_minus_L" != no; then
479 - dnl FIXME: Not sure whether we should use
480 - dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
481 - dnl here.
482 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
483 - else
484 - dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
485 - dnl here, because this doesn't fit in flags passed to the
486 - dnl compiler. So give up. No hardcoding. This affects only
487 - dnl very old systems.
488 - dnl FIXME: Not sure whether we should use
489 - dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
490 - dnl here.
491 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
492 - fi
493 - fi
494 - fi
495 - fi
496 - else
497 - if test "X$found_a" != "X"; then
498 - dnl Linking with a static library.
499 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
500 - else
501 - dnl We shouldn't come here, but anyway it's good to have a
502 - dnl fallback.
503 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
504 - fi
505 - fi
506 - dnl Assume the include files are nearby.
507 - additional_includedir=
508 - case "$found_dir" in
509 - */lib | */lib/)
510 - basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
511 - additional_includedir="$basedir/include"
512 - ;;
513 - esac
514 - if test "X$additional_includedir" != "X"; then
515 - dnl Potentially add $additional_includedir to $INCNAME.
516 - dnl But don't add it
517 - dnl 1. if it's the standard /usr/include,
518 - dnl 2. if it's /usr/local/include and we are using GCC on Linux,
519 - dnl 3. if it's already present in $CPPFLAGS or the already
520 - dnl constructed $INCNAME,
521 - dnl 4. if it doesn't exist as a directory.
522 - if test "X$additional_includedir" != "X/usr/include"; then
523 - haveit=
524 - if test "X$additional_includedir" = "X/usr/local/include"; then
525 - if test -n "$GCC"; then
526 - case $host_os in
527 - linux* | gnu* | k*bsd*-gnu) haveit=yes;;
528 - esac
529 - fi
530 - fi
531 - if test -z "$haveit"; then
532 - for x in $CPPFLAGS $INC[]NAME; do
533 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
534 - if test "X$x" = "X-I$additional_includedir"; then
535 - haveit=yes
536 - break
537 - fi
538 - done
539 - if test -z "$haveit"; then
540 - if test -d "$additional_includedir"; then
541 - dnl Really add $additional_includedir to $INCNAME.
542 - INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
543 - fi
544 - fi
545 - fi
546 - fi
547 - fi
548 - dnl Look for dependencies.
549 - if test -n "$found_la"; then
550 - dnl Read the .la file. It defines the variables
551 - dnl dlname, library_names, old_library, dependency_libs, current,
552 - dnl age, revision, installed, dlopen, dlpreopen, libdir.
553 - save_libdir="$libdir"
554 - case "$found_la" in
555 - */* | *\\*) . "$found_la" ;;
556 - *) . "./$found_la" ;;
557 - esac
558 - libdir="$save_libdir"
559 - dnl We use only dependency_libs.
560 - for dep in $dependency_libs; do
561 - case "$dep" in
562 - -L*)
563 - additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
564 - dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
565 - dnl But don't add it
566 - dnl 1. if it's the standard /usr/lib,
567 - dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
568 - dnl 3. if it's already present in $LDFLAGS or the already
569 - dnl constructed $LIBNAME,
570 - dnl 4. if it doesn't exist as a directory.
571 - if test "X$additional_libdir" != "X/usr/lib"; then
572 - haveit=
573 - if test "X$additional_libdir" = "X/usr/local/lib"; then
574 - if test -n "$GCC"; then
575 - case $host_os in
576 - linux* | gnu* | k*bsd*-gnu) haveit=yes;;
577 - esac
578 - fi
579 - fi
580 - if test -z "$haveit"; then
581 - haveit=
582 - for x in $LDFLAGS $LIB[]NAME; do
583 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
584 - if test "X$x" = "X-L$additional_libdir"; then
585 - haveit=yes
586 - break
587 - fi
588 - done
589 - if test -z "$haveit"; then
590 - if test -d "$additional_libdir"; then
591 - dnl Really add $additional_libdir to $LIBNAME.
592 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
593 - fi
594 - fi
595 - haveit=
596 - for x in $LDFLAGS $LTLIB[]NAME; do
597 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
598 - if test "X$x" = "X-L$additional_libdir"; then
599 - haveit=yes
600 - break
601 - fi
602 - done
603 - if test -z "$haveit"; then
604 - if test -d "$additional_libdir"; then
605 - dnl Really add $additional_libdir to $LTLIBNAME.
606 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
607 - fi
608 - fi
609 - fi
610 - fi
611 - ;;
612 - -R*)
613 - dir=`echo "X$dep" | sed -e 's/^X-R//'`
614 - if test "$enable_rpath" != no; then
615 - dnl Potentially add DIR to rpathdirs.
616 - dnl The rpathdirs will be appended to $LIBNAME at the end.
617 - haveit=
618 - for x in $rpathdirs; do
619 - if test "X$x" = "X$dir"; then
620 - haveit=yes
621 - break
622 - fi
623 - done
624 - if test -z "$haveit"; then
625 - rpathdirs="$rpathdirs $dir"
626 - fi
627 - dnl Potentially add DIR to ltrpathdirs.
628 - dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
629 - haveit=
630 - for x in $ltrpathdirs; do
631 - if test "X$x" = "X$dir"; then
632 - haveit=yes
633 - break
634 - fi
635 - done
636 - if test -z "$haveit"; then
637 - ltrpathdirs="$ltrpathdirs $dir"
638 - fi
639 - fi
640 - ;;
641 - -l*)
642 - dnl Handle this in the next round.
643 - names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
644 - ;;
645 - *.la)
646 - dnl Handle this in the next round. Throw away the .la's
647 - dnl directory; it is already contained in a preceding -L
648 - dnl option.
649 - names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
650 - ;;
651 - *)
652 - dnl Most likely an immediate library name.
653 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
654 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
655 - ;;
656 - esac
657 - done
658 - fi
659 - else
660 - dnl Didn't find the library; assume it is in the system directories
661 - dnl known to the linker and runtime loader. (All the system
662 - dnl directories known to the linker should also be known to the
663 - dnl runtime loader, otherwise the system is severely misconfigured.)
664 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
665 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
666 - fi
667 - fi
668 - fi
669 - done
670 - done
671 - if test "X$rpathdirs" != "X"; then
672 - if test -n "$hardcode_libdir_separator"; then
673 - dnl Weird platform: only the last -rpath option counts, the user must
674 - dnl pass all path elements in one option. We can arrange that for a
675 - dnl single library, but not when more than one $LIBNAMEs are used.
676 - alldirs=
677 - for found_dir in $rpathdirs; do
678 - alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
679 - done
680 - dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
681 - acl_save_libdir="$libdir"
682 - libdir="$alldirs"
683 - eval flag=\"$hardcode_libdir_flag_spec\"
684 - libdir="$acl_save_libdir"
685 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
686 - else
687 - dnl The -rpath options are cumulative.
688 - for found_dir in $rpathdirs; do
689 - acl_save_libdir="$libdir"
690 - libdir="$found_dir"
691 - eval flag=\"$hardcode_libdir_flag_spec\"
692 - libdir="$acl_save_libdir"
693 - LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
694 - done
695 - fi
696 - fi
697 - if test "X$ltrpathdirs" != "X"; then
698 - dnl When using libtool, the option that works for both libraries and
699 - dnl executables is -R. The -R options are cumulative.
700 - for found_dir in $ltrpathdirs; do
701 - LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
702 - done
703 - fi
704 -])
705 -
706 -dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
707 -dnl unless already present in VAR.
708 -dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
709 -dnl contains two or three consecutive elements that belong together.
710 -AC_DEFUN([AC_LIB_APPENDTOVAR],
711 -[
712 - for element in [$2]; do
713 - haveit=
714 - for x in $[$1]; do
715 - AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
716 - if test "X$x" = "X$element"; then
717 - haveit=yes
718 - break
719 - fi
720 - done
721 - if test -z "$haveit"; then
722 - [$1]="${[$1]}${[$1]:+ }$element"
723 - fi
724 - done
725 -])
726 -
727 -# lib-ld.m4 serial 3 (gettext-0.13)
728 -dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
729 -dnl This file is free software; the Free Software Foundation
730 -dnl gives unlimited permission to copy and/or distribute it,
731 -dnl with or without modifications, as long as this notice is preserved.
732 -
733 -dnl Subroutines of libtool.m4,
734 -dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
735 -dnl with libtool.m4.
736 -
737 -dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
738 -AC_DEFUN([AC_LIB_PROG_LD_GNU],
739 -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
740 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
741 -case `$LD -v 2>&1 </dev/null` in
742 -*GNU* | *'with BFD'*)
743 - acl_cv_prog_gnu_ld=yes ;;
744 -*)
745 - acl_cv_prog_gnu_ld=no ;;
746 -esac])
747 -with_gnu_ld=$acl_cv_prog_gnu_ld
748 -])
749 -
750 -dnl From libtool-1.4. Sets the variable LD.
751 -AC_DEFUN([AC_LIB_PROG_LD],
752 -[AC_ARG_WITH(gnu-ld,
753 -[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
754 -test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
755 -AC_REQUIRE([AC_PROG_CC])dnl
756 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
757 -# Prepare PATH_SEPARATOR.
758 -# The user is always right.
759 -if test "${PATH_SEPARATOR+set}" != set; then
760 - echo "#! /bin/sh" >conf$$.sh
761 - echo "exit 0" >>conf$$.sh
762 - chmod +x conf$$.sh
763 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
764 - PATH_SEPARATOR=';'
765 - else
766 - PATH_SEPARATOR=:
767 - fi
768 - rm -f conf$$.sh
769 -fi
770 -ac_prog=ld
771 -if test "$GCC" = yes; then
772 - # Check if gcc -print-prog-name=ld gives a path.
773 - AC_MSG_CHECKING([for ld used by GCC])
774 - case $host in
775 - *-*-mingw*)
776 - # gcc leaves a trailing carriage return which upsets mingw
777 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
778 - *)
779 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
780 - esac
781 - case $ac_prog in
782 - # Accept absolute paths.
783 - [[\\/]* | [A-Za-z]:[\\/]*)]
784 - [re_direlt='/[^/][^/]*/\.\./']
785 - # Canonicalize the path of ld
786 - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
787 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
788 - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
789 - done
790 - test -z "$LD" && LD="$ac_prog"
791 - ;;
792 - "")
793 - # If it fails, then pretend we aren't using GCC.
794 - ac_prog=ld
795 - ;;
796 - *)
797 - # If it is relative, then search for the first ld in PATH.
798 - with_gnu_ld=unknown
799 - ;;
800 - esac
801 -elif test "$with_gnu_ld" = yes; then
802 - AC_MSG_CHECKING([for GNU ld])
803 -else
804 - AC_MSG_CHECKING([for non-GNU ld])
805 -fi
806 -AC_CACHE_VAL(acl_cv_path_LD,
807 -[if test -z "$LD"; then
808 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
809 - for ac_dir in $PATH; do
810 - test -z "$ac_dir" && ac_dir=.
811 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
812 - acl_cv_path_LD="$ac_dir/$ac_prog"
813 - # Check to see if the program is GNU ld. I'd rather use --version,
814 - # but apparently some GNU ld's only accept -v.
815 - # Break only if it was the GNU/non-GNU ld that we prefer.
816 - case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
817 - *GNU* | *'with BFD'*)
818 - test "$with_gnu_ld" != no && break ;;
819 - *)
820 - test "$with_gnu_ld" != yes && break ;;
821 - esac
822 - fi
823 - done
824 - IFS="$ac_save_ifs"
825 -else
826 - acl_cv_path_LD="$LD" # Let the user override the test with a path.
827 -fi])
828 -LD="$acl_cv_path_LD"
829 -if test -n "$LD"; then
830 - AC_MSG_RESULT($LD)
831 -else
832 - AC_MSG_RESULT(no)
833 -fi
834 -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
835 -AC_LIB_PROG_LD_GNU
836 -])
837 -
838 -# Like AC_CONFIG_HEADER, but automatically create stamp file.
839 -
840 -AC_DEFUN([AM_CONFIG_HEADER],
841 -[AC_PREREQ([2.12])
842 -AC_CONFIG_HEADER([$1])
843 -dnl When config.status generates a header, we must update the stamp-h file.
844 -dnl This file resides in the same directory as the config header
845 -dnl that is generated. We must strip everything past the first ":",
846 -dnl and everything past the last "/".
847 -AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
848 -ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
849 -<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
850 -<<am_indx=1
851 -for am_file in <<$1>>; do
852 - case " <<$>>CONFIG_HEADERS " in
853 - *" <<$>>am_file "*<<)>>
854 - echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
855 - ;;
856 - esac
857 - am_indx=`expr "<<$>>am_indx" + 1`
858 -done<<>>dnl>>)
859 -changequote([,]))])
860 -
861 -# Do all the work for Automake. This macro actually does too much --
862 -# some checks are only needed if your package does certain things.
863 -# But this isn't really a big deal.
864 -
865 -# serial 1
866 -
867 -dnl Usage:
868 -dnl AM_INIT_AUTOMAKE(package,version, [no-define])
869 -
870 -AC_DEFUN([AM_INIT_AUTOMAKE],
871 -[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
872 -AC_REQUIRE([AC_PROG_INSTALL])
873 -PACKAGE=[$1]
874 -AC_SUBST(PACKAGE)
875 -VERSION=[$2]
876 -AC_SUBST(VERSION)
877 -dnl test to see if srcdir already configured
878 -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
879 - AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
880 -fi
881 -ifelse([$3],,
882 -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
883 -AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
884 -AC_REQUIRE([AM_SANITY_CHECK])
885 -AC_REQUIRE([AC_ARG_PROGRAM])
886 -dnl FIXME This is truly gross.
887 -missing_dir=`cd $ac_aux_dir && pwd`
888 -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
889 -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
890 -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
891 -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
892 -AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
893 -AC_REQUIRE([AC_PROG_MAKE_SET])])
894 -
895 -# Copyright 2002 Free Software Foundation, Inc.
896 -
897 -# This program is free software; you can redistribute it and/or modify
898 -# it under the terms of the GNU General Public License as published by
899 -# the Free Software Foundation; either version 2, or (at your option)
900 -# any later version.
901 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
902 +# 2005 Free Software Foundation, Inc.
903 +# This file is free software; the Free Software Foundation
904 +# gives unlimited permission to copy and/or distribute it,
905 +# with or without modifications, as long as this notice is preserved.
906
907 # This program is distributed in the hope that it will be useful,
908 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
909 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
910 -# GNU General Public License for more details.
911 -
912 -# You should have received a copy of the GNU General Public License
913 -# along with this program; if not, write to the Free Software
914 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
915 -
916 -# AM_AUTOMAKE_VERSION(VERSION)
917 -# ----------------------------
918 -# Automake X.Y traces this macro to ensure aclocal.m4 has been
919 -# generated from the m4 files accompanying Automake X.Y.
920 -AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
921 -
922 -# AM_SET_CURRENT_AUTOMAKE_VERSION
923 -# -------------------------------
924 -# Call AM_AUTOMAKE_VERSION so it can be traced.
925 -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
926 -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
927 - [AM_AUTOMAKE_VERSION([1.4-p6])])
928 -
929 -#
930 -# Check to make sure that the build environment is sane.
931 -#
932 -
933 -AC_DEFUN([AM_SANITY_CHECK],
934 -[AC_MSG_CHECKING([whether build environment is sane])
935 -# Just in case
936 -sleep 1
937 -echo timestamp > conftestfile
938 -# Do `set' in a subshell so we don't clobber the current shell's
939 -# arguments. Must try -L first in case configure is actually a
940 -# symlink; some systems play weird games with the mod time of symlinks
941 -# (eg FreeBSD returns the mod time of the symlink's containing
942 -# directory).
943 -if (
944 - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
945 - if test "[$]*" = "X"; then
946 - # -L didn't work.
947 - set X `ls -t $srcdir/configure conftestfile`
948 - fi
949 - if test "[$]*" != "X $srcdir/configure conftestfile" \
950 - && test "[$]*" != "X conftestfile $srcdir/configure"; then
951 -
952 - # If neither matched, then we have a broken ls. This can happen
953 - # if, for instance, CONFIG_SHELL is bash and it inherits a
954 - # broken ls alias from the environment. This has actually
955 - # happened. Such a system could not be considered "sane".
956 - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
957 -alias in your environment])
958 - fi
959 -
960 - test "[$]2" = conftestfile
961 - )
962 -then
963 - # Ok.
964 - :
965 -else
966 - AC_MSG_ERROR([newly created file is older than distributed files!
967 -Check your system clock])
968 -fi
969 -rm -f conftest*
970 -AC_MSG_RESULT(yes)])
971 -
972 -dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
973 -dnl The program must properly implement --version.
974 -AC_DEFUN([AM_MISSING_PROG],
975 -[AC_MSG_CHECKING(for working $2)
976 -# Run test in a subshell; some versions of sh will print an error if
977 -# an executable is not found, even if stderr is redirected.
978 -# Redirect stdin to placate older versions of autoconf. Sigh.
979 -if ($2 --version) < /dev/null > /dev/null 2>&1; then
980 - $1=$2
981 - AC_MSG_RESULT(found)
982 -else
983 - $1="$3/missing $2"
984 - AC_MSG_RESULT(missing)
985 -fi
986 -AC_SUBST($1)])
987 -
988 -
989 -dnl AM_PROG_LEX
990 -dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
991 -AC_DEFUN([AM_PROG_LEX],
992 -[missing_dir=ifelse([$1],,`cd $ac_aux_dir && pwd`,$1)
993 -AC_CHECK_PROGS(LEX, flex lex, $missing_dir/missing flex)
994 -AC_PROG_LEX
995 -AC_DECL_YYTEXT])
996 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
997 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
998 +# PARTICULAR PURPOSE.
999
1000 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1001
1002 -# serial 47 AC_PROG_LIBTOOL
1003 -# Debian $Rev$
1004 +# serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL
1005
1006
1007 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
1008 @@ -1096,7 +123,7 @@
1009
1010 # Sed substitution that helps us do robust quoting. It backslashifies
1011 # metacharacters that are still active within double-quoted strings.
1012 -Xsed='sed -e s/^X//'
1013 +Xsed='sed -e 1s/^X//'
1014 [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
1015
1016 # Same as above, but do not quote variable references.
1017 @@ -1116,7 +143,7 @@
1018 default_ofile=libtool
1019 can_build_shared=yes
1020
1021 -# All known linkers require a `.a' archive for static linking (except M$VC,
1022 +# All known linkers require a `.a' archive for static linking (except MSVC,
1023 # which needs '.lib').
1024 libext=a
1025 ltmain="$ac_aux_dir/ltmain.sh"
1026 @@ -1136,6 +163,7 @@
1027 test -z "$AS" && AS=as
1028 test -z "$CC" && CC=cc
1029 test -z "$LTCC" && LTCC=$CC
1030 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
1031 test -z "$DLLTOOL" && DLLTOOL=dlltool
1032 test -z "$LD" && LD=ld
1033 test -z "$LN_S" && LN_S="ln -s"
1034 @@ -1155,15 +183,17 @@
1035 if test -n "$RANLIB"; then
1036 case $host_os in
1037 openbsd*)
1038 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
1039 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1040 ;;
1041 *)
1042 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
1043 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1044 ;;
1045 esac
1046 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1047 fi
1048
1049 +_LT_CC_BASENAME([$compiler])
1050 +
1051 # Only perform the check for file, if the check method requires it
1052 case $deplibs_check_method in
1053 file_magic*)
1054 @@ -1204,11 +234,56 @@
1055 # If no C compiler was specified, use CC.
1056 LTCC=${LTCC-"$CC"}
1057
1058 +# If no C compiler flags were specified, use CFLAGS.
1059 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1060 +
1061 # Allow CC to be a program name with arguments.
1062 compiler=$CC
1063 ])# _LT_AC_SYS_COMPILER
1064
1065
1066 +# _LT_CC_BASENAME(CC)
1067 +# -------------------
1068 +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
1069 +AC_DEFUN([_LT_CC_BASENAME],
1070 +[for cc_temp in $1""; do
1071 + case $cc_temp in
1072 + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
1073 + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
1074 + \-*) ;;
1075 + *) break;;
1076 + esac
1077 +done
1078 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1079 +])
1080 +
1081 +
1082 +# _LT_COMPILER_BOILERPLATE
1083 +# ------------------------
1084 +# Check for compiler boilerplate output or warnings with
1085 +# the simple compiler test code.
1086 +AC_DEFUN([_LT_COMPILER_BOILERPLATE],
1087 +[ac_outfile=conftest.$ac_objext
1088 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
1089 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1090 +_lt_compiler_boilerplate=`cat conftest.err`
1091 +$rm conftest*
1092 +])# _LT_COMPILER_BOILERPLATE
1093 +
1094 +
1095 +# _LT_LINKER_BOILERPLATE
1096 +# ----------------------
1097 +# Check for linker boilerplate output or warnings with
1098 +# the simple link test code.
1099 +AC_DEFUN([_LT_LINKER_BOILERPLATE],
1100 +[ac_outfile=conftest.$ac_objext
1101 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
1102 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1103 +_lt_linker_boilerplate=`cat conftest.err`
1104 +$rm conftest*
1105 +])# _LT_LINKER_BOILERPLATE
1106 +
1107 +
1108 # _LT_AC_SYS_LIBPATH_AIX
1109 # ----------------------
1110 # Links a minimal program and checks the executable
1111 @@ -1281,15 +356,15 @@
1112
1113 # The HP-UX ksh and POSIX shell print the target directory to stdout
1114 # if CDPATH is set.
1115 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
1116 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1117
1118 if test -z "$ECHO"; then
1119 if test "X${echo_test_string+set}" != Xset; then
1120 # find a string as large as possible, as long as the shell can cope with it
1121 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1122 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1123 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
1124 - echo_test_string="`eval $cmd`" &&
1125 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
1126 + echo_test_string=`eval $cmd` &&
1127 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
1128 then
1129 break
1130 @@ -1458,7 +533,7 @@
1131 # Find out which ABI we are using.
1132 echo 'int i;' > conftest.$ac_ext
1133 if AC_TRY_EVAL(ac_compile); then
1134 - case "`/usr/bin/file conftest.o`" in
1135 + case `/usr/bin/file conftest.o` in
1136 *32-bit*)
1137 case $host in
1138 x86_64-*linux*)
1139 @@ -1509,6 +584,22 @@
1140 CFLAGS="$SAVE_CFLAGS"
1141 fi
1142 ;;
1143 +sparc*-*solaris*)
1144 + # Find out which ABI we are using.
1145 + echo 'int i;' > conftest.$ac_ext
1146 + if AC_TRY_EVAL(ac_compile); then
1147 + case `/usr/bin/file conftest.o` in
1148 + *64-bit*)
1149 + case $lt_cv_prog_gnu_ld in
1150 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
1151 + *) LD="${LD-ld} -64" ;;
1152 + esac
1153 + ;;
1154 + esac
1155 + fi
1156 + rm -rf conftest*
1157 + ;;
1158 +
1159 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1160 [*-*-cygwin* | *-*-mingw* | *-*-pw32*)
1161 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
1162 @@ -1540,7 +631,7 @@
1163 # with a dollar sign (not a hyphen), so the echo should work correctly.
1164 # The option is referenced via a variable to avoid confusing sed.
1165 lt_compile=`echo "$ac_compile" | $SED \
1166 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1167 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1168 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1169 -e 's:$: $lt_compiler_flag:'`
1170 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1171 @@ -1550,8 +641,10 @@
1172 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1173 if (exit $ac_status) && test -s "$ac_outfile"; then
1174 # The compiler can only warn and ignore the option if not recognized
1175 - # So say no if there are warnings
1176 - if test ! -s conftest.err; then
1177 + # So say no if there are warnings other than the usual output.
1178 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1179 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1180 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1181 $2=yes
1182 fi
1183 fi
1184 @@ -1577,11 +670,16 @@
1185 LDFLAGS="$LDFLAGS $3"
1186 printf "$lt_simple_link_test_code" > conftest.$ac_ext
1187 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1188 - # The compiler can only warn and ignore the option if not recognized
1189 + # The linker can only warn and ignore the option if not recognized
1190 # So say no if there are warnings
1191 if test -s conftest.err; then
1192 # Append any errors to the config.log.
1193 cat conftest.err 1>&AS_MESSAGE_LOG_FD
1194 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
1195 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1196 + if diff conftest.exp conftest.er2 >/dev/null; then
1197 + $2=yes
1198 + fi
1199 else
1200 $2=yes
1201 fi
1202 @@ -1640,17 +738,61 @@
1203 lt_cv_sys_max_cmd_len=8192;
1204 ;;
1205
1206 - *)
1207 - # If test is not a shell built-in, we'll probably end up computing a
1208 - # maximum length that is only half of the actual maximum length, but
1209 - # we can't tell.
1210 - while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
1211 - = "XX$teststring") >/dev/null 2>&1 &&
1212 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
1213 - lt_cv_sys_max_cmd_len=$new_result &&
1214 - test $i != 17 # 1/2 MB should be enough
1215 - do
1216 - i=`expr $i + 1`
1217 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
1218 + # This has been around since 386BSD, at least. Likely further.
1219 + if test -x /sbin/sysctl; then
1220 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1221 + elif test -x /usr/sbin/sysctl; then
1222 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1223 + else
1224 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
1225 + fi
1226 + # And add a safety zone
1227 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1228 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1229 + ;;
1230 +
1231 + interix*)
1232 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
1233 + lt_cv_sys_max_cmd_len=196608
1234 + ;;
1235 +
1236 + osf*)
1237 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1238 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1239 + # nice to cause kernel panics so lets avoid the loop below.
1240 + # First set a reasonable default.
1241 + lt_cv_sys_max_cmd_len=16384
1242 + #
1243 + if test -x /sbin/sysconfig; then
1244 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1245 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
1246 + esac
1247 + fi
1248 + ;;
1249 + sco3.2v5*)
1250 + lt_cv_sys_max_cmd_len=102400
1251 + ;;
1252 + sysv5* | sco5v6* | sysv4.2uw2*)
1253 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
1254 + if test -n "$kargmax"; then
1255 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
1256 + else
1257 + lt_cv_sys_max_cmd_len=32768
1258 + fi
1259 + ;;
1260 + *)
1261 + # If test is not a shell built-in, we'll probably end up computing a
1262 + # maximum length that is only half of the actual maximum length, but
1263 + # we can't tell.
1264 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1265 + while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
1266 + = "XX$teststring") >/dev/null 2>&1 &&
1267 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
1268 + lt_cv_sys_max_cmd_len=$new_result &&
1269 + test $i != 17 # 1/2 MB should be enough
1270 + do
1271 + i=`expr $i + 1`
1272 teststring=$teststring$teststring
1273 done
1274 teststring=
1275 @@ -1670,7 +812,7 @@
1276
1277
1278 # _LT_AC_CHECK_DLFCN
1279 -# --------------------
1280 +# ------------------
1281 AC_DEFUN([_LT_AC_CHECK_DLFCN],
1282 [AC_CHECK_HEADERS(dlfcn.h)dnl
1283 ])# _LT_AC_CHECK_DLFCN
1284 @@ -1678,7 +820,7 @@
1285
1286 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1287 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1288 -# ------------------------------------------------------------------
1289 +# ---------------------------------------------------------------------
1290 AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
1291 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1292 if test "$cross_compiling" = yes; then :
1293 @@ -1744,17 +886,19 @@
1294 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
1295 /* dlclose (self); */
1296 }
1297 + else
1298 + puts (dlerror ());
1299
1300 exit (status);
1301 }]
1302 EOF
1303 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
1304 - (./conftest; exit; ) 2>/dev/null
1305 + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
1306 lt_status=$?
1307 case x$lt_status in
1308 x$lt_dlno_uscore) $1 ;;
1309 x$lt_dlneed_uscore) $2 ;;
1310 - x$lt_unknown|x*) $3 ;;
1311 + x$lt_dlunknown|x*) $3 ;;
1312 esac
1313 else :
1314 # compilation failed
1315 @@ -1766,7 +910,7 @@
1316
1317
1318 # AC_LIBTOOL_DLOPEN_SELF
1319 -# -------------------
1320 +# ----------------------
1321 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
1322 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1323 if test "x$enable_dlopen" != xyes; then
1324 @@ -1837,7 +981,7 @@
1325 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1326
1327 save_LDFLAGS="$LDFLAGS"
1328 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1329 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1330
1331 save_LIBS="$LIBS"
1332 LIBS="$lt_cv_dlopen_libs $LIBS"
1333 @@ -1850,7 +994,7 @@
1334 ])
1335
1336 if test "x$lt_cv_dlopen_self" = xyes; then
1337 - LDFLAGS="$LDFLAGS $link_static_flag"
1338 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1339 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
1340 lt_cv_dlopen_self_static, [dnl
1341 _LT_AC_TRY_DLOPEN_SELF(
1342 @@ -1898,7 +1042,7 @@
1343 # Note that $ac_compile itself does not contain backslashes and begins
1344 # with a dollar sign (not a hyphen), so the echo should work correctly.
1345 lt_compile=`echo "$ac_compile" | $SED \
1346 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1347 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1348 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1349 -e 's:$: $lt_compiler_flag:'`
1350 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1351 @@ -1910,11 +1054,13 @@
1352 then
1353 # The compiler can only warn and ignore the option if not recognized
1354 # So say no if there are warnings
1355 - if test ! -s out/conftest.err; then
1356 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
1357 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1358 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1359 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1360 fi
1361 fi
1362 - chmod u+w .
1363 + chmod u+w . 2>&AS_MESSAGE_LOG_FD
1364 $rm conftest*
1365 # SGI C++ compiler will create directory out/ii_files/ for
1366 # template instantiation
1367 @@ -1978,8 +1124,8 @@
1368 [AC_MSG_CHECKING([how to hardcode library paths into programs])
1369 _LT_AC_TAGVAR(hardcode_action, $1)=
1370 if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
1371 - test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
1372 - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
1373 + test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
1374 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
1375
1376 # We can hardcode non-existant directories.
1377 if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
1378 @@ -2146,7 +1292,7 @@
1379 shlibpath_var=LIBRARY_PATH
1380 ;;
1381
1382 -bsdi4*)
1383 +bsdi[[45]]*)
1384 version_type=linux
1385 need_version=no
1386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1387 @@ -2174,7 +1320,8 @@
1388 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1389 dldir=$destdir/`dirname \$dlpath`~
1390 test -d \$dldir || mkdir -p \$dldir~
1391 - $install_prog $dir/$dlname \$dldir/$dlname'
1392 + $install_prog $dir/$dlname \$dldir/$dlname~
1393 + chmod a+x \$dldir/$dlname'
1394 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1395 dlpath=$dir/\$dldll~
1396 $rm \$dlpath'
1397 @@ -2204,7 +1351,7 @@
1398 ;;
1399 pw32*)
1400 # pw32 DLLs use 'pw' prefix rather than 'lib'
1401 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1402 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1403 ;;
1404 esac
1405 ;;
1406 @@ -2227,7 +1374,7 @@
1407 soname_spec='${libname}${release}${major}$shared_ext'
1408 shlibpath_overrides_runpath=yes
1409 shlibpath_var=DYLD_LIBRARY_PATH
1410 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
1411 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1412 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1413 if test "$GCC" = yes; then
1414 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"`
1415 @@ -2250,20 +1397,17 @@
1416 dynamic_linker=no
1417 ;;
1418
1419 -kfreebsd*-gnu)
1420 - version_type=linux
1421 - need_lib_prefix=no
1422 - need_version=no
1423 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1424 - soname_spec='${libname}${release}${shared_ext}$major'
1425 - shlibpath_var=LD_LIBRARY_PATH
1426 - shlibpath_overrides_runpath=no
1427 - hardcode_into_libs=yes
1428 - dynamic_linker='GNU ld.so'
1429 - ;;
1430 -
1431 -freebsd*)
1432 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
1433 +freebsd* | dragonfly*)
1434 + # DragonFly does not have aout. When/if they implement a new
1435 + # versioning mechanism, adjust this.
1436 + if test -x /usr/bin/objformat; then
1437 + objformat=`/usr/bin/objformat`
1438 + else
1439 + case $host_os in
1440 + freebsd[[123]]*) objformat=aout ;;
1441 + *) objformat=elf ;;
1442 + esac
1443 + fi
1444 version_type=freebsd-$objformat
1445 case $version_type in
1446 freebsd-elf*)
1447 @@ -2281,14 +1425,19 @@
1448 freebsd2*)
1449 shlibpath_overrides_runpath=yes
1450 ;;
1451 - freebsd3.[01]* | freebsdelf3.[01]*)
1452 + freebsd3.[[01]]* | freebsdelf3.[[01]]*)
1453 shlibpath_overrides_runpath=yes
1454 hardcode_into_libs=yes
1455 ;;
1456 - *) # from 3.2 on
1457 + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
1458 + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
1459 shlibpath_overrides_runpath=no
1460 hardcode_into_libs=yes
1461 ;;
1462 + freebsd*) # from 4.6 on
1463 + shlibpath_overrides_runpath=yes
1464 + hardcode_into_libs=yes
1465 + ;;
1466 esac
1467 ;;
1468
1469 @@ -2308,7 +1457,7 @@
1470 version_type=sunos
1471 need_lib_prefix=no
1472 need_version=no
1473 - case "$host_cpu" in
1474 + case $host_cpu in
1475 ia64*)
1476 shrext_cmds='.so'
1477 hardcode_into_libs=yes
1478 @@ -2348,6 +1497,18 @@
1479 postinstall_cmds='chmod 555 $lib'
1480 ;;
1481
1482 +interix3*)
1483 + version_type=linux
1484 + need_lib_prefix=no
1485 + need_version=no
1486 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1487 + soname_spec='${libname}${release}${shared_ext}$major'
1488 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
1489 + shlibpath_var=LD_LIBRARY_PATH
1490 + shlibpath_overrides_runpath=no
1491 + hardcode_into_libs=yes
1492 + ;;
1493 +
1494 irix5* | irix6* | nonstopux*)
1495 case $host_os in
1496 nonstopux*) version_type=nonstopux ;;
1497 @@ -2391,7 +1552,7 @@
1498 ;;
1499
1500 # This must be Linux ELF.
1501 -linux*)
1502 +linux* | k*bsd*-gnu)
1503 version_type=linux
1504 need_lib_prefix=no
1505 need_version=no
1506 @@ -2407,7 +1568,7 @@
1507
1508 # Append ld.so.conf contents to the search path
1509 if test -f /etc/ld.so.conf; then
1510 - lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
1511 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1512 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1513 fi
1514
1515 @@ -2432,18 +1593,6 @@
1516 dynamic_linker='NetBSD ld.elf_so'
1517 ;;
1518
1519 -knetbsd*-gnu)
1520 - version_type=linux
1521 - need_lib_prefix=no
1522 - need_version=no
1523 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1524 - soname_spec='${libname}${release}${shared_ext}$major'
1525 - shlibpath_var=LD_LIBRARY_PATH
1526 - shlibpath_overrides_runpath=no
1527 - hardcode_into_libs=yes
1528 - dynamic_linker='GNU ld.so'
1529 - ;;
1530 -
1531 netbsd*)
1532 version_type=sunos
1533 need_lib_prefix=no
1534 @@ -2481,8 +1630,13 @@
1535
1536 openbsd*)
1537 version_type=sunos
1538 + sys_lib_dlsearch_path_spec="/usr/lib"
1539 need_lib_prefix=no
1540 - need_version=yes
1541 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1542 + case $host_os in
1543 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
1544 + *) need_version=no ;;
1545 + esac
1546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1547 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1548 shlibpath_var=LD_LIBRARY_PATH
1549 @@ -2520,13 +1674,6 @@
1550 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1551 ;;
1552
1553 -sco3.2v5*)
1554 - version_type=osf
1555 - soname_spec='${libname}${release}${shared_ext}$major'
1556 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1557 - shlibpath_var=LD_LIBRARY_PATH
1558 - ;;
1559 -
1560 solaris*)
1561 version_type=linux
1562 need_lib_prefix=no
1563 @@ -2552,7 +1699,7 @@
1564 need_version=yes
1565 ;;
1566
1567 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1568 +sysv4 | sysv4.3*)
1569 version_type=linux
1570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1571 soname_spec='${libname}${release}${shared_ext}$major'
1572 @@ -2585,6 +1732,29 @@
1573 fi
1574 ;;
1575
1576 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1577 + version_type=freebsd-elf
1578 + need_lib_prefix=no
1579 + need_version=no
1580 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1581 + soname_spec='${libname}${release}${shared_ext}$major'
1582 + shlibpath_var=LD_LIBRARY_PATH
1583 + hardcode_into_libs=yes
1584 + if test "$with_gnu_ld" = yes; then
1585 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
1586 + shlibpath_overrides_runpath=no
1587 + else
1588 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
1589 + shlibpath_overrides_runpath=yes
1590 + case $host_os in
1591 + sco3.2v5*)
1592 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
1593 + ;;
1594 + esac
1595 + fi
1596 + sys_lib_dlsearch_path_spec='/usr/lib'
1597 + ;;
1598 +
1599 uts4*)
1600 version_type=linux
1601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1602 @@ -2598,6 +1768,11 @@
1603 esac
1604 AC_MSG_RESULT([$dynamic_linker])
1605 test "$dynamic_linker" = no && can_build_shared=no
1606 +
1607 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1608 +if test "$GCC" = yes; then
1609 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1610 +fi
1611 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
1612
1613
1614 @@ -2622,6 +1797,9 @@
1615 AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
1616 fi
1617 fi
1618 + if test -z "$LTCFLAGS"; then
1619 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
1620 + fi
1621
1622 # Extract list of available tagged configurations in $ofile.
1623 # Note that this assumes the entire list is on one line.
1624 @@ -2648,7 +1826,9 @@
1625
1626 case $tagname in
1627 CXX)
1628 - if test -n "$CXX" && test "X$CXX" != "Xno"; then
1629 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1630 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1631 + (test "X$CXX" != "Xg++"))) ; then
1632 AC_LIBTOOL_LANG_CXX_CONFIG
1633 else
1634 tagname=""
1635 @@ -2710,7 +1890,7 @@
1636
1637 # AC_LIBTOOL_WIN32_DLL
1638 # --------------------
1639 -# declare package support for building win32 dll's
1640 +# declare package support for building win32 DLLs
1641 AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
1642 [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
1643 ])# AC_LIBTOOL_WIN32_DLL
1644 @@ -2748,7 +1928,7 @@
1645
1646 # AC_DISABLE_SHARED
1647 # -----------------
1648 -#- set the default shared flag to --disable-shared
1649 +# set the default shared flag to --disable-shared
1650 AC_DEFUN([AC_DISABLE_SHARED],
1651 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1652 AC_ENABLE_SHARED(no)
1653 @@ -2884,7 +2064,7 @@
1654 if test -n "$file_magic_test_file"; then
1655 case $deplibs_check_method in
1656 "file_magic "*)
1657 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1658 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1659 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1660 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1661 $EGREP "$file_magic_regex" > /dev/null; then
1662 @@ -2994,7 +2174,7 @@
1663 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1664 lt_cv_path_LD="$ac_dir/$ac_prog"
1665 # Check to see if the program is GNU ld. I'd rather use --version,
1666 - # but apparently some GNU ld's only accept -v.
1667 + # but apparently some variants of GNU ld only accept -v.
1668 # Break only if it was the GNU/non-GNU ld that we prefer.
1669 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
1670 *GNU* | *'with BFD'*)
1671 @@ -3026,7 +2206,7 @@
1672 AC_DEFUN([AC_PROG_LD_GNU],
1673 [AC_REQUIRE([AC_PROG_EGREP])dnl
1674 AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
1675 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
1676 +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
1677 case `$LD -v 2>&1 </dev/null` in
1678 *GNU* | *'with BFD'*)
1679 lt_cv_prog_gnu_ld=yes
1680 @@ -3053,6 +2233,15 @@
1681 *) reload_flag=" $reload_flag" ;;
1682 esac
1683 reload_cmds='$LD$reload_flag -o $output$reload_objs'
1684 +case $host_os in
1685 + darwin*)
1686 + if test "$GCC" = yes; then
1687 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
1688 + else
1689 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
1690 + fi
1691 + ;;
1692 +esac
1693 ])# AC_PROG_LD_RELOAD_FLAG
1694
1695
1696 @@ -3086,7 +2275,7 @@
1697 lt_cv_deplibs_check_method=pass_all
1698 ;;
1699
1700 -bsdi4*)
1701 +bsdi[[45]]*)
1702 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
1703 lt_cv_file_magic_cmd='/usr/bin/file -L'
1704 lt_cv_file_magic_test_file=/shlib/libc.so
1705 @@ -3109,13 +2298,13 @@
1706 lt_cv_deplibs_check_method=pass_all
1707 ;;
1708
1709 -freebsd* | kfreebsd*-gnu)
1710 +freebsd* | dragonfly*)
1711 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1712 case $host_cpu in
1713 i*86 )
1714 # Not sure whether the presence of OpenBSD here was a mistake.
1715 # Let's accept both of them until this is cleared up.
1716 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
1717 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
1718 lt_cv_file_magic_cmd=/usr/bin/file
1719 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1720 ;;
1721 @@ -3131,7 +2320,7 @@
1722
1723 hpux10.20* | hpux11*)
1724 lt_cv_file_magic_cmd=/usr/bin/file
1725 - case "$host_cpu" in
1726 + case $host_cpu in
1727 ia64*)
1728 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
1729 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1730 @@ -3147,6 +2336,11 @@
1731 esac
1732 ;;
1733
1734 +interix3*)
1735 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
1736 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
1737 + ;;
1738 +
1739 irix5* | irix6* | nonstopux*)
1740 case $LD in
1741 *-32|*"-32 ") libmagic=32-bit;;
1742 @@ -3158,11 +2352,11 @@
1743 ;;
1744
1745 # This must be Linux ELF.
1746 -linux*)
1747 +linux* | k*bsd*-gnu)
1748 lt_cv_deplibs_check_method=pass_all
1749 ;;
1750
1751 -netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1752 +netbsd* | netbsdelf*-gnu)
1753 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1754 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
1755 else
1756 @@ -3181,12 +2375,10 @@
1757 ;;
1758
1759 openbsd*)
1760 - lt_cv_file_magic_cmd=/usr/bin/file
1761 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1762 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1763 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
1764 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
1765 else
1766 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
1767 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
1768 fi
1769 ;;
1770
1771 @@ -3194,15 +2386,11 @@
1772 lt_cv_deplibs_check_method=pass_all
1773 ;;
1774
1775 -sco3.2v5*)
1776 - lt_cv_deplibs_check_method=pass_all
1777 - ;;
1778 -
1779 solaris*)
1780 lt_cv_deplibs_check_method=pass_all
1781 ;;
1782
1783 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1784 +sysv4 | sysv4.3*)
1785 case $host_vendor in
1786 motorola)
1787 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]]'
1788 @@ -3223,10 +2411,13 @@
1789 siemens)
1790 lt_cv_deplibs_check_method=pass_all
1791 ;;
1792 + pc)
1793 + lt_cv_deplibs_check_method=pass_all
1794 + ;;
1795 esac
1796 ;;
1797
1798 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
1799 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1800 lt_cv_deplibs_check_method=pass_all
1801 ;;
1802 esac
1803 @@ -3246,36 +2437,43 @@
1804 # Let the user override the test.
1805 lt_cv_path_NM="$NM"
1806 else
1807 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1808 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1809 - IFS="$lt_save_ifs"
1810 - test -z "$ac_dir" && ac_dir=.
1811 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
1812 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1813 - # Check to see if the nm accepts a BSD-compat flag.
1814 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1815 - # nm: unknown option "B" ignored
1816 - # Tru64's nm complains that /dev/null is an invalid object file
1817 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1818 - */dev/null* | *'Invalid file or object type'*)
1819 - lt_cv_path_NM="$tmp_nm -B"
1820 - break
1821 - ;;
1822 - *)
1823 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1824 - */dev/null*)
1825 - lt_cv_path_NM="$tmp_nm -p"
1826 + lt_nm_to_check="${ac_tool_prefix}nm"
1827 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
1828 + lt_nm_to_check="$lt_nm_to_check nm"
1829 + fi
1830 + for lt_tmp_nm in $lt_nm_to_check; do
1831 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1832 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
1833 + IFS="$lt_save_ifs"
1834 + test -z "$ac_dir" && ac_dir=.
1835 + tmp_nm="$ac_dir/$lt_tmp_nm"
1836 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1837 + # Check to see if the nm accepts a BSD-compat flag.
1838 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1839 + # nm: unknown option "B" ignored
1840 + # Tru64's nm complains that /dev/null is an invalid object file
1841 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1842 + */dev/null* | *'Invalid file or object type'*)
1843 + lt_cv_path_NM="$tmp_nm -B"
1844 break
1845 ;;
1846 *)
1847 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1848 - continue # so that we can try to find one that supports BSD flags
1849 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1850 + */dev/null*)
1851 + lt_cv_path_NM="$tmp_nm -p"
1852 + break
1853 + ;;
1854 + *)
1855 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1856 + continue # so that we can try to find one that supports BSD flags
1857 + ;;
1858 + esac
1859 ;;
1860 esac
1861 - esac
1862 - fi
1863 + fi
1864 + done
1865 + IFS="$lt_save_ifs"
1866 done
1867 - IFS="$lt_save_ifs"
1868 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1869 fi])
1870 NM="$lt_cv_path_NM"
1871 @@ -3307,13 +2505,13 @@
1872 # -----------------------------------
1873 # sets LIBLTDL to the link flags for the libltdl convenience library and
1874 # LTDLINCL to the include flags for the libltdl header and adds
1875 -# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
1876 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
1877 -# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
1878 -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
1879 -# '${top_srcdir}/' (note the single quotes!). If your package is not
1880 -# flat and you're not using automake, define top_builddir and
1881 -# top_srcdir appropriately in the Makefiles.
1882 +# --enable-ltdl-convenience to the configure arguments. Note that
1883 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
1884 +# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
1885 +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
1886 +# (note the single quotes!). If your package is not flat and you're not
1887 +# using automake, define top_builddir and top_srcdir appropriately in
1888 +# the Makefiles.
1889 AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
1890 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1891 case $enable_ltdl_convenience in
1892 @@ -3332,13 +2530,13 @@
1893 # -----------------------------------
1894 # sets LIBLTDL to the link flags for the libltdl installable library and
1895 # LTDLINCL to the include flags for the libltdl header and adds
1896 -# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
1897 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
1898 -# DIRECTORY is not provided and an installed libltdl is not found, it is
1899 -# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
1900 -# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
1901 -# quotes!). If your package is not flat and you're not using automake,
1902 -# define top_builddir and top_srcdir appropriately in the Makefiles.
1903 +# --enable-ltdl-install to the configure arguments. Note that
1904 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
1905 +# and an installed libltdl is not found, it is assumed to be `libltdl'.
1906 +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
1907 +# '${top_srcdir}/' (note the single quotes!). If your package is not
1908 +# flat and you're not using automake, define top_builddir and top_srcdir
1909 +# appropriately in the Makefiles.
1910 # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
1911 AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
1912 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1913 @@ -3376,10 +2574,21 @@
1914 # ---------------
1915 AC_DEFUN([_LT_AC_LANG_CXX],
1916 [AC_REQUIRE([AC_PROG_CXX])
1917 -AC_REQUIRE([AC_PROG_CXXCPP])
1918 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
1919 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
1920 ])# _LT_AC_LANG_CXX
1921
1922 +# _LT_AC_PROG_CXXCPP
1923 +# ------------------
1924 +AC_DEFUN([_LT_AC_PROG_CXXCPP],
1925 +[
1926 +AC_REQUIRE([AC_PROG_CXX])
1927 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1928 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1929 + (test "X$CXX" != "Xg++"))) ; then
1930 + AC_PROG_CXXCPP
1931 +fi
1932 +])# _LT_AC_PROG_CXXCPP
1933
1934 # AC_LIBTOOL_F77
1935 # --------------
1936 @@ -3419,7 +2628,7 @@
1937
1938
1939 # AC_LIBTOOL_RC
1940 -# --------------
1941 +# -------------
1942 # enable support for Windows resource files
1943 AC_DEFUN([AC_LIBTOOL_RC],
1944 [AC_REQUIRE([LT_AC_PROG_RC])
1945 @@ -3452,36 +2661,9 @@
1946
1947 _LT_AC_SYS_COMPILER
1948
1949 -#
1950 -# Check for any special shared library compilation flags.
1951 -#
1952 -_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
1953 -if test "$GCC" = no; then
1954 - case $host_os in
1955 - sco3.2v5*)
1956 - _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
1957 - ;;
1958 - esac
1959 -fi
1960 -if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
1961 - AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
1962 - if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
1963 - else
1964 - AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
1965 - _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
1966 - fi
1967 -fi
1968 -
1969 -
1970 -#
1971 -# Check to make sure the static flag actually works.
1972 -#
1973 -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
1974 - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
1975 - $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
1976 - [],
1977 - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
1978 -
1979 +# save warnings/boilerplate of simple test code
1980 +_LT_COMPILER_BOILERPLATE
1981 +_LT_LINKER_BOILERPLATE
1982
1983 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
1984 AC_LIBTOOL_PROG_COMPILER_PIC($1)
1985 @@ -3491,9 +2673,9 @@
1986 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
1987 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
1988 AC_LIBTOOL_SYS_LIB_STRIP
1989 -AC_LIBTOOL_DLOPEN_SELF($1)
1990 +AC_LIBTOOL_DLOPEN_SELF
1991
1992 -# Report which librarie types wil actually be built
1993 +# Report which library types will actually be built
1994 AC_MSG_CHECKING([if libtool supports shared libraries])
1995 AC_MSG_RESULT([$can_build_shared])
1996
1997 @@ -3502,7 +2684,7 @@
1998
1999 # On AIX, shared libraries and static libraries use the same namespace, and
2000 # are all built from PIC.
2001 -case "$host_os" in
2002 +case $host_os in
2003 aix3*)
2004 test "$enable_shared" = yes && enable_static=no
2005 if test -n "$RANLIB"; then
2006 @@ -3515,43 +2697,6 @@
2007 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2008 test "$enable_shared" = yes && enable_static=no
2009 fi
2010 - ;;
2011 - darwin* | rhapsody*)
2012 - if test "$GCC" = yes; then
2013 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2014 - case "$host_os" in
2015 - rhapsody* | darwin1.[[012]])
2016 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
2017 - ;;
2018 - *) # Darwin 1.3 on
2019 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
2020 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
2021 - else
2022 - case ${MACOSX_DEPLOYMENT_TARGET} in
2023 - 10.[[012]])
2024 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
2025 - ;;
2026 - 10.*)
2027 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
2028 - ;;
2029 - esac
2030 - fi
2031 - ;;
2032 - esac
2033 - output_verbose_link_cmd='echo'
2034 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
2035 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
2036 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
2037 - _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}'
2038 - _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}'
2039 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
2040 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
2041 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2042 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
2043 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2044 - else
2045 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
2046 - fi
2047 ;;
2048 esac
2049 AC_MSG_RESULT([$enable_shared])
2050 @@ -3577,7 +2722,7 @@
2051 AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
2052 [AC_LANG_PUSH(C++)
2053 AC_REQUIRE([AC_PROG_CXX])
2054 -AC_REQUIRE([AC_PROG_CXXCPP])
2055 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
2056
2057 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2058 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
2059 @@ -3589,6 +2734,7 @@
2060 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
2061 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
2062 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
2063 +_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2064 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
2065 _LT_AC_TAGVAR(module_cmds, $1)=
2066 _LT_AC_TAGVAR(module_expsym_cmds, $1)=
2067 @@ -3606,7 +2752,7 @@
2068 _LT_AC_TAGVAR(compiler_lib_search_path, $1)=
2069
2070 # Source file extension for C++ test sources.
2071 -ac_ext=cc
2072 +ac_ext=cpp
2073
2074 # Object file extension for compiled C++ test sources.
2075 objext=o
2076 @@ -3616,11 +2762,15 @@
2077 lt_simple_compile_test_code="int some_variable = 0;\n"
2078
2079 # Code to be used in simple link tests
2080 -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
2081 +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
2082
2083 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2084 _LT_AC_SYS_COMPILER
2085
2086 +# save warnings/boilerplate of simple test code
2087 +_LT_COMPILER_BOILERPLATE
2088 +_LT_LINKER_BOILERPLATE
2089 +
2090 # Allow CC to be a program name with arguments.
2091 lt_save_CC=$CC
2092 lt_save_LD=$LD
2093 @@ -3631,18 +2781,18 @@
2094 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
2095 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
2096 else
2097 - unset lt_cv_prog_gnu_ld
2098 + $as_unset lt_cv_prog_gnu_ld
2099 fi
2100 if test -n "${lt_cv_path_LDCXX+set}"; then
2101 lt_cv_path_LD=$lt_cv_path_LDCXX
2102 else
2103 - unset lt_cv_path_LD
2104 + $as_unset lt_cv_path_LD
2105 fi
2106 test -z "${LDCXX+set}" || LD=$LDCXX
2107 CC=${CXX-"c++"}
2108 compiler=$CC
2109 _LT_AC_TAGVAR(compiler, $1)=$CC
2110 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
2111 +_LT_CC_BASENAME([$compiler])
2112
2113 # We don't want -fno-exception wen compiling C++ code, so set the
2114 # no_builtin_flag separately
2115 @@ -3731,6 +2881,7 @@
2116 ;;
2117 esac
2118 done
2119 + ;;
2120 esac
2121
2122 exp_sym_flag='-bexport'
2123 @@ -3749,7 +2900,7 @@
2124 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2125
2126 if test "$GXX" = yes; then
2127 - case $host_os in aix4.[012]|aix4.[012].*)
2128 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
2129 # We only want to do this on AIX 4.2 and lower, the check
2130 # below for broken collect2 doesn't work under 4.3+
2131 collect2name=`${CC} -print-prog-name=collect2`
2132 @@ -3768,8 +2919,12 @@
2133 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2134 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
2135 fi
2136 + ;;
2137 esac
2138 shared_flag='-shared'
2139 + if test "$aix_use_runtimelinking" = yes; then
2140 + shared_flag="$shared_flag "'${wl}-G'
2141 + fi
2142 else
2143 # not using gcc
2144 if test "$host_cpu" = ia64; then
2145 @@ -3796,12 +2951,12 @@
2146 _LT_AC_SYS_LIBPATH_AIX
2147 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
2148
2149 - _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"
2150 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
2151 else
2152 if test "$host_cpu" = ia64; then
2153 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
2154 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
2155 - _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"
2156 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
2157 else
2158 # Determine the default libpath from the value encoded in an empty executable.
2159 _LT_AC_SYS_LIBPATH_AIX
2160 @@ -3810,16 +2965,26 @@
2161 # -berok will link without error, but may produce a broken library.
2162 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
2163 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
2164 - # -bexpall does not export symbols beginning with underscore (_)
2165 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
2166 # Exported symbols can be pulled into shared objects from archives
2167 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
2168 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
2169 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
2170 - # This is similar to how AIX traditionally builds it's shared libraries.
2171 - _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'
2172 + # This is similar to how AIX traditionally builds its shared libraries.
2173 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
2174 fi
2175 fi
2176 ;;
2177 +
2178 + beos*)
2179 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
2180 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
2181 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
2182 + # support --undefined. This deserves some investigation. FIXME
2183 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
2184 + else
2185 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
2186 + fi
2187 + ;;
2188 +
2189 chorus*)
2190 case $cc_basename in
2191 *)
2192 @@ -3838,7 +3003,7 @@
2193 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
2194
2195 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
2196 - _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'
2197 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
2198 # If the export-symbols file already is a .def file (1st line
2199 # is EXPORTS), use it as is; otherwise, prepend...
2200 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
2201 @@ -3847,70 +3012,81 @@
2202 echo EXPORTS > $output_objdir/$soname.def;
2203 cat $export_symbols >> $output_objdir/$soname.def;
2204 fi~
2205 - $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'
2206 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
2207 else
2208 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2209 fi
2210 ;;
2211 + darwin* | rhapsody*)
2212 + case $host_os in
2213 + rhapsody* | darwin1.[[012]])
2214 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
2215 + ;;
2216 + *) # Darwin 1.3 on
2217 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
2218 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
2219 + else
2220 + case ${MACOSX_DEPLOYMENT_TARGET} in
2221 + 10.[[012]])
2222 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
2223 + ;;
2224 + 10.*)
2225 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
2226 + ;;
2227 + esac
2228 + fi
2229 + ;;
2230 + esac
2231 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2232 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
2233 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
2234 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2235 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
2236 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2237
2238 - darwin* | rhapsody*)
2239 - if test "$GXX" = yes; then
2240 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2241 - case "$host_os" in
2242 - rhapsody* | darwin1.[[012]])
2243 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
2244 - ;;
2245 - *) # Darwin 1.3 on
2246 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
2247 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
2248 + if test "$GXX" = yes ; then
2249 + lt_int_apple_cc_single_mod=no
2250 + output_verbose_link_cmd='echo'
2251 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
2252 + lt_int_apple_cc_single_mod=yes
2253 + fi
2254 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
2255 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
2256 else
2257 - case ${MACOSX_DEPLOYMENT_TARGET} in
2258 - 10.[[012]])
2259 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
2260 - ;;
2261 - 10.*)
2262 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
2263 - ;;
2264 - esac
2265 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
2266 + fi
2267 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
2268 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
2269 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
2270 + _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}'
2271 + else
2272 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2273 + fi
2274 + _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}'
2275 + else
2276 + case $cc_basename in
2277 + xlc*)
2278 + output_verbose_link_cmd='echo'
2279 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
2280 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
2281 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
2282 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2283 + _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}'
2284 + ;;
2285 + *)
2286 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
2287 + ;;
2288 + esac
2289 fi
2290 - ;;
2291 - esac
2292 - lt_int_apple_cc_single_mod=no
2293 - output_verbose_link_cmd='echo'
2294 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
2295 - lt_int_apple_cc_single_mod=yes
2296 - fi
2297 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
2298 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
2299 - else
2300 - _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'
2301 - fi
2302 - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
2303 -
2304 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
2305 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
2306 - _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}'
2307 - else
2308 - _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}'
2309 - fi
2310 - _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}'
2311 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
2312 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
2313 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2314 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
2315 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2316 - else
2317 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
2318 - fi
2319 - ;;
2320 + ;;
2321
2322 dgux*)
2323 case $cc_basename in
2324 - ec++)
2325 + ec++*)
2326 # FIXME: insert proper C++ library support
2327 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2328 ;;
2329 - ghcx)
2330 + ghcx*)
2331 # Green Hills C++ Compiler
2332 # FIXME: insert proper C++ library support
2333 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2334 @@ -3921,14 +3097,14 @@
2335 ;;
2336 esac
2337 ;;
2338 - freebsd[12]*)
2339 + freebsd[[12]]*)
2340 # C++ shared libraries reported to be fairly broken before switch to ELF
2341 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2342 ;;
2343 freebsd-elf*)
2344 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2345 ;;
2346 - freebsd* | kfreebsd*-gnu)
2347 + freebsd* | dragonfly*)
2348 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
2349 # conventions
2350 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
2351 @@ -3945,11 +3121,11 @@
2352 # location of the library.
2353
2354 case $cc_basename in
2355 - CC)
2356 + CC*)
2357 # FIXME: insert proper C++ library support
2358 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2359 ;;
2360 - aCC)
2361 + aCC*)
2362 _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'
2363 # Commands to make compiler produce verbose output that lists
2364 # what "hidden" libraries, object files and flags are used when
2365 @@ -3959,7 +3135,7 @@
2366 # explicitly linking system object files so we need to strip them
2367 # from the output so that they don't get included in the library
2368 # dependencies.
2369 - 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'
2370 + 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'
2371 ;;
2372 *)
2373 if test "$GXX" = yes; then
2374 @@ -3973,33 +3149,22 @@
2375 ;;
2376 hpux10*|hpux11*)
2377 if test $with_gnu_ld = no; then
2378 - case "$host_cpu" in
2379 - hppa*64*)
2380 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2381 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2382 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2383 +
2384 + case $host_cpu in
2385 + hppa*64*|ia64*)
2386 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
2387 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2388 - ;;
2389 - ia64*)
2390 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2391 ;;
2392 *)
2393 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2394 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2395 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2396 ;;
2397 esac
2398 fi
2399 - case "$host_cpu" in
2400 - hppa*64*)
2401 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
2402 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2403 - ;;
2404 - ia64*)
2405 + case $host_cpu in
2406 + hppa*64*|ia64*)
2407 _LT_AC_TAGVAR(hardcode_direct, $1)=no
2408 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2409 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
2410 - # but as the default
2411 - # location of the library.
2412 ;;
2413 *)
2414 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2415 @@ -4010,14 +3175,17 @@
2416 esac
2417
2418 case $cc_basename in
2419 - CC)
2420 + CC*)
2421 # FIXME: insert proper C++ library support
2422 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2423 ;;
2424 - aCC)
2425 - case "$host_cpu" in
2426 - hppa*64*|ia64*)
2427 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
2428 + aCC*)
2429 + case $host_cpu in
2430 + hppa*64*)
2431 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2432 + ;;
2433 + ia64*)
2434 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2435 ;;
2436 *)
2437 _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'
2438 @@ -4036,9 +3204,12 @@
2439 *)
2440 if test "$GXX" = yes; then
2441 if test $with_gnu_ld = no; then
2442 - case "$host_cpu" in
2443 - ia64*|hppa*64*)
2444 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
2445 + case $host_cpu in
2446 + hppa*64*)
2447 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2448 + ;;
2449 + ia64*)
2450 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2451 ;;
2452 *)
2453 _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'
2454 @@ -4052,11 +3223,25 @@
2455 ;;
2456 esac
2457 ;;
2458 + interix3*)
2459 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
2460 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2461 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2462 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2463 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
2464 + # Instead, shared libraries are loaded at an image base (0x10000000 by
2465 + # default) and relocated if they conflict, which is a slow very memory
2466 + # consuming and fragmenting process. To avoid this, we pick a random,
2467 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
2468 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
2469 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
2470 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
2471 + ;;
2472 irix5* | irix6*)
2473 case $cc_basename in
2474 - CC)
2475 + CC*)
2476 # SGI C++
2477 - _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'
2478 + _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 ${output_objdir}/so_locations -o $lib'
2479
2480 # Archives containing C++ object files must be created using
2481 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
2482 @@ -4067,7 +3252,7 @@
2483 *)
2484 if test "$GXX" = yes; then
2485 if test "$with_gnu_ld" = no; then
2486 - _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'
2487 + _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}${output_objdir}/so_locations -o $lib'
2488 else
2489 _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'
2490 fi
2491 @@ -4078,9 +3263,9 @@
2492 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2493 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2494 ;;
2495 - linux*)
2496 + linux* | k*bsd*-gnu)
2497 case $cc_basename in
2498 - KCC)
2499 + KCC*)
2500 # Kuck and Associates, Inc. (KAI) C++ Compiler
2501
2502 # KCC will only create a shared library if the output file
2503 @@ -4105,17 +3290,41 @@
2504 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
2505 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
2506 ;;
2507 - icpc)
2508 + icpc*)
2509 # Intel C++
2510 with_gnu_ld=yes
2511 + # version 8.0 and above of icpc choke on multiply defined symbols
2512 + # if we add $predep_objects and $postdep_objects, however 7.1 and
2513 + # earlier do not add the objects themselves.
2514 + case `$CC -V 2>&1` in
2515 + *"Version 7."*)
2516 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2517 + _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'
2518 + ;;
2519 + *) # Version 8.0 or newer
2520 + tmp_idyn=
2521 + case $host_cpu in
2522 + ia64*) tmp_idyn=' -i_dynamic';;
2523 + esac
2524 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
2525 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
2526 + ;;
2527 + esac
2528 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2529 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2530 - _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'
2531 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2532 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2533 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
2534 ;;
2535 - cxx)
2536 + pgCC*)
2537 + # Portland Group C++ compiler
2538 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
2539 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
2540 +
2541 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
2542 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2543 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
2544 + ;;
2545 + cxx*)
2546 # Compaq C++
2547 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2548 _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'
2549 @@ -4146,7 +3355,7 @@
2550 ;;
2551 mvs*)
2552 case $cc_basename in
2553 - cxx)
2554 + cxx*)
2555 # FIXME: insert proper C++ library support
2556 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2557 ;;
2558 @@ -4156,7 +3365,7 @@
2559 ;;
2560 esac
2561 ;;
2562 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
2563 + netbsd* | netbsdelf*-gnu)
2564 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2565 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
2566 wlarc=
2567 @@ -4167,15 +3376,31 @@
2568 # Workaround some broken pre-1.5 toolchains
2569 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
2570 ;;
2571 - osf3*)
2572 - case $cc_basename in
2573 - KCC)
2574 - # Kuck and Associates, Inc. (KAI) C++ Compiler
2575 -
2576 - # KCC will only create a shared library if the output file
2577 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
2578 - # to its proper name (with version) after linking.
2579 - _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'
2580 + openbsd2*)
2581 + # C++ shared libraries are fairly broken
2582 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
2583 + ;;
2584 + openbsd*)
2585 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2586 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2587 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
2588 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2589 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2590 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
2591 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2592 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
2593 + fi
2594 + output_verbose_link_cmd='echo'
2595 + ;;
2596 + osf3*)
2597 + case $cc_basename in
2598 + KCC*)
2599 + # Kuck and Associates, Inc. (KAI) C++ Compiler
2600 +
2601 + # KCC will only create a shared library if the output file
2602 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
2603 + # to its proper name (with version) after linking.
2604 + _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'
2605
2606 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2607 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2608 @@ -4185,14 +3410,14 @@
2609 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
2610
2611 ;;
2612 - RCC)
2613 + RCC*)
2614 # Rational C++ 2.4.1
2615 # FIXME: insert proper C++ library support
2616 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2617 ;;
2618 - cxx)
2619 + cxx*)
2620 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2621 - _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'
2622 + _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 ${output_objdir}/so_locations -o $lib'
2623
2624 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2625 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2626 @@ -4210,7 +3435,7 @@
2627 *)
2628 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
2629 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2630 - _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'
2631 + _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}${output_objdir}/so_locations -o $lib'
2632
2633 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2634 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2635 @@ -4229,7 +3454,7 @@
2636 ;;
2637 osf4* | osf5*)
2638 case $cc_basename in
2639 - KCC)
2640 + KCC*)
2641 # Kuck and Associates, Inc. (KAI) C++ Compiler
2642
2643 # KCC will only create a shared library if the output file
2644 @@ -4244,17 +3469,17 @@
2645 # the KAI C++ compiler.
2646 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
2647 ;;
2648 - RCC)
2649 + RCC*)
2650 # Rational C++ 2.4.1
2651 # FIXME: insert proper C++ library support
2652 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2653 ;;
2654 - cxx)
2655 + cxx*)
2656 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
2657 - _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'
2658 + _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 ${output_objdir}/so_locations -o $lib'
2659 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
2660 echo "-hidden">> $lib.exp~
2661 - $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~
2662 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
2663 $rm $lib.exp'
2664
2665 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
2666 @@ -4273,7 +3498,7 @@
2667 *)
2668 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
2669 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
2670 - _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'
2671 + _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}${output_objdir}/so_locations -o $lib'
2672
2673 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
2674 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2675 @@ -4294,27 +3519,14 @@
2676 # FIXME: insert proper C++ library support
2677 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2678 ;;
2679 - sco*)
2680 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2681 - case $cc_basename in
2682 - CC)
2683 - # FIXME: insert proper C++ library support
2684 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
2685 - ;;
2686 - *)
2687 - # FIXME: insert proper C++ library support
2688 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
2689 - ;;
2690 - esac
2691 - ;;
2692 sunos4*)
2693 case $cc_basename in
2694 - CC)
2695 + CC*)
2696 # Sun C++ 4.x
2697 # FIXME: insert proper C++ library support
2698 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2699 ;;
2700 - lcc)
2701 + lcc*)
2702 # Lucid
2703 # FIXME: insert proper C++ library support
2704 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2705 @@ -4327,36 +3539,33 @@
2706 ;;
2707 solaris*)
2708 case $cc_basename in
2709 - CC)
2710 + CC*)
2711 # Sun C++ 4.2, 5.x and Centerline C++
2712 + _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
2713 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
2714 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2715 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2716 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
2717 - $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'
2718 + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
2719
2720 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
2721 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2722 case $host_os in
2723 - solaris2.[0-5] | solaris2.[0-5].*) ;;
2724 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
2725 *)
2726 # The C++ compiler is used as linker so we must use $wl
2727 # flag to pass the commands to the underlying system
2728 - # linker.
2729 + # linker. We must also pass each convience library through
2730 + # to the system linker between allextract/defaultextract.
2731 + # The C++ compiler will combine linker options so we
2732 + # cannot just pass the convience library names through
2733 + # without $wl.
2734 # Supported since Solaris 2.6 (maybe 2.5.1?)
2735 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
2736 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
2737 ;;
2738 esac
2739 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2740
2741 - # Commands to make compiler produce verbose output that lists
2742 - # what "hidden" libraries, object files and flags are used when
2743 - # linking a shared library.
2744 - #
2745 - # There doesn't appear to be a way to prevent this compiler from
2746 - # explicitly linking system object files so we need to strip them
2747 - # from the output so that they don't get included in the library
2748 - # dependencies.
2749 - 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'
2750 + output_verbose_link_cmd='echo'
2751
2752 # Archives containing C++ object files must be created using
2753 # "CC -xar", where "CC" is the Sun C++ compiler. This is
2754 @@ -4364,7 +3573,7 @@
2755 # in the archive.
2756 _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
2757 ;;
2758 - gcx)
2759 + gcx*)
2760 # Green Hills C++ Compiler
2761 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
2762
2763 @@ -4402,12 +3611,63 @@
2764 ;;
2765 esac
2766 ;;
2767 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
2768 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
2769 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
2770 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2771 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2772 + runpath_var='LD_RUN_PATH'
2773 +
2774 + case $cc_basename in
2775 + CC*)
2776 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2777 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2778 + ;;
2779 + *)
2780 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2781 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2782 + ;;
2783 + esac
2784 + ;;
2785 + sysv5* | sco3.2v5* | sco5v6*)
2786 + # Note: We can NOT use -z defs as we might desire, because we do not
2787 + # link with -lc, and that would cause any symbols used from libc to
2788 + # always be unresolved, which means just about no library would
2789 + # ever link correctly. If we're not using GNU ld we use -z text
2790 + # though, which does catch some bad symbols but isn't as heavy-handed
2791 + # as -z defs.
2792 + # For security reasons, it is highly recommended that you always
2793 + # use absolute paths for naming shared libraries, and exclude the
2794 + # DT_RUNPATH tag from executables and libraries. But doing so
2795 + # requires that you compile everything twice, which is a pain.
2796 + # So that behaviour is only enabled if SCOABSPATH is set to a
2797 + # non-empty value in the environment. Most likely only useful for
2798 + # creating official distributions of packages.
2799 + # This is a hack until libtool officially supports absolute path
2800 + # names for shared libraries.
2801 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
2802 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
2803 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2804 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2805 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
2806 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
2807 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2808 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
2809 + runpath_var='LD_RUN_PATH'
2810 +
2811 + case $cc_basename in
2812 + CC*)
2813 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2814 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2815 + ;;
2816 + *)
2817 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2818 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2819 + ;;
2820 + esac
2821 ;;
2822 tandem*)
2823 case $cc_basename in
2824 - NCC)
2825 + NCC*)
2826 # NonStop-UX NCC 3.20
2827 # FIXME: insert proper C++ library support
2828 _LT_AC_TAGVAR(ld_shlibs, $1)=no
2829 @@ -4440,8 +3700,6 @@
2830 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2831 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2832 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2833 -AC_LIBTOOL_SYS_LIB_STRIP
2834 -AC_LIBTOOL_DLOPEN_SELF($1)
2835
2836 AC_LIBTOOL_CONFIG($1)
2837
2838 @@ -4459,7 +3717,7 @@
2839 ])# AC_LIBTOOL_LANG_CXX_CONFIG
2840
2841 # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
2842 -# ------------------------
2843 +# ------------------------------------
2844 # Figure out "hidden" library dependencies from verbose
2845 # compiler output when linking a shared library.
2846 # Parse the compiler output and extract the necessary
2847 @@ -4513,7 +3771,7 @@
2848 # The `*' in the case matches for architectures that use `case' in
2849 # $output_verbose_cmd can trigger glob expansion during the loop
2850 # eval without this substitution.
2851 - output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
2852 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
2853
2854 for p in `eval $output_verbose_link_cmd`; do
2855 case $p in
2856 @@ -4589,13 +3847,37 @@
2857
2858 $rm -f confest.$objext
2859
2860 +# PORTME: override above test on systems where it is broken
2861 +ifelse([$1],[CXX],
2862 +[case $host_os in
2863 +interix3*)
2864 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
2865 + # hack all around it, let's just trust "g++" to DTRT.
2866 + _LT_AC_TAGVAR(predep_objects,$1)=
2867 + _LT_AC_TAGVAR(postdep_objects,$1)=
2868 + _LT_AC_TAGVAR(postdeps,$1)=
2869 + ;;
2870 +
2871 +solaris*)
2872 + case $cc_basename in
2873 + CC*)
2874 + # Adding this requires a known-good setup of shared libraries for
2875 + # Sun compiler versions before 5.6, else PIC objects from an old
2876 + # archive will be linked into the output, leading to subtle bugs.
2877 + _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
2878 + ;;
2879 + esac
2880 + ;;
2881 +esac
2882 +])
2883 +
2884 case " $_LT_AC_TAGVAR(postdeps, $1) " in
2885 *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
2886 esac
2887 ])# AC_LIBTOOL_POSTDEP_PREDEP
2888
2889 # AC_LIBTOOL_LANG_F77_CONFIG
2890 -# ------------------------
2891 +# --------------------------
2892 # Ensure that the configuration vars for the C compiler are
2893 # suitably defined. Those variables are subsequently used by
2894 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2895 @@ -4639,12 +3921,16 @@
2896 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2897 _LT_AC_SYS_COMPILER
2898
2899 +# save warnings/boilerplate of simple test code
2900 +_LT_COMPILER_BOILERPLATE
2901 +_LT_LINKER_BOILERPLATE
2902 +
2903 # Allow CC to be a program name with arguments.
2904 lt_save_CC="$CC"
2905 CC=${F77-"f77"}
2906 compiler=$CC
2907 _LT_AC_TAGVAR(compiler, $1)=$CC
2908 -cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
2909 +_LT_CC_BASENAME([$compiler])
2910
2911 AC_MSG_CHECKING([if libtool supports shared libraries])
2912 AC_MSG_RESULT([$can_build_shared])
2913 @@ -4654,7 +3940,7 @@
2914
2915 # On AIX, shared libraries and static libraries use the same namespace, and
2916 # are all built from PIC.
2917 -case "$host_os" in
2918 +case $host_os in
2919 aix3*)
2920 test "$enable_shared" = yes && enable_static=no
2921 if test -n "$RANLIB"; then
2922 @@ -4663,7 +3949,9 @@
2923 fi
2924 ;;
2925 aix4* | aix5*)
2926 - test "$enable_shared" = yes && enable_static=no
2927 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2928 + test "$enable_shared" = yes && enable_static=no
2929 + fi
2930 ;;
2931 esac
2932 AC_MSG_RESULT([$enable_shared])
2933 @@ -4673,8 +3961,6 @@
2934 test "$enable_shared" = yes || enable_static=yes
2935 AC_MSG_RESULT([$enable_static])
2936
2937 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
2938 -
2939 _LT_AC_TAGVAR(GCC, $1)="$G77"
2940 _LT_AC_TAGVAR(LD, $1)="$LD"
2941
2942 @@ -4684,8 +3970,6 @@
2943 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2944 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2945 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2946 -AC_LIBTOOL_SYS_LIB_STRIP
2947 -
2948
2949 AC_LIBTOOL_CONFIG($1)
2950
2951 @@ -4714,20 +3998,27 @@
2952 lt_simple_compile_test_code="class foo {}\n"
2953
2954 # Code to be used in simple link tests
2955 -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
2956 +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
2957
2958 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2959 _LT_AC_SYS_COMPILER
2960
2961 +# save warnings/boilerplate of simple test code
2962 +_LT_COMPILER_BOILERPLATE
2963 +_LT_LINKER_BOILERPLATE
2964 +
2965 # Allow CC to be a program name with arguments.
2966 lt_save_CC="$CC"
2967 CC=${GCJ-"gcj"}
2968 compiler=$CC
2969 _LT_AC_TAGVAR(compiler, $1)=$CC
2970 +_LT_CC_BASENAME([$compiler])
2971
2972 # GCJ did not exist at the time GCC didn't implicitly link libc in.
2973 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2974
2975 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
2976 +
2977 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
2978 AC_LIBTOOL_PROG_COMPILER_PIC($1)
2979 AC_LIBTOOL_PROG_CC_C_O($1)
2980 @@ -4735,8 +4026,6 @@
2981 AC_LIBTOOL_PROG_LD_SHLIBS($1)
2982 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2983 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2984 -AC_LIBTOOL_SYS_LIB_STRIP
2985 -AC_LIBTOOL_DLOPEN_SELF($1)
2986
2987 AC_LIBTOOL_CONFIG($1)
2988
2989 @@ -4746,7 +4035,7 @@
2990
2991
2992 # AC_LIBTOOL_LANG_RC_CONFIG
2993 -# --------------------------
2994 +# -------------------------
2995 # Ensure that the configuration vars for the Windows resource compiler are
2996 # suitably defined. Those variables are subsequently used by
2997 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2998 @@ -4770,11 +4059,16 @@
2999 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
3000 _LT_AC_SYS_COMPILER
3001
3002 +# save warnings/boilerplate of simple test code
3003 +_LT_COMPILER_BOILERPLATE
3004 +_LT_LINKER_BOILERPLATE
3005 +
3006 # Allow CC to be a program name with arguments.
3007 lt_save_CC="$CC"
3008 CC=${RC-"windres"}
3009 compiler=$CC
3010 _LT_AC_TAGVAR(compiler, $1)=$CC
3011 +_LT_CC_BASENAME([$compiler])
3012 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
3013
3014 AC_LIBTOOL_CONFIG($1)
3015 @@ -4804,7 +4098,7 @@
3016 # Now quote all the things that may contain metacharacters while being
3017 # careful not to overquote the AC_SUBSTed values. We take copies of the
3018 # variables and quote the copies for generation of the libtool script.
3019 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
3020 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
3021 SED SHELL STRIP \
3022 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
3023 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
3024 @@ -4910,7 +4204,7 @@
3025 #
3026 # You should have received a copy of the GNU General Public License
3027 # along with this program; if not, write to the Free Software
3028 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
3029 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
3030 #
3031 # As a special exception to the GNU General Public License, if you
3032 # distribute this file as part of a program that contains a
3033 @@ -4921,11 +4215,11 @@
3034 SED=$lt_SED
3035
3036 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
3037 -Xsed="$SED -e s/^X//"
3038 +Xsed="$SED -e 1s/^X//"
3039
3040 # The HP-UX ksh and POSIX shell print the target directory to stdout
3041 # if CDPATH is set.
3042 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
3043 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3044
3045 # The names of the tagged configurations supported by this script.
3046 available_tags=
3047 @@ -4956,6 +4250,12 @@
3048 # The host system.
3049 host_alias=$host_alias
3050 host=$host
3051 +host_os=$host_os
3052 +
3053 +# The build system.
3054 +build_alias=$build_alias
3055 +build=$build
3056 +build_os=$build_os
3057
3058 # An echo program that does not interpret backslashes.
3059 echo=$lt_echo
3060 @@ -4967,6 +4267,9 @@
3061 # A C compiler.
3062 LTCC=$lt_LTCC
3063
3064 +# LTCC compiler flags.
3065 +LTCFLAGS=$lt_LTCFLAGS
3066 +
3067 # A language-specific compiler.
3068 CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
3069
3070 @@ -5032,7 +4335,7 @@
3071 # Does compiler simultaneously support -c and -o options?
3072 compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
3073
3074 -# Must we lock files when doing compilation ?
3075 +# Must we lock files when doing compilation?
3076 need_locks=$lt_need_locks
3077
3078 # Do we need the lib prefix for modules?
3079 @@ -5306,9 +4609,6 @@
3080 # Regexp to match symbols that can be accessed directly from C.
3081 sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
3082
3083 -# Transform the above into a raw symbol and a C symbol.
3084 -symxfrm='\1 \2\3 \3'
3085 -
3086 # Transform an extracted symbol line into a proper C declaration
3087 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
3088
3089 @@ -5330,15 +4630,31 @@
3090 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
3091 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'"
3092 ;;
3093 +linux* | k*bsd*-gnu)
3094 + if test "$host_cpu" = ia64; then
3095 + symcode='[[ABCDGIRSTW]]'
3096 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
3097 + 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'"
3098 + fi
3099 + ;;
3100 irix* | nonstopux*)
3101 symcode='[[BCDEGRST]]'
3102 ;;
3103 osf*)
3104 symcode='[[BCDEGQRST]]'
3105 ;;
3106 -solaris* | sysv5*)
3107 +solaris*)
3108 symcode='[[BDRT]]'
3109 ;;
3110 +sco3.2v5*)
3111 + symcode='[[DT]]'
3112 + ;;
3113 +sysv4.2uw2*)
3114 + symcode='[[DT]]'
3115 + ;;
3116 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
3117 + symcode='[[ABDT]]'
3118 + ;;
3119 sysv4)
3120 symcode='[[DFNSTU]]'
3121 ;;
3122 @@ -5361,8 +4677,11 @@
3123 # Try without a prefix undercore, then with it.
3124 for ac_symprfx in "" "_"; do
3125
3126 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
3127 + symxfrm="\\1 $ac_symprfx\\2 \\2"
3128 +
3129 # Write the raw and C identifiers.
3130 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
3131 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
3132
3133 # Check to see that the pipe works correctly.
3134 pipe_works=no
3135 @@ -5518,6 +4837,10 @@
3136 # DJGPP does not support shared libraries at all
3137 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3138 ;;
3139 + interix3*)
3140 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3141 + # Instead, we relocate shared libraries at runtime.
3142 + ;;
3143 sysv4*MP*)
3144 if test -d /usr/nec; then
3145 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
3146 @@ -5526,7 +4849,7 @@
3147 hpux*)
3148 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3149 # not for PA HP-UX.
3150 - case "$host_cpu" in
3151 + case $host_cpu in
3152 hppa*64*|ia64*)
3153 ;;
3154 *)
3155 @@ -5551,18 +4874,28 @@
3156 ;;
3157 chorus*)
3158 case $cc_basename in
3159 - cxch68)
3160 + cxch68*)
3161 # Green Hills C++ Compiler
3162 # _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"
3163 ;;
3164 esac
3165 ;;
3166 + darwin*)
3167 + # PIC is the default on this platform
3168 + # Common symbols not allowed in MH_DYLIB files
3169 + case $cc_basename in
3170 + xlc*)
3171 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
3172 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3173 + ;;
3174 + esac
3175 + ;;
3176 dgux*)
3177 case $cc_basename in
3178 - ec++)
3179 + ec++*)
3180 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3181 ;;
3182 - ghcx)
3183 + ghcx*)
3184 # Green Hills C++ Compiler
3185 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3186 ;;
3187 @@ -5570,22 +4903,22 @@
3188 ;;
3189 esac
3190 ;;
3191 - freebsd* | kfreebsd*-gnu)
3192 + freebsd* | dragonfly*)
3193 # FreeBSD uses GNU C++
3194 ;;
3195 hpux9* | hpux10* | hpux11*)
3196 case $cc_basename in
3197 - CC)
3198 + CC*)
3199 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3200 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
3201 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3202 if test "$host_cpu" != ia64; then
3203 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
3204 fi
3205 ;;
3206 - aCC)
3207 + aCC*)
3208 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3209 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
3210 - case "$host_cpu" in
3211 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
3212 + case $host_cpu in
3213 hppa*64*|ia64*)
3214 # +Z the default
3215 ;;
3216 @@ -5598,9 +4931,13 @@
3217 ;;
3218 esac
3219 ;;
3220 + interix*)
3221 + # This is c89, which is MS Visual C++ (no shared libs)
3222 + # Anyone wants to do a port?
3223 + ;;
3224 irix5* | irix6* | nonstopux*)
3225 case $cc_basename in
3226 - CC)
3227 + CC*)
3228 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3229 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3230 # CC pic flag -KPIC is the default.
3231 @@ -5609,20 +4946,26 @@
3232 ;;
3233 esac
3234 ;;
3235 - linux*)
3236 + linux* | k*bsd*-gnu)
3237 case $cc_basename in
3238 - KCC)
3239 + KCC*)
3240 # KAI C++ Compiler
3241 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3242 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3243 ;;
3244 - icpc)
3245 + icpc* | ecpc*)
3246 # Intel C++
3247 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3248 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3249 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3250 ;;
3251 - cxx)
3252 + pgCC*)
3253 + # Portland Group C++ compiler.
3254 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3255 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
3256 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3257 + ;;
3258 + cxx*)
3259 # Compaq C++
3260 # Make sure the PIC flag is empty. It appears that all Alpha
3261 # Linux and Compaq Tru64 Unix objects are PIC.
3262 @@ -5639,25 +4982,25 @@
3263 ;;
3264 mvs*)
3265 case $cc_basename in
3266 - cxx)
3267 + cxx*)
3268 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
3269 ;;
3270 *)
3271 ;;
3272 esac
3273 ;;
3274 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3275 + netbsd* | netbsdelf*-gnu)
3276 ;;
3277 osf3* | osf4* | osf5*)
3278 case $cc_basename in
3279 - KCC)
3280 + KCC*)
3281 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3282 ;;
3283 - RCC)
3284 + RCC*)
3285 # Rational C++ 2.4.1
3286 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3287 ;;
3288 - cxx)
3289 + cxx*)
3290 # Digital/Compaq C++
3291 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3292 # Make sure the PIC flag is empty. It appears that all Alpha
3293 @@ -5671,24 +5014,15 @@
3294 ;;
3295 psos*)
3296 ;;
3297 - sco*)
3298 - case $cc_basename in
3299 - CC)
3300 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3301 - ;;
3302 - *)
3303 - ;;
3304 - esac
3305 - ;;
3306 solaris*)
3307 case $cc_basename in
3308 - CC)
3309 + CC*)
3310 # Sun C++ 4.2, 5.x and Centerline C++
3311 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3312 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3313 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
3314 ;;
3315 - gcx)
3316 + gcx*)
3317 # Green Hills C++ Compiler
3318 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
3319 ;;
3320 @@ -5698,12 +5032,12 @@
3321 ;;
3322 sunos4*)
3323 case $cc_basename in
3324 - CC)
3325 + CC*)
3326 # Sun C++ 4.x
3327 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3328 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3329 ;;
3330 - lcc)
3331 + lcc*)
3332 # Lucid
3333 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3334 ;;
3335 @@ -5713,7 +5047,7 @@
3336 ;;
3337 tandem*)
3338 case $cc_basename in
3339 - NCC)
3340 + NCC*)
3341 # NonStop-UX NCC 3.20
3342 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3343 ;;
3344 @@ -5721,7 +5055,14 @@
3345 ;;
3346 esac
3347 ;;
3348 - unixware*)
3349 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
3350 + case $cc_basename in
3351 + CC*)
3352 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3353 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3354 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3355 + ;;
3356 + esac
3357 ;;
3358 vxworks*)
3359 ;;
3360 @@ -5768,6 +5109,11 @@
3361 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
3362 ;;
3363
3364 + interix3*)
3365 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3366 + # Instead, we relocate shared libraries at runtime.
3367 + ;;
3368 +
3369 msdosdjgpp*)
3370 # Just because we use GCC doesn't mean we suddenly get shared libraries
3371 # on systems that don't support them.
3372 @@ -5784,7 +5130,7 @@
3373 hpux*)
3374 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3375 # not for PA HP-UX.
3376 - case "$host_cpu" in
3377 + case $host_cpu in
3378 hppa*64*|ia64*)
3379 # +Z the default
3380 ;;
3381 @@ -5810,6 +5156,16 @@
3382 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
3383 fi
3384 ;;
3385 + darwin*)
3386 + # PIC is the default on this platform
3387 + # Common symbols not allowed in MH_DYLIB files
3388 + case $cc_basename in
3389 + xlc*)
3390 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
3391 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3392 + ;;
3393 + esac
3394 + ;;
3395
3396 mingw* | pw32* | os2*)
3397 # This hack is so that the source file can tell whether it is being
3398 @@ -5821,7 +5177,7 @@
3399 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3400 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3401 # not for PA HP-UX.
3402 - case "$host_cpu" in
3403 + case $host_cpu in
3404 hppa*64*|ia64*)
3405 # +Z the default
3406 ;;
3407 @@ -5844,13 +5200,20 @@
3408 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3409 ;;
3410
3411 - linux*)
3412 - case $CC in
3413 + linux* | k*bsd*-gnu)
3414 + case $cc_basename in
3415 icc* | ecc*)
3416 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3417 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3418 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
3419 ;;
3420 + pgcc* | pgf77* | pgf90* | pgf95*)
3421 + # Portland Group compilers (*not* the Pentium gcc compiler,
3422 + # which looks to be a dead project)
3423 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3424 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
3425 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3426 + ;;
3427 ccc*)
3428 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3429 # All Alpha code is PIC.
3430 @@ -5865,15 +5228,15 @@
3431 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
3432 ;;
3433
3434 - sco3.2v5*)
3435 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
3436 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
3437 - ;;
3438 -
3439 solaris*)
3440 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3441 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3442 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3443 + case $cc_basename in
3444 + f77* | f90* | f95*)
3445 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
3446 + *)
3447 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
3448 + esac
3449 ;;
3450
3451 sunos4*)
3452 @@ -5882,7 +5245,7 @@
3453 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3454 ;;
3455
3456 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3457 + sysv4 | sysv4.2uw2* | sysv4.3*)
3458 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3459 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3460 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3461 @@ -5895,6 +5258,17 @@
3462 fi
3463 ;;
3464
3465 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
3466 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3467 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3468 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3469 + ;;
3470 +
3471 + unicos*)
3472 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3473 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
3474 + ;;
3475 +
3476 uts4*)
3477 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
3478 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
3479 @@ -5922,7 +5296,7 @@
3480 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3481 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
3482 fi
3483 -case "$host_os" in
3484 +case $host_os in
3485 # For platforms which do not support PIC, -DPIC is meaningless:
3486 *djgpp*)
3487 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
3488 @@ -5931,6 +5305,16 @@
3489 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
3490 ;;
3491 esac
3492 +
3493 +#
3494 +# Check to make sure the static flag actually works.
3495 +#
3496 +wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
3497 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
3498 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
3499 + $lt_tmp_static_flag,
3500 + [],
3501 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
3502 ])
3503
3504
3505 @@ -5955,9 +5339,9 @@
3506 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
3507 ;;
3508 cygwin* | mingw*)
3509 - _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'
3510 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
3511 ;;
3512 - linux*)
3513 + linux* | k*bsd*-gnu)
3514 _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3515 ;;
3516 *)
3517 @@ -6001,7 +5385,8 @@
3518 # rely on this symbol name, it's probably fine to never include it in
3519 # preloaded symbol tables.
3520 extract_expsyms_cmds=
3521 -
3522 + # Just being paranoid about ensuring that cc_basename is set.
3523 + _LT_CC_BASENAME([$compiler])
3524 case $host_os in
3525 cygwin* | mingw* | pw32*)
3526 # FIXME: the MSVC++ port hasn't been tested in a loooong time
3527 @@ -6011,6 +5396,10 @@
3528 with_gnu_ld=no
3529 fi
3530 ;;
3531 + interix*)
3532 + # we just hope/assume this is gcc and not c89 (= MSVC++)
3533 + with_gnu_ld=yes
3534 + ;;
3535 openbsd*)
3536 with_gnu_ld=no
3537 ;;
3538 @@ -6021,6 +5410,27 @@
3539 # If archive_cmds runs LD, not CC, wlarc should be empty
3540 wlarc='${wl}'
3541
3542 + # Set some defaults for GNU ld with shared library support. These
3543 + # are reset later if shared libraries are not supported. Putting them
3544 + # here allows them to be overridden if necessary.
3545 + runpath_var=LD_RUN_PATH
3546 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3547 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3548 + # ancient GNU ld didn't support --whole-archive et. al.
3549 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
3550 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3551 + else
3552 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3553 + fi
3554 + supports_anon_versioning=no
3555 + case `$LD -v 2>/dev/null` in
3556 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
3557 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
3558 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
3559 + *\ 2.11.*) ;; # other 2.11 versions
3560 + *) supports_anon_versioning=yes ;;
3561 + esac
3562 +
3563 # See if GNU ld supports shared libraries.
3564 case $host_os in
3565 aix3* | aix4* | aix5*)
3566 @@ -6071,10 +5481,10 @@
3567 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3568 _LT_AC_TAGVAR(always_export_symbols, $1)=no
3569 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3570 - _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'
3571 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
3572
3573 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3574 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3575 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
3576 # If the export-symbols file already is a .def file (1st line
3577 # is EXPORTS), use it as is; otherwise, prepend...
3578 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3579 @@ -6083,13 +5493,60 @@
3580 echo EXPORTS > $output_objdir/$soname.def;
3581 cat $export_symbols >> $output_objdir/$soname.def;
3582 fi~
3583 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3584 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
3585 else
3586 - ld_shlibs=no
3587 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3588 fi
3589 ;;
3590
3591 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3592 + interix3*)
3593 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
3594 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3595 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3596 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3597 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
3598 + # Instead, shared libraries are loaded at an image base (0x10000000 by
3599 + # default) and relocated if they conflict, which is a slow very memory
3600 + # consuming and fragmenting process. To avoid this, we pick a random,
3601 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
3602 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
3603 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
3604 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
3605 + ;;
3606 +
3607 + linux* | k*bsd*-gnu)
3608 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3609 + tmp_addflag=
3610 + case $cc_basename,$host_cpu in
3611 + pgcc*) # Portland Group C compiler
3612 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
3613 + tmp_addflag=' $pic_flag'
3614 + ;;
3615 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
3616 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
3617 + tmp_addflag=' $pic_flag -Mnomain' ;;
3618 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
3619 + tmp_addflag=' -i_dynamic' ;;
3620 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
3621 + tmp_addflag=' -i_dynamic -nofor_main' ;;
3622 + ifc* | ifort*) # Intel Fortran compiler
3623 + tmp_addflag=' -nofor_main' ;;
3624 + esac
3625 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3626 +
3627 + if test $supports_anon_versioning = yes; then
3628 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
3629 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
3630 + $echo "local: *; };" >> $output_objdir/$libname.ver~
3631 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
3632 + fi
3633 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3634 + else
3635 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3636 + fi
3637 + ;;
3638 +
3639 + netbsd* | netbsdelf*-gnu)
3640 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3641 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
3642 wlarc=
3643 @@ -6099,7 +5556,7 @@
3644 fi
3645 ;;
3646
3647 - solaris* | sysv5*)
3648 + solaris*)
3649 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
3650 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3651 cat <<EOF 1>&2
3652 @@ -6120,6 +5577,33 @@
3653 fi
3654 ;;
3655
3656 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
3657 + case `$LD -v 2>&1` in
3658 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
3659 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3660 + cat <<_LT_EOF 1>&2
3661 +
3662 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
3663 +*** reliably create shared libraries on SCO systems. Therefore, libtool
3664 +*** is disabling shared libraries support. We urge you to upgrade GNU
3665 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
3666 +*** your PATH or compiler configuration so that the native linker is
3667 +*** used, and then restart.
3668 +
3669 +_LT_EOF
3670 + ;;
3671 + *)
3672 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3673 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
3674 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
3675 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
3676 + else
3677 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3678 + fi
3679 + ;;
3680 + esac
3681 + ;;
3682 +
3683 sunos4*)
3684 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3685 wlarc=
3686 @@ -6127,32 +5611,6 @@
3687 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3688 ;;
3689
3690 - linux*)
3691 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3692 - tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3693 - _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
3694 - supports_anon_versioning=no
3695 - case `$LD -v 2>/dev/null` in
3696 - *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
3697 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
3698 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
3699 - *\ 2.11.*) ;; # other 2.11 versions
3700 - *) supports_anon_versioning=yes ;;
3701 - esac
3702 - if test $supports_anon_versioning = yes; then
3703 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
3704 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
3705 -$echo "local: *; };" >> $output_objdir/$libname.ver~
3706 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
3707 - else
3708 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
3709 - fi
3710 - _LT_AC_TAGVAR(link_all_deplibs, $1)=no
3711 - else
3712 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3713 - fi
3714 - ;;
3715 -
3716 *)
3717 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3718 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3719 @@ -6163,16 +5621,11 @@
3720 ;;
3721 esac
3722
3723 - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
3724 - runpath_var=LD_RUN_PATH
3725 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3726 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3727 - # ancient GNU ld didn't support --whole-archive et. al.
3728 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
3729 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3730 - else
3731 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3732 - fi
3733 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
3734 + runpath_var=
3735 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3736 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3737 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3738 fi
3739 else
3740 # PORTME fill in a description of your system's linker (not GNU ld)
3741 @@ -6184,7 +5637,7 @@
3742 # Note: this linker hardcodes the directories in LIBPATH if there
3743 # are no directories specified by -L.
3744 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3745 - if test "$GCC" = yes && test -z "$link_static_flag"; then
3746 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
3747 # Neither direct hardcoding nor static linking is supported with a
3748 # broken collect2.
3749 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3750 @@ -6218,6 +5671,7 @@
3751 break
3752 fi
3753 done
3754 + ;;
3755 esac
3756
3757 exp_sym_flag='-bexport'
3758 @@ -6236,7 +5690,7 @@
3759 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3760
3761 if test "$GCC" = yes; then
3762 - case $host_os in aix4.[012]|aix4.[012].*)
3763 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
3764 # We only want to do this on AIX 4.2 and lower, the check
3765 # below for broken collect2 doesn't work under 4.3+
3766 collect2name=`${CC} -print-prog-name=collect2`
3767 @@ -6255,8 +5709,12 @@
3768 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3769 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3770 fi
3771 + ;;
3772 esac
3773 shared_flag='-shared'
3774 + if test "$aix_use_runtimelinking" = yes; then
3775 + shared_flag="$shared_flag "'${wl}-G'
3776 + fi
3777 else
3778 # not using gcc
3779 if test "$host_cpu" = ia64; then
3780 @@ -6264,11 +5722,11 @@
3781 # chokes on -Wl,-G. The following line is correct:
3782 shared_flag='-G'
3783 else
3784 - if test "$aix_use_runtimelinking" = yes; then
3785 + if test "$aix_use_runtimelinking" = yes; then
3786 shared_flag='${wl}-G'
3787 else
3788 shared_flag='${wl}-bM:SRE'
3789 - fi
3790 + fi
3791 fi
3792 fi
3793
3794 @@ -6282,12 +5740,12 @@
3795 # Determine the default libpath from the value encoded in an empty executable.
3796 _LT_AC_SYS_LIBPATH_AIX
3797 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3798 - _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"
3799 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3800 else
3801 if test "$host_cpu" = ia64; then
3802 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
3803 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3804 - _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"
3805 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
3806 else
3807 # Determine the default libpath from the value encoded in an empty executable.
3808 _LT_AC_SYS_LIBPATH_AIX
3809 @@ -6296,13 +5754,11 @@
3810 # -berok will link without error, but may produce a broken library.
3811 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3812 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3813 - # -bexpall does not export symbols beginning with underscore (_)
3814 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3815 # Exported symbols can be pulled into shared objects from archives
3816 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
3817 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
3818 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3819 - # This is similar to how AIX traditionally builds it's shared libraries.
3820 - _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'
3821 + # This is similar to how AIX traditionally builds its shared libraries.
3822 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
3823 fi
3824 fi
3825 ;;
3826 @@ -6315,7 +5771,7 @@
3827 _LT_AC_TAGVAR(ld_shlibs, $1)=no
3828 ;;
3829
3830 - bsdi4*)
3831 + bsdi[[45]]*)
3832 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
3833 ;;
3834
3835 @@ -6336,57 +5792,57 @@
3836 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
3837 # FIXME: Should let the user specify the lib program.
3838 _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
3839 - fix_srcfile_path='`cygpath -w "$srcfile"`'
3840 + _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
3841 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3842 ;;
3843
3844 darwin* | rhapsody*)
3845 - if test "$GXX" = yes ; then
3846 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3847 - case "$host_os" in
3848 - rhapsody* | darwin1.[[012]])
3849 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3850 - ;;
3851 - *) # Darwin 1.3 on
3852 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3853 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3854 - else
3855 - case ${MACOSX_DEPLOYMENT_TARGET} in
3856 - 10.[[012]])
3857 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3858 - ;;
3859 - 10.*)
3860 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3861 - ;;
3862 - esac
3863 - fi
3864 - ;;
3865 + case $host_os in
3866 + rhapsody* | darwin1.[[012]])
3867 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3868 + ;;
3869 + *) # Darwin 1.3 on
3870 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3871 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3872 + else
3873 + case ${MACOSX_DEPLOYMENT_TARGET} in
3874 + 10.[[012]])
3875 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3876 + ;;
3877 + 10.*)
3878 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3879 + ;;
3880 + esac
3881 + fi
3882 + ;;
3883 esac
3884 - lt_int_apple_cc_single_mod=no
3885 - output_verbose_link_cmd='echo'
3886 - if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3887 - lt_int_apple_cc_single_mod=yes
3888 - fi
3889 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3890 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3891 - else
3892 - _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'
3893 - fi
3894 - _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3895 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3896 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3897 - _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}'
3898 - else
3899 - _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}'
3900 - fi
3901 - _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}'
3902 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3903 _LT_AC_TAGVAR(hardcode_direct, $1)=no
3904 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3905 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3906 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3907 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3908 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3909 + if test "$GCC" = yes ; then
3910 + output_verbose_link_cmd='echo'
3911 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3912 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3913 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3914 + _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}'
3915 + _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}'
3916 else
3917 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3918 + case $cc_basename in
3919 + xlc*)
3920 + output_verbose_link_cmd='echo'
3921 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
3922 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3923 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3924 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3925 + _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}'
3926 + ;;
3927 + *)
3928 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
3929 + ;;
3930 + esac
3931 fi
3932 ;;
3933
3934 @@ -6420,7 +5876,7 @@
3935 ;;
3936
3937 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
3938 - freebsd* | kfreebsd*-gnu)
3939 + freebsd* | dragonfly*)
3940 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
3941 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3942 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3943 @@ -6443,47 +5899,62 @@
3944 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3945 ;;
3946
3947 - hpux10* | hpux11*)
3948 + hpux10*)
3949 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
3950 - case "$host_cpu" in
3951 - hppa*64*|ia64*)
3952 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3953 + else
3954 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
3955 + fi
3956 + if test "$with_gnu_ld" = no; then
3957 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3958 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3959 +
3960 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3961 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3962 +
3963 + # hardcode_minus_L: Not really in the search PATH,
3964 + # but as the default location of the library.
3965 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3966 + fi
3967 + ;;
3968 +
3969 + hpux11*)
3970 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
3971 + case $host_cpu in
3972 + hppa*64*)
3973 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3974 ;;
3975 + ia64*)
3976 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
3977 + ;;
3978 *)
3979 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3980 ;;
3981 esac
3982 else
3983 - case "$host_cpu" in
3984 - hppa*64*|ia64*)
3985 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
3986 + case $host_cpu in
3987 + hppa*64*)
3988 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
3989 + ;;
3990 + ia64*)
3991 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
3992 ;;
3993 *)
3994 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
3995 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
3996 ;;
3997 esac
3998 fi
3999 if test "$with_gnu_ld" = no; then
4000 - case "$host_cpu" in
4001 - hppa*64*)
4002 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4003 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4004 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4005 +
4006 + case $host_cpu in
4007 + hppa*64*|ia64*)
4008 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
4009 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4010 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
4011 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4012 - ;;
4013 - ia64*)
4014 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4015 _LT_AC_TAGVAR(hardcode_direct, $1)=no
4016 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4017 -
4018 - # hardcode_minus_L: Not really in the search PATH,
4019 - # but as the default location of the library.
4020 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4021 ;;
4022 *)
4023 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4024 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4025 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4026 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4027
4028 @@ -6507,7 +5978,7 @@
4029 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4030 ;;
4031
4032 - netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
4033 + netbsd* | netbsdelf*-gnu)
4034 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4035 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
4036 else
4037 @@ -6531,6 +6002,7 @@
4038 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4039 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4040 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4041 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
4042 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4043 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4044 else
4045 @@ -6576,7 +6048,7 @@
4046 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
4047 _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'
4048 _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~
4049 - $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'
4050 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
4051
4052 # Both c and cxx compiler support -rpath directly
4053 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4054 @@ -6584,21 +6056,15 @@
4055 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4056 ;;
4057
4058 - sco3.2v5*)
4059 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4060 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4061 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
4062 - runpath_var=LD_RUN_PATH
4063 - hardcode_runpath_var=yes
4064 - ;;
4065 -
4066 solaris*)
4067 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
4068 if test "$GCC" = yes; then
4069 + wlarc='${wl}'
4070 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4071 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4072 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
4073 else
4074 + wlarc=''
4075 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4076 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4077 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
4078 @@ -6607,8 +6073,18 @@
4079 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4080 case $host_os in
4081 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
4082 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
4083 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
4084 + *)
4085 + # The compiler driver will combine linker options so we
4086 + # cannot just pass the convience library names through
4087 + # without $wl, iff we do not link with $LD.
4088 + # Luckily, gcc supports the same syntax we need for Sun Studio.
4089 + # Supported since Solaris 2.6 (maybe 2.5.1?)
4090 + case $wlarc in
4091 + '')
4092 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
4093 + *)
4094 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
4095 + esac ;;
4096 esac
4097 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4098 ;;
4099 @@ -6665,36 +6141,45 @@
4100 fi
4101 ;;
4102
4103 - sysv4.2uw2*)
4104 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
4105 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4106 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4107 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
4108 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
4109 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4110 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4111 - hardcode_runpath_var=yes
4112 - runpath_var=LD_RUN_PATH
4113 - ;;
4114 + runpath_var='LD_RUN_PATH'
4115
4116 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
4117 - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
4118 if test "$GCC" = yes; then
4119 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4120 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4121 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4122 else
4123 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4124 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4125 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4126 fi
4127 - runpath_var='LD_RUN_PATH'
4128 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4129 ;;
4130
4131 - sysv5*)
4132 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
4133 - # $CC -shared without GNU ld will not create a library from C++
4134 - # object files and a static libstdc++, better avoid it by now
4135 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4136 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4137 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
4138 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4139 + sysv5* | sco3.2v5* | sco5v6*)
4140 + # Note: We can NOT use -z defs as we might desire, because we do not
4141 + # link with -lc, and that would cause any symbols used from libc to
4142 + # always be unresolved, which means just about no library would
4143 + # ever link correctly. If we're not using GNU ld we use -z text
4144 + # though, which does catch some bad symbols but isn't as heavy-handed
4145 + # as -z defs.
4146 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
4147 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
4148 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4149 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4150 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
4151 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
4152 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4153 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
4154 runpath_var='LD_RUN_PATH'
4155 +
4156 + if test "$GCC" = yes; then
4157 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4158 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4159 + else
4160 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4161 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4162 + fi
4163 ;;
4164
4165 uts4*)
4166 @@ -6712,11 +6197,6 @@
4167 AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
4168 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
4169
4170 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
4171 -if test "$GCC" = yes; then
4172 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
4173 -fi
4174 -
4175 #
4176 # Do we need to explicitly link libc?
4177 #
4178 @@ -6744,6 +6224,7 @@
4179 libobjs=conftest.$ac_objext
4180 deplibs=
4181 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
4182 + pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
4183 compiler_flags=-v
4184 linker_flags=-v
4185 verstring=
4186 @@ -6869,7 +6350,7 @@
4187 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4188 # along with /bin/sed that truncates output.
4189 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4190 - test ! -f $lt_ac_sed && break
4191 + test ! -f $lt_ac_sed && continue
4192 cat /dev/null > conftest.in
4193 lt_ac_count=0
4194 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4195 @@ -6894,8 +6375,878 @@
4196 fi
4197 done
4198 done
4199 -SED=$lt_cv_path_SED
4200 ])
4201 +SED=$lt_cv_path_SED
4202 AC_MSG_RESULT([$SED])
4203 ])
4204
4205 +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
4206 +#
4207 +# This file is free software; the Free Software Foundation
4208 +# gives unlimited permission to copy and/or distribute it,
4209 +# with or without modifications, as long as this notice is preserved.
4210 +
4211 +# AM_AUTOMAKE_VERSION(VERSION)
4212 +# ----------------------------
4213 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
4214 +# generated from the m4 files accompanying Automake X.Y.
4215 +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
4216 +
4217 +# AM_SET_CURRENT_AUTOMAKE_VERSION
4218 +# -------------------------------
4219 +# Call AM_AUTOMAKE_VERSION so it can be traced.
4220 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
4221 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
4222 + [AM_AUTOMAKE_VERSION([1.9.6])])
4223 +
4224 +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
4225 +
4226 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4227 +#
4228 +# This file is free software; the Free Software Foundation
4229 +# gives unlimited permission to copy and/or distribute it,
4230 +# with or without modifications, as long as this notice is preserved.
4231 +
4232 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
4233 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
4234 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
4235 +#
4236 +# Of course, Automake must honor this variable whenever it calls a
4237 +# tool from the auxiliary directory. The problem is that $srcdir (and
4238 +# therefore $ac_aux_dir as well) can be either absolute or relative,
4239 +# depending on how configure is run. This is pretty annoying, since
4240 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
4241 +# source directory, any form will work fine, but in subdirectories a
4242 +# relative path needs to be adjusted first.
4243 +#
4244 +# $ac_aux_dir/missing
4245 +# fails when called from a subdirectory if $ac_aux_dir is relative
4246 +# $top_srcdir/$ac_aux_dir/missing
4247 +# fails if $ac_aux_dir is absolute,
4248 +# fails when called from a subdirectory in a VPATH build with
4249 +# a relative $ac_aux_dir
4250 +#
4251 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
4252 +# are both prefixed by $srcdir. In an in-source build this is usually
4253 +# harmless because $srcdir is `.', but things will broke when you
4254 +# start a VPATH build or use an absolute $srcdir.
4255 +#
4256 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
4257 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
4258 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
4259 +# and then we would define $MISSING as
4260 +# MISSING="\${SHELL} $am_aux_dir/missing"
4261 +# This will work as long as MISSING is not called from configure, because
4262 +# unfortunately $(top_srcdir) has no meaning in configure.
4263 +# However there are other variables, like CC, which are often used in
4264 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
4265 +#
4266 +# Another solution, used here, is to always expand $ac_aux_dir to an
4267 +# absolute PATH. The drawback is that using absolute paths prevent a
4268 +# configured tree to be moved without reconfiguration.
4269 +
4270 +AC_DEFUN([AM_AUX_DIR_EXPAND],
4271 +[dnl Rely on autoconf to set up CDPATH properly.
4272 +AC_PREREQ([2.50])dnl
4273 +# expand $ac_aux_dir to an absolute path
4274 +am_aux_dir=`cd $ac_aux_dir && pwd`
4275 +])
4276 +
4277 +# AM_CONDITIONAL -*- Autoconf -*-
4278 +
4279 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
4280 +# Free Software Foundation, Inc.
4281 +#
4282 +# This file is free software; the Free Software Foundation
4283 +# gives unlimited permission to copy and/or distribute it,
4284 +# with or without modifications, as long as this notice is preserved.
4285 +
4286 +# serial 7
4287 +
4288 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
4289 +# -------------------------------------
4290 +# Define a conditional.
4291 +AC_DEFUN([AM_CONDITIONAL],
4292 +[AC_PREREQ(2.52)dnl
4293 + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
4294 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
4295 +AC_SUBST([$1_TRUE])
4296 +AC_SUBST([$1_FALSE])
4297 +if $2; then
4298 + $1_TRUE=
4299 + $1_FALSE='#'
4300 +else
4301 + $1_TRUE='#'
4302 + $1_FALSE=
4303 +fi
4304 +AC_CONFIG_COMMANDS_PRE(
4305 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
4306 + AC_MSG_ERROR([[conditional "$1" was never defined.
4307 +Usually this means the macro was only invoked conditionally.]])
4308 +fi])])
4309 +
4310 +
4311 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4312 +# Free Software Foundation, Inc.
4313 +#
4314 +# This file is free software; the Free Software Foundation
4315 +# gives unlimited permission to copy and/or distribute it,
4316 +# with or without modifications, as long as this notice is preserved.
4317 +
4318 +# serial 8
4319 +
4320 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
4321 +# written in clear, in which case automake, when reading aclocal.m4,
4322 +# will think it sees a *use*, and therefore will trigger all it's
4323 +# C support machinery. Also note that it means that autoscan, seeing
4324 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
4325 +
4326 +
4327 +# _AM_DEPENDENCIES(NAME)
4328 +# ----------------------
4329 +# See how the compiler implements dependency checking.
4330 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
4331 +# We try a few techniques and use that to set a single cache variable.
4332 +#
4333 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
4334 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
4335 +# dependency, and given that the user is not expected to run this macro,
4336 +# just rely on AC_PROG_CC.
4337 +AC_DEFUN([_AM_DEPENDENCIES],
4338 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
4339 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
4340 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
4341 +AC_REQUIRE([AM_DEP_TRACK])dnl
4342 +
4343 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
4344 + [$1], CXX, [depcc="$CXX" am_compiler_list=],
4345 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
4346 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
4347 + [depcc="$$1" am_compiler_list=])
4348 +
4349 +AC_CACHE_CHECK([dependency style of $depcc],
4350 + [am_cv_$1_dependencies_compiler_type],
4351 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4352 + # We make a subdir and do the tests there. Otherwise we can end up
4353 + # making bogus files that we don't know about and never remove. For
4354 + # instance it was reported that on HP-UX the gcc test will end up
4355 + # making a dummy file named `D' -- because `-MD' means `put the output
4356 + # in D'.
4357 + mkdir conftest.dir
4358 + # Copy depcomp to subdir because otherwise we won't find it if we're
4359 + # using a relative directory.
4360 + cp "$am_depcomp" conftest.dir
4361 + cd conftest.dir
4362 + # We will build objects and dependencies in a subdirectory because
4363 + # it helps to detect inapplicable dependency modes. For instance
4364 + # both Tru64's cc and ICC support -MD to output dependencies as a
4365 + # side effect of compilation, but ICC will put the dependencies in
4366 + # the current directory while Tru64 will put them in the object
4367 + # directory.
4368 + mkdir sub
4369 +
4370 + am_cv_$1_dependencies_compiler_type=none
4371 + if test "$am_compiler_list" = ""; then
4372 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
4373 + fi
4374 + for depmode in $am_compiler_list; do
4375 + # Setup a source with many dependencies, because some compilers
4376 + # like to wrap large dependency lists on column 80 (with \), and
4377 + # we should not choose a depcomp mode which is confused by this.
4378 + #
4379 + # We need to recreate these files for each test, as the compiler may
4380 + # overwrite some of them when testing with obscure command lines.
4381 + # This happens at least with the AIX C compiler.
4382 + : > sub/conftest.c
4383 + for i in 1 2 3 4 5 6; do
4384 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
4385 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4386 + # Solaris 8's {/usr,}/bin/sh.
4387 + touch sub/conftst$i.h
4388 + done
4389 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4390 +
4391 + case $depmode in
4392 + nosideeffect)
4393 + # after this tag, mechanisms are not by side-effect, so they'll
4394 + # only be used when explicitly requested
4395 + if test "x$enable_dependency_tracking" = xyes; then
4396 + continue
4397 + else
4398 + break
4399 + fi
4400 + ;;
4401 + none) break ;;
4402 + esac
4403 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
4404 + # mode. It turns out that the SunPro C++ compiler does not properly
4405 + # handle `-M -o', and we need to detect this.
4406 + if depmode=$depmode \
4407 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4408 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4409 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4410 + >/dev/null 2>conftest.err &&
4411 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4412 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4413 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4414 + # icc doesn't choke on unknown options, it will just issue warnings
4415 + # or remarks (even with -Werror). So we grep stderr for any message
4416 + # that says an option was ignored or not supported.
4417 + # When given -MP, icc 7.0 and 7.1 complain thusly:
4418 + # icc: Command line warning: ignoring option '-M'; no argument required
4419 + # The diagnosis changed in icc 8.0:
4420 + # icc: Command line remark: option '-MP' not supported
4421 + if (grep 'ignoring option' conftest.err ||
4422 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4423 + am_cv_$1_dependencies_compiler_type=$depmode
4424 + break
4425 + fi
4426 + fi
4427 + done
4428 +
4429 + cd ..
4430 + rm -rf conftest.dir
4431 +else
4432 + am_cv_$1_dependencies_compiler_type=none
4433 +fi
4434 +])
4435 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
4436 +AM_CONDITIONAL([am__fastdep$1], [
4437 + test "x$enable_dependency_tracking" != xno \
4438 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
4439 +])
4440 +
4441 +
4442 +# AM_SET_DEPDIR
4443 +# -------------
4444 +# Choose a directory name for dependency files.
4445 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
4446 +AC_DEFUN([AM_SET_DEPDIR],
4447 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
4448 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
4449 +])
4450 +
4451 +
4452 +# AM_DEP_TRACK
4453 +# ------------
4454 +AC_DEFUN([AM_DEP_TRACK],
4455 +[AC_ARG_ENABLE(dependency-tracking,
4456 +[ --disable-dependency-tracking speeds up one-time build
4457 + --enable-dependency-tracking do not reject slow dependency extractors])
4458 +if test "x$enable_dependency_tracking" != xno; then
4459 + am_depcomp="$ac_aux_dir/depcomp"
4460 + AMDEPBACKSLASH='\'
4461 +fi
4462 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
4463 +AC_SUBST([AMDEPBACKSLASH])
4464 +])
4465 +
4466 +# Generate code to set up dependency tracking. -*- Autoconf -*-
4467 +
4468 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
4469 +# Free Software Foundation, Inc.
4470 +#
4471 +# This file is free software; the Free Software Foundation
4472 +# gives unlimited permission to copy and/or distribute it,
4473 +# with or without modifications, as long as this notice is preserved.
4474 +
4475 +#serial 3
4476 +
4477 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
4478 +# ------------------------------
4479 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
4480 +[for mf in $CONFIG_FILES; do
4481 + # Strip MF so we end up with the name of the file.
4482 + mf=`echo "$mf" | sed -e 's/:.*$//'`
4483 + # Check whether this is an Automake generated Makefile or not.
4484 + # We used to match only the files named `Makefile.in', but
4485 + # some people rename them; so instead we look at the file content.
4486 + # Grep'ing the first line is not enough: some people post-process
4487 + # each Makefile.in and add a new line on top of each file to say so.
4488 + # So let's grep whole file.
4489 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4490 + dirpart=`AS_DIRNAME("$mf")`
4491 + else
4492 + continue
4493 + fi
4494 + # Extract the definition of DEPDIR, am__include, and am__quote
4495 + # from the Makefile without running `make'.
4496 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4497 + test -z "$DEPDIR" && continue
4498 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
4499 + test -z "am__include" && continue
4500 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4501 + # When using ansi2knr, U may be empty or an underscore; expand it
4502 + U=`sed -n 's/^U = //p' < "$mf"`
4503 + # Find all dependency output files, they are included files with
4504 + # $(DEPDIR) in their names. We invoke sed twice because it is the
4505 + # simplest approach to changing $(DEPDIR) to its actual value in the
4506 + # expansion.
4507 + for file in `sed -n "
4508 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4509 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4510 + # Make sure the directory exists.
4511 + test -f "$dirpart/$file" && continue
4512 + fdir=`AS_DIRNAME(["$file"])`
4513 + AS_MKDIR_P([$dirpart/$fdir])
4514 + # echo "creating $dirpart/$file"
4515 + echo '# dummy' > "$dirpart/$file"
4516 + done
4517 +done
4518 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
4519 +
4520 +
4521 +# AM_OUTPUT_DEPENDENCY_COMMANDS
4522 +# -----------------------------
4523 +# This macro should only be invoked once -- use via AC_REQUIRE.
4524 +#
4525 +# This code is only required when automatic dependency tracking
4526 +# is enabled. FIXME. This creates each `.P' file that we will
4527 +# need in order to bootstrap the dependency handling code.
4528 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
4529 +[AC_CONFIG_COMMANDS([depfiles],
4530 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
4531 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
4532 +])
4533 +
4534 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
4535 +# Free Software Foundation, Inc.
4536 +#
4537 +# This file is free software; the Free Software Foundation
4538 +# gives unlimited permission to copy and/or distribute it,
4539 +# with or without modifications, as long as this notice is preserved.
4540 +
4541 +# serial 8
4542 +
4543 +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
4544 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
4545 +
4546 +# Do all the work for Automake. -*- Autoconf -*-
4547 +
4548 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
4549 +# Free Software Foundation, Inc.
4550 +#
4551 +# This file is free software; the Free Software Foundation
4552 +# gives unlimited permission to copy and/or distribute it,
4553 +# with or without modifications, as long as this notice is preserved.
4554 +
4555 +# serial 12
4556 +
4557 +# This macro actually does too much. Some checks are only needed if
4558 +# your package does certain things. But this isn't really a big deal.
4559 +
4560 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
4561 +# AM_INIT_AUTOMAKE([OPTIONS])
4562 +# -----------------------------------------------
4563 +# The call with PACKAGE and VERSION arguments is the old style
4564 +# call (pre autoconf-2.50), which is being phased out. PACKAGE
4565 +# and VERSION should now be passed to AC_INIT and removed from
4566 +# the call to AM_INIT_AUTOMAKE.
4567 +# We support both call styles for the transition. After
4568 +# the next Automake release, Autoconf can make the AC_INIT
4569 +# arguments mandatory, and then we can depend on a new Autoconf
4570 +# release and drop the old call support.
4571 +AC_DEFUN([AM_INIT_AUTOMAKE],
4572 +[AC_PREREQ([2.58])dnl
4573 +dnl Autoconf wants to disallow AM_ names. We explicitly allow
4574 +dnl the ones we care about.
4575 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
4576 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
4577 +AC_REQUIRE([AC_PROG_INSTALL])dnl
4578 +# test to see if srcdir already configured
4579 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
4580 + test -f $srcdir/config.status; then
4581 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
4582 +fi
4583 +
4584 +# test whether we have cygpath
4585 +if test -z "$CYGPATH_W"; then
4586 + if (cygpath --version) >/dev/null 2>/dev/null; then
4587 + CYGPATH_W='cygpath -w'
4588 + else
4589 + CYGPATH_W=echo
4590 + fi
4591 +fi
4592 +AC_SUBST([CYGPATH_W])
4593 +
4594 +# Define the identity of the package.
4595 +dnl Distinguish between old-style and new-style calls.
4596 +m4_ifval([$2],
4597 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
4598 + AC_SUBST([PACKAGE], [$1])dnl
4599 + AC_SUBST([VERSION], [$2])],
4600 +[_AM_SET_OPTIONS([$1])dnl
4601 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
4602 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
4603 +
4604 +_AM_IF_OPTION([no-define],,
4605 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
4606 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
4607 +
4608 +# Some tools Automake needs.
4609 +AC_REQUIRE([AM_SANITY_CHECK])dnl
4610 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
4611 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
4612 +AM_MISSING_PROG(AUTOCONF, autoconf)
4613 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
4614 +AM_MISSING_PROG(AUTOHEADER, autoheader)
4615 +AM_MISSING_PROG(MAKEINFO, makeinfo)
4616 +AM_PROG_INSTALL_SH
4617 +AM_PROG_INSTALL_STRIP
4618 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
4619 +# We need awk for the "check" target. The system "awk" is bad on
4620 +# some platforms.
4621 +AC_REQUIRE([AC_PROG_AWK])dnl
4622 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
4623 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
4624 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
4625 + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
4626 + [_AM_PROG_TAR([v7])])])
4627 +_AM_IF_OPTION([no-dependencies],,
4628 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
4629 + [_AM_DEPENDENCIES(CC)],
4630 + [define([AC_PROG_CC],
4631 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
4632 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
4633 + [_AM_DEPENDENCIES(CXX)],
4634 + [define([AC_PROG_CXX],
4635 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
4636 +])
4637 +])
4638 +
4639 +
4640 +# When config.status generates a header, we must update the stamp-h file.
4641 +# This file resides in the same directory as the config header
4642 +# that is generated. The stamp files are numbered to have different names.
4643 +
4644 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
4645 +# loop where config.status creates the headers, so we can generate
4646 +# our stamp files there.
4647 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
4648 +[# Compute $1's index in $config_headers.
4649 +_am_stamp_count=1
4650 +for _am_header in $config_headers :; do
4651 + case $_am_header in
4652 + $1 | $1:* )
4653 + break ;;
4654 + * )
4655 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4656 + esac
4657 +done
4658 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
4659 +
4660 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4661 +#
4662 +# This file is free software; the Free Software Foundation
4663 +# gives unlimited permission to copy and/or distribute it,
4664 +# with or without modifications, as long as this notice is preserved.
4665 +
4666 +# AM_PROG_INSTALL_SH
4667 +# ------------------
4668 +# Define $install_sh.
4669 +AC_DEFUN([AM_PROG_INSTALL_SH],
4670 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4671 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
4672 +AC_SUBST(install_sh)])
4673 +
4674 +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
4675 +#
4676 +# This file is free software; the Free Software Foundation
4677 +# gives unlimited permission to copy and/or distribute it,
4678 +# with or without modifications, as long as this notice is preserved.
4679 +
4680 +# serial 2
4681 +
4682 +# Check whether the underlying file-system supports filenames
4683 +# with a leading dot. For instance MS-DOS doesn't.
4684 +AC_DEFUN([AM_SET_LEADING_DOT],
4685 +[rm -rf .tst 2>/dev/null
4686 +mkdir .tst 2>/dev/null
4687 +if test -d .tst; then
4688 + am__leading_dot=.
4689 +else
4690 + am__leading_dot=_
4691 +fi
4692 +rmdir .tst 2>/dev/null
4693 +AC_SUBST([am__leading_dot])])
4694 +
4695 +# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005
4696 +# Free Software Foundation, Inc.
4697 +#
4698 +# This file is free software; the Free Software Foundation
4699 +# gives unlimited permission to copy and/or distribute it,
4700 +# with or without modifications, as long as this notice is preserved.
4701 +
4702 +# serial 5
4703 +
4704 +# AM_PROG_LEX
4705 +# -----------
4706 +# Autoconf leaves LEX=: if lex or flex can't be found. Change that to a
4707 +# "missing" invocation, for better error output.
4708 +AC_DEFUN([AM_PROG_LEX],
4709 +[AC_PREREQ(2.50)dnl
4710 +AC_REQUIRE([AM_MISSING_HAS_RUN])dnl
4711 +AC_REQUIRE([AC_PROG_LEX])dnl
4712 +if test "$LEX" = :; then
4713 + LEX=${am_missing_run}flex
4714 +fi])
4715 +
4716 +# Check to see how 'make' treats includes. -*- Autoconf -*-
4717 +
4718 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
4719 +#
4720 +# This file is free software; the Free Software Foundation
4721 +# gives unlimited permission to copy and/or distribute it,
4722 +# with or without modifications, as long as this notice is preserved.
4723 +
4724 +# serial 3
4725 +
4726 +# AM_MAKE_INCLUDE()
4727 +# -----------------
4728 +# Check to see how make treats includes.
4729 +AC_DEFUN([AM_MAKE_INCLUDE],
4730 +[am_make=${MAKE-make}
4731 +cat > confinc << 'END'
4732 +am__doit:
4733 + @echo done
4734 +.PHONY: am__doit
4735 +END
4736 +# If we don't find an include directive, just comment out the code.
4737 +AC_MSG_CHECKING([for style of include used by $am_make])
4738 +am__include="#"
4739 +am__quote=
4740 +_am_result=none
4741 +# First try GNU make style include.
4742 +echo "include confinc" > confmf
4743 +# We grep out `Entering directory' and `Leaving directory'
4744 +# messages which can occur if `w' ends up in MAKEFLAGS.
4745 +# In particular we don't look at `^make:' because GNU make might
4746 +# be invoked under some other name (usually "gmake"), in which
4747 +# case it prints its new name instead of `make'.
4748 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
4749 + am__include=include
4750 + am__quote=
4751 + _am_result=GNU
4752 +fi
4753 +# Now try BSD make style include.
4754 +if test "$am__include" = "#"; then
4755 + echo '.include "confinc"' > confmf
4756 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4757 + am__include=.include
4758 + am__quote="\""
4759 + _am_result=BSD
4760 + fi
4761 +fi
4762 +AC_SUBST([am__include])
4763 +AC_SUBST([am__quote])
4764 +AC_MSG_RESULT([$_am_result])
4765 +rm -f confinc confmf
4766 +])
4767 +
4768 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
4769 +
4770 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
4771 +# Free Software Foundation, Inc.
4772 +#
4773 +# This file is free software; the Free Software Foundation
4774 +# gives unlimited permission to copy and/or distribute it,
4775 +# with or without modifications, as long as this notice is preserved.
4776 +
4777 +# serial 4
4778 +
4779 +# AM_MISSING_PROG(NAME, PROGRAM)
4780 +# ------------------------------
4781 +AC_DEFUN([AM_MISSING_PROG],
4782 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
4783 +$1=${$1-"${am_missing_run}$2"}
4784 +AC_SUBST($1)])
4785 +
4786 +
4787 +# AM_MISSING_HAS_RUN
4788 +# ------------------
4789 +# Define MISSING if not defined so far and test if it supports --run.
4790 +# If it does, set am_missing_run to use it, otherwise, to nothing.
4791 +AC_DEFUN([AM_MISSING_HAS_RUN],
4792 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4793 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
4794 +# Use eval to expand $SHELL
4795 +if eval "$MISSING --run true"; then
4796 + am_missing_run="$MISSING --run "
4797 +else
4798 + am_missing_run=
4799 + AC_MSG_WARN([`missing' script is too old or missing])
4800 +fi
4801 +])
4802 +
4803 +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
4804 +#
4805 +# This file is free software; the Free Software Foundation
4806 +# gives unlimited permission to copy and/or distribute it,
4807 +# with or without modifications, as long as this notice is preserved.
4808 +
4809 +# AM_PROG_MKDIR_P
4810 +# ---------------
4811 +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
4812 +#
4813 +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
4814 +# created by `make install' are always world readable, even if the
4815 +# installer happens to have an overly restrictive umask (e.g. 077).
4816 +# This was a mistake. There are at least two reasons why we must not
4817 +# use `-m 0755':
4818 +# - it causes special bits like SGID to be ignored,
4819 +# - it may be too restrictive (some setups expect 775 directories).
4820 +#
4821 +# Do not use -m 0755 and let people choose whatever they expect by
4822 +# setting umask.
4823 +#
4824 +# We cannot accept any implementation of `mkdir' that recognizes `-p'.
4825 +# Some implementations (such as Solaris 8's) are not thread-safe: if a
4826 +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
4827 +# concurrently, both version can detect that a/ is missing, but only
4828 +# one can create it and the other will error out. Consequently we
4829 +# restrict ourselves to GNU make (using the --version option ensures
4830 +# this.)
4831 +AC_DEFUN([AM_PROG_MKDIR_P],
4832 +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
4833 + # We used to keeping the `.' as first argument, in order to
4834 + # allow $(mkdir_p) to be used without argument. As in
4835 + # $(mkdir_p) $(somedir)
4836 + # where $(somedir) is conditionally defined. However this is wrong
4837 + # for two reasons:
4838 + # 1. if the package is installed by a user who cannot write `.'
4839 + # make install will fail,
4840 + # 2. the above comment should most certainly read
4841 + # $(mkdir_p) $(DESTDIR)$(somedir)
4842 + # so it does not work when $(somedir) is undefined and
4843 + # $(DESTDIR) is not.
4844 + # To support the latter case, we have to write
4845 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
4846 + # so the `.' trick is pointless.
4847 + mkdir_p='mkdir -p --'
4848 +else
4849 + # On NextStep and OpenStep, the `mkdir' command does not
4850 + # recognize any option. It will interpret all options as
4851 + # directories to create, and then abort because `.' already
4852 + # exists.
4853 + for d in ./-p ./--version;
4854 + do
4855 + test -d $d && rmdir $d
4856 + done
4857 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
4858 + if test -f "$ac_aux_dir/mkinstalldirs"; then
4859 + mkdir_p='$(mkinstalldirs)'
4860 + else
4861 + mkdir_p='$(install_sh) -d'
4862 + fi
4863 +fi
4864 +AC_SUBST([mkdir_p])])
4865 +
4866 +# Helper functions for option handling. -*- Autoconf -*-
4867 +
4868 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
4869 +#
4870 +# This file is free software; the Free Software Foundation
4871 +# gives unlimited permission to copy and/or distribute it,
4872 +# with or without modifications, as long as this notice is preserved.
4873 +
4874 +# serial 3
4875 +
4876 +# _AM_MANGLE_OPTION(NAME)
4877 +# -----------------------
4878 +AC_DEFUN([_AM_MANGLE_OPTION],
4879 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
4880 +
4881 +# _AM_SET_OPTION(NAME)
4882 +# ------------------------------
4883 +# Set option NAME. Presently that only means defining a flag for this option.
4884 +AC_DEFUN([_AM_SET_OPTION],
4885 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
4886 +
4887 +# _AM_SET_OPTIONS(OPTIONS)
4888 +# ----------------------------------
4889 +# OPTIONS is a space-separated list of Automake options.
4890 +AC_DEFUN([_AM_SET_OPTIONS],
4891 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
4892 +
4893 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
4894 +# -------------------------------------------
4895 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
4896 +AC_DEFUN([_AM_IF_OPTION],
4897 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
4898 +
4899 +# Check to make sure that the build environment is sane. -*- Autoconf -*-
4900 +
4901 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
4902 +# Free Software Foundation, Inc.
4903 +#
4904 +# This file is free software; the Free Software Foundation
4905 +# gives unlimited permission to copy and/or distribute it,
4906 +# with or without modifications, as long as this notice is preserved.
4907 +
4908 +# serial 4
4909 +
4910 +# AM_SANITY_CHECK
4911 +# ---------------
4912 +AC_DEFUN([AM_SANITY_CHECK],
4913 +[AC_MSG_CHECKING([whether build environment is sane])
4914 +# Just in case
4915 +sleep 1
4916 +echo timestamp > conftest.file
4917 +# Do `set' in a subshell so we don't clobber the current shell's
4918 +# arguments. Must try -L first in case configure is actually a
4919 +# symlink; some systems play weird games with the mod time of symlinks
4920 +# (eg FreeBSD returns the mod time of the symlink's containing
4921 +# directory).
4922 +if (
4923 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
4924 + if test "$[*]" = "X"; then
4925 + # -L didn't work.
4926 + set X `ls -t $srcdir/configure conftest.file`
4927 + fi
4928 + rm -f conftest.file
4929 + if test "$[*]" != "X $srcdir/configure conftest.file" \
4930 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
4931 +
4932 + # If neither matched, then we have a broken ls. This can happen
4933 + # if, for instance, CONFIG_SHELL is bash and it inherits a
4934 + # broken ls alias from the environment. This has actually
4935 + # happened. Such a system could not be considered "sane".
4936 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
4937 +alias in your environment])
4938 + fi
4939 +
4940 + test "$[2]" = conftest.file
4941 + )
4942 +then
4943 + # Ok.
4944 + :
4945 +else
4946 + AC_MSG_ERROR([newly created file is older than distributed files!
4947 +Check your system clock])
4948 +fi
4949 +AC_MSG_RESULT(yes)])
4950 +
4951 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4952 +#
4953 +# This file is free software; the Free Software Foundation
4954 +# gives unlimited permission to copy and/or distribute it,
4955 +# with or without modifications, as long as this notice is preserved.
4956 +
4957 +# AM_PROG_INSTALL_STRIP
4958 +# ---------------------
4959 +# One issue with vendor `install' (even GNU) is that you can't
4960 +# specify the program used to strip binaries. This is especially
4961 +# annoying in cross-compiling environments, where the build's strip
4962 +# is unlikely to handle the host's binaries.
4963 +# Fortunately install-sh will honor a STRIPPROG variable, so we
4964 +# always use install-sh in `make install-strip', and initialize
4965 +# STRIPPROG with the value of the STRIP variable (set by the user).
4966 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
4967 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
4968 +# Installed binaries are usually stripped using `strip' when the user
4969 +# run `make install-strip'. However `strip' might not be the right
4970 +# tool to use in cross-compilation environments, therefore Automake
4971 +# will honor the `STRIP' environment variable to overrule this program.
4972 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
4973 +if test "$cross_compiling" != no; then
4974 + AC_CHECK_TOOL([STRIP], [strip], :)
4975 +fi
4976 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
4977 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
4978 +
4979 +# Check how to create a tarball. -*- Autoconf -*-
4980 +
4981 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
4982 +#
4983 +# This file is free software; the Free Software Foundation
4984 +# gives unlimited permission to copy and/or distribute it,
4985 +# with or without modifications, as long as this notice is preserved.
4986 +
4987 +# serial 2
4988 +
4989 +# _AM_PROG_TAR(FORMAT)
4990 +# --------------------
4991 +# Check how to create a tarball in format FORMAT.
4992 +# FORMAT should be one of `v7', `ustar', or `pax'.
4993 +#
4994 +# Substitute a variable $(am__tar) that is a command
4995 +# writing to stdout a FORMAT-tarball containing the directory
4996 +# $tardir.
4997 +# tardir=directory && $(am__tar) > result.tar
4998 +#
4999 +# Substitute a variable $(am__untar) that extract such
5000 +# a tarball read from stdin.
5001 +# $(am__untar) < result.tar
5002 +AC_DEFUN([_AM_PROG_TAR],
5003 +[# Always define AMTAR for backward compatibility.
5004 +AM_MISSING_PROG([AMTAR], [tar])
5005 +m4_if([$1], [v7],
5006 + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
5007 + [m4_case([$1], [ustar],, [pax],,
5008 + [m4_fatal([Unknown tar format])])
5009 +AC_MSG_CHECKING([how to create a $1 tar archive])
5010 +# Loop over all known methods to create a tar archive until one works.
5011 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
5012 +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
5013 +# Do not fold the above two line into one, because Tru64 sh and
5014 +# Solaris sh will not grok spaces in the rhs of `-'.
5015 +for _am_tool in $_am_tools
5016 +do
5017 + case $_am_tool in
5018 + gnutar)
5019 + for _am_tar in tar gnutar gtar;
5020 + do
5021 + AM_RUN_LOG([$_am_tar --version]) && break
5022 + done
5023 + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
5024 + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
5025 + am__untar="$_am_tar -xf -"
5026 + ;;
5027 + plaintar)
5028 + # Must skip GNU tar: if it does not support --format= it doesn't create
5029 + # ustar tarball either.
5030 + (tar --version) >/dev/null 2>&1 && continue
5031 + am__tar='tar chf - "$$tardir"'
5032 + am__tar_='tar chf - "$tardir"'
5033 + am__untar='tar xf -'
5034 + ;;
5035 + pax)
5036 + am__tar='pax -L -x $1 -w "$$tardir"'
5037 + am__tar_='pax -L -x $1 -w "$tardir"'
5038 + am__untar='pax -r'
5039 + ;;
5040 + cpio)
5041 + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
5042 + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
5043 + am__untar='cpio -i -H $1 -d'
5044 + ;;
5045 + none)
5046 + am__tar=false
5047 + am__tar_=false
5048 + am__untar=false
5049 + ;;
5050 + esac
5051 +
5052 + # If the value was cached, stop now. We just wanted to have am__tar
5053 + # and am__untar set.
5054 + test -n "${am_cv_prog_tar_$1}" && break
5055 +
5056 + # tar/untar a dummy directory, and stop if the command works
5057 + rm -rf conftest.dir
5058 + mkdir conftest.dir
5059 + echo GrepMe > conftest.dir/file
5060 + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
5061 + rm -rf conftest.dir
5062 + if test -s conftest.tar; then
5063 + AM_RUN_LOG([$am__untar <conftest.tar])
5064 + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
5065 + fi
5066 +done
5067 +rm -rf conftest.dir
5068 +
5069 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
5070 +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
5071 +AC_SUBST([am__tar])
5072 +AC_SUBST([am__untar])
5073 +]) # _AM_PROG_TAR
5074 +
5075 Index: linux-atm-2.4.1/configure
5076 ===================================================================
5077 --- linux-atm-2.4.1.orig/configure 2007-10-20 19:19:18.630690180 +0200
5078 +++ linux-atm-2.4.1/configure 2007-10-20 19:19:19.554742840 +0200
5079 @@ -1,25 +1,54 @@
5080 #! /bin/sh
5081 # Guess values for system-dependent variables and create Makefiles.
5082 -# Generated by GNU Autoconf 2.59.
5083 +# Generated by GNU Autoconf 2.61.
5084 #
5085 -# Copyright (C) 2003 Free Software Foundation, Inc.
5086 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5087 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5088 # This configure script is free software; the Free Software Foundation
5089 # gives unlimited permission to copy, distribute and modify it.
5090 ## --------------------- ##
5091 ## M4sh Initialization. ##
5092 ## --------------------- ##
5093
5094 -# Be Bourne compatible
5095 +# Be more Bourne compatible
5096 +DUALCASE=1; export DUALCASE # for MKS sh
5097 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5098 emulate sh
5099 NULLCMD=:
5100 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5101 # is contrary to our usage. Disable this feature.
5102 alias -g '${1+"$@"}'='"$@"'
5103 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5104 - set -o posix
5105 + setopt NO_GLOB_SUBST
5106 +else
5107 + case `(set -o) 2>/dev/null` in
5108 + *posix*) set -o posix ;;
5109 +esac
5110 +
5111 +fi
5112 +
5113 +
5114 +
5115 +
5116 +# PATH needs CR
5117 +# Avoid depending upon Character Ranges.
5118 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5119 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5120 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5121 +as_cr_digits='0123456789'
5122 +as_cr_alnum=$as_cr_Letters$as_cr_digits
5123 +
5124 +# The user is always right.
5125 +if test "${PATH_SEPARATOR+set}" != set; then
5126 + echo "#! /bin/sh" >conf$$.sh
5127 + echo "exit 0" >>conf$$.sh
5128 + chmod +x conf$$.sh
5129 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5130 + PATH_SEPARATOR=';'
5131 + else
5132 + PATH_SEPARATOR=:
5133 + fi
5134 + rm -f conf$$.sh
5135 fi
5136 -DUALCASE=1; export DUALCASE # for MKS sh
5137
5138 # Support unset when possible.
5139 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5140 @@ -29,8 +58,43 @@
5141 fi
5142
5143
5144 +# IFS
5145 +# We need space, tab and new line, in precisely that order. Quoting is
5146 +# there to prevent editors from complaining about space-tab.
5147 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5148 +# splitting by setting IFS to empty value.)
5149 +as_nl='
5150 +'
5151 +IFS=" "" $as_nl"
5152 +
5153 +# Find who we are. Look in the path if we contain no directory separator.
5154 +case $0 in
5155 + *[\\/]* ) as_myself=$0 ;;
5156 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 +for as_dir in $PATH
5158 +do
5159 + IFS=$as_save_IFS
5160 + test -z "$as_dir" && as_dir=.
5161 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5162 +done
5163 +IFS=$as_save_IFS
5164 +
5165 + ;;
5166 +esac
5167 +# We did not find ourselves, most probably we were run as `sh COMMAND'
5168 +# in which case we are not to be found in the path.
5169 +if test "x$as_myself" = x; then
5170 + as_myself=$0
5171 +fi
5172 +if test ! -f "$as_myself"; then
5173 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5174 + { (exit 1); exit 1; }
5175 +fi
5176 +
5177 # Work around bugs in pre-3.0 UWIN ksh.
5178 -$as_unset ENV MAIL MAILPATH
5179 +for as_var in ENV MAIL MAILPATH
5180 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5181 +done
5182 PS1='$ '
5183 PS2='> '
5184 PS4='+ '
5185 @@ -44,18 +108,19 @@
5186 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5187 eval $as_var=C; export $as_var
5188 else
5189 - $as_unset $as_var
5190 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5191 fi
5192 done
5193
5194 # Required to use basename.
5195 -if expr a : '\(a\)' >/dev/null 2>&1; then
5196 +if expr a : '\(a\)' >/dev/null 2>&1 &&
5197 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
5198 as_expr=expr
5199 else
5200 as_expr=false
5201 fi
5202
5203 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5204 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5205 as_basename=basename
5206 else
5207 as_basename=false
5208 @@ -63,157 +128,388 @@
5209
5210
5211 # Name of the executable.
5212 -as_me=`$as_basename "$0" ||
5213 +as_me=`$as_basename -- "$0" ||
5214 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5215 X"$0" : 'X\(//\)$' \| \
5216 - X"$0" : 'X\(/\)$' \| \
5217 - . : '\(.\)' 2>/dev/null ||
5218 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5219 echo X/"$0" |
5220 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5221 - /^X\/\(\/\/\)$/{ s//\1/; q; }
5222 - /^X\/\(\/\).*/{ s//\1/; q; }
5223 - s/.*/./; q'`
5224 + sed '/^.*\/\([^/][^/]*\)\/*$/{
5225 + s//\1/
5226 + q
5227 + }
5228 + /^X\/\(\/\/\)$/{
5229 + s//\1/
5230 + q
5231 + }
5232 + /^X\/\(\/\).*/{
5233 + s//\1/
5234 + q
5235 + }
5236 + s/.*/./; q'`
5237
5238 +# CDPATH.
5239 +$as_unset CDPATH
5240
5241 -# PATH needs CR, and LINENO needs CR and PATH.
5242 -# Avoid depending upon Character Ranges.
5243 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5244 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5245 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5246 -as_cr_digits='0123456789'
5247 -as_cr_alnum=$as_cr_Letters$as_cr_digits
5248
5249 -# The user is always right.
5250 -if test "${PATH_SEPARATOR+set}" != set; then
5251 - echo "#! /bin/sh" >conf$$.sh
5252 - echo "exit 0" >>conf$$.sh
5253 - chmod +x conf$$.sh
5254 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5255 - PATH_SEPARATOR=';'
5256 - else
5257 - PATH_SEPARATOR=:
5258 - fi
5259 - rm -f conf$$.sh
5260 +if test "x$CONFIG_SHELL" = x; then
5261 + if (eval ":") 2>/dev/null; then
5262 + as_have_required=yes
5263 +else
5264 + as_have_required=no
5265 +fi
5266 +
5267 + if test $as_have_required = yes && (eval ":
5268 +(as_func_return () {
5269 + (exit \$1)
5270 +}
5271 +as_func_success () {
5272 + as_func_return 0
5273 +}
5274 +as_func_failure () {
5275 + as_func_return 1
5276 +}
5277 +as_func_ret_success () {
5278 + return 0
5279 +}
5280 +as_func_ret_failure () {
5281 + return 1
5282 +}
5283 +
5284 +exitcode=0
5285 +if as_func_success; then
5286 + :
5287 +else
5288 + exitcode=1
5289 + echo as_func_success failed.
5290 fi
5291
5292 +if as_func_failure; then
5293 + exitcode=1
5294 + echo as_func_failure succeeded.
5295 +fi
5296
5297 - as_lineno_1=$LINENO
5298 - as_lineno_2=$LINENO
5299 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5300 - test "x$as_lineno_1" != "x$as_lineno_2" &&
5301 - test "x$as_lineno_3" = "x$as_lineno_2" || {
5302 - # Find who we are. Look in the path if we contain no path at all
5303 - # relative or not.
5304 - case $0 in
5305 - *[\\/]* ) as_myself=$0 ;;
5306 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 -for as_dir in $PATH
5308 -do
5309 - IFS=$as_save_IFS
5310 - test -z "$as_dir" && as_dir=.
5311 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5312 -done
5313 +if as_func_ret_success; then
5314 + :
5315 +else
5316 + exitcode=1
5317 + echo as_func_ret_success failed.
5318 +fi
5319
5320 - ;;
5321 - esac
5322 - # We did not find ourselves, most probably we were run as `sh COMMAND'
5323 - # in which case we are not to be found in the path.
5324 - if test "x$as_myself" = x; then
5325 - as_myself=$0
5326 - fi
5327 - if test ! -f "$as_myself"; then
5328 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
5329 - { (exit 1); exit 1; }; }
5330 - fi
5331 - case $CONFIG_SHELL in
5332 - '')
5333 +if as_func_ret_failure; then
5334 + exitcode=1
5335 + echo as_func_ret_failure succeeded.
5336 +fi
5337 +
5338 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
5339 + :
5340 +else
5341 + exitcode=1
5342 + echo positional parameters were not saved.
5343 +fi
5344 +
5345 +test \$exitcode = 0) || { (exit 1); exit 1; }
5346 +
5347 +(
5348 + as_lineno_1=\$LINENO
5349 + as_lineno_2=\$LINENO
5350 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
5351 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
5352 +") 2> /dev/null; then
5353 + :
5354 +else
5355 + as_candidate_shells=
5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5358 do
5359 IFS=$as_save_IFS
5360 test -z "$as_dir" && as_dir=.
5361 - for as_base in sh bash ksh sh5; do
5362 - case $as_dir in
5363 + case $as_dir in
5364 /*)
5365 - if ("$as_dir/$as_base" -c '
5366 + for as_base in sh bash ksh sh5; do
5367 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
5368 + done;;
5369 + esac
5370 +done
5371 +IFS=$as_save_IFS
5372 +
5373 +
5374 + for as_shell in $as_candidate_shells $SHELL; do
5375 + # Try only shells that exist, to save several forks.
5376 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
5377 + { ("$as_shell") 2> /dev/null <<\_ASEOF
5378 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5379 + emulate sh
5380 + NULLCMD=:
5381 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5382 + # is contrary to our usage. Disable this feature.
5383 + alias -g '${1+"$@"}'='"$@"'
5384 + setopt NO_GLOB_SUBST
5385 +else
5386 + case `(set -o) 2>/dev/null` in
5387 + *posix*) set -o posix ;;
5388 +esac
5389 +
5390 +fi
5391 +
5392 +
5393 +:
5394 +_ASEOF
5395 +}; then
5396 + CONFIG_SHELL=$as_shell
5397 + as_have_required=yes
5398 + if { "$as_shell" 2> /dev/null <<\_ASEOF
5399 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5400 + emulate sh
5401 + NULLCMD=:
5402 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5403 + # is contrary to our usage. Disable this feature.
5404 + alias -g '${1+"$@"}'='"$@"'
5405 + setopt NO_GLOB_SUBST
5406 +else
5407 + case `(set -o) 2>/dev/null` in
5408 + *posix*) set -o posix ;;
5409 +esac
5410 +
5411 +fi
5412 +
5413 +
5414 +:
5415 +(as_func_return () {
5416 + (exit $1)
5417 +}
5418 +as_func_success () {
5419 + as_func_return 0
5420 +}
5421 +as_func_failure () {
5422 + as_func_return 1
5423 +}
5424 +as_func_ret_success () {
5425 + return 0
5426 +}
5427 +as_func_ret_failure () {
5428 + return 1
5429 +}
5430 +
5431 +exitcode=0
5432 +if as_func_success; then
5433 + :
5434 +else
5435 + exitcode=1
5436 + echo as_func_success failed.
5437 +fi
5438 +
5439 +if as_func_failure; then
5440 + exitcode=1
5441 + echo as_func_failure succeeded.
5442 +fi
5443 +
5444 +if as_func_ret_success; then
5445 + :
5446 +else
5447 + exitcode=1
5448 + echo as_func_ret_success failed.
5449 +fi
5450 +
5451 +if as_func_ret_failure; then
5452 + exitcode=1
5453 + echo as_func_ret_failure succeeded.
5454 +fi
5455 +
5456 +if ( set x; as_func_ret_success y && test x = "$1" ); then
5457 + :
5458 +else
5459 + exitcode=1
5460 + echo positional parameters were not saved.
5461 +fi
5462 +
5463 +test $exitcode = 0) || { (exit 1); exit 1; }
5464 +
5465 +(
5466 as_lineno_1=$LINENO
5467 as_lineno_2=$LINENO
5468 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5469 test "x$as_lineno_1" != "x$as_lineno_2" &&
5470 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5471 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5472 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5473 - CONFIG_SHELL=$as_dir/$as_base
5474 - export CONFIG_SHELL
5475 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5476 - fi;;
5477 - esac
5478 - done
5479 -done
5480 -;;
5481 - esac
5482 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
5483 +
5484 +_ASEOF
5485 +}; then
5486 + break
5487 +fi
5488 +
5489 +fi
5490 +
5491 + done
5492 +
5493 + if test "x$CONFIG_SHELL" != x; then
5494 + for as_var in BASH_ENV ENV
5495 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5496 + done
5497 + export CONFIG_SHELL
5498 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
5499 +fi
5500 +
5501 +
5502 + if test $as_have_required = no; then
5503 + echo This script requires a shell more modern than all the
5504 + echo shells that I found on your system. Please install a
5505 + echo modern shell, or manually run the script under such a
5506 + echo shell if you do have one.
5507 + { (exit 1); exit 1; }
5508 +fi
5509 +
5510 +
5511 +fi
5512 +
5513 +fi
5514 +
5515 +
5516 +
5517 +(eval "as_func_return () {
5518 + (exit \$1)
5519 +}
5520 +as_func_success () {
5521 + as_func_return 0
5522 +}
5523 +as_func_failure () {
5524 + as_func_return 1
5525 +}
5526 +as_func_ret_success () {
5527 + return 0
5528 +}
5529 +as_func_ret_failure () {
5530 + return 1
5531 +}
5532 +
5533 +exitcode=0
5534 +if as_func_success; then
5535 + :
5536 +else
5537 + exitcode=1
5538 + echo as_func_success failed.
5539 +fi
5540 +
5541 +if as_func_failure; then
5542 + exitcode=1
5543 + echo as_func_failure succeeded.
5544 +fi
5545 +
5546 +if as_func_ret_success; then
5547 + :
5548 +else
5549 + exitcode=1
5550 + echo as_func_ret_success failed.
5551 +fi
5552 +
5553 +if as_func_ret_failure; then
5554 + exitcode=1
5555 + echo as_func_ret_failure succeeded.
5556 +fi
5557 +
5558 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
5559 + :
5560 +else
5561 + exitcode=1
5562 + echo positional parameters were not saved.
5563 +fi
5564 +
5565 +test \$exitcode = 0") || {
5566 + echo No shell found that supports shell functions.
5567 + echo Please tell autoconf@gnu.org about your system,
5568 + echo including any error possibly output before this
5569 + echo message
5570 +}
5571 +
5572 +
5573 +
5574 + as_lineno_1=$LINENO
5575 + as_lineno_2=$LINENO
5576 + test "x$as_lineno_1" != "x$as_lineno_2" &&
5577 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5578
5579 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5580 # uniformly replaced by the line number. The first 'sed' inserts a
5581 - # line-number line before each line; the second 'sed' does the real
5582 - # work. The second script uses 'N' to pair each line-number line
5583 - # with the numbered line, and appends trailing '-' during
5584 - # substitution so that $LINENO is not a special case at line end.
5585 + # line-number line after each line using $LINENO; the second 'sed'
5586 + # does the real work. The second script uses 'N' to pair each
5587 + # line-number line with the line containing $LINENO, and appends
5588 + # trailing '-' during substitution so that $LINENO is not a special
5589 + # case at line end.
5590 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5591 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5592 - sed '=' <$as_myself |
5593 + # scripts with optimization help from Paolo Bonzini. Blame Lee
5594 + # E. McMahon (1931-1989) for sed's syntax. :-)
5595 + sed -n '
5596 + p
5597 + /[$]LINENO/=
5598 + ' <$as_myself |
5599 sed '
5600 + s/[$]LINENO.*/&-/
5601 + t lineno
5602 + b
5603 + :lineno
5604 N
5605 - s,$,-,
5606 - : loop
5607 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5608 + :loop
5609 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5610 t loop
5611 - s,-$,,
5612 - s,^['$as_cr_digits']*\n,,
5613 + s/-\n.*//
5614 ' >$as_me.lineno &&
5615 - chmod +x $as_me.lineno ||
5616 + chmod +x "$as_me.lineno" ||
5617 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5618 { (exit 1); exit 1; }; }
5619
5620 # Don't try to exec as it changes $[0], causing all sort of problems
5621 # (the dirname of $[0] is not the place where we might find the
5622 - # original and so on. Autoconf is especially sensible to this).
5623 - . ./$as_me.lineno
5624 + # original and so on. Autoconf is especially sensitive to this).
5625 + . "./$as_me.lineno"
5626 # Exit status is that of the last command.
5627 exit
5628 }
5629
5630
5631 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5632 - *c*,-n*) ECHO_N= ECHO_C='
5633 -' ECHO_T=' ' ;;
5634 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5635 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5636 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5637 + as_dirname=dirname
5638 +else
5639 + as_dirname=false
5640 +fi
5641 +
5642 +ECHO_C= ECHO_N= ECHO_T=
5643 +case `echo -n x` in
5644 +-n*)
5645 + case `echo 'x\c'` in
5646 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5647 + *) ECHO_C='\c';;
5648 + esac;;
5649 +*)
5650 + ECHO_N='-n';;
5651 esac
5652
5653 -if expr a : '\(a\)' >/dev/null 2>&1; then
5654 +if expr a : '\(a\)' >/dev/null 2>&1 &&
5655 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
5656 as_expr=expr
5657 else
5658 as_expr=false
5659 fi
5660
5661 rm -f conf$$ conf$$.exe conf$$.file
5662 +if test -d conf$$.dir; then
5663 + rm -f conf$$.dir/conf$$.file
5664 +else
5665 + rm -f conf$$.dir
5666 + mkdir conf$$.dir
5667 +fi
5668 echo >conf$$.file
5669 if ln -s conf$$.file conf$$ 2>/dev/null; then
5670 - # We could just check for DJGPP; but this test a) works b) is more generic
5671 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5672 - if test -f conf$$.exe; then
5673 - # Don't use ln at all; we don't have any links
5674 + as_ln_s='ln -s'
5675 + # ... but there are two gotchas:
5676 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5677 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5678 + # In both cases, we have to default to `cp -p'.
5679 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5680 as_ln_s='cp -p'
5681 - else
5682 - as_ln_s='ln -s'
5683 - fi
5684 elif ln conf$$.file conf$$ 2>/dev/null; then
5685 as_ln_s=ln
5686 else
5687 as_ln_s='cp -p'
5688 fi
5689 -rm -f conf$$ conf$$.exe conf$$.file
5690 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5691 +rmdir conf$$.dir 2>/dev/null
5692
5693 if mkdir -p . 2>/dev/null; then
5694 as_mkdir_p=:
5695 @@ -222,7 +518,28 @@
5696 as_mkdir_p=false
5697 fi
5698
5699 -as_executable_p="test -f"
5700 +if test -x / >/dev/null 2>&1; then
5701 + as_test_x='test -x'
5702 +else
5703 + if ls -dL / >/dev/null 2>&1; then
5704 + as_ls_L_option=L
5705 + else
5706 + as_ls_L_option=
5707 + fi
5708 + as_test_x='
5709 + eval sh -c '\''
5710 + if test -d "$1"; then
5711 + test -d "$1/.";
5712 + else
5713 + case $1 in
5714 + -*)set "./$1";;
5715 + esac;
5716 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5717 + ???[sx]*):;;*)false;;esac;fi
5718 + '\'' sh
5719 + '
5720 +fi
5721 +as_executable_p=$as_test_x
5722
5723 # Sed expression to map a string onto a valid CPP name.
5724 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5725 @@ -231,26 +548,6 @@
5726 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5727
5728
5729 -# IFS
5730 -# We need space, tab and new line, in precisely that order.
5731 -as_nl='
5732 -'
5733 -IFS=" $as_nl"
5734 -
5735 -# CDPATH.
5736 -$as_unset CDPATH
5737 -
5738 -
5739 -# Find the correct PATH separator. Usually this is `:', but
5740 -# DJGPP uses `;' like DOS.
5741 -if test "X${PATH_SEPARATOR+set}" != Xset; then
5742 - UNAME=${UNAME-`uname 2>/dev/null`}
5743 - case X$UNAME in
5744 - *-DOS) lt_cv_sys_path_separator=';' ;;
5745 - *) lt_cv_sys_path_separator=':' ;;
5746 - esac
5747 - PATH_SEPARATOR=$lt_cv_sys_path_separator
5748 -fi
5749
5750
5751 # Check that we are running under the correct shell.
5752 @@ -270,7 +567,7 @@
5753 elif test "X$1" = X--fallback-echo; then
5754 # Avoid inline document here, it may be left over
5755 :
5756 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
5757 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
5758 # Yippee, $echo works!
5759 :
5760 else
5761 @@ -282,22 +579,22 @@
5762 # used as fallback echo
5763 shift
5764 cat <<EOF
5765 -
5766 +$*
5767 EOF
5768 exit 0
5769 fi
5770
5771 # The HP-UX ksh and POSIX shell print the target directory to stdout
5772 # if CDPATH is set.
5773 -if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
5774 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5775
5776 if test -z "$ECHO"; then
5777 if test "X${echo_test_string+set}" != Xset; then
5778 # find a string as large as possible, as long as the shell can cope with it
5779 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
5780 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
5781 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
5782 - echo_test_string="`eval $cmd`" &&
5783 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
5784 + echo_test_string=`eval $cmd` &&
5785 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
5786 then
5787 break
5788 @@ -316,8 +613,9 @@
5789 #
5790 # So, first we look for a working echo in the user's PATH.
5791
5792 - IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5793 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5794 for dir in $PATH /usr/ucb; do
5795 + IFS="$lt_save_ifs"
5796 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
5797 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
5798 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
5799 @@ -326,7 +624,7 @@
5800 break
5801 fi
5802 done
5803 - IFS="$save_ifs"
5804 + IFS="$lt_save_ifs"
5805
5806 if test "X$echo" = Xecho; then
5807 # We didn't find a better echo, so look for alternatives.
5808 @@ -400,29 +698,31 @@
5809
5810
5811
5812 +
5813 +tagnames=${tagnames+${tagnames},}CXX
5814 +
5815 +tagnames=${tagnames+${tagnames},}F77
5816 +
5817 +exec 7<&0 </dev/null 6>&1
5818 +
5819 # Name of the host.
5820 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
5821 # so uname gets run too.
5822 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5823
5824 -exec 6>&1
5825 -
5826 #
5827 # Initializations.
5828 #
5829 ac_default_prefix=/usr/local
5830 +ac_clean_files=
5831 ac_config_libobj_dir=.
5832 +LIBOBJS=
5833 cross_compiling=no
5834 subdirs=
5835 MFLAGS=
5836 MAKEFLAGS=
5837 SHELL=${CONFIG_SHELL-/bin/sh}
5838
5839 -# Maximum number of lines to put in a shell here document.
5840 -# This variable seems obsolete. It should probably be removed, and
5841 -# only ac_max_sed_lines should be used.
5842 -: ${ac_max_here_lines=38}
5843 -
5844 # Identity of this package.
5845 PACKAGE_NAME=
5846 PACKAGE_TARNAME=
5847 @@ -434,42 +734,174 @@
5848 # Factoring default headers for most tests.
5849 ac_includes_default="\
5850 #include <stdio.h>
5851 -#if HAVE_SYS_TYPES_H
5852 +#ifdef HAVE_SYS_TYPES_H
5853 # include <sys/types.h>
5854 #endif
5855 -#if HAVE_SYS_STAT_H
5856 +#ifdef HAVE_SYS_STAT_H
5857 # include <sys/stat.h>
5858 #endif
5859 -#if STDC_HEADERS
5860 +#ifdef STDC_HEADERS
5861 # include <stdlib.h>
5862 # include <stddef.h>
5863 #else
5864 -# if HAVE_STDLIB_H
5865 +# ifdef HAVE_STDLIB_H
5866 # include <stdlib.h>
5867 # endif
5868 #endif
5869 -#if HAVE_STRING_H
5870 -# if !STDC_HEADERS && HAVE_MEMORY_H
5871 +#ifdef HAVE_STRING_H
5872 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
5873 # include <memory.h>
5874 # endif
5875 # include <string.h>
5876 #endif
5877 -#if HAVE_STRINGS_H
5878 +#ifdef HAVE_STRINGS_H
5879 # include <strings.h>
5880 #endif
5881 -#if HAVE_INTTYPES_H
5882 +#ifdef HAVE_INTTYPES_H
5883 # include <inttypes.h>
5884 -#else
5885 -# if HAVE_STDINT_H
5886 -# include <stdint.h>
5887 -# endif
5888 #endif
5889 -#if HAVE_UNISTD_H
5890 +#ifdef HAVE_STDINT_H
5891 +# include <stdint.h>
5892 +#endif
5893 +#ifdef HAVE_UNISTD_H
5894 # include <unistd.h>
5895 #endif"
5896
5897 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE LIBVER_CURRENT LIBVER_REVISION LIBVER_AGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LEX LEXLIB LEX_OUTPUT_ROOT YACC LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP EGREP LIBTOOL LIBTOOL_DEPS PERL LIBOBJS LTLIBOBJS'
5898 +ac_subst_vars='SHELL
5899 +PATH_SEPARATOR
5900 +PACKAGE_NAME
5901 +PACKAGE_TARNAME
5902 +PACKAGE_VERSION
5903 +PACKAGE_STRING
5904 +PACKAGE_BUGREPORT
5905 +exec_prefix
5906 +prefix
5907 +program_transform_name
5908 +bindir
5909 +sbindir
5910 +libexecdir
5911 +datarootdir
5912 +datadir
5913 +sysconfdir
5914 +sharedstatedir
5915 +localstatedir
5916 +includedir
5917 +oldincludedir
5918 +docdir
5919 +infodir
5920 +htmldir
5921 +dvidir
5922 +pdfdir
5923 +psdir
5924 +libdir
5925 +localedir
5926 +mandir
5927 +DEFS
5928 +ECHO_C
5929 +ECHO_N
5930 +ECHO_T
5931 +LIBS
5932 +build_alias
5933 +host_alias
5934 +target_alias
5935 +build
5936 +build_cpu
5937 +build_vendor
5938 +build_os
5939 +host
5940 +host_cpu
5941 +host_vendor
5942 +host_os
5943 +target
5944 +target_cpu
5945 +target_vendor
5946 +target_os
5947 +INSTALL_PROGRAM
5948 +INSTALL_SCRIPT
5949 +INSTALL_DATA
5950 +CYGPATH_W
5951 +PACKAGE
5952 +VERSION
5953 +ACLOCAL
5954 +AUTOCONF
5955 +AUTOMAKE
5956 +AUTOHEADER
5957 +MAKEINFO
5958 +install_sh
5959 +STRIP
5960 +INSTALL_STRIP_PROGRAM
5961 +mkdir_p
5962 +AWK
5963 +SET_MAKE
5964 +am__leading_dot
5965 +AMTAR
5966 +am__tar
5967 +am__untar
5968 +LIBVER_CURRENT
5969 +LIBVER_REVISION
5970 +LIBVER_AGE
5971 +CC
5972 +CFLAGS
5973 +LDFLAGS
5974 +CPPFLAGS
5975 +ac_ct_CC
5976 +EXEEXT
5977 +OBJEXT
5978 +DEPDIR
5979 +am__include
5980 +am__quote
5981 +AMDEP_TRUE
5982 +AMDEP_FALSE
5983 +AMDEPBACKSLASH
5984 +CCDEPMODE
5985 +am__fastdepCC_TRUE
5986 +am__fastdepCC_FALSE
5987 +LEX
5988 +LEX_OUTPUT_ROOT
5989 +LEXLIB
5990 +YACC
5991 +YFLAGS
5992 +GREP
5993 +EGREP
5994 +LN_S
5995 +ECHO
5996 +AR
5997 +RANLIB
5998 +CPP
5999 +CXX
6000 +CXXFLAGS
6001 +ac_ct_CXX
6002 +CXXDEPMODE
6003 +am__fastdepCXX_TRUE
6004 +am__fastdepCXX_FALSE
6005 +CXXCPP
6006 +F77
6007 +FFLAGS
6008 +ac_ct_F77
6009 +LIBTOOL
6010 +LIBTOOL_DEPS
6011 +PERL
6012 +LIBOBJS
6013 +LTLIBOBJS'
6014 ac_subst_files=''
6015 + ac_precious_vars='build_alias
6016 +host_alias
6017 +target_alias
6018 +CC
6019 +CFLAGS
6020 +LDFLAGS
6021 +LIBS
6022 +CPPFLAGS
6023 +YACC
6024 +YFLAGS
6025 +CPP
6026 +CXX
6027 +CXXFLAGS
6028 +CCC
6029 +CXXCPP
6030 +F77
6031 +FFLAGS'
6032 +
6033
6034 # Initialize some variables set by options.
6035 ac_init_help=
6036 @@ -496,34 +928,48 @@
6037 # and all the variables that are supposed to be based on exec_prefix
6038 # by default will actually change.
6039 # Use braces instead of parens because sh, perl, etc. also accept them.
6040 +# (The list follows the same order as the GNU Coding Standards.)
6041 bindir='${exec_prefix}/bin'
6042 sbindir='${exec_prefix}/sbin'
6043 libexecdir='${exec_prefix}/libexec'
6044 -datadir='${prefix}/share'
6045 +datarootdir='${prefix}/share'
6046 +datadir='${datarootdir}'
6047 sysconfdir='${prefix}/etc'
6048 sharedstatedir='${prefix}/com'
6049 localstatedir='${prefix}/var'
6050 -libdir='${exec_prefix}/lib'
6051 includedir='${prefix}/include'
6052 oldincludedir='/usr/include'
6053 -infodir='${prefix}/info'
6054 -mandir='${prefix}/man'
6055 +docdir='${datarootdir}/doc/${PACKAGE}'
6056 +infodir='${datarootdir}/info'
6057 +htmldir='${docdir}'
6058 +dvidir='${docdir}'
6059 +pdfdir='${docdir}'
6060 +psdir='${docdir}'
6061 +libdir='${exec_prefix}/lib'
6062 +localedir='${datarootdir}/locale'
6063 +mandir='${datarootdir}/man'
6064
6065 ac_prev=
6066 +ac_dashdash=
6067 for ac_option
6068 do
6069 # If the previous option needs an argument, assign it.
6070 if test -n "$ac_prev"; then
6071 - eval "$ac_prev=\$ac_option"
6072 + eval $ac_prev=\$ac_option
6073 ac_prev=
6074 continue
6075 fi
6076
6077 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
6078 + case $ac_option in
6079 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
6080 + *) ac_optarg=yes ;;
6081 + esac
6082
6083 # Accept the important Cygnus configure options, so we can diagnose typos.
6084
6085 - case $ac_option in
6086 + case $ac_dashdash$ac_option in
6087 + --)
6088 + ac_dashdash=yes ;;
6089
6090 -bindir | --bindir | --bindi | --bind | --bin | --bi)
6091 ac_prev=bindir ;;
6092 @@ -545,33 +991,45 @@
6093 --config-cache | -C)
6094 cache_file=config.cache ;;
6095
6096 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
6097 + -datadir | --datadir | --datadi | --datad)
6098 ac_prev=datadir ;;
6099 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
6100 - | --da=*)
6101 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
6102 datadir=$ac_optarg ;;
6103
6104 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
6105 + | --dataroo | --dataro | --datar)
6106 + ac_prev=datarootdir ;;
6107 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
6108 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
6109 + datarootdir=$ac_optarg ;;
6110 +
6111 -disable-* | --disable-*)
6112 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
6113 # Reject names that are not valid shell variable names.
6114 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6115 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6116 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6117 { (exit 1); exit 1; }; }
6118 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6119 - eval "enable_$ac_feature=no" ;;
6120 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
6121 + eval enable_$ac_feature=no ;;
6122 +
6123 + -docdir | --docdir | --docdi | --doc | --do)
6124 + ac_prev=docdir ;;
6125 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
6126 + docdir=$ac_optarg ;;
6127 +
6128 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
6129 + ac_prev=dvidir ;;
6130 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
6131 + dvidir=$ac_optarg ;;
6132
6133 -enable-* | --enable-*)
6134 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
6135 # Reject names that are not valid shell variable names.
6136 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6137 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6138 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6139 { (exit 1); exit 1; }; }
6140 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6141 - case $ac_option in
6142 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6143 - *) ac_optarg=yes ;;
6144 - esac
6145 - eval "enable_$ac_feature='$ac_optarg'" ;;
6146 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
6147 + eval enable_$ac_feature=\$ac_optarg ;;
6148
6149 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
6150 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
6151 @@ -598,6 +1056,12 @@
6152 -host=* | --host=* | --hos=* | --ho=*)
6153 host_alias=$ac_optarg ;;
6154
6155 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
6156 + ac_prev=htmldir ;;
6157 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
6158 + | --ht=*)
6159 + htmldir=$ac_optarg ;;
6160 +
6161 -includedir | --includedir | --includedi | --included | --include \
6162 | --includ | --inclu | --incl | --inc)
6163 ac_prev=includedir ;;
6164 @@ -622,13 +1086,16 @@
6165 | --libexe=* | --libex=* | --libe=*)
6166 libexecdir=$ac_optarg ;;
6167
6168 + -localedir | --localedir | --localedi | --localed | --locale)
6169 + ac_prev=localedir ;;
6170 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
6171 + localedir=$ac_optarg ;;
6172 +
6173 -localstatedir | --localstatedir | --localstatedi | --localstated \
6174 - | --localstate | --localstat | --localsta | --localst \
6175 - | --locals | --local | --loca | --loc | --lo)
6176 + | --localstate | --localstat | --localsta | --localst | --locals)
6177 ac_prev=localstatedir ;;
6178 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
6179 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
6180 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
6181 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
6182 localstatedir=$ac_optarg ;;
6183
6184 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
6185 @@ -693,6 +1160,16 @@
6186 | --progr-tra=* | --program-tr=* | --program-t=*)
6187 program_transform_name=$ac_optarg ;;
6188
6189 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
6190 + ac_prev=pdfdir ;;
6191 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
6192 + pdfdir=$ac_optarg ;;
6193 +
6194 + -psdir | --psdir | --psdi | --psd | --ps)
6195 + ac_prev=psdir ;;
6196 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
6197 + psdir=$ac_optarg ;;
6198 +
6199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6200 | -silent | --silent | --silen | --sile | --sil)
6201 silent=yes ;;
6202 @@ -745,24 +1222,20 @@
6203 -with-* | --with-*)
6204 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
6205 # Reject names that are not valid shell variable names.
6206 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6207 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6208 { echo "$as_me: error: invalid package name: $ac_package" >&2
6209 { (exit 1); exit 1; }; }
6210 - ac_package=`echo $ac_package| sed 's/-/_/g'`
6211 - case $ac_option in
6212 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6213 - *) ac_optarg=yes ;;
6214 - esac
6215 - eval "with_$ac_package='$ac_optarg'" ;;
6216 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
6217 + eval with_$ac_package=\$ac_optarg ;;
6218
6219 -without-* | --without-*)
6220 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6221 # Reject names that are not valid shell variable names.
6222 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6223 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6224 { echo "$as_me: error: invalid package name: $ac_package" >&2
6225 { (exit 1); exit 1; }; }
6226 - ac_package=`echo $ac_package | sed 's/-/_/g'`
6227 - eval "with_$ac_package=no" ;;
6228 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
6229 + eval with_$ac_package=no ;;
6230
6231 --x)
6232 # Obsolete; use --with-x.
6233 @@ -793,8 +1266,7 @@
6234 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
6235 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6236 { (exit 1); exit 1; }; }
6237 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
6238 - eval "$ac_envvar='$ac_optarg'"
6239 + eval $ac_envvar=\$ac_optarg
6240 export $ac_envvar ;;
6241
6242 *)
6243 @@ -814,27 +1286,19 @@
6244 { (exit 1); exit 1; }; }
6245 fi
6246
6247 -# Be sure to have absolute paths.
6248 -for ac_var in exec_prefix prefix
6249 +# Be sure to have absolute directory names.
6250 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
6251 + datadir sysconfdir sharedstatedir localstatedir includedir \
6252 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
6253 + libdir localedir mandir
6254 do
6255 - eval ac_val=$`echo $ac_var`
6256 + eval ac_val=\$$ac_var
6257 case $ac_val in
6258 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
6259 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6260 - { (exit 1); exit 1; }; };;
6261 - esac
6262 -done
6263 -
6264 -# Be sure to have absolute paths.
6265 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
6266 - localstatedir libdir includedir oldincludedir infodir mandir
6267 -do
6268 - eval ac_val=$`echo $ac_var`
6269 - case $ac_val in
6270 - [\\/$]* | ?:[\\/]* ) ;;
6271 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6272 - { (exit 1); exit 1; }; };;
6273 + [\\/$]* | ?:[\\/]* ) continue;;
6274 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
6275 esac
6276 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6277 + { (exit 1); exit 1; }; }
6278 done
6279
6280 # There might be people who depend on the old broken behavior: `$host'
6281 @@ -861,74 +1325,76 @@
6282 test "$silent" = yes && exec 6>/dev/null
6283
6284
6285 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
6286 +ac_ls_di=`ls -di .` &&
6287 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
6288 + { echo "$as_me: error: Working directory cannot be determined" >&2
6289 + { (exit 1); exit 1; }; }
6290 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
6291 + { echo "$as_me: error: pwd does not report name of working directory" >&2
6292 + { (exit 1); exit 1; }; }
6293 +
6294 +
6295 # Find the source files, if location was not specified.
6296 if test -z "$srcdir"; then
6297 ac_srcdir_defaulted=yes
6298 - # Try the directory containing this script, then its parent.
6299 - ac_confdir=`(dirname "$0") 2>/dev/null ||
6300 + # Try the directory containing this script, then the parent directory.
6301 + ac_confdir=`$as_dirname -- "$0" ||
6302 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6303 X"$0" : 'X\(//\)[^/]' \| \
6304 X"$0" : 'X\(//\)$' \| \
6305 - X"$0" : 'X\(/\)' \| \
6306 - . : '\(.\)' 2>/dev/null ||
6307 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6308 echo X"$0" |
6309 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6310 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6311 - /^X\(\/\/\)$/{ s//\1/; q; }
6312 - /^X\(\/\).*/{ s//\1/; q; }
6313 - s/.*/./; q'`
6314 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6315 + s//\1/
6316 + q
6317 + }
6318 + /^X\(\/\/\)[^/].*/{
6319 + s//\1/
6320 + q
6321 + }
6322 + /^X\(\/\/\)$/{
6323 + s//\1/
6324 + q
6325 + }
6326 + /^X\(\/\).*/{
6327 + s//\1/
6328 + q
6329 + }
6330 + s/.*/./; q'`
6331 srcdir=$ac_confdir
6332 - if test ! -r $srcdir/$ac_unique_file; then
6333 + if test ! -r "$srcdir/$ac_unique_file"; then
6334 srcdir=..
6335 fi
6336 else
6337 ac_srcdir_defaulted=no
6338 fi
6339 -if test ! -r $srcdir/$ac_unique_file; then
6340 - if test "$ac_srcdir_defaulted" = yes; then
6341 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
6342 - { (exit 1); exit 1; }; }
6343 - else
6344 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6345 +if test ! -r "$srcdir/$ac_unique_file"; then
6346 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
6347 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6348 { (exit 1); exit 1; }; }
6349 - fi
6350 fi
6351 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
6352 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
6353 - { (exit 1); exit 1; }; }
6354 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
6355 -ac_env_build_alias_set=${build_alias+set}
6356 -ac_env_build_alias_value=$build_alias
6357 -ac_cv_env_build_alias_set=${build_alias+set}
6358 -ac_cv_env_build_alias_value=$build_alias
6359 -ac_env_host_alias_set=${host_alias+set}
6360 -ac_env_host_alias_value=$host_alias
6361 -ac_cv_env_host_alias_set=${host_alias+set}
6362 -ac_cv_env_host_alias_value=$host_alias
6363 -ac_env_target_alias_set=${target_alias+set}
6364 -ac_env_target_alias_value=$target_alias
6365 -ac_cv_env_target_alias_set=${target_alias+set}
6366 -ac_cv_env_target_alias_value=$target_alias
6367 -ac_env_CC_set=${CC+set}
6368 -ac_env_CC_value=$CC
6369 -ac_cv_env_CC_set=${CC+set}
6370 -ac_cv_env_CC_value=$CC
6371 -ac_env_CFLAGS_set=${CFLAGS+set}
6372 -ac_env_CFLAGS_value=$CFLAGS
6373 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
6374 -ac_cv_env_CFLAGS_value=$CFLAGS
6375 -ac_env_LDFLAGS_set=${LDFLAGS+set}
6376 -ac_env_LDFLAGS_value=$LDFLAGS
6377 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
6378 -ac_cv_env_LDFLAGS_value=$LDFLAGS
6379 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
6380 -ac_env_CPPFLAGS_value=$CPPFLAGS
6381 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
6382 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
6383 -ac_env_CPP_set=${CPP+set}
6384 -ac_env_CPP_value=$CPP
6385 -ac_cv_env_CPP_set=${CPP+set}
6386 -ac_cv_env_CPP_value=$CPP
6387 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
6388 +ac_abs_confdir=`(
6389 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
6390 + { (exit 1); exit 1; }; }
6391 + pwd)`
6392 +# When building in place, set srcdir=.
6393 +if test "$ac_abs_confdir" = "$ac_pwd"; then
6394 + srcdir=.
6395 +fi
6396 +# Remove unnecessary trailing slashes from srcdir.
6397 +# Double slashes in file names in object file debugging info
6398 +# mess up M-x gdb in Emacs.
6399 +case $srcdir in
6400 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
6401 +esac
6402 +for ac_var in $ac_precious_vars; do
6403 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
6404 + eval ac_env_${ac_var}_value=\$${ac_var}
6405 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
6406 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
6407 +done
6408
6409 #
6410 # Report the --help message.
6411 @@ -957,9 +1423,6 @@
6412 -n, --no-create do not create output files
6413 --srcdir=DIR find the sources in DIR [configure dir or \`..']
6414
6415 -_ACEOF
6416 -
6417 - cat <<_ACEOF
6418 Installation directories:
6419 --prefix=PREFIX install architecture-independent files in PREFIX
6420 [$ac_default_prefix]
6421 @@ -977,15 +1440,22 @@
6422 --bindir=DIR user executables [EPREFIX/bin]
6423 --sbindir=DIR system admin executables [EPREFIX/sbin]
6424 --libexecdir=DIR program executables [EPREFIX/libexec]
6425 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
6426 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
6427 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
6428 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
6429 --libdir=DIR object code libraries [EPREFIX/lib]
6430 --includedir=DIR C header files [PREFIX/include]
6431 --oldincludedir=DIR C header files for non-gcc [/usr/include]
6432 - --infodir=DIR info documentation [PREFIX/info]
6433 - --mandir=DIR man documentation [PREFIX/man]
6434 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
6435 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
6436 + --infodir=DIR info documentation [DATAROOTDIR/info]
6437 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
6438 + --mandir=DIR man documentation [DATAROOTDIR/man]
6439 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
6440 + --htmldir=DIR html documentation [DOCDIR]
6441 + --dvidir=DIR dvi documentation [DOCDIR]
6442 + --pdfdir=DIR pdf documentation [DOCDIR]
6443 + --psdir=DIR ps documentation [DOCDIR]
6444 _ACEOF
6445
6446 cat <<\_ACEOF
6447 @@ -1009,9 +1479,12 @@
6448 Optional Features:
6449 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
6450 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
6451 - --enable-shared=PKGS build shared libraries default=yes
6452 - --enable-static=PKGS build static libraries default=yes
6453 - --enable-fast-install=PKGS optimize for fast installation default=yes
6454 + --disable-dependency-tracking speeds up one-time build
6455 + --enable-dependency-tracking do not reject slow dependency extractors
6456 + --enable-shared[=PKGS] build shared libraries [default=yes]
6457 + --enable-static[=PKGS] build static libraries [default=yes]
6458 + --enable-fast-install[=PKGS]
6459 + optimize for fast installation [default=yes]
6460 --disable-libtool-lock avoid locking (might break parallel builds)
6461 --enable-allow_uni30 Allow UNI 3.0 backwards-compatible extensions (if using UNI 3.1)
6462 --enable-q2963_1 Enable peak cell rate modification as specified in Q.2963.1 (if using UNI 4.0)
6463 @@ -1023,8 +1496,10 @@
6464 Optional Packages:
6465 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
6466 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
6467 - --with-gnu-ld assume the C compiler uses GNU ld default=no
6468 - --with-pic try to use only PIC/non-PIC objects default=use both
6469 + --with-gnu-ld assume the C compiler uses GNU ld [default=no]
6470 + --with-pic try to use only PIC/non-PIC objects [default=use
6471 + both]
6472 + --with-tags[=TAGS] include additional configurations [automatic]
6473 --with-uni=VERSION UNI version to use (3.0,3.1,4.0) default=dynamic
6474
6475 Some influential environment variables:
6476 @@ -1032,126 +1507,105 @@
6477 CFLAGS C compiler flags
6478 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
6479 nonstandard directory <lib dir>
6480 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
6481 - headers in a nonstandard directory <include dir>
6482 + LIBS libraries to pass to the linker, e.g. -l<library>
6483 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
6484 + you have headers in a nonstandard directory <include dir>
6485 + YACC The `Yet Another C Compiler' implementation to use. Defaults to
6486 + the first program found out of: `bison -y', `byacc', `yacc'.
6487 + YFLAGS The list of arguments that will be passed by default to $YACC.
6488 + This script will default YFLAGS to the empty string to avoid a
6489 + default value of `-d' given by some make applications.
6490 CPP C preprocessor
6491 + CXX C++ compiler command
6492 + CXXFLAGS C++ compiler flags
6493 + CXXCPP C++ preprocessor
6494 + F77 Fortran 77 compiler command
6495 + FFLAGS Fortran 77 compiler flags
6496
6497 Use these variables to override the choices made by `configure' or to help
6498 it to find libraries and programs with nonstandard names/locations.
6499
6500 _ACEOF
6501 +ac_status=$?
6502 fi
6503
6504 if test "$ac_init_help" = "recursive"; then
6505 # If there are subdirs, report their specific --help.
6506 - ac_popdir=`pwd`
6507 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
6508 - test -d $ac_dir || continue
6509 + test -d "$ac_dir" || continue
6510 ac_builddir=.
6511
6512 -if test "$ac_dir" != .; then
6513 +case "$ac_dir" in
6514 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6515 +*)
6516 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6517 - # A "../" for each directory in $ac_dir_suffix.
6518 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6519 -else
6520 - ac_dir_suffix= ac_top_builddir=
6521 -fi
6522 + # A ".." for each directory in $ac_dir_suffix.
6523 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6524 + case $ac_top_builddir_sub in
6525 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6526 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6527 + esac ;;
6528 +esac
6529 +ac_abs_top_builddir=$ac_pwd
6530 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
6531 +# for backward compatibility:
6532 +ac_top_builddir=$ac_top_build_prefix
6533
6534 case $srcdir in
6535 - .) # No --srcdir option. We are building in place.
6536 + .) # We are building in place.
6537 ac_srcdir=.
6538 - if test -z "$ac_top_builddir"; then
6539 - ac_top_srcdir=.
6540 - else
6541 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6542 - fi ;;
6543 - [\\/]* | ?:[\\/]* ) # Absolute path.
6544 + ac_top_srcdir=$ac_top_builddir_sub
6545 + ac_abs_top_srcdir=$ac_pwd ;;
6546 + [\\/]* | ?:[\\/]* ) # Absolute name.
6547 ac_srcdir=$srcdir$ac_dir_suffix;
6548 - ac_top_srcdir=$srcdir ;;
6549 - *) # Relative path.
6550 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6551 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
6552 -esac
6553 -
6554 -# Do not use `cd foo && pwd` to compute absolute paths, because
6555 -# the directories may not exist.
6556 -case `pwd` in
6557 -.) ac_abs_builddir="$ac_dir";;
6558 -*)
6559 - case "$ac_dir" in
6560 - .) ac_abs_builddir=`pwd`;;
6561 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6562 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
6563 - esac;;
6564 -esac
6565 -case $ac_abs_builddir in
6566 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
6567 -*)
6568 - case ${ac_top_builddir}. in
6569 - .) ac_abs_top_builddir=$ac_abs_builddir;;
6570 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6571 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6572 - esac;;
6573 -esac
6574 -case $ac_abs_builddir in
6575 -.) ac_abs_srcdir=$ac_srcdir;;
6576 -*)
6577 - case $ac_srcdir in
6578 - .) ac_abs_srcdir=$ac_abs_builddir;;
6579 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6580 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6581 - esac;;
6582 -esac
6583 -case $ac_abs_builddir in
6584 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
6585 -*)
6586 - case $ac_top_srcdir in
6587 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
6588 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6589 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6590 - esac;;
6591 + ac_top_srcdir=$srcdir
6592 + ac_abs_top_srcdir=$srcdir ;;
6593 + *) # Relative name.
6594 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6595 + ac_top_srcdir=$ac_top_build_prefix$srcdir
6596 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6597 esac
6598 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6599
6600 - cd $ac_dir
6601 - # Check for guested configure; otherwise get Cygnus style configure.
6602 - if test -f $ac_srcdir/configure.gnu; then
6603 - echo
6604 - $SHELL $ac_srcdir/configure.gnu --help=recursive
6605 - elif test -f $ac_srcdir/configure; then
6606 - echo
6607 - $SHELL $ac_srcdir/configure --help=recursive
6608 - elif test -f $ac_srcdir/configure.ac ||
6609 - test -f $ac_srcdir/configure.in; then
6610 - echo
6611 - $ac_configure --help
6612 + cd "$ac_dir" || { ac_status=$?; continue; }
6613 + # Check for guested configure.
6614 + if test -f "$ac_srcdir/configure.gnu"; then
6615 + echo &&
6616 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
6617 + elif test -f "$ac_srcdir/configure"; then
6618 + echo &&
6619 + $SHELL "$ac_srcdir/configure" --help=recursive
6620 else
6621 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
6622 - fi
6623 - cd "$ac_popdir"
6624 + fi || ac_status=$?
6625 + cd "$ac_pwd" || { ac_status=$?; break; }
6626 done
6627 fi
6628
6629 -test -n "$ac_init_help" && exit 0
6630 +test -n "$ac_init_help" && exit $ac_status
6631 if $ac_init_version; then
6632 cat <<\_ACEOF
6633 +configure
6634 +generated by GNU Autoconf 2.61
6635
6636 -Copyright (C) 2003 Free Software Foundation, Inc.
6637 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6638 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6639 This configure script is free software; the Free Software Foundation
6640 gives unlimited permission to copy, distribute and modify it.
6641 _ACEOF
6642 - exit 0
6643 + exit
6644 fi
6645 -exec 5>config.log
6646 -cat >&5 <<_ACEOF
6647 +cat >config.log <<_ACEOF
6648 This file contains any messages produced by compilers while
6649 running configure, to aid debugging if configure makes a mistake.
6650
6651 It was created by $as_me, which was
6652 -generated by GNU Autoconf 2.59. Invocation command line was
6653 +generated by GNU Autoconf 2.61. Invocation command line was
6654
6655 $ $0 $@
6656
6657 _ACEOF
6658 +exec 5>>config.log
6659 {
6660 cat <<_ASUNAME
6661 ## --------- ##
6662 @@ -1170,7 +1624,7 @@
6663 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
6664 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
6665 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
6666 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
6667 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
6668 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
6669 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
6670 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
6671 @@ -1184,6 +1638,7 @@
6672 test -z "$as_dir" && as_dir=.
6673 echo "PATH: $as_dir"
6674 done
6675 +IFS=$as_save_IFS
6676
6677 } >&5
6678
6679 @@ -1205,7 +1660,6 @@
6680 ac_configure_args=
6681 ac_configure_args0=
6682 ac_configure_args1=
6683 -ac_sep=
6684 ac_must_keep_next=false
6685 for ac_pass in 1 2
6686 do
6687 @@ -1216,7 +1670,7 @@
6688 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6689 | -silent | --silent | --silen | --sile | --sil)
6690 continue ;;
6691 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
6692 + *\'*)
6693 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6694 esac
6695 case $ac_pass in
6696 @@ -1238,9 +1692,7 @@
6697 -* ) ac_must_keep_next=true ;;
6698 esac
6699 fi
6700 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
6701 - # Get rid of the leading space.
6702 - ac_sep=" "
6703 + ac_configure_args="$ac_configure_args '$ac_arg'"
6704 ;;
6705 esac
6706 done
6707 @@ -1251,8 +1703,8 @@
6708 # When interrupted or exit'd, cleanup temporary files, and complete
6709 # config.log. We remove comments because anyway the quotes in there
6710 # would cause problems or look ugly.
6711 -# WARNING: Be sure not to use single quotes in there, as some shells,
6712 -# such as our DU 5.0 friend, will then `close' the trap.
6713 +# WARNING: Use '\'' to represent an apostrophe within the trap.
6714 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
6715 trap 'exit_status=$?
6716 # Save into config.log some information that might help in debugging.
6717 {
6718 @@ -1265,20 +1717,34 @@
6719 _ASBOX
6720 echo
6721 # The following way of writing the cache mishandles newlines in values,
6722 -{
6723 +(
6724 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
6725 + eval ac_val=\$$ac_var
6726 + case $ac_val in #(
6727 + *${as_nl}*)
6728 + case $ac_var in #(
6729 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6730 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6731 + esac
6732 + case $ac_var in #(
6733 + _ | IFS | as_nl) ;; #(
6734 + *) $as_unset $ac_var ;;
6735 + esac ;;
6736 + esac
6737 + done
6738 (set) 2>&1 |
6739 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
6740 - *ac_space=\ *)
6741 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
6742 + *${as_nl}ac_space=\ *)
6743 sed -n \
6744 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
6745 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
6746 - ;;
6747 + "s/'\''/'\''\\\\'\'''\''/g;
6748 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
6749 + ;; #(
6750 *)
6751 - sed -n \
6752 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6753 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6754 ;;
6755 - esac;
6756 -}
6757 + esac |
6758 + sort
6759 +)
6760 echo
6761
6762 cat <<\_ASBOX
6763 @@ -1289,22 +1755,28 @@
6764 echo
6765 for ac_var in $ac_subst_vars
6766 do
6767 - eval ac_val=$`echo $ac_var`
6768 - echo "$ac_var='"'"'$ac_val'"'"'"
6769 + eval ac_val=\$$ac_var
6770 + case $ac_val in
6771 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
6772 + esac
6773 + echo "$ac_var='\''$ac_val'\''"
6774 done | sort
6775 echo
6776
6777 if test -n "$ac_subst_files"; then
6778 cat <<\_ASBOX
6779 -## ------------- ##
6780 -## Output files. ##
6781 -## ------------- ##
6782 +## ------------------- ##
6783 +## File substitutions. ##
6784 +## ------------------- ##
6785 _ASBOX
6786 echo
6787 for ac_var in $ac_subst_files
6788 do
6789 - eval ac_val=$`echo $ac_var`
6790 - echo "$ac_var='"'"'$ac_val'"'"'"
6791 + eval ac_val=\$$ac_var
6792 + case $ac_val in
6793 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
6794 + esac
6795 + echo "$ac_var='\''$ac_val'\''"
6796 done | sort
6797 echo
6798 fi
6799 @@ -1316,26 +1788,24 @@
6800 ## ----------- ##
6801 _ASBOX
6802 echo
6803 - sed "/^$/d" confdefs.h | sort
6804 + cat confdefs.h
6805 echo
6806 fi
6807 test "$ac_signal" != 0 &&
6808 echo "$as_me: caught signal $ac_signal"
6809 echo "$as_me: exit $exit_status"
6810 } >&5
6811 - rm -f core *.core &&
6812 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
6813 + rm -f core *.core core.conftest.* &&
6814 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
6815 exit $exit_status
6816 - ' 0
6817 +' 0
6818 for ac_signal in 1 2 13 15; do
6819 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
6820 done
6821 ac_signal=0
6822
6823 # confdefs.h avoids OS command line length limits that DEFS can exceed.
6824 -rm -rf conftest* confdefs.h
6825 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
6826 -echo >confdefs.h
6827 +rm -f -r conftest* confdefs.h
6828
6829 # Predefined preprocessor variables.
6830
6831 @@ -1366,14 +1836,17 @@
6832
6833 # Let the site file select an alternate cache file if it wants to.
6834 # Prefer explicitly selected file to automatically selected ones.
6835 -if test -z "$CONFIG_SITE"; then
6836 - if test "x$prefix" != xNONE; then
6837 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
6838 - else
6839 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
6840 - fi
6841 +if test -n "$CONFIG_SITE"; then
6842 + set x "$CONFIG_SITE"
6843 +elif test "x$prefix" != xNONE; then
6844 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
6845 +else
6846 + set x "$ac_default_prefix/share/config.site" \
6847 + "$ac_default_prefix/etc/config.site"
6848 fi
6849 -for ac_site_file in $CONFIG_SITE; do
6850 +shift
6851 +for ac_site_file
6852 +do
6853 if test -r "$ac_site_file"; then
6854 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
6855 echo "$as_me: loading site script $ac_site_file" >&6;}
6856 @@ -1389,8 +1862,8 @@
6857 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6858 echo "$as_me: loading cache $cache_file" >&6;}
6859 case $cache_file in
6860 - [\\/]* | ?:[\\/]* ) . $cache_file;;
6861 - *) . ./$cache_file;;
6862 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
6863 + *) . "./$cache_file";;
6864 esac
6865 fi
6866 else
6867 @@ -1402,12 +1875,11 @@
6868 # Check that the precious variables saved in the cache have kept the same
6869 # value.
6870 ac_cache_corrupted=false
6871 -for ac_var in `(set) 2>&1 |
6872 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
6873 +for ac_var in $ac_precious_vars; do
6874 eval ac_old_set=\$ac_cv_env_${ac_var}_set
6875 eval ac_new_set=\$ac_env_${ac_var}_set
6876 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
6877 - eval ac_new_val="\$ac_env_${ac_var}_value"
6878 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
6879 + eval ac_new_val=\$ac_env_${ac_var}_value
6880 case $ac_old_set,$ac_new_set in
6881 set,)
6882 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
6883 @@ -1432,8 +1904,7 @@
6884 # Pass precious variables to config.status.
6885 if test "$ac_new_set" = set; then
6886 case $ac_new_val in
6887 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
6888 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
6889 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
6890 *) ac_arg=$ac_var=$ac_new_val ;;
6891 esac
6892 case " $ac_configure_args " in
6893 @@ -1450,14 +1921,6 @@
6894 { (exit 1); exit 1; }; }
6895 fi
6896
6897 -ac_ext=c
6898 -ac_cpp='$CPP $CPPFLAGS'
6899 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6900 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6901 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
6902 -
6903 -
6904 -
6905
6906
6907
6908 @@ -1474,111 +1937,165 @@
6909
6910
6911
6912 +ac_ext=c
6913 +ac_cpp='$CPP $CPPFLAGS'
6914 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6915 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6916 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6917
6918 - ac_config_headers="$ac_config_headers config.h"
6919
6920 - ac_config_commands="$ac_config_commands default-1"
6921 +ac_config_headers="$ac_config_headers config.h"
6922
6923
6924 ac_aux_dir=
6925 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
6926 - if test -f $ac_dir/install-sh; then
6927 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
6928 + if test -f "$ac_dir/install-sh"; then
6929 ac_aux_dir=$ac_dir
6930 ac_install_sh="$ac_aux_dir/install-sh -c"
6931 break
6932 - elif test -f $ac_dir/install.sh; then
6933 + elif test -f "$ac_dir/install.sh"; then
6934 ac_aux_dir=$ac_dir
6935 ac_install_sh="$ac_aux_dir/install.sh -c"
6936 break
6937 - elif test -f $ac_dir/shtool; then
6938 + elif test -f "$ac_dir/shtool"; then
6939 ac_aux_dir=$ac_dir
6940 ac_install_sh="$ac_aux_dir/shtool install -c"
6941 break
6942 fi
6943 done
6944 if test -z "$ac_aux_dir"; then
6945 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
6946 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
6947 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
6948 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
6949 { (exit 1); exit 1; }; }
6950 fi
6951 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
6952 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
6953 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6954 +
6955 +# These three variables are undocumented and unsupported,
6956 +# and are intended to be withdrawn in a future Autoconf release.
6957 +# They can cause serious problems if a builder's source tree is in a directory
6958 +# whose full name contains unusual characters.
6959 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
6960 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
6961 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
6962 +
6963
6964 # Make sure we can run config.sub.
6965 -$ac_config_sub sun4 >/dev/null 2>&1 ||
6966 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
6967 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6968 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6969 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
6970 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6971 { (exit 1); exit 1; }; }
6972
6973 -echo "$as_me:$LINENO: checking build system type" >&5
6974 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
6975 +{ echo "$as_me:$LINENO: checking build system type" >&5
6976 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
6977 if test "${ac_cv_build+set}" = set; then
6978 echo $ECHO_N "(cached) $ECHO_C" >&6
6979 else
6980 - ac_cv_build_alias=$build_alias
6981 -test -z "$ac_cv_build_alias" &&
6982 - ac_cv_build_alias=`$ac_config_guess`
6983 -test -z "$ac_cv_build_alias" &&
6984 + ac_build_alias=$build_alias
6985 +test "x$ac_build_alias" = x &&
6986 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6987 +test "x$ac_build_alias" = x &&
6988 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6989 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6990 { (exit 1); exit 1; }; }
6991 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
6992 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
6993 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
6994 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6995 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
6996 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6997 { (exit 1); exit 1; }; }
6998
6999 fi
7000 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7001 -echo "${ECHO_T}$ac_cv_build" >&6
7002 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7003 +echo "${ECHO_T}$ac_cv_build" >&6; }
7004 +case $ac_cv_build in
7005 +*-*-*) ;;
7006 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
7007 +echo "$as_me: error: invalid value of canonical build" >&2;}
7008 + { (exit 1); exit 1; }; };;
7009 +esac
7010 build=$ac_cv_build
7011 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7012 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7013 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7014 +ac_save_IFS=$IFS; IFS='-'
7015 +set x $ac_cv_build
7016 +shift
7017 +build_cpu=$1
7018 +build_vendor=$2
7019 +shift; shift
7020 +# Remember, the first character of IFS is used to create $*,
7021 +# except with old shells:
7022 +build_os=$*
7023 +IFS=$ac_save_IFS
7024 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7025
7026
7027 -echo "$as_me:$LINENO: checking host system type" >&5
7028 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
7029 +{ echo "$as_me:$LINENO: checking host system type" >&5
7030 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
7031 if test "${ac_cv_host+set}" = set; then
7032 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 else
7034 - ac_cv_host_alias=$host_alias
7035 -test -z "$ac_cv_host_alias" &&
7036 - ac_cv_host_alias=$ac_cv_build_alias
7037 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
7038 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7039 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7040 + if test "x$host_alias" = x; then
7041 + ac_cv_host=$ac_cv_build
7042 +else
7043 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
7044 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
7045 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
7046 { (exit 1); exit 1; }; }
7047 +fi
7048
7049 fi
7050 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7051 -echo "${ECHO_T}$ac_cv_host" >&6
7052 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7053 +echo "${ECHO_T}$ac_cv_host" >&6; }
7054 +case $ac_cv_host in
7055 +*-*-*) ;;
7056 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
7057 +echo "$as_me: error: invalid value of canonical host" >&2;}
7058 + { (exit 1); exit 1; }; };;
7059 +esac
7060 host=$ac_cv_host
7061 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7062 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7063 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7064 +ac_save_IFS=$IFS; IFS='-'
7065 +set x $ac_cv_host
7066 +shift
7067 +host_cpu=$1
7068 +host_vendor=$2
7069 +shift; shift
7070 +# Remember, the first character of IFS is used to create $*,
7071 +# except with old shells:
7072 +host_os=$*
7073 +IFS=$ac_save_IFS
7074 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7075
7076
7077 -echo "$as_me:$LINENO: checking target system type" >&5
7078 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
7079 +{ echo "$as_me:$LINENO: checking target system type" >&5
7080 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
7081 if test "${ac_cv_target+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7083 else
7084 - ac_cv_target_alias=$target_alias
7085 -test "x$ac_cv_target_alias" = "x" &&
7086 - ac_cv_target_alias=$ac_cv_host_alias
7087 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
7088 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
7089 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
7090 + if test "x$target_alias" = x; then
7091 + ac_cv_target=$ac_cv_host
7092 +else
7093 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
7094 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
7095 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
7096 { (exit 1); exit 1; }; }
7097 +fi
7098
7099 fi
7100 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
7101 -echo "${ECHO_T}$ac_cv_target" >&6
7102 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
7103 +echo "${ECHO_T}$ac_cv_target" >&6; }
7104 +case $ac_cv_target in
7105 +*-*-*) ;;
7106 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
7107 +echo "$as_me: error: invalid value of canonical target" >&2;}
7108 + { (exit 1); exit 1; }; };;
7109 +esac
7110 target=$ac_cv_target
7111 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7112 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7113 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7114 +ac_save_IFS=$IFS; IFS='-'
7115 +set x $ac_cv_target
7116 +shift
7117 +target_cpu=$1
7118 +target_vendor=$2
7119 +shift; shift
7120 +# Remember, the first character of IFS is used to create $*,
7121 +# except with old shells:
7122 +target_os=$*
7123 +IFS=$ac_save_IFS
7124 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
7125
7126
7127 # The aliases save the names the user supplied, while $host etc.
7128 @@ -1588,7 +2105,7 @@
7129 NONENONEs,x,x, &&
7130 program_prefix=${target_alias}-
7131
7132 -am__api_version="1.4"
7133 +am__api_version="1.9"
7134 # Find a good install program. We prefer a C program (faster),
7135 # so one script is as good as another. But avoid the broken or
7136 # incompatible versions:
7137 @@ -1602,8 +2119,8 @@
7138 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7139 # OS/2's system install, which has a completely different semantic
7140 # ./install, which can be erroneously created by make from ./install.sh.
7141 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7142 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7143 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7144 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7145 if test -z "$INSTALL"; then
7146 if test "${ac_cv_path_install+set}" = set; then
7147 echo $ECHO_N "(cached) $ECHO_C" >&6
7148 @@ -1625,7 +2142,7 @@
7149 # by default.
7150 for ac_prog in ginstall scoinst install; do
7151 for ac_exec_ext in '' $ac_executable_extensions; do
7152 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7153 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
7154 if test $ac_prog = install &&
7155 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7156 # AIX install. It has an incompatible calling convention.
7157 @@ -1644,21 +2161,22 @@
7158 ;;
7159 esac
7160 done
7161 +IFS=$as_save_IFS
7162
7163
7164 fi
7165 if test "${ac_cv_path_install+set}" = set; then
7166 INSTALL=$ac_cv_path_install
7167 else
7168 - # As a last resort, use the slow shell script. We don't cache a
7169 - # path for INSTALL within a source directory, because that will
7170 + # As a last resort, use the slow shell script. Don't cache a
7171 + # value for INSTALL within a source directory, because that will
7172 # break other packages using the cache if that directory is
7173 - # removed, or if the path is relative.
7174 + # removed, or if the value is a relative name.
7175 INSTALL=$ac_install_sh
7176 fi
7177 fi
7178 -echo "$as_me:$LINENO: result: $INSTALL" >&5
7179 -echo "${ECHO_T}$INSTALL" >&6
7180 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
7181 +echo "${ECHO_T}$INSTALL" >&6; }
7182
7183 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7184 # It thinks the first close brace ends the variable substitution.
7185 @@ -1668,24 +2186,25 @@
7186
7187 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7188
7189 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
7190 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
7191 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
7192 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
7193 # Just in case
7194 sleep 1
7195 -echo timestamp > conftestfile
7196 +echo timestamp > conftest.file
7197 # Do `set' in a subshell so we don't clobber the current shell's
7198 # arguments. Must try -L first in case configure is actually a
7199 # symlink; some systems play weird games with the mod time of symlinks
7200 # (eg FreeBSD returns the mod time of the symlink's containing
7201 # directory).
7202 if (
7203 - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
7204 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
7205 if test "$*" = "X"; then
7206 # -L didn't work.
7207 - set X `ls -t $srcdir/configure conftestfile`
7208 + set X `ls -t $srcdir/configure conftest.file`
7209 fi
7210 - if test "$*" != "X $srcdir/configure conftestfile" \
7211 - && test "$*" != "X conftestfile $srcdir/configure"; then
7212 + rm -f conftest.file
7213 + if test "$*" != "X $srcdir/configure conftest.file" \
7214 + && test "$*" != "X conftest.file $srcdir/configure"; then
7215
7216 # If neither matched, then we have a broken ls. This can happen
7217 # if, for instance, CONFIG_SHELL is bash and it inherits a
7218 @@ -1698,7 +2217,7 @@
7219 { (exit 1); exit 1; }; }
7220 fi
7221
7222 - test "$2" = conftestfile
7223 + test "$2" = conftest.file
7224 )
7225 then
7226 # Ok.
7227 @@ -1710,62 +2229,171 @@
7228 Check your system clock" >&2;}
7229 { (exit 1); exit 1; }; }
7230 fi
7231 -rm -f conftest*
7232 -echo "$as_me:$LINENO: result: yes" >&5
7233 -echo "${ECHO_T}yes" >&6
7234 +{ echo "$as_me:$LINENO: result: yes" >&5
7235 +echo "${ECHO_T}yes" >&6; }
7236 test "$program_prefix" != NONE &&
7237 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
7238 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
7239 # Use a double $ so make ignores it.
7240 test "$program_suffix" != NONE &&
7241 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
7242 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
7243 # Double any \ or $. echo might interpret backslashes.
7244 # By default was `s,x,x', remove it if useless.
7245 cat <<\_ACEOF >conftest.sed
7246 s/[\\$]/&&/g;s/;s,x,x,$//
7247 _ACEOF
7248 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
7249 -rm conftest.sed
7250 +rm -f conftest.sed
7251 +
7252 +# expand $ac_aux_dir to an absolute path
7253 +am_aux_dir=`cd $ac_aux_dir && pwd`
7254 +
7255 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
7256 +# Use eval to expand $SHELL
7257 +if eval "$MISSING --run true"; then
7258 + am_missing_run="$MISSING --run "
7259 +else
7260 + am_missing_run=
7261 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
7262 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
7263 +fi
7264 +
7265 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
7266 + # We used to keeping the `.' as first argument, in order to
7267 + # allow $(mkdir_p) to be used without argument. As in
7268 + # $(mkdir_p) $(somedir)
7269 + # where $(somedir) is conditionally defined. However this is wrong
7270 + # for two reasons:
7271 + # 1. if the package is installed by a user who cannot write `.'
7272 + # make install will fail,
7273 + # 2. the above comment should most certainly read
7274 + # $(mkdir_p) $(DESTDIR)$(somedir)
7275 + # so it does not work when $(somedir) is undefined and
7276 + # $(DESTDIR) is not.
7277 + # To support the latter case, we have to write
7278 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
7279 + # so the `.' trick is pointless.
7280 + mkdir_p='mkdir -p --'
7281 +else
7282 + # On NextStep and OpenStep, the `mkdir' command does not
7283 + # recognize any option. It will interpret all options as
7284 + # directories to create, and then abort because `.' already
7285 + # exists.
7286 + for d in ./-p ./--version;
7287 + do
7288 + test -d $d && rmdir $d
7289 + done
7290 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
7291 + if test -f "$ac_aux_dir/mkinstalldirs"; then
7292 + mkdir_p='$(mkinstalldirs)'
7293 + else
7294 + mkdir_p='$(install_sh) -d'
7295 + fi
7296 +fi
7297 +
7298 +for ac_prog in gawk mawk nawk awk
7299 +do
7300 + # Extract the first word of "$ac_prog", so it can be a program name with args.
7301 +set dummy $ac_prog; ac_word=$2
7302 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7303 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7304 +if test "${ac_cv_prog_AWK+set}" = set; then
7305 + echo $ECHO_N "(cached) $ECHO_C" >&6
7306 +else
7307 + if test -n "$AWK"; then
7308 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
7309 +else
7310 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7311 +for as_dir in $PATH
7312 +do
7313 + IFS=$as_save_IFS
7314 + test -z "$as_dir" && as_dir=.
7315 + for ac_exec_ext in '' $ac_executable_extensions; do
7316 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7317 + ac_cv_prog_AWK="$ac_prog"
7318 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7319 + break 2
7320 + fi
7321 +done
7322 +done
7323 +IFS=$as_save_IFS
7324 +
7325 +fi
7326 +fi
7327 +AWK=$ac_cv_prog_AWK
7328 +if test -n "$AWK"; then
7329 + { echo "$as_me:$LINENO: result: $AWK" >&5
7330 +echo "${ECHO_T}$AWK" >&6; }
7331 +else
7332 + { echo "$as_me:$LINENO: result: no" >&5
7333 +echo "${ECHO_T}no" >&6; }
7334 +fi
7335 +
7336 +
7337 + test -n "$AWK" && break
7338 +done
7339
7340 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7341 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7342 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
7343 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7344 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7345 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
7346 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7347 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
7348 echo $ECHO_N "(cached) $ECHO_C" >&6
7349 else
7350 cat >conftest.make <<\_ACEOF
7351 +SHELL = /bin/sh
7352 all:
7353 - @echo 'ac_maketemp="$(MAKE)"'
7354 + @echo '@@@%%%=$(MAKE)=@@@%%%'
7355 _ACEOF
7356 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7357 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7358 -if test -n "$ac_maketemp"; then
7359 - eval ac_cv_prog_make_${ac_make}_set=yes
7360 -else
7361 - eval ac_cv_prog_make_${ac_make}_set=no
7362 -fi
7363 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
7364 + *@@@%%%=?*=@@@%%%*)
7365 + eval ac_cv_prog_make_${ac_make}_set=yes;;
7366 + *)
7367 + eval ac_cv_prog_make_${ac_make}_set=no;;
7368 +esac
7369 rm -f conftest.make
7370 fi
7371 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7372 - echo "$as_me:$LINENO: result: yes" >&5
7373 -echo "${ECHO_T}yes" >&6
7374 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
7375 + { echo "$as_me:$LINENO: result: yes" >&5
7376 +echo "${ECHO_T}yes" >&6; }
7377 SET_MAKE=
7378 else
7379 - echo "$as_me:$LINENO: result: no" >&5
7380 -echo "${ECHO_T}no" >&6
7381 + { echo "$as_me:$LINENO: result: no" >&5
7382 +echo "${ECHO_T}no" >&6; }
7383 SET_MAKE="MAKE=${MAKE-make}"
7384 fi
7385
7386 -
7387 -PACKAGE=linux-atm
7388 -
7389 -VERSION=2.4.1
7390 -
7391 -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
7392 +rm -rf .tst 2>/dev/null
7393 +mkdir .tst 2>/dev/null
7394 +if test -d .tst; then
7395 + am__leading_dot=.
7396 +else
7397 + am__leading_dot=_
7398 +fi
7399 +rmdir .tst 2>/dev/null
7400 +
7401 +# test to see if srcdir already configured
7402 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
7403 + test -f $srcdir/config.status; then
7404 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
7405 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
7406 { (exit 1); exit 1; }; }
7407 fi
7408
7409 +# test whether we have cygpath
7410 +if test -z "$CYGPATH_W"; then
7411 + if (cygpath --version) >/dev/null 2>/dev/null; then
7412 + CYGPATH_W='cygpath -w'
7413 + else
7414 + CYGPATH_W=echo
7415 + fi
7416 +fi
7417 +
7418 +
7419 +# Define the identity of the package.
7420 + PACKAGE=linux-atm
7421 + VERSION=2.4.1
7422 +
7423 +
7424 cat >>confdefs.h <<_ACEOF
7425 #define PACKAGE "$PACKAGE"
7426 _ACEOF
7427 @@ -1775,83 +2403,138 @@
7428 #define VERSION "$VERSION"
7429 _ACEOF
7430
7431 +# Some tools Automake needs.
7432 +
7433 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
7434
7435
7436 -missing_dir=`cd $ac_aux_dir && pwd`
7437 -echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
7438 -echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
7439 -# Run test in a subshell; some versions of sh will print an error if
7440 -# an executable is not found, even if stderr is redirected.
7441 -# Redirect stdin to placate older versions of autoconf. Sigh.
7442 -if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
7443 - ACLOCAL=aclocal-${am__api_version}
7444 - echo "$as_me:$LINENO: result: found" >&5
7445 -echo "${ECHO_T}found" >&6
7446 -else
7447 - ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
7448 - echo "$as_me:$LINENO: result: missing" >&5
7449 -echo "${ECHO_T}missing" >&6
7450 -fi
7451 -
7452 -echo "$as_me:$LINENO: checking for working autoconf" >&5
7453 -echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
7454 -# Run test in a subshell; some versions of sh will print an error if
7455 -# an executable is not found, even if stderr is redirected.
7456 -# Redirect stdin to placate older versions of autoconf. Sigh.
7457 -if (autoconf --version) < /dev/null > /dev/null 2>&1; then
7458 - AUTOCONF=autoconf
7459 - echo "$as_me:$LINENO: result: found" >&5
7460 -echo "${ECHO_T}found" >&6
7461 -else
7462 - AUTOCONF="$missing_dir/missing autoconf"
7463 - echo "$as_me:$LINENO: result: missing" >&5
7464 -echo "${ECHO_T}missing" >&6
7465 -fi
7466 -
7467 -echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
7468 -echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
7469 -# Run test in a subshell; some versions of sh will print an error if
7470 -# an executable is not found, even if stderr is redirected.
7471 -# Redirect stdin to placate older versions of autoconf. Sigh.
7472 -if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
7473 - AUTOMAKE=automake-${am__api_version}
7474 - echo "$as_me:$LINENO: result: found" >&5
7475 -echo "${ECHO_T}found" >&6
7476 -else
7477 - AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
7478 - echo "$as_me:$LINENO: result: missing" >&5
7479 -echo "${ECHO_T}missing" >&6
7480 -fi
7481 -
7482 -echo "$as_me:$LINENO: checking for working autoheader" >&5
7483 -echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
7484 -# Run test in a subshell; some versions of sh will print an error if
7485 -# an executable is not found, even if stderr is redirected.
7486 -# Redirect stdin to placate older versions of autoconf. Sigh.
7487 -if (autoheader --version) < /dev/null > /dev/null 2>&1; then
7488 - AUTOHEADER=autoheader
7489 - echo "$as_me:$LINENO: result: found" >&5
7490 -echo "${ECHO_T}found" >&6
7491 -else
7492 - AUTOHEADER="$missing_dir/missing autoheader"
7493 - echo "$as_me:$LINENO: result: missing" >&5
7494 -echo "${ECHO_T}missing" >&6
7495 -fi
7496 -
7497 -echo "$as_me:$LINENO: checking for working makeinfo" >&5
7498 -echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
7499 -# Run test in a subshell; some versions of sh will print an error if
7500 -# an executable is not found, even if stderr is redirected.
7501 -# Redirect stdin to placate older versions of autoconf. Sigh.
7502 -if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
7503 - MAKEINFO=makeinfo
7504 - echo "$as_me:$LINENO: result: found" >&5
7505 -echo "${ECHO_T}found" >&6
7506 -else
7507 - MAKEINFO="$missing_dir/missing makeinfo"
7508 - echo "$as_me:$LINENO: result: missing" >&5
7509 -echo "${ECHO_T}missing" >&6
7510 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
7511 +
7512 +
7513 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
7514 +
7515 +
7516 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
7517 +
7518 +
7519 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
7520 +
7521 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
7522 +
7523 +# Installed binaries are usually stripped using `strip' when the user
7524 +# run `make install-strip'. However `strip' might not be the right
7525 +# tool to use in cross-compilation environments, therefore Automake
7526 +# will honor the `STRIP' environment variable to overrule this program.
7527 +if test "$cross_compiling" != no; then
7528 + if test -n "$ac_tool_prefix"; then
7529 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7530 +set dummy ${ac_tool_prefix}strip; ac_word=$2
7531 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7532 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7533 +if test "${ac_cv_prog_STRIP+set}" = set; then
7534 + echo $ECHO_N "(cached) $ECHO_C" >&6
7535 +else
7536 + if test -n "$STRIP"; then
7537 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7538 +else
7539 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7540 +for as_dir in $PATH
7541 +do
7542 + IFS=$as_save_IFS
7543 + test -z "$as_dir" && as_dir=.
7544 + for ac_exec_ext in '' $ac_executable_extensions; do
7545 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7546 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7547 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7548 + break 2
7549 + fi
7550 +done
7551 +done
7552 +IFS=$as_save_IFS
7553 +
7554 +fi
7555 +fi
7556 +STRIP=$ac_cv_prog_STRIP
7557 +if test -n "$STRIP"; then
7558 + { echo "$as_me:$LINENO: result: $STRIP" >&5
7559 +echo "${ECHO_T}$STRIP" >&6; }
7560 +else
7561 + { echo "$as_me:$LINENO: result: no" >&5
7562 +echo "${ECHO_T}no" >&6; }
7563 +fi
7564 +
7565 +
7566 +fi
7567 +if test -z "$ac_cv_prog_STRIP"; then
7568 + ac_ct_STRIP=$STRIP
7569 + # Extract the first word of "strip", so it can be a program name with args.
7570 +set dummy strip; ac_word=$2
7571 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7572 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7573 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7574 + echo $ECHO_N "(cached) $ECHO_C" >&6
7575 +else
7576 + if test -n "$ac_ct_STRIP"; then
7577 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7578 +else
7579 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580 +for as_dir in $PATH
7581 +do
7582 + IFS=$as_save_IFS
7583 + test -z "$as_dir" && as_dir=.
7584 + for ac_exec_ext in '' $ac_executable_extensions; do
7585 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7586 + ac_cv_prog_ac_ct_STRIP="strip"
7587 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7588 + break 2
7589 + fi
7590 +done
7591 +done
7592 +IFS=$as_save_IFS
7593 +
7594 +fi
7595 +fi
7596 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7597 +if test -n "$ac_ct_STRIP"; then
7598 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7599 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7600 +else
7601 + { echo "$as_me:$LINENO: result: no" >&5
7602 +echo "${ECHO_T}no" >&6; }
7603 +fi
7604 +
7605 + if test "x$ac_ct_STRIP" = x; then
7606 + STRIP=":"
7607 + else
7608 + case $cross_compiling:$ac_tool_warned in
7609 +yes:)
7610 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7611 +whose name does not start with the host triplet. If you think this
7612 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7613 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7614 +whose name does not start with the host triplet. If you think this
7615 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7616 +ac_tool_warned=yes ;;
7617 +esac
7618 + STRIP=$ac_ct_STRIP
7619 + fi
7620 +else
7621 + STRIP="$ac_cv_prog_STRIP"
7622 +fi
7623 +
7624 fi
7625 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
7626 +
7627 +# We need awk for the "check" target. The system "awk" is bad on
7628 +# some platforms.
7629 +# Always define AMTAR for backward compatibility.
7630 +
7631 +AMTAR=${AMTAR-"${am_missing_run}tar"}
7632 +
7633 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
7634 +
7635 +
7636 +
7637
7638
7639
7640 @@ -1870,8 +2553,8 @@
7641 if test -n "$ac_tool_prefix"; then
7642 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
7643 set dummy ${ac_tool_prefix}gcc; ac_word=$2
7644 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7645 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7646 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7647 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7648 if test "${ac_cv_prog_CC+set}" = set; then
7649 echo $ECHO_N "(cached) $ECHO_C" >&6
7650 else
7651 @@ -1884,32 +2567,34 @@
7652 IFS=$as_save_IFS
7653 test -z "$as_dir" && as_dir=.
7654 for ac_exec_ext in '' $ac_executable_extensions; do
7655 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7656 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7657 ac_cv_prog_CC="${ac_tool_prefix}gcc"
7658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7659 break 2
7660 fi
7661 done
7662 done
7663 +IFS=$as_save_IFS
7664
7665 fi
7666 fi
7667 CC=$ac_cv_prog_CC
7668 if test -n "$CC"; then
7669 - echo "$as_me:$LINENO: result: $CC" >&5
7670 -echo "${ECHO_T}$CC" >&6
7671 + { echo "$as_me:$LINENO: result: $CC" >&5
7672 +echo "${ECHO_T}$CC" >&6; }
7673 else
7674 - echo "$as_me:$LINENO: result: no" >&5
7675 -echo "${ECHO_T}no" >&6
7676 + { echo "$as_me:$LINENO: result: no" >&5
7677 +echo "${ECHO_T}no" >&6; }
7678 fi
7679
7680 +
7681 fi
7682 if test -z "$ac_cv_prog_CC"; then
7683 ac_ct_CC=$CC
7684 # Extract the first word of "gcc", so it can be a program name with args.
7685 set dummy gcc; ac_word=$2
7686 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7687 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7688 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7689 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7690 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7691 echo $ECHO_N "(cached) $ECHO_C" >&6
7692 else
7693 @@ -1922,36 +2607,51 @@
7694 IFS=$as_save_IFS
7695 test -z "$as_dir" && as_dir=.
7696 for ac_exec_ext in '' $ac_executable_extensions; do
7697 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7698 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7699 ac_cv_prog_ac_ct_CC="gcc"
7700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7701 break 2
7702 fi
7703 done
7704 done
7705 +IFS=$as_save_IFS
7706
7707 fi
7708 fi
7709 ac_ct_CC=$ac_cv_prog_ac_ct_CC
7710 if test -n "$ac_ct_CC"; then
7711 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7712 -echo "${ECHO_T}$ac_ct_CC" >&6
7713 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7714 +echo "${ECHO_T}$ac_ct_CC" >&6; }
7715 else
7716 - echo "$as_me:$LINENO: result: no" >&5
7717 -echo "${ECHO_T}no" >&6
7718 + { echo "$as_me:$LINENO: result: no" >&5
7719 +echo "${ECHO_T}no" >&6; }
7720 fi
7721
7722 - CC=$ac_ct_CC
7723 + if test "x$ac_ct_CC" = x; then
7724 + CC=""
7725 + else
7726 + case $cross_compiling:$ac_tool_warned in
7727 +yes:)
7728 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7729 +whose name does not start with the host triplet. If you think this
7730 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7731 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7732 +whose name does not start with the host triplet. If you think this
7733 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7734 +ac_tool_warned=yes ;;
7735 +esac
7736 + CC=$ac_ct_CC
7737 + fi
7738 else
7739 CC="$ac_cv_prog_CC"
7740 fi
7741
7742 if test -z "$CC"; then
7743 - if test -n "$ac_tool_prefix"; then
7744 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7745 + if test -n "$ac_tool_prefix"; then
7746 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7747 set dummy ${ac_tool_prefix}cc; ac_word=$2
7748 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7749 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7750 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7751 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7752 if test "${ac_cv_prog_CC+set}" = set; then
7753 echo $ECHO_N "(cached) $ECHO_C" >&6
7754 else
7755 @@ -1964,74 +2664,34 @@
7756 IFS=$as_save_IFS
7757 test -z "$as_dir" && as_dir=.
7758 for ac_exec_ext in '' $ac_executable_extensions; do
7759 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7760 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761 ac_cv_prog_CC="${ac_tool_prefix}cc"
7762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 break 2
7764 fi
7765 done
7766 done
7767 +IFS=$as_save_IFS
7768
7769 fi
7770 fi
7771 CC=$ac_cv_prog_CC
7772 if test -n "$CC"; then
7773 - echo "$as_me:$LINENO: result: $CC" >&5
7774 -echo "${ECHO_T}$CC" >&6
7775 -else
7776 - echo "$as_me:$LINENO: result: no" >&5
7777 -echo "${ECHO_T}no" >&6
7778 -fi
7779 -
7780 -fi
7781 -if test -z "$ac_cv_prog_CC"; then
7782 - ac_ct_CC=$CC
7783 - # Extract the first word of "cc", so it can be a program name with args.
7784 -set dummy cc; ac_word=$2
7785 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7786 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7787 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7788 - echo $ECHO_N "(cached) $ECHO_C" >&6
7789 -else
7790 - if test -n "$ac_ct_CC"; then
7791 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7792 -else
7793 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7794 -for as_dir in $PATH
7795 -do
7796 - IFS=$as_save_IFS
7797 - test -z "$as_dir" && as_dir=.
7798 - for ac_exec_ext in '' $ac_executable_extensions; do
7799 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7800 - ac_cv_prog_ac_ct_CC="cc"
7801 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7802 - break 2
7803 - fi
7804 -done
7805 -done
7806 -
7807 -fi
7808 -fi
7809 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
7810 -if test -n "$ac_ct_CC"; then
7811 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7812 -echo "${ECHO_T}$ac_ct_CC" >&6
7813 + { echo "$as_me:$LINENO: result: $CC" >&5
7814 +echo "${ECHO_T}$CC" >&6; }
7815 else
7816 - echo "$as_me:$LINENO: result: no" >&5
7817 -echo "${ECHO_T}no" >&6
7818 + { echo "$as_me:$LINENO: result: no" >&5
7819 +echo "${ECHO_T}no" >&6; }
7820 fi
7821
7822 - CC=$ac_ct_CC
7823 -else
7824 - CC="$ac_cv_prog_CC"
7825 -fi
7826
7827 + fi
7828 fi
7829 if test -z "$CC"; then
7830 # Extract the first word of "cc", so it can be a program name with args.
7831 set dummy cc; ac_word=$2
7832 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7833 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7834 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7835 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7836 if test "${ac_cv_prog_CC+set}" = set; then
7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7838 else
7839 @@ -2045,7 +2705,7 @@
7840 IFS=$as_save_IFS
7841 test -z "$as_dir" && as_dir=.
7842 for ac_exec_ext in '' $ac_executable_extensions; do
7843 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7844 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7845 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
7846 ac_prog_rejected=yes
7847 continue
7848 @@ -2056,6 +2716,7 @@
7849 fi
7850 done
7851 done
7852 +IFS=$as_save_IFS
7853
7854 if test $ac_prog_rejected = yes; then
7855 # We found a bogon in the path, so make sure we never use it.
7856 @@ -2073,22 +2734,23 @@
7857 fi
7858 CC=$ac_cv_prog_CC
7859 if test -n "$CC"; then
7860 - echo "$as_me:$LINENO: result: $CC" >&5
7861 -echo "${ECHO_T}$CC" >&6
7862 + { echo "$as_me:$LINENO: result: $CC" >&5
7863 +echo "${ECHO_T}$CC" >&6; }
7864 else
7865 - echo "$as_me:$LINENO: result: no" >&5
7866 -echo "${ECHO_T}no" >&6
7867 + { echo "$as_me:$LINENO: result: no" >&5
7868 +echo "${ECHO_T}no" >&6; }
7869 fi
7870
7871 +
7872 fi
7873 if test -z "$CC"; then
7874 if test -n "$ac_tool_prefix"; then
7875 - for ac_prog in cl
7876 + for ac_prog in cl.exe
7877 do
7878 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7879 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7880 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7881 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7882 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7883 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7884 if test "${ac_cv_prog_CC+set}" = set; then
7885 echo $ECHO_N "(cached) $ECHO_C" >&6
7886 else
7887 @@ -2101,36 +2763,38 @@
7888 IFS=$as_save_IFS
7889 test -z "$as_dir" && as_dir=.
7890 for ac_exec_ext in '' $ac_executable_extensions; do
7891 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7892 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7893 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
7894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7895 break 2
7896 fi
7897 done
7898 done
7899 +IFS=$as_save_IFS
7900
7901 fi
7902 fi
7903 CC=$ac_cv_prog_CC
7904 if test -n "$CC"; then
7905 - echo "$as_me:$LINENO: result: $CC" >&5
7906 -echo "${ECHO_T}$CC" >&6
7907 + { echo "$as_me:$LINENO: result: $CC" >&5
7908 +echo "${ECHO_T}$CC" >&6; }
7909 else
7910 - echo "$as_me:$LINENO: result: no" >&5
7911 -echo "${ECHO_T}no" >&6
7912 + { echo "$as_me:$LINENO: result: no" >&5
7913 +echo "${ECHO_T}no" >&6; }
7914 fi
7915
7916 +
7917 test -n "$CC" && break
7918 done
7919 fi
7920 if test -z "$CC"; then
7921 ac_ct_CC=$CC
7922 - for ac_prog in cl
7923 + for ac_prog in cl.exe
7924 do
7925 # Extract the first word of "$ac_prog", so it can be a program name with args.
7926 set dummy $ac_prog; ac_word=$2
7927 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7928 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7929 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7930 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7931 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7932 echo $ECHO_N "(cached) $ECHO_C" >&6
7933 else
7934 @@ -2143,29 +2807,45 @@
7935 IFS=$as_save_IFS
7936 test -z "$as_dir" && as_dir=.
7937 for ac_exec_ext in '' $ac_executable_extensions; do
7938 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7939 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7940 ac_cv_prog_ac_ct_CC="$ac_prog"
7941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7942 break 2
7943 fi
7944 done
7945 done
7946 +IFS=$as_save_IFS
7947
7948 fi
7949 fi
7950 ac_ct_CC=$ac_cv_prog_ac_ct_CC
7951 if test -n "$ac_ct_CC"; then
7952 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7953 -echo "${ECHO_T}$ac_ct_CC" >&6
7954 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7955 +echo "${ECHO_T}$ac_ct_CC" >&6; }
7956 else
7957 - echo "$as_me:$LINENO: result: no" >&5
7958 -echo "${ECHO_T}no" >&6
7959 + { echo "$as_me:$LINENO: result: no" >&5
7960 +echo "${ECHO_T}no" >&6; }
7961 fi
7962
7963 +
7964 test -n "$ac_ct_CC" && break
7965 done
7966
7967 - CC=$ac_ct_CC
7968 + if test "x$ac_ct_CC" = x; then
7969 + CC=""
7970 + else
7971 + case $cross_compiling:$ac_tool_warned in
7972 +yes:)
7973 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7974 +whose name does not start with the host triplet. If you think this
7975 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7976 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7977 +whose name does not start with the host triplet. If you think this
7978 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7979 +ac_tool_warned=yes ;;
7980 +esac
7981 + CC=$ac_ct_CC
7982 + fi
7983 fi
7984
7985 fi
7986 @@ -2178,21 +2858,35 @@
7987 { (exit 1); exit 1; }; }
7988
7989 # Provide some information about the compiler.
7990 -echo "$as_me:$LINENO:" \
7991 - "checking for C compiler version" >&5
7992 +echo "$as_me:$LINENO: checking for C compiler version" >&5
7993 ac_compiler=`set X $ac_compile; echo $2`
7994 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7995 - (eval $ac_compiler --version </dev/null >&5) 2>&5
7996 +{ (ac_try="$ac_compiler --version >&5"
7997 +case "(($ac_try" in
7998 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7999 + *) ac_try_echo=$ac_try;;
8000 +esac
8001 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8002 + (eval "$ac_compiler --version >&5") 2>&5
8003 ac_status=$?
8004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8005 (exit $ac_status); }
8006 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
8007 - (eval $ac_compiler -v </dev/null >&5) 2>&5
8008 +{ (ac_try="$ac_compiler -v >&5"
8009 +case "(($ac_try" in
8010 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8011 + *) ac_try_echo=$ac_try;;
8012 +esac
8013 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8014 + (eval "$ac_compiler -v >&5") 2>&5
8015 ac_status=$?
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 (exit $ac_status); }
8018 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
8019 - (eval $ac_compiler -V </dev/null >&5) 2>&5
8020 +{ (ac_try="$ac_compiler -V >&5"
8021 +case "(($ac_try" in
8022 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8023 + *) ac_try_echo=$ac_try;;
8024 +esac
8025 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8026 + (eval "$ac_compiler -V >&5") 2>&5
8027 ac_status=$?
8028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029 (exit $ac_status); }
8030 @@ -2217,47 +2911,77 @@
8031 # Try to create an executable without -o first, disregard a.out.
8032 # It will help us diagnose broken compilers, and finding out an intuition
8033 # of exeext.
8034 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
8035 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
8036 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
8037 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
8038 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
8039 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
8040 - (eval $ac_link_default) 2>&5
8041 +#
8042 +# List of possible output files, starting from the most likely.
8043 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
8044 +# only as a last resort. b.out is created by i960 compilers.
8045 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
8046 +#
8047 +# The IRIX 6 linker writes into existing files which may not be
8048 +# executable, retaining their permissions. Remove them first so a
8049 +# subsequent execution test works.
8050 +ac_rmfiles=
8051 +for ac_file in $ac_files
8052 +do
8053 + case $ac_file in
8054 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
8055 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
8056 + esac
8057 +done
8058 +rm -f $ac_rmfiles
8059 +
8060 +if { (ac_try="$ac_link_default"
8061 +case "(($ac_try" in
8062 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8063 + *) ac_try_echo=$ac_try;;
8064 +esac
8065 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8066 + (eval "$ac_link_default") 2>&5
8067 ac_status=$?
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); }; then
8070 - # Find the output, starting from the most likely. This scheme is
8071 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
8072 -# resort.
8073 -
8074 -# Be careful to initialize this variable, since it used to be cached.
8075 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
8076 -ac_cv_exeext=
8077 -# b.out is created by i960 compilers.
8078 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
8079 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
8080 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
8081 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
8082 +# so that the user can short-circuit this test for compilers unknown to
8083 +# Autoconf.
8084 +for ac_file in $ac_files ''
8085 do
8086 test -f "$ac_file" || continue
8087 case $ac_file in
8088 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
8089 - ;;
8090 - conftest.$ac_ext )
8091 - # This is the source file.
8092 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
8093 ;;
8094 [ab].out )
8095 # We found the default executable, but exeext='' is most
8096 # certainly right.
8097 break;;
8098 *.* )
8099 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8100 - # FIXME: I believe we export ac_cv_exeext for Libtool,
8101 - # but it would be cool to find out if it's true. Does anybody
8102 - # maintain Libtool? --akim.
8103 - export ac_cv_exeext
8104 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
8105 + then :; else
8106 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8107 + fi
8108 + # We set ac_cv_exeext here because the later test for it is not
8109 + # safe: cross compilers may not add the suffix if given an `-o'
8110 + # argument, so we may need to know it at that point already.
8111 + # Even if this section looks crufty: it has the advantage of
8112 + # actually working.
8113 break;;
8114 * )
8115 break;;
8116 esac
8117 done
8118 +test "$ac_cv_exeext" = no && ac_cv_exeext=
8119 +
8120 else
8121 + ac_file=''
8122 +fi
8123 +
8124 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
8125 +echo "${ECHO_T}$ac_file" >&6; }
8126 +if test -z "$ac_file"; then
8127 echo "$as_me: failed program was:" >&5
8128 sed 's/^/| /' conftest.$ac_ext >&5
8129
8130 @@ -2269,19 +2993,21 @@
8131 fi
8132
8133 ac_exeext=$ac_cv_exeext
8134 -echo "$as_me:$LINENO: result: $ac_file" >&5
8135 -echo "${ECHO_T}$ac_file" >&6
8136
8137 -# Check the compiler produces executables we can run. If not, either
8138 +# Check that the compiler produces executables we can run. If not, either
8139 # the compiler is broken, or we cross compile.
8140 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
8141 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
8142 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
8143 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
8144 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
8145 # If not cross compiling, check that we can run a simple program.
8146 if test "$cross_compiling" != yes; then
8147 if { ac_try='./$ac_file'
8148 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8149 - (eval $ac_try) 2>&5
8150 + { (case "(($ac_try" in
8151 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8152 + *) ac_try_echo=$ac_try;;
8153 +esac
8154 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8155 + (eval "$ac_try") 2>&5
8156 ac_status=$?
8157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8158 (exit $ac_status); }; }; then
8159 @@ -2300,22 +3026,27 @@
8160 fi
8161 fi
8162 fi
8163 -echo "$as_me:$LINENO: result: yes" >&5
8164 -echo "${ECHO_T}yes" >&6
8165 +{ echo "$as_me:$LINENO: result: yes" >&5
8166 +echo "${ECHO_T}yes" >&6; }
8167
8168 rm -f a.out a.exe conftest$ac_cv_exeext b.out
8169 ac_clean_files=$ac_clean_files_save
8170 -# Check the compiler produces executables we can run. If not, either
8171 +# Check that the compiler produces executables we can run. If not, either
8172 # the compiler is broken, or we cross compile.
8173 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
8174 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
8175 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
8176 -echo "${ECHO_T}$cross_compiling" >&6
8177 -
8178 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
8179 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
8180 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8181 - (eval $ac_link) 2>&5
8182 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
8183 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
8184 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
8185 +echo "${ECHO_T}$cross_compiling" >&6; }
8186 +
8187 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
8188 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
8189 +if { (ac_try="$ac_link"
8190 +case "(($ac_try" in
8191 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8192 + *) ac_try_echo=$ac_try;;
8193 +esac
8194 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8195 + (eval "$ac_link") 2>&5
8196 ac_status=$?
8197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 (exit $ac_status); }; then
8199 @@ -2326,9 +3057,8 @@
8200 for ac_file in conftest.exe conftest conftest.*; do
8201 test -f "$ac_file" || continue
8202 case $ac_file in
8203 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
8204 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
8205 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8206 - export ac_cv_exeext
8207 break;;
8208 * ) break;;
8209 esac
8210 @@ -2342,14 +3072,14 @@
8211 fi
8212
8213 rm -f conftest$ac_cv_exeext
8214 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
8215 -echo "${ECHO_T}$ac_cv_exeext" >&6
8216 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
8217 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
8218
8219 rm -f conftest.$ac_ext
8220 EXEEXT=$ac_cv_exeext
8221 ac_exeext=$EXEEXT
8222 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
8223 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
8224 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
8225 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
8226 if test "${ac_cv_objext+set}" = set; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8228 else
8229 @@ -2369,14 +3099,20 @@
8230 }
8231 _ACEOF
8232 rm -f conftest.o conftest.obj
8233 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8234 - (eval $ac_compile) 2>&5
8235 +if { (ac_try="$ac_compile"
8236 +case "(($ac_try" in
8237 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8238 + *) ac_try_echo=$ac_try;;
8239 +esac
8240 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8241 + (eval "$ac_compile") 2>&5
8242 ac_status=$?
8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8244 (exit $ac_status); }; then
8245 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
8246 + for ac_file in conftest.o conftest.obj conftest.*; do
8247 + test -f "$ac_file" || continue;
8248 case $ac_file in
8249 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
8250 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
8251 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
8252 break;;
8253 esac
8254 @@ -2394,12 +3130,12 @@
8255
8256 rm -f conftest.$ac_cv_objext conftest.$ac_ext
8257 fi
8258 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
8259 -echo "${ECHO_T}$ac_cv_objext" >&6
8260 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
8261 +echo "${ECHO_T}$ac_cv_objext" >&6; }
8262 OBJEXT=$ac_cv_objext
8263 ac_objext=$OBJEXT
8264 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
8265 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
8266 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
8267 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
8268 if test "${ac_cv_c_compiler_gnu+set}" = set; then
8269 echo $ECHO_N "(cached) $ECHO_C" >&6
8270 else
8271 @@ -2422,49 +3158,49 @@
8272 }
8273 _ACEOF
8274 rm -f conftest.$ac_objext
8275 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8276 - (eval $ac_compile) 2>conftest.er1
8277 +if { (ac_try="$ac_compile"
8278 +case "(($ac_try" in
8279 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8280 + *) ac_try_echo=$ac_try;;
8281 +esac
8282 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8283 + (eval "$ac_compile") 2>conftest.er1
8284 ac_status=$?
8285 grep -v '^ *+' conftest.er1 >conftest.err
8286 rm -f conftest.er1
8287 cat conftest.err >&5
8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289 - (exit $ac_status); } &&
8290 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8291 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8292 - (eval $ac_try) 2>&5
8293 - ac_status=$?
8294 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 - (exit $ac_status); }; } &&
8296 - { ac_try='test -s conftest.$ac_objext'
8297 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8298 - (eval $ac_try) 2>&5
8299 - ac_status=$?
8300 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 - (exit $ac_status); }; }; then
8302 + (exit $ac_status); } && {
8303 + test -z "$ac_c_werror_flag" ||
8304 + test ! -s conftest.err
8305 + } && test -s conftest.$ac_objext; then
8306 ac_compiler_gnu=yes
8307 else
8308 echo "$as_me: failed program was:" >&5
8309 sed 's/^/| /' conftest.$ac_ext >&5
8310
8311 -ac_compiler_gnu=no
8312 + ac_compiler_gnu=no
8313 fi
8314 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8315 +
8316 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8317 ac_cv_c_compiler_gnu=$ac_compiler_gnu
8318
8319 fi
8320 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
8321 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
8322 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
8323 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
8324 GCC=`test $ac_compiler_gnu = yes && echo yes`
8325 ac_test_CFLAGS=${CFLAGS+set}
8326 ac_save_CFLAGS=$CFLAGS
8327 -CFLAGS="-g"
8328 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
8329 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
8330 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
8331 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
8332 if test "${ac_cv_prog_cc_g+set}" = set; then
8333 echo $ECHO_N "(cached) $ECHO_C" >&6
8334 else
8335 - cat >conftest.$ac_ext <<_ACEOF
8336 + ac_save_c_werror_flag=$ac_c_werror_flag
8337 + ac_c_werror_flag=yes
8338 + ac_cv_prog_cc_g=no
8339 + CFLAGS="-g"
8340 + cat >conftest.$ac_ext <<_ACEOF
8341 /* confdefs.h. */
8342 _ACEOF
8343 cat confdefs.h >>conftest.$ac_ext
8344 @@ -2480,37 +3216,118 @@
8345 }
8346 _ACEOF
8347 rm -f conftest.$ac_objext
8348 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8349 - (eval $ac_compile) 2>conftest.er1
8350 +if { (ac_try="$ac_compile"
8351 +case "(($ac_try" in
8352 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8353 + *) ac_try_echo=$ac_try;;
8354 +esac
8355 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8356 + (eval "$ac_compile") 2>conftest.er1
8357 ac_status=$?
8358 grep -v '^ *+' conftest.er1 >conftest.err
8359 rm -f conftest.er1
8360 cat conftest.err >&5
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 - (exit $ac_status); } &&
8363 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8364 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8365 - (eval $ac_try) 2>&5
8366 + (exit $ac_status); } && {
8367 + test -z "$ac_c_werror_flag" ||
8368 + test ! -s conftest.err
8369 + } && test -s conftest.$ac_objext; then
8370 + ac_cv_prog_cc_g=yes
8371 +else
8372 + echo "$as_me: failed program was:" >&5
8373 +sed 's/^/| /' conftest.$ac_ext >&5
8374 +
8375 + CFLAGS=""
8376 + cat >conftest.$ac_ext <<_ACEOF
8377 +/* confdefs.h. */
8378 +_ACEOF
8379 +cat confdefs.h >>conftest.$ac_ext
8380 +cat >>conftest.$ac_ext <<_ACEOF
8381 +/* end confdefs.h. */
8382 +
8383 +int
8384 +main ()
8385 +{
8386 +
8387 + ;
8388 + return 0;
8389 +}
8390 +_ACEOF
8391 +rm -f conftest.$ac_objext
8392 +if { (ac_try="$ac_compile"
8393 +case "(($ac_try" in
8394 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8395 + *) ac_try_echo=$ac_try;;
8396 +esac
8397 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8398 + (eval "$ac_compile") 2>conftest.er1
8399 ac_status=$?
8400 + grep -v '^ *+' conftest.er1 >conftest.err
8401 + rm -f conftest.er1
8402 + cat conftest.err >&5
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 - (exit $ac_status); }; } &&
8405 - { ac_try='test -s conftest.$ac_objext'
8406 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8407 - (eval $ac_try) 2>&5
8408 + (exit $ac_status); } && {
8409 + test -z "$ac_c_werror_flag" ||
8410 + test ! -s conftest.err
8411 + } && test -s conftest.$ac_objext; then
8412 + :
8413 +else
8414 + echo "$as_me: failed program was:" >&5
8415 +sed 's/^/| /' conftest.$ac_ext >&5
8416 +
8417 + ac_c_werror_flag=$ac_save_c_werror_flag
8418 + CFLAGS="-g"
8419 + cat >conftest.$ac_ext <<_ACEOF
8420 +/* confdefs.h. */
8421 +_ACEOF
8422 +cat confdefs.h >>conftest.$ac_ext
8423 +cat >>conftest.$ac_ext <<_ACEOF
8424 +/* end confdefs.h. */
8425 +
8426 +int
8427 +main ()
8428 +{
8429 +
8430 + ;
8431 + return 0;
8432 +}
8433 +_ACEOF
8434 +rm -f conftest.$ac_objext
8435 +if { (ac_try="$ac_compile"
8436 +case "(($ac_try" in
8437 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8438 + *) ac_try_echo=$ac_try;;
8439 +esac
8440 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8441 + (eval "$ac_compile") 2>conftest.er1
8442 ac_status=$?
8443 + grep -v '^ *+' conftest.er1 >conftest.err
8444 + rm -f conftest.er1
8445 + cat conftest.err >&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 - (exit $ac_status); }; }; then
8448 + (exit $ac_status); } && {
8449 + test -z "$ac_c_werror_flag" ||
8450 + test ! -s conftest.err
8451 + } && test -s conftest.$ac_objext; then
8452 ac_cv_prog_cc_g=yes
8453 else
8454 echo "$as_me: failed program was:" >&5
8455 sed 's/^/| /' conftest.$ac_ext >&5
8456
8457 -ac_cv_prog_cc_g=no
8458 +
8459 +fi
8460 +
8461 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8462 fi
8463 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8464 +
8465 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8466 +fi
8467 +
8468 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8469 + ac_c_werror_flag=$ac_save_c_werror_flag
8470 fi
8471 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
8472 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
8473 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
8474 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
8475 if test "$ac_test_CFLAGS" = set; then
8476 CFLAGS=$ac_save_CFLAGS
8477 elif test $ac_cv_prog_cc_g = yes; then
8478 @@ -2526,12 +3343,12 @@
8479 CFLAGS=
8480 fi
8481 fi
8482 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
8483 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
8484 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
8485 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
8486 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
8487 +if test "${ac_cv_prog_cc_c89+set}" = set; then
8488 echo $ECHO_N "(cached) $ECHO_C" >&6
8489 else
8490 - ac_cv_prog_cc_stdc=no
8491 + ac_cv_prog_cc_c89=no
8492 ac_save_CC=$CC
8493 cat >conftest.$ac_ext <<_ACEOF
8494 /* confdefs.h. */
8495 @@ -2565,12 +3382,17 @@
8496 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
8497 function prototypes and stuff, but not '\xHH' hex character constants.
8498 These don't provoke an error unfortunately, instead are silently treated
8499 - as 'x'. The following induces an error, until -std1 is added to get
8500 + as 'x'. The following induces an error, until -std is added to get
8501 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
8502 array size at least. It's necessary to write '\x00'==0 to get something
8503 - that's true only with -std1. */
8504 + that's true only with -std. */
8505 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
8506
8507 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
8508 + inside strings and character constants. */
8509 +#define FOO(x) 'x'
8510 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
8511 +
8512 int test (int i, double x);
8513 struct s1 {int (*f) (int a);};
8514 struct s2 {int (*f) (double a);};
8515 @@ -2585,256 +3407,244 @@
8516 return 0;
8517 }
8518 _ACEOF
8519 -# Don't try gcc -ansi; that turns off useful extensions and
8520 -# breaks some systems' header files.
8521 -# AIX -qlanglvl=ansi
8522 -# Ultrix and OSF/1 -std1
8523 -# HP-UX 10.20 and later -Ae
8524 -# HP-UX older versions -Aa -D_HPUX_SOURCE
8525 -# SVR4 -Xc -D__EXTENSIONS__
8526 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8527 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
8528 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8529 do
8530 CC="$ac_save_CC $ac_arg"
8531 rm -f conftest.$ac_objext
8532 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8533 - (eval $ac_compile) 2>conftest.er1
8534 +if { (ac_try="$ac_compile"
8535 +case "(($ac_try" in
8536 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8537 + *) ac_try_echo=$ac_try;;
8538 +esac
8539 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8540 + (eval "$ac_compile") 2>conftest.er1
8541 ac_status=$?
8542 grep -v '^ *+' conftest.er1 >conftest.err
8543 rm -f conftest.er1
8544 cat conftest.err >&5
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 - (exit $ac_status); } &&
8547 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8548 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549 - (eval $ac_try) 2>&5
8550 - ac_status=$?
8551 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552 - (exit $ac_status); }; } &&
8553 - { ac_try='test -s conftest.$ac_objext'
8554 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 - (eval $ac_try) 2>&5
8556 - ac_status=$?
8557 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 - (exit $ac_status); }; }; then
8559 - ac_cv_prog_cc_stdc=$ac_arg
8560 -break
8561 + (exit $ac_status); } && {
8562 + test -z "$ac_c_werror_flag" ||
8563 + test ! -s conftest.err
8564 + } && test -s conftest.$ac_objext; then
8565 + ac_cv_prog_cc_c89=$ac_arg
8566 else
8567 echo "$as_me: failed program was:" >&5
8568 sed 's/^/| /' conftest.$ac_ext >&5
8569
8570 +
8571 fi
8572 -rm -f conftest.err conftest.$ac_objext
8573 +
8574 +rm -f core conftest.err conftest.$ac_objext
8575 + test "x$ac_cv_prog_cc_c89" != "xno" && break
8576 done
8577 -rm -f conftest.$ac_ext conftest.$ac_objext
8578 +rm -f conftest.$ac_ext
8579 CC=$ac_save_CC
8580
8581 fi
8582 -
8583 -case "x$ac_cv_prog_cc_stdc" in
8584 - x|xno)
8585 - echo "$as_me:$LINENO: result: none needed" >&5
8586 -echo "${ECHO_T}none needed" >&6 ;;
8587 +# AC_CACHE_VAL
8588 +case "x$ac_cv_prog_cc_c89" in
8589 + x)
8590 + { echo "$as_me:$LINENO: result: none needed" >&5
8591 +echo "${ECHO_T}none needed" >&6; } ;;
8592 + xno)
8593 + { echo "$as_me:$LINENO: result: unsupported" >&5
8594 +echo "${ECHO_T}unsupported" >&6; } ;;
8595 *)
8596 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
8597 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
8598 - CC="$CC $ac_cv_prog_cc_stdc" ;;
8599 + CC="$CC $ac_cv_prog_cc_c89"
8600 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
8601 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
8602 esac
8603
8604 -# Some people use a C++ compiler to compile C. Since we use `exit',
8605 -# in C++ we need to declare it. In case someone uses the same compiler
8606 -# for both compiling C and C++ we need to have the C++ compiler decide
8607 -# the declaration of exit, since it's the most demanding environment.
8608 -cat >conftest.$ac_ext <<_ACEOF
8609 -#ifndef __cplusplus
8610 - choke me
8611 -#endif
8612 -_ACEOF
8613 -rm -f conftest.$ac_objext
8614 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8615 - (eval $ac_compile) 2>conftest.er1
8616 - ac_status=$?
8617 - grep -v '^ *+' conftest.er1 >conftest.err
8618 - rm -f conftest.er1
8619 - cat conftest.err >&5
8620 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 - (exit $ac_status); } &&
8622 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8623 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8624 - (eval $ac_try) 2>&5
8625 - ac_status=$?
8626 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 - (exit $ac_status); }; } &&
8628 - { ac_try='test -s conftest.$ac_objext'
8629 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8630 - (eval $ac_try) 2>&5
8631 - ac_status=$?
8632 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 - (exit $ac_status); }; }; then
8634 - for ac_declaration in \
8635 - '' \
8636 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
8637 - 'extern "C" void std::exit (int); using std::exit;' \
8638 - 'extern "C" void exit (int) throw ();' \
8639 - 'extern "C" void exit (int);' \
8640 - 'void exit (int);'
8641 -do
8642 - cat >conftest.$ac_ext <<_ACEOF
8643 -/* confdefs.h. */
8644 -_ACEOF
8645 -cat confdefs.h >>conftest.$ac_ext
8646 -cat >>conftest.$ac_ext <<_ACEOF
8647 -/* end confdefs.h. */
8648 -$ac_declaration
8649 -#include <stdlib.h>
8650 -int
8651 -main ()
8652 -{
8653 -exit (42);
8654 - ;
8655 - return 0;
8656 -}
8657 -_ACEOF
8658 -rm -f conftest.$ac_objext
8659 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8660 - (eval $ac_compile) 2>conftest.er1
8661 - ac_status=$?
8662 - grep -v '^ *+' conftest.er1 >conftest.err
8663 - rm -f conftest.er1
8664 - cat conftest.err >&5
8665 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666 - (exit $ac_status); } &&
8667 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8668 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8669 - (eval $ac_try) 2>&5
8670 - ac_status=$?
8671 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 - (exit $ac_status); }; } &&
8673 - { ac_try='test -s conftest.$ac_objext'
8674 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675 - (eval $ac_try) 2>&5
8676 - ac_status=$?
8677 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678 - (exit $ac_status); }; }; then
8679 - :
8680 -else
8681 - echo "$as_me: failed program was:" >&5
8682 -sed 's/^/| /' conftest.$ac_ext >&5
8683
8684 -continue
8685 +ac_ext=c
8686 +ac_cpp='$CPP $CPPFLAGS'
8687 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8688 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8689 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
8690 +DEPDIR="${am__leading_dot}deps"
8691 +
8692 +ac_config_commands="$ac_config_commands depfiles"
8693 +
8694 +
8695 +am_make=${MAKE-make}
8696 +cat > confinc << 'END'
8697 +am__doit:
8698 + @echo done
8699 +.PHONY: am__doit
8700 +END
8701 +# If we don't find an include directive, just comment out the code.
8702 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
8703 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
8704 +am__include="#"
8705 +am__quote=
8706 +_am_result=none
8707 +# First try GNU make style include.
8708 +echo "include confinc" > confmf
8709 +# We grep out `Entering directory' and `Leaving directory'
8710 +# messages which can occur if `w' ends up in MAKEFLAGS.
8711 +# In particular we don't look at `^make:' because GNU make might
8712 +# be invoked under some other name (usually "gmake"), in which
8713 +# case it prints its new name instead of `make'.
8714 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
8715 + am__include=include
8716 + am__quote=
8717 + _am_result=GNU
8718 +fi
8719 +# Now try BSD make style include.
8720 +if test "$am__include" = "#"; then
8721 + echo '.include "confinc"' > confmf
8722 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
8723 + am__include=.include
8724 + am__quote="\""
8725 + _am_result=BSD
8726 + fi
8727 fi
8728 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8729 - cat >conftest.$ac_ext <<_ACEOF
8730 -/* confdefs.h. */
8731 -_ACEOF
8732 -cat confdefs.h >>conftest.$ac_ext
8733 -cat >>conftest.$ac_ext <<_ACEOF
8734 -/* end confdefs.h. */
8735 -$ac_declaration
8736 -int
8737 -main ()
8738 -{
8739 -exit (42);
8740 - ;
8741 - return 0;
8742 -}
8743 -_ACEOF
8744 -rm -f conftest.$ac_objext
8745 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8746 - (eval $ac_compile) 2>conftest.er1
8747 - ac_status=$?
8748 - grep -v '^ *+' conftest.er1 >conftest.err
8749 - rm -f conftest.er1
8750 - cat conftest.err >&5
8751 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 - (exit $ac_status); } &&
8753 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8754 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8755 - (eval $ac_try) 2>&5
8756 - ac_status=$?
8757 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758 - (exit $ac_status); }; } &&
8759 - { ac_try='test -s conftest.$ac_objext'
8760 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8761 - (eval $ac_try) 2>&5
8762 - ac_status=$?
8763 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8764 - (exit $ac_status); }; }; then
8765 - break
8766 -else
8767 - echo "$as_me: failed program was:" >&5
8768 -sed 's/^/| /' conftest.$ac_ext >&5
8769
8770 +
8771 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
8772 +echo "${ECHO_T}$_am_result" >&6; }
8773 +rm -f confinc confmf
8774 +
8775 +# Check whether --enable-dependency-tracking was given.
8776 +if test "${enable_dependency_tracking+set}" = set; then
8777 + enableval=$enable_dependency_tracking;
8778 fi
8779 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8780 -done
8781 -rm -f conftest*
8782 -if test -n "$ac_declaration"; then
8783 - echo '#ifdef __cplusplus' >>confdefs.h
8784 - echo $ac_declaration >>confdefs.h
8785 - echo '#endif' >>confdefs.h
8786 +
8787 +if test "x$enable_dependency_tracking" != xno; then
8788 + am_depcomp="$ac_aux_dir/depcomp"
8789 + AMDEPBACKSLASH='\'
8790 fi
8791
8792 -else
8793 - echo "$as_me: failed program was:" >&5
8794 -sed 's/^/| /' conftest.$ac_ext >&5
8795
8796 +if test "x$enable_dependency_tracking" != xno; then
8797 + AMDEP_TRUE=
8798 + AMDEP_FALSE='#'
8799 +else
8800 + AMDEP_TRUE='#'
8801 + AMDEP_FALSE=
8802 fi
8803 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8804 -ac_ext=c
8805 -ac_cpp='$CPP $CPPFLAGS'
8806 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8807 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8808 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
8809
8810
8811 -missing_dir=`cd $ac_aux_dir && pwd`
8812 -for ac_prog in flex lex
8813 -do
8814 - # Extract the first word of "$ac_prog", so it can be a program name with args.
8815 -set dummy $ac_prog; ac_word=$2
8816 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8817 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8818 -if test "${ac_cv_prog_LEX+set}" = set; then
8819 +
8820 +
8821 +depcc="$CC" am_compiler_list=
8822 +
8823 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
8824 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
8825 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
8826 echo $ECHO_N "(cached) $ECHO_C" >&6
8827 else
8828 - if test -n "$LEX"; then
8829 - ac_cv_prog_LEX="$LEX" # Let the user override the test.
8830 -else
8831 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8832 -for as_dir in $PATH
8833 -do
8834 - IFS=$as_save_IFS
8835 - test -z "$as_dir" && as_dir=.
8836 - for ac_exec_ext in '' $ac_executable_extensions; do
8837 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8838 - ac_cv_prog_LEX="$ac_prog"
8839 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8840 - break 2
8841 - fi
8842 -done
8843 -done
8844 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8845 + # We make a subdir and do the tests there. Otherwise we can end up
8846 + # making bogus files that we don't know about and never remove. For
8847 + # instance it was reported that on HP-UX the gcc test will end up
8848 + # making a dummy file named `D' -- because `-MD' means `put the output
8849 + # in D'.
8850 + mkdir conftest.dir
8851 + # Copy depcomp to subdir because otherwise we won't find it if we're
8852 + # using a relative directory.
8853 + cp "$am_depcomp" conftest.dir
8854 + cd conftest.dir
8855 + # We will build objects and dependencies in a subdirectory because
8856 + # it helps to detect inapplicable dependency modes. For instance
8857 + # both Tru64's cc and ICC support -MD to output dependencies as a
8858 + # side effect of compilation, but ICC will put the dependencies in
8859 + # the current directory while Tru64 will put them in the object
8860 + # directory.
8861 + mkdir sub
8862 +
8863 + am_cv_CC_dependencies_compiler_type=none
8864 + if test "$am_compiler_list" = ""; then
8865 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8866 + fi
8867 + for depmode in $am_compiler_list; do
8868 + # Setup a source with many dependencies, because some compilers
8869 + # like to wrap large dependency lists on column 80 (with \), and
8870 + # we should not choose a depcomp mode which is confused by this.
8871 + #
8872 + # We need to recreate these files for each test, as the compiler may
8873 + # overwrite some of them when testing with obscure command lines.
8874 + # This happens at least with the AIX C compiler.
8875 + : > sub/conftest.c
8876 + for i in 1 2 3 4 5 6; do
8877 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
8878 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8879 + # Solaris 8's {/usr,}/bin/sh.
8880 + touch sub/conftst$i.h
8881 + done
8882 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8883 +
8884 + case $depmode in
8885 + nosideeffect)
8886 + # after this tag, mechanisms are not by side-effect, so they'll
8887 + # only be used when explicitly requested
8888 + if test "x$enable_dependency_tracking" = xyes; then
8889 + continue
8890 + else
8891 + break
8892 + fi
8893 + ;;
8894 + none) break ;;
8895 + esac
8896 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
8897 + # mode. It turns out that the SunPro C++ compiler does not properly
8898 + # handle `-M -o', and we need to detect this.
8899 + if depmode=$depmode \
8900 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
8901 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8902 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
8903 + >/dev/null 2>conftest.err &&
8904 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8905 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
8906 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8907 + # icc doesn't choke on unknown options, it will just issue warnings
8908 + # or remarks (even with -Werror). So we grep stderr for any message
8909 + # that says an option was ignored or not supported.
8910 + # When given -MP, icc 7.0 and 7.1 complain thusly:
8911 + # icc: Command line warning: ignoring option '-M'; no argument required
8912 + # The diagnosis changed in icc 8.0:
8913 + # icc: Command line remark: option '-MP' not supported
8914 + if (grep 'ignoring option' conftest.err ||
8915 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8916 + am_cv_CC_dependencies_compiler_type=$depmode
8917 + break
8918 + fi
8919 + fi
8920 + done
8921
8922 + cd ..
8923 + rm -rf conftest.dir
8924 +else
8925 + am_cv_CC_dependencies_compiler_type=none
8926 fi
8927 +
8928 fi
8929 -LEX=$ac_cv_prog_LEX
8930 -if test -n "$LEX"; then
8931 - echo "$as_me:$LINENO: result: $LEX" >&5
8932 -echo "${ECHO_T}$LEX" >&6
8933 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
8934 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
8935 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
8936 +
8937 +
8938 +
8939 +if
8940 + test "x$enable_dependency_tracking" != xno \
8941 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
8942 + am__fastdepCC_TRUE=
8943 + am__fastdepCC_FALSE='#'
8944 else
8945 - echo "$as_me:$LINENO: result: no" >&5
8946 -echo "${ECHO_T}no" >&6
8947 + am__fastdepCC_TRUE='#'
8948 + am__fastdepCC_FALSE=
8949 fi
8950
8951 - test -n "$LEX" && break
8952 -done
8953 -test -n "$LEX" || LEX="$missing_dir/missing flex"
8954 +
8955
8956 for ac_prog in flex lex
8957 do
8958 # Extract the first word of "$ac_prog", so it can be a program name with args.
8959 set dummy $ac_prog; ac_word=$2
8960 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8961 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8962 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8963 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8964 if test "${ac_cv_prog_LEX+set}" = set; then
8965 echo $ECHO_N "(cached) $ECHO_C" >&6
8966 else
8967 @@ -2847,250 +3657,182 @@
8968 IFS=$as_save_IFS
8969 test -z "$as_dir" && as_dir=.
8970 for ac_exec_ext in '' $ac_executable_extensions; do
8971 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8972 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8973 ac_cv_prog_LEX="$ac_prog"
8974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8975 break 2
8976 fi
8977 done
8978 done
8979 +IFS=$as_save_IFS
8980
8981 fi
8982 fi
8983 LEX=$ac_cv_prog_LEX
8984 if test -n "$LEX"; then
8985 - echo "$as_me:$LINENO: result: $LEX" >&5
8986 -echo "${ECHO_T}$LEX" >&6
8987 + { echo "$as_me:$LINENO: result: $LEX" >&5
8988 +echo "${ECHO_T}$LEX" >&6; }
8989 else
8990 - echo "$as_me:$LINENO: result: no" >&5
8991 -echo "${ECHO_T}no" >&6
8992 + { echo "$as_me:$LINENO: result: no" >&5
8993 +echo "${ECHO_T}no" >&6; }
8994 fi
8995
8996 +
8997 test -n "$LEX" && break
8998 done
8999 test -n "$LEX" || LEX=":"
9000
9001 -if test -z "$LEXLIB"
9002 -then
9003 - echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
9004 -echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
9005 -if test "${ac_cv_lib_fl_yywrap+set}" = set; then
9006 - echo $ECHO_N "(cached) $ECHO_C" >&6
9007 -else
9008 - ac_check_lib_save_LIBS=$LIBS
9009 -LIBS="-lfl $LIBS"
9010 -cat >conftest.$ac_ext <<_ACEOF
9011 -/* confdefs.h. */
9012 +if test "x$LEX" != "x:"; then
9013 + cat >conftest.l <<_ACEOF
9014 +%%
9015 +a { ECHO; }
9016 +b { REJECT; }
9017 +c { yymore (); }
9018 +d { yyless (1); }
9019 +e { yyless (input () != 0); }
9020 +f { unput (yytext[0]); }
9021 +. { BEGIN INITIAL; }
9022 +%%
9023 +#ifdef YYTEXT_POINTER
9024 +extern char *yytext;
9025 +#endif
9026 +int
9027 +main (void)
9028 +{
9029 + return ! yylex () + ! yywrap ();
9030 +}
9031 _ACEOF
9032 -cat confdefs.h >>conftest.$ac_ext
9033 -cat >>conftest.$ac_ext <<_ACEOF
9034 -/* end confdefs.h. */
9035 -
9036 -/* Override any gcc2 internal prototype to avoid an error. */
9037 -#ifdef __cplusplus
9038 -extern "C"
9039 -#endif
9040 -/* We use char because int might match the return type of a gcc2
9041 - builtin and then its argument prototype would still apply. */
9042 -char yywrap ();
9043 -int
9044 -main ()
9045 -{
9046 -yywrap ();
9047 - ;
9048 - return 0;
9049 -}
9050 -_ACEOF
9051 -rm -f conftest.$ac_objext conftest$ac_exeext
9052 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9053 - (eval $ac_link) 2>conftest.er1
9054 - ac_status=$?
9055 - grep -v '^ *+' conftest.er1 >conftest.err
9056 - rm -f conftest.er1
9057 - cat conftest.err >&5
9058 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059 - (exit $ac_status); } &&
9060 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9061 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9062 - (eval $ac_try) 2>&5
9063 - ac_status=$?
9064 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9065 - (exit $ac_status); }; } &&
9066 - { ac_try='test -s conftest$ac_exeext'
9067 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9068 - (eval $ac_try) 2>&5
9069 +{ (ac_try="$LEX conftest.l"
9070 +case "(($ac_try" in
9071 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9072 + *) ac_try_echo=$ac_try;;
9073 +esac
9074 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9075 + (eval "$LEX conftest.l") 2>&5
9076 ac_status=$?
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 - (exit $ac_status); }; }; then
9079 - ac_cv_lib_fl_yywrap=yes
9080 + (exit $ac_status); }
9081 +{ echo "$as_me:$LINENO: checking lex output file root" >&5
9082 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
9083 +if test "${ac_cv_prog_lex_root+set}" = set; then
9084 + echo $ECHO_N "(cached) $ECHO_C" >&6
9085 else
9086 - echo "$as_me: failed program was:" >&5
9087 -sed 's/^/| /' conftest.$ac_ext >&5
9088
9089 -ac_cv_lib_fl_yywrap=no
9090 +if test -f lex.yy.c; then
9091 + ac_cv_prog_lex_root=lex.yy
9092 +elif test -f lexyy.c; then
9093 + ac_cv_prog_lex_root=lexyy
9094 +else
9095 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
9096 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
9097 + { (exit 1); exit 1; }; }
9098 fi
9099 -rm -f conftest.err conftest.$ac_objext \
9100 - conftest$ac_exeext conftest.$ac_ext
9101 -LIBS=$ac_check_lib_save_LIBS
9102 fi
9103 -echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
9104 -echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
9105 -if test $ac_cv_lib_fl_yywrap = yes; then
9106 - LEXLIB="-lfl"
9107 -else
9108 - echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
9109 -echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
9110 -if test "${ac_cv_lib_l_yywrap+set}" = set; then
9111 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
9112 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
9113 +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
9114 +
9115 +if test -z "${LEXLIB+set}"; then
9116 + { echo "$as_me:$LINENO: checking lex library" >&5
9117 +echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
9118 +if test "${ac_cv_lib_lex+set}" = set; then
9119 echo $ECHO_N "(cached) $ECHO_C" >&6
9120 else
9121 - ac_check_lib_save_LIBS=$LIBS
9122 -LIBS="-ll $LIBS"
9123 -cat >conftest.$ac_ext <<_ACEOF
9124 -/* confdefs.h. */
9125 -_ACEOF
9126 -cat confdefs.h >>conftest.$ac_ext
9127 -cat >>conftest.$ac_ext <<_ACEOF
9128 -/* end confdefs.h. */
9129
9130 -/* Override any gcc2 internal prototype to avoid an error. */
9131 -#ifdef __cplusplus
9132 -extern "C"
9133 -#endif
9134 -/* We use char because int might match the return type of a gcc2
9135 - builtin and then its argument prototype would still apply. */
9136 -char yywrap ();
9137 -int
9138 -main ()
9139 -{
9140 -yywrap ();
9141 - ;
9142 - return 0;
9143 -}
9144 + ac_save_LIBS=$LIBS
9145 + ac_cv_lib_lex='none needed'
9146 + for ac_lib in '' -lfl -ll; do
9147 + LIBS="$ac_lib $ac_save_LIBS"
9148 + cat >conftest.$ac_ext <<_ACEOF
9149 +`cat $LEX_OUTPUT_ROOT.c`
9150 _ACEOF
9151 rm -f conftest.$ac_objext conftest$ac_exeext
9152 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9153 - (eval $ac_link) 2>conftest.er1
9154 +if { (ac_try="$ac_link"
9155 +case "(($ac_try" in
9156 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9157 + *) ac_try_echo=$ac_try;;
9158 +esac
9159 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9160 + (eval "$ac_link") 2>conftest.er1
9161 ac_status=$?
9162 grep -v '^ *+' conftest.er1 >conftest.err
9163 rm -f conftest.er1
9164 cat conftest.err >&5
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 - (exit $ac_status); } &&
9167 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9168 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9169 - (eval $ac_try) 2>&5
9170 - ac_status=$?
9171 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 - (exit $ac_status); }; } &&
9173 - { ac_try='test -s conftest$ac_exeext'
9174 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9175 - (eval $ac_try) 2>&5
9176 - ac_status=$?
9177 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 - (exit $ac_status); }; }; then
9179 - ac_cv_lib_l_yywrap=yes
9180 + (exit $ac_status); } && {
9181 + test -z "$ac_c_werror_flag" ||
9182 + test ! -s conftest.err
9183 + } && test -s conftest$ac_exeext &&
9184 + $as_test_x conftest$ac_exeext; then
9185 + ac_cv_lib_lex=$ac_lib
9186 else
9187 echo "$as_me: failed program was:" >&5
9188 sed 's/^/| /' conftest.$ac_ext >&5
9189
9190 -ac_cv_lib_l_yywrap=no
9191 -fi
9192 -rm -f conftest.err conftest.$ac_objext \
9193 - conftest$ac_exeext conftest.$ac_ext
9194 -LIBS=$ac_check_lib_save_LIBS
9195 -fi
9196 -echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
9197 -echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
9198 -if test $ac_cv_lib_l_yywrap = yes; then
9199 - LEXLIB="-ll"
9200 -fi
9201
9202 fi
9203
9204 -fi
9205 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9206 + conftest$ac_exeext conftest.$ac_ext
9207 + test "$ac_cv_lib_lex" != 'none needed' && break
9208 + done
9209 + LIBS=$ac_save_LIBS
9210
9211 -if test "x$LEX" != "x:"; then
9212 - echo "$as_me:$LINENO: checking lex output file root" >&5
9213 -echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
9214 -if test "${ac_cv_prog_lex_root+set}" = set; then
9215 - echo $ECHO_N "(cached) $ECHO_C" >&6
9216 -else
9217 - # The minimal lex program is just a single line: %%. But some broken lexes
9218 -# (Solaris, I think it was) want two %% lines, so accommodate them.
9219 -cat >conftest.l <<_ACEOF
9220 -%%
9221 -%%
9222 -_ACEOF
9223 -{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
9224 - (eval $LEX conftest.l) 2>&5
9225 - ac_status=$?
9226 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 - (exit $ac_status); }
9228 -if test -f lex.yy.c; then
9229 - ac_cv_prog_lex_root=lex.yy
9230 -elif test -f lexyy.c; then
9231 - ac_cv_prog_lex_root=lexyy
9232 -else
9233 - { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
9234 -echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
9235 - { (exit 1); exit 1; }; }
9236 fi
9237 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
9238 +echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
9239 + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
9240 fi
9241 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
9242 -echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
9243 -rm -f conftest.l
9244 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
9245
9246 -echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
9247 -echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
9248 +
9249 +{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
9250 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
9251 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
9252 echo $ECHO_N "(cached) $ECHO_C" >&6
9253 else
9254 # POSIX says lex can declare yytext either as a pointer or an array; the
9255 -# default is implementation-dependent. Figure out which it is, since
9256 +# default is implementation-dependent. Figure out which it is, since
9257 # not all implementations provide the %pointer and %array declarations.
9258 ac_cv_prog_lex_yytext_pointer=no
9259 -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
9260 ac_save_LIBS=$LIBS
9261 -LIBS="$LIBS $LEXLIB"
9262 +LIBS="$LEXLIB $ac_save_LIBS"
9263 cat >conftest.$ac_ext <<_ACEOF
9264 +#define YYTEXT_POINTER 1
9265 `cat $LEX_OUTPUT_ROOT.c`
9266 _ACEOF
9267 rm -f conftest.$ac_objext conftest$ac_exeext
9268 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9269 - (eval $ac_link) 2>conftest.er1
9270 +if { (ac_try="$ac_link"
9271 +case "(($ac_try" in
9272 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9273 + *) ac_try_echo=$ac_try;;
9274 +esac
9275 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9276 + (eval "$ac_link") 2>conftest.er1
9277 ac_status=$?
9278 grep -v '^ *+' conftest.er1 >conftest.err
9279 rm -f conftest.er1
9280 cat conftest.err >&5
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 - (exit $ac_status); } &&
9283 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9284 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9285 - (eval $ac_try) 2>&5
9286 - ac_status=$?
9287 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 - (exit $ac_status); }; } &&
9289 - { ac_try='test -s conftest$ac_exeext'
9290 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9291 - (eval $ac_try) 2>&5
9292 - ac_status=$?
9293 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9294 - (exit $ac_status); }; }; then
9295 + (exit $ac_status); } && {
9296 + test -z "$ac_c_werror_flag" ||
9297 + test ! -s conftest.err
9298 + } && test -s conftest$ac_exeext &&
9299 + $as_test_x conftest$ac_exeext; then
9300 ac_cv_prog_lex_yytext_pointer=yes
9301 else
9302 echo "$as_me: failed program was:" >&5
9303 sed 's/^/| /' conftest.$ac_ext >&5
9304
9305 +
9306 fi
9307 -rm -f conftest.err conftest.$ac_objext \
9308 +
9309 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9310 conftest$ac_exeext conftest.$ac_ext
9311 LIBS=$ac_save_LIBS
9312 -rm -f "${LEX_OUTPUT_ROOT}.c"
9313
9314 fi
9315 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
9316 -echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
9317 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
9318 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
9319 if test $ac_cv_prog_lex_yytext_pointer = yes; then
9320
9321 cat >>confdefs.h <<\_ACEOF
9322 @@ -3098,15 +3840,18 @@
9323 _ACEOF
9324
9325 fi
9326 +rm -f conftest.l $LEX_OUTPUT_ROOT.c
9327
9328 fi
9329 -
9330 +if test "$LEX" = :; then
9331 + LEX=${am_missing_run}flex
9332 +fi
9333 for ac_prog in 'bison -y' byacc
9334 do
9335 # Extract the first word of "$ac_prog", so it can be a program name with args.
9336 set dummy $ac_prog; ac_word=$2
9337 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9338 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9339 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9340 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9341 if test "${ac_cv_prog_YACC+set}" = set; then
9342 echo $ECHO_N "(cached) $ECHO_C" >&6
9343 else
9344 @@ -3119,25 +3864,27 @@
9345 IFS=$as_save_IFS
9346 test -z "$as_dir" && as_dir=.
9347 for ac_exec_ext in '' $ac_executable_extensions; do
9348 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9349 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9350 ac_cv_prog_YACC="$ac_prog"
9351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9352 break 2
9353 fi
9354 done
9355 done
9356 +IFS=$as_save_IFS
9357
9358 fi
9359 fi
9360 YACC=$ac_cv_prog_YACC
9361 if test -n "$YACC"; then
9362 - echo "$as_me:$LINENO: result: $YACC" >&5
9363 -echo "${ECHO_T}$YACC" >&6
9364 + { echo "$as_me:$LINENO: result: $YACC" >&5
9365 +echo "${ECHO_T}$YACC" >&6; }
9366 else
9367 - echo "$as_me:$LINENO: result: no" >&5
9368 -echo "${ECHO_T}no" >&6
9369 + { echo "$as_me:$LINENO: result: no" >&5
9370 +echo "${ECHO_T}no" >&6; }
9371 fi
9372
9373 +
9374 test -n "$YACC" && break
9375 done
9376 test -n "$YACC" || YACC="yacc"
9377 @@ -3155,8 +3902,8 @@
9378 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9379 # OS/2's system install, which has a completely different semantic
9380 # ./install, which can be erroneously created by make from ./install.sh.
9381 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9382 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
9383 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9384 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
9385 if test -z "$INSTALL"; then
9386 if test "${ac_cv_path_install+set}" = set; then
9387 echo $ECHO_N "(cached) $ECHO_C" >&6
9388 @@ -3178,7 +3925,7 @@
9389 # by default.
9390 for ac_prog in ginstall scoinst install; do
9391 for ac_exec_ext in '' $ac_executable_extensions; do
9392 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9393 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
9394 if test $ac_prog = install &&
9395 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9396 # AIX install. It has an incompatible calling convention.
9397 @@ -3197,21 +3944,22 @@
9398 ;;
9399 esac
9400 done
9401 +IFS=$as_save_IFS
9402
9403
9404 fi
9405 if test "${ac_cv_path_install+set}" = set; then
9406 INSTALL=$ac_cv_path_install
9407 else
9408 - # As a last resort, use the slow shell script. We don't cache a
9409 - # path for INSTALL within a source directory, because that will
9410 + # As a last resort, use the slow shell script. Don't cache a
9411 + # value for INSTALL within a source directory, because that will
9412 # break other packages using the cache if that directory is
9413 - # removed, or if the path is relative.
9414 + # removed, or if the value is a relative name.
9415 INSTALL=$ac_install_sh
9416 fi
9417 fi
9418 -echo "$as_me:$LINENO: result: $INSTALL" >&5
9419 -echo "${ECHO_T}$INSTALL" >&6
9420 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
9421 +echo "${ECHO_T}$INSTALL" >&6; }
9422
9423 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9424 # It thinks the first close brace ends the variable substitution.
9425 @@ -3222,96 +3970,310 @@
9426 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9427
9428
9429 -# Check whether --enable-shared or --disable-shared was given.
9430 +# Check whether --enable-shared was given.
9431 if test "${enable_shared+set}" = set; then
9432 - enableval="$enable_shared"
9433 - p=${PACKAGE-default}
9434 -case $enableval in
9435 -yes) enable_shared=yes ;;
9436 -no) enable_shared=no ;;
9437 -*)
9438 - enable_shared=no
9439 - # Look at the argument we got. We use all the common list separators.
9440 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
9441 - for pkg in $enableval; do
9442 - if test "X$pkg" = "X$p"; then
9443 - enable_shared=yes
9444 - fi
9445 - done
9446 - IFS="$ac_save_ifs"
9447 - ;;
9448 -esac
9449 + enableval=$enable_shared; p=${PACKAGE-default}
9450 + case $enableval in
9451 + yes) enable_shared=yes ;;
9452 + no) enable_shared=no ;;
9453 + *)
9454 + enable_shared=no
9455 + # Look at the argument we got. We use all the common list separators.
9456 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9457 + for pkg in $enableval; do
9458 + IFS="$lt_save_ifs"
9459 + if test "X$pkg" = "X$p"; then
9460 + enable_shared=yes
9461 + fi
9462 + done
9463 + IFS="$lt_save_ifs"
9464 + ;;
9465 + esac
9466 else
9467 enable_shared=yes
9468 -fi;
9469 -# Check whether --enable-static or --disable-static was given.
9470 +fi
9471 +
9472 +
9473 +# Check whether --enable-static was given.
9474 if test "${enable_static+set}" = set; then
9475 - enableval="$enable_static"
9476 - p=${PACKAGE-default}
9477 -case $enableval in
9478 -yes) enable_static=yes ;;
9479 -no) enable_static=no ;;
9480 + enableval=$enable_static; p=${PACKAGE-default}
9481 + case $enableval in
9482 + yes) enable_static=yes ;;
9483 + no) enable_static=no ;;
9484 + *)
9485 + enable_static=no
9486 + # Look at the argument we got. We use all the common list separators.
9487 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9488 + for pkg in $enableval; do
9489 + IFS="$lt_save_ifs"
9490 + if test "X$pkg" = "X$p"; then
9491 + enable_static=yes
9492 + fi
9493 + done
9494 + IFS="$lt_save_ifs"
9495 + ;;
9496 + esac
9497 +else
9498 + enable_static=yes
9499 +fi
9500 +
9501 +
9502 +# Check whether --enable-fast-install was given.
9503 +if test "${enable_fast_install+set}" = set; then
9504 + enableval=$enable_fast_install; p=${PACKAGE-default}
9505 + case $enableval in
9506 + yes) enable_fast_install=yes ;;
9507 + no) enable_fast_install=no ;;
9508 + *)
9509 + enable_fast_install=no
9510 + # Look at the argument we got. We use all the common list separators.
9511 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9512 + for pkg in $enableval; do
9513 + IFS="$lt_save_ifs"
9514 + if test "X$pkg" = "X$p"; then
9515 + enable_fast_install=yes
9516 + fi
9517 + done
9518 + IFS="$lt_save_ifs"
9519 + ;;
9520 + esac
9521 +else
9522 + enable_fast_install=yes
9523 +fi
9524 +
9525 +
9526 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9527 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
9528 +if test "${lt_cv_path_SED+set}" = set; then
9529 + echo $ECHO_N "(cached) $ECHO_C" >&6
9530 +else
9531 + # Loop through the user's path and test for sed and gsed.
9532 +# Then use that list of sed's as ones to test for truncation.
9533 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9534 +for as_dir in $PATH
9535 +do
9536 + IFS=$as_save_IFS
9537 + test -z "$as_dir" && as_dir=.
9538 + for lt_ac_prog in sed gsed; do
9539 + for ac_exec_ext in '' $ac_executable_extensions; do
9540 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
9541 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
9542 + fi
9543 + done
9544 + done
9545 +done
9546 +lt_ac_max=0
9547 +lt_ac_count=0
9548 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
9549 +# along with /bin/sed that truncates output.
9550 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
9551 + test ! -f $lt_ac_sed && continue
9552 + cat /dev/null > conftest.in
9553 + lt_ac_count=0
9554 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
9555 + # Check for GNU sed and select it if it is found.
9556 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
9557 + lt_cv_path_SED=$lt_ac_sed
9558 + break
9559 + fi
9560 + while true; do
9561 + cat conftest.in conftest.in >conftest.tmp
9562 + mv conftest.tmp conftest.in
9563 + cp conftest.in conftest.nl
9564 + echo >>conftest.nl
9565 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
9566 + cmp -s conftest.out conftest.nl || break
9567 + # 10000 chars as input seems more than enough
9568 + test $lt_ac_count -gt 10 && break
9569 + lt_ac_count=`expr $lt_ac_count + 1`
9570 + if test $lt_ac_count -gt $lt_ac_max; then
9571 + lt_ac_max=$lt_ac_count
9572 + lt_cv_path_SED=$lt_ac_sed
9573 + fi
9574 + done
9575 +done
9576 +
9577 +fi
9578 +
9579 +SED=$lt_cv_path_SED
9580 +{ echo "$as_me:$LINENO: result: $SED" >&5
9581 +echo "${ECHO_T}$SED" >&6; }
9582 +
9583 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
9584 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
9585 +if test "${ac_cv_path_GREP+set}" = set; then
9586 + echo $ECHO_N "(cached) $ECHO_C" >&6
9587 +else
9588 + # Extract the first word of "grep ggrep" to use in msg output
9589 +if test -z "$GREP"; then
9590 +set dummy grep ggrep; ac_prog_name=$2
9591 +if test "${ac_cv_path_GREP+set}" = set; then
9592 + echo $ECHO_N "(cached) $ECHO_C" >&6
9593 +else
9594 + ac_path_GREP_found=false
9595 +# Loop through the user's path and test for each of PROGNAME-LIST
9596 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9597 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9598 +do
9599 + IFS=$as_save_IFS
9600 + test -z "$as_dir" && as_dir=.
9601 + for ac_prog in grep ggrep; do
9602 + for ac_exec_ext in '' $ac_executable_extensions; do
9603 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
9604 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
9605 + # Check for GNU ac_path_GREP and select it if it is found.
9606 + # Check for GNU $ac_path_GREP
9607 +case `"$ac_path_GREP" --version 2>&1` in
9608 +*GNU*)
9609 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
9610 *)
9611 - enable_static=no
9612 - # Look at the argument we got. We use all the common list separators.
9613 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
9614 - for pkg in $enableval; do
9615 - if test "X$pkg" = "X$p"; then
9616 - enable_static=yes
9617 + ac_count=0
9618 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
9619 + while :
9620 + do
9621 + cat "conftest.in" "conftest.in" >"conftest.tmp"
9622 + mv "conftest.tmp" "conftest.in"
9623 + cp "conftest.in" "conftest.nl"
9624 + echo 'GREP' >> "conftest.nl"
9625 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9626 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9627 + ac_count=`expr $ac_count + 1`
9628 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
9629 + # Best one so far, save it but keep looking for a better one
9630 + ac_cv_path_GREP="$ac_path_GREP"
9631 + ac_path_GREP_max=$ac_count
9632 fi
9633 + # 10*(2^10) chars as input seems more than enough
9634 + test $ac_count -gt 10 && break
9635 done
9636 - IFS="$ac_save_ifs"
9637 - ;;
9638 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9639 esac
9640 +
9641 +
9642 + $ac_path_GREP_found && break 3
9643 + done
9644 +done
9645 +
9646 +done
9647 +IFS=$as_save_IFS
9648 +
9649 +
9650 +fi
9651 +
9652 +GREP="$ac_cv_path_GREP"
9653 +if test -z "$GREP"; then
9654 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
9655 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
9656 + { (exit 1); exit 1; }; }
9657 +fi
9658 +
9659 else
9660 - enable_static=yes
9661 -fi;
9662 -# Check whether --enable-fast-install or --disable-fast-install was given.
9663 -if test "${enable_fast_install+set}" = set; then
9664 - enableval="$enable_fast_install"
9665 - p=${PACKAGE-default}
9666 -case $enableval in
9667 -yes) enable_fast_install=yes ;;
9668 -no) enable_fast_install=no ;;
9669 + ac_cv_path_GREP=$GREP
9670 +fi
9671 +
9672 +
9673 +fi
9674 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
9675 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
9676 + GREP="$ac_cv_path_GREP"
9677 +
9678 +
9679 +{ echo "$as_me:$LINENO: checking for egrep" >&5
9680 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
9681 +if test "${ac_cv_path_EGREP+set}" = set; then
9682 + echo $ECHO_N "(cached) $ECHO_C" >&6
9683 +else
9684 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
9685 + then ac_cv_path_EGREP="$GREP -E"
9686 + else
9687 + # Extract the first word of "egrep" to use in msg output
9688 +if test -z "$EGREP"; then
9689 +set dummy egrep; ac_prog_name=$2
9690 +if test "${ac_cv_path_EGREP+set}" = set; then
9691 + echo $ECHO_N "(cached) $ECHO_C" >&6
9692 +else
9693 + ac_path_EGREP_found=false
9694 +# Loop through the user's path and test for each of PROGNAME-LIST
9695 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9696 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9697 +do
9698 + IFS=$as_save_IFS
9699 + test -z "$as_dir" && as_dir=.
9700 + for ac_prog in egrep; do
9701 + for ac_exec_ext in '' $ac_executable_extensions; do
9702 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
9703 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
9704 + # Check for GNU ac_path_EGREP and select it if it is found.
9705 + # Check for GNU $ac_path_EGREP
9706 +case `"$ac_path_EGREP" --version 2>&1` in
9707 +*GNU*)
9708 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
9709 *)
9710 - enable_fast_install=no
9711 - # Look at the argument we got. We use all the common list separators.
9712 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
9713 - for pkg in $enableval; do
9714 - if test "X$pkg" = "X$p"; then
9715 - enable_fast_install=yes
9716 + ac_count=0
9717 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
9718 + while :
9719 + do
9720 + cat "conftest.in" "conftest.in" >"conftest.tmp"
9721 + mv "conftest.tmp" "conftest.in"
9722 + cp "conftest.in" "conftest.nl"
9723 + echo 'EGREP' >> "conftest.nl"
9724 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9725 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9726 + ac_count=`expr $ac_count + 1`
9727 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
9728 + # Best one so far, save it but keep looking for a better one
9729 + ac_cv_path_EGREP="$ac_path_EGREP"
9730 + ac_path_EGREP_max=$ac_count
9731 fi
9732 + # 10*(2^10) chars as input seems more than enough
9733 + test $ac_count -gt 10 && break
9734 done
9735 - IFS="$ac_save_ifs"
9736 - ;;
9737 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9738 esac
9739 +
9740 +
9741 + $ac_path_EGREP_found && break 3
9742 + done
9743 +done
9744 +
9745 +done
9746 +IFS=$as_save_IFS
9747 +
9748 +
9749 +fi
9750 +
9751 +EGREP="$ac_cv_path_EGREP"
9752 +if test -z "$EGREP"; then
9753 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
9754 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
9755 + { (exit 1); exit 1; }; }
9756 +fi
9757 +
9758 else
9759 - enable_fast_install=yes
9760 -fi;
9761 -# Find the correct PATH separator. Usually this is `:', but
9762 -# DJGPP uses `;' like DOS.
9763 -if test "X${PATH_SEPARATOR+set}" != Xset; then
9764 - UNAME=${UNAME-`uname 2>/dev/null`}
9765 - case X$UNAME in
9766 - *-DOS) lt_cv_sys_path_separator=';' ;;
9767 - *) lt_cv_sys_path_separator=':' ;;
9768 - esac
9769 - PATH_SEPARATOR=$lt_cv_sys_path_separator
9770 + ac_cv_path_EGREP=$EGREP
9771 +fi
9772 +
9773 +
9774 + fi
9775 fi
9776 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
9777 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
9778 + EGREP="$ac_cv_path_EGREP"
9779
9780
9781 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
9782 +
9783 +# Check whether --with-gnu-ld was given.
9784 if test "${with_gnu_ld+set}" = set; then
9785 - withval="$with_gnu_ld"
9786 - test "$withval" = no || with_gnu_ld=yes
9787 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9788 else
9789 with_gnu_ld=no
9790 -fi;
9791 +fi
9792 +
9793 ac_prog=ld
9794 if test "$GCC" = yes; then
9795 # Check if gcc -print-prog-name=ld gives a path.
9796 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9797 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9798 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9799 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9800 case $host in
9801 *-*-mingw*)
9802 # gcc leaves a trailing carriage return which upsets mingw
9803 @@ -3321,12 +4283,12 @@
9804 esac
9805 case $ac_prog in
9806 # Accept absolute paths.
9807 - [\\/]* | [A-Za-z]:[\\/]*)
9808 + [\\/]* | ?:[\\/]*)
9809 re_direlt='/[^/][^/]*/\.\./'
9810 - # Canonicalize the path of ld
9811 - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
9812 + # Canonicalize the pathname of ld
9813 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9814 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9815 - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
9816 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9817 done
9818 test -z "$LD" && LD="$ac_prog"
9819 ;;
9820 @@ -3340,32 +4302,36 @@
9821 ;;
9822 esac
9823 elif test "$with_gnu_ld" = yes; then
9824 - echo "$as_me:$LINENO: checking for GNU ld" >&5
9825 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9826 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
9827 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9828 else
9829 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9830 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9831 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9832 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9833 fi
9834 if test "${lt_cv_path_LD+set}" = set; then
9835 echo $ECHO_N "(cached) $ECHO_C" >&6
9836 else
9837 if test -z "$LD"; then
9838 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9839 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9840 for ac_dir in $PATH; do
9841 + IFS="$lt_save_ifs"
9842 test -z "$ac_dir" && ac_dir=.
9843 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9844 lt_cv_path_LD="$ac_dir/$ac_prog"
9845 # Check to see if the program is GNU ld. I'd rather use --version,
9846 - # but apparently some GNU ld's only accept -v.
9847 + # but apparently some variants of GNU ld only accept -v.
9848 # Break only if it was the GNU/non-GNU ld that we prefer.
9849 - if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
9850 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9851 + *GNU* | *'with BFD'*)
9852 test "$with_gnu_ld" != no && break
9853 - else
9854 + ;;
9855 + *)
9856 test "$with_gnu_ld" != yes && break
9857 - fi
9858 + ;;
9859 + esac
9860 fi
9861 done
9862 - IFS="$ac_save_ifs"
9863 + IFS="$lt_save_ifs"
9864 else
9865 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9866 fi
9867 @@ -3373,46 +4339,62 @@
9868
9869 LD="$lt_cv_path_LD"
9870 if test -n "$LD"; then
9871 - echo "$as_me:$LINENO: result: $LD" >&5
9872 -echo "${ECHO_T}$LD" >&6
9873 + { echo "$as_me:$LINENO: result: $LD" >&5
9874 +echo "${ECHO_T}$LD" >&6; }
9875 else
9876 - echo "$as_me:$LINENO: result: no" >&5
9877 -echo "${ECHO_T}no" >&6
9878 + { echo "$as_me:$LINENO: result: no" >&5
9879 +echo "${ECHO_T}no" >&6; }
9880 fi
9881 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9882 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9883 { (exit 1); exit 1; }; }
9884 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9885 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9886 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9887 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
9888 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9889 echo $ECHO_N "(cached) $ECHO_C" >&6
9890 else
9891 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9892 -if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
9893 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
9894 +case `$LD -v 2>&1 </dev/null` in
9895 +*GNU* | *'with BFD'*)
9896 lt_cv_prog_gnu_ld=yes
9897 -else
9898 + ;;
9899 +*)
9900 lt_cv_prog_gnu_ld=no
9901 + ;;
9902 +esac
9903 fi
9904 -fi
9905 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9906 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9907 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9908 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
9909 with_gnu_ld=$lt_cv_prog_gnu_ld
9910
9911
9912 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
9913 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
9914 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
9915 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
9916 if test "${lt_cv_ld_reload_flag+set}" = set; then
9917 echo $ECHO_N "(cached) $ECHO_C" >&6
9918 else
9919 lt_cv_ld_reload_flag='-r'
9920 fi
9921 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
9922 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
9923 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
9924 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
9925 reload_flag=$lt_cv_ld_reload_flag
9926 -test -n "$reload_flag" && reload_flag=" $reload_flag"
9927 +case $reload_flag in
9928 +"" | " "*) ;;
9929 +*) reload_flag=" $reload_flag" ;;
9930 +esac
9931 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
9932 +case $host_os in
9933 + darwin*)
9934 + if test "$GCC" = yes; then
9935 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
9936 + else
9937 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
9938 + fi
9939 + ;;
9940 +esac
9941
9942 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
9943 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
9944 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
9945 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
9946 if test "${lt_cv_path_NM+set}" = set; then
9947 echo $ECHO_N "(cached) $ECHO_C" >&6
9948 else
9949 @@ -3420,134 +4402,63 @@
9950 # Let the user override the test.
9951 lt_cv_path_NM="$NM"
9952 else
9953 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9954 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
9955 - test -z "$ac_dir" && ac_dir=.
9956 - tmp_nm=$ac_dir/${ac_tool_prefix}nm
9957 - if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
9958 - # Check to see if the nm accepts a BSD-compat flag.
9959 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
9960 - # nm: unknown option "B" ignored
9961 - # Tru64's nm complains that /dev/null is an invalid object file
9962 - if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
9963 - lt_cv_path_NM="$tmp_nm -B"
9964 - break
9965 - elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
9966 - lt_cv_path_NM="$tmp_nm -p"
9967 - break
9968 - else
9969 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
9970 - continue # so that we can try to find one that supports BSD flags
9971 - fi
9972 - fi
9973 - done
9974 - IFS="$ac_save_ifs"
9975 - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
9976 -fi
9977 -fi
9978 -
9979 -NM="$lt_cv_path_NM"
9980 -echo "$as_me:$LINENO: result: $NM" >&5
9981 -echo "${ECHO_T}$NM" >&6
9982 -
9983 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9984 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
9985 -if test "${lt_cv_path_SED+set}" = set; then
9986 - echo $ECHO_N "(cached) $ECHO_C" >&6
9987 -else
9988 - # Loop through the user's path and test for sed and gsed.
9989 -# Then use that list of sed's as ones to test for truncation.
9990 -as_executable_p="test -f"
9991 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9992 -for as_dir in $PATH
9993 -do
9994 - IFS=$as_save_IFS
9995 - test -z "$as_dir" && as_dir=.
9996 - for ac_prog in sed gsed; do
9997 - for ac_exec_ext in '' $ac_executable_extensions; do
9998 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9999 - _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
10000 - fi
10001 - done
10002 - done
10003 -done
10004 -
10005 - # Create a temporary directory, and hook for its removal unless debugging.
10006 -$debug ||
10007 -{
10008 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10009 - trap '{ (exit 1); exit 1; }' 1 2 13 15
10010 -}
10011 -
10012 -# Create a (secure) tmp directory for tmp files.
10013 -: ${TMPDIR=/tmp}
10014 -{
10015 - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
10016 - test -n "$tmp" && test -d "$tmp"
10017 -} ||
10018 -{
10019 - tmp=$TMPDIR/sed$$-$RANDOM
10020 - (umask 077 && mkdir $tmp)
10021 -} ||
10022 -{
10023 - echo "$me: cannot create a temporary directory in $TMPDIR" >&2
10024 - { (exit 1); exit 1; }
10025 -}
10026 - _max=0
10027 - _count=0
10028 - # Add /usr/xpg4/bin/sed as it is typically found on Solaris
10029 - # along with /bin/sed that truncates output.
10030 - for _sed in $_sed_list /usr/xpg4/bin/sed; do
10031 - test ! -f ${_sed} && break
10032 - cat /dev/null > "$tmp/sed.in"
10033 - _count=0
10034 - echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
10035 - # Check for GNU sed and select it if it is found.
10036 - if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
10037 - lt_cv_path_SED=${_sed}
10038 - break
10039 - fi
10040 - while true; do
10041 - cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
10042 - mv "$tmp/sed.tmp" "$tmp/sed.in"
10043 - cp "$tmp/sed.in" "$tmp/sed.nl"
10044 - echo >>"$tmp/sed.nl"
10045 - ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
10046 - cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
10047 - # 40000 chars as input seems more than enough
10048 - test $_count -gt 10 && break
10049 - _count=`expr $_count + 1`
10050 - if test $_count -gt $_max; then
10051 - _max=$_count
10052 - lt_cv_path_SED=$_sed
10053 + lt_nm_to_check="${ac_tool_prefix}nm"
10054 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
10055 + lt_nm_to_check="$lt_nm_to_check nm"
10056 + fi
10057 + for lt_tmp_nm in $lt_nm_to_check; do
10058 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10059 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
10060 + IFS="$lt_save_ifs"
10061 + test -z "$ac_dir" && ac_dir=.
10062 + tmp_nm="$ac_dir/$lt_tmp_nm"
10063 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
10064 + # Check to see if the nm accepts a BSD-compat flag.
10065 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
10066 + # nm: unknown option "B" ignored
10067 + # Tru64's nm complains that /dev/null is an invalid object file
10068 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
10069 + */dev/null* | *'Invalid file or object type'*)
10070 + lt_cv_path_NM="$tmp_nm -B"
10071 + break
10072 + ;;
10073 + *)
10074 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10075 + */dev/null*)
10076 + lt_cv_path_NM="$tmp_nm -p"
10077 + break
10078 + ;;
10079 + *)
10080 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10081 + continue # so that we can try to find one that supports BSD flags
10082 + ;;
10083 + esac
10084 + ;;
10085 + esac
10086 fi
10087 done
10088 + IFS="$lt_save_ifs"
10089 done
10090 - rm -rf "$tmp"
10091 -
10092 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
10093 fi
10094 -
10095 -if test "X$SED" != "X"; then
10096 - lt_cv_path_SED=$SED
10097 -else
10098 - SED=$lt_cv_path_SED
10099 fi
10100 -echo "$as_me:$LINENO: result: $SED" >&5
10101 -echo "${ECHO_T}$SED" >&6
10102 +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
10103 +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
10104 +NM="$lt_cv_path_NM"
10105
10106 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
10107 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
10108 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
10109 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
10110 LN_S=$as_ln_s
10111 if test "$LN_S" = "ln -s"; then
10112 - echo "$as_me:$LINENO: result: yes" >&5
10113 -echo "${ECHO_T}yes" >&6
10114 + { echo "$as_me:$LINENO: result: yes" >&5
10115 +echo "${ECHO_T}yes" >&6; }
10116 else
10117 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
10118 -echo "${ECHO_T}no, using $LN_S" >&6
10119 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
10120 +echo "${ECHO_T}no, using $LN_S" >&6; }
10121 fi
10122
10123 -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10124 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
10125 +{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10126 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
10127 if test "${lt_cv_deplibs_check_method+set}" = set; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10129 else
10130 @@ -3561,7 +4472,7 @@
10131 # 'pass_all' -- all dependencies passed with no checks.
10132 # 'test_compile' -- check by making test program.
10133 # 'file_magic [[regex]]' -- check by looking for files in library path
10134 -# which responds to the $file_magic_cmd with a given egrep regex.
10135 +# which responds to the $file_magic_cmd with a given extended regex.
10136 # If you have `file' or equivalent on your system and you're not sure
10137 # whether `pass_all' will *always* work, you probably want this one.
10138
10139 @@ -3574,37 +4485,36 @@
10140 lt_cv_deplibs_check_method=pass_all
10141 ;;
10142
10143 -bsdi4*)
10144 +bsdi[45]*)
10145 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
10146 lt_cv_file_magic_cmd='/usr/bin/file -L'
10147 lt_cv_file_magic_test_file=/shlib/libc.so
10148 ;;
10149
10150 -cygwin* | mingw* | pw32*)
10151 +cygwin*)
10152 + # func_win32_libid is a shell function defined in ltmain.sh
10153 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
10154 + lt_cv_file_magic_cmd='func_win32_libid'
10155 + ;;
10156 +
10157 +mingw* | pw32*)
10158 + # Base MSYS/MinGW do not provide the 'file' command needed by
10159 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
10160 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
10161 lt_cv_file_magic_cmd='$OBJDUMP -f'
10162 ;;
10163
10164 darwin* | rhapsody*)
10165 - lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
10166 - lt_cv_file_magic_cmd='/usr/bin/file -L'
10167 - case "$host_os" in
10168 - rhapsody* | darwin1.[012])
10169 - lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
10170 - ;;
10171 - *) # Darwin 1.3 on
10172 - lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
10173 - ;;
10174 - esac
10175 + lt_cv_deplibs_check_method=pass_all
10176 ;;
10177
10178 -freebsd*)
10179 +freebsd* | dragonfly*)
10180 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10181 case $host_cpu in
10182 i*86 )
10183 # Not sure whether the presence of OpenBSD here was a mistake.
10184 # Let's accept both of them until this is cleared up.
10185 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
10186 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
10187 lt_cv_file_magic_cmd=/usr/bin/file
10188 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10189 ;;
10190 @@ -3618,50 +4528,49 @@
10191 lt_cv_deplibs_check_method=pass_all
10192 ;;
10193
10194 -hpux10.20*|hpux11*)
10195 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10196 +hpux10.20* | hpux11*)
10197 lt_cv_file_magic_cmd=/usr/bin/file
10198 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
10199 - ;;
10200 -
10201 -irix5* | irix6* | nonstopux*)
10202 - case $host_os in
10203 - irix5* | nonstopux*)
10204 - # this will be overridden with pass_all, but let us keep it just in case
10205 - lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
10206 + case $host_cpu in
10207 + ia64*)
10208 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10209 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
10210 + ;;
10211 + hppa*64*)
10212 + 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]'
10213 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
10214 ;;
10215 *)
10216 - case $LD in
10217 - *-32|*"-32 ") libmagic=32-bit;;
10218 - *-n32|*"-n32 ") libmagic=N32;;
10219 - *-64|*"-64 ") libmagic=64-bit;;
10220 - *) libmagic=never-match;;
10221 - esac
10222 - # this will be overridden with pass_all, but let us keep it just in case
10223 - lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
10224 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
10225 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
10226 ;;
10227 esac
10228 - lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
10229 + ;;
10230 +
10231 +interix3*)
10232 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
10233 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
10234 + ;;
10235 +
10236 +irix5* | irix6* | nonstopux*)
10237 + case $LD in
10238 + *-32|*"-32 ") libmagic=32-bit;;
10239 + *-n32|*"-n32 ") libmagic=N32;;
10240 + *-64|*"-64 ") libmagic=64-bit;;
10241 + *) libmagic=never-match;;
10242 + esac
10243 lt_cv_deplibs_check_method=pass_all
10244 ;;
10245
10246 # This must be Linux ELF.
10247 -linux-gnu*)
10248 - case $host_cpu in
10249 - alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
10250 - lt_cv_deplibs_check_method=pass_all ;;
10251 - *)
10252 - # glibc up to 2.1.1 does not perform some relocations on ARM
10253 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
10254 - esac
10255 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
10256 +linux* | k*bsd*-gnu)
10257 + lt_cv_deplibs_check_method=pass_all
10258 ;;
10259
10260 -netbsd*)
10261 +netbsd* | netbsdelf*-gnu)
10262 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10263 - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
10264 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10265 else
10266 - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
10267 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
10268 fi
10269 ;;
10270
10271 @@ -3671,37 +4580,27 @@
10272 lt_cv_file_magic_test_file=/usr/lib/libnls.so
10273 ;;
10274
10275 +nto-qnx*)
10276 + lt_cv_deplibs_check_method=unknown
10277 + ;;
10278 +
10279 openbsd*)
10280 - lt_cv_file_magic_cmd=/usr/bin/file
10281 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10282 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10283 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
10284 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
10285 else
10286 - lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
10287 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10288 fi
10289 ;;
10290
10291 osf3* | osf4* | osf5*)
10292 - # this will be overridden with pass_all, but let us keep it just in case
10293 - lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
10294 - lt_cv_file_magic_test_file=/shlib/libc.so
10295 - lt_cv_deplibs_check_method=pass_all
10296 - ;;
10297 -
10298 -sco3.2v5*)
10299 lt_cv_deplibs_check_method=pass_all
10300 ;;
10301
10302 solaris*)
10303 lt_cv_deplibs_check_method=pass_all
10304 - lt_cv_file_magic_test_file=/lib/libc.so
10305 - ;;
10306 -
10307 -sysv5uw[78]* | sysv4*uw2*)
10308 - lt_cv_deplibs_check_method=pass_all
10309 ;;
10310
10311 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10312 +sysv4 | sysv4.3*)
10313 case $host_vendor in
10314 motorola)
10315 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]'
10316 @@ -3722,227 +4621,253 @@
10317 siemens)
10318 lt_cv_deplibs_check_method=pass_all
10319 ;;
10320 + pc)
10321 + lt_cv_deplibs_check_method=pass_all
10322 + ;;
10323 esac
10324 ;;
10325 +
10326 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10327 + lt_cv_deplibs_check_method=pass_all
10328 + ;;
10329 esac
10330
10331 fi
10332 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10333 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
10334 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10335 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
10336 file_magic_cmd=$lt_cv_file_magic_cmd
10337 deplibs_check_method=$lt_cv_deplibs_check_method
10338 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
10339
10340
10341
10342
10343 +# If no C compiler was specified, use CC.
10344 +LTCC=${LTCC-"$CC"}
10345
10346 +# If no C compiler flags were specified, use CFLAGS.
10347 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10348
10349 +# Allow CC to be a program name with arguments.
10350 +compiler=$CC
10351
10352 -# Check for command to grab the raw symbol name followed by C symbol from nm.
10353 -echo "$as_me:$LINENO: checking command to parse $NM output" >&5
10354 -echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
10355 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
10356 - echo $ECHO_N "(cached) $ECHO_C" >&6
10357 -else
10358 -
10359 -# These are sane defaults that work on at least a few old systems.
10360 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
10361 -
10362 -# Character class describing NM global symbol codes.
10363 -symcode='[BCDEGRST]'
10364 -
10365 -# Regexp to match symbols that can be accessed directly from C.
10366 -sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10367 -
10368 -# Transform the above into a raw symbol and a C symbol.
10369 -symxfrm='\1 \2\3 \3'
10370 -
10371 -# Transform an extracted symbol line into a proper C declaration
10372 -lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
10373 -
10374 -# Transform an extracted symbol line into symbol name and symbol address
10375 -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'"
10376 -
10377 -# Define system-specific variables.
10378 -case $host_os in
10379 -aix*)
10380 - symcode='[BCDT]'
10381 - ;;
10382 -cygwin* | mingw* | pw32*)
10383 - symcode='[ABCDGISTW]'
10384 - ;;
10385 -hpux*) # Its linker distinguishes data from code symbols
10386 - lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10387 - 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'"
10388 - ;;
10389 -irix* | nonstopux*)
10390 - symcode='[BCDEGRST]'
10391 - ;;
10392 -osf*)
10393 - symcode='[BCDEGQRST]'
10394 - ;;
10395 -solaris* | sysv5*)
10396 - symcode='[BDT]'
10397 - ;;
10398 -sysv4)
10399 - symcode='[DFNSTU]'
10400 - ;;
10401 -esac
10402 -
10403 -# Handle CRLF in mingw tool chain
10404 -opt_cr=
10405 -case $host_os in
10406 -mingw*)
10407 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10408 - ;;
10409 -esac
10410 -
10411 -# If we're using GNU nm, then use its standard symbol codes.
10412 -if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
10413 - symcode='[ABCDGISTW]'
10414 +# Check whether --enable-libtool-lock was given.
10415 +if test "${enable_libtool_lock+set}" = set; then
10416 + enableval=$enable_libtool_lock;
10417 fi
10418
10419 -# Try without a prefix undercore, then with it.
10420 -for ac_symprfx in "" "_"; do
10421 -
10422 - # Write the raw and C identifiers.
10423 -lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
10424 -
10425 - # Check to see that the pipe works correctly.
10426 - pipe_works=no
10427 - rm -f conftest*
10428 - cat > conftest.$ac_ext <<EOF
10429 -#ifdef __cplusplus
10430 -extern "C" {
10431 -#endif
10432 -char nm_test_var;
10433 -void nm_test_func(){}
10434 -#ifdef __cplusplus
10435 -}
10436 -#endif
10437 -int main(){nm_test_var='a';nm_test_func();return(0);}
10438 -EOF
10439 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10440
10441 +# Some flags need to be propagated to the compiler or linker for good
10442 +# libtool support.
10443 +case $host in
10444 +ia64-*-hpux*)
10445 + # Find out which ABI we are using.
10446 + echo 'int i;' > conftest.$ac_ext
10447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10448 (eval $ac_compile) 2>&5
10449 ac_status=$?
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; then
10452 - # Now try to grab the symbols.
10453 - nlist=conftest.nm
10454 - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
10455 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
10456 + case `/usr/bin/file conftest.$ac_objext` in
10457 + *ELF-32*)
10458 + HPUX_IA64_MODE="32"
10459 + ;;
10460 + *ELF-64*)
10461 + HPUX_IA64_MODE="64"
10462 + ;;
10463 + esac
10464 + fi
10465 + rm -rf conftest*
10466 + ;;
10467 +*-*-irix6*)
10468 + # Find out which ABI we are using.
10469 + echo '#line 4685 "configure"' > conftest.$ac_ext
10470 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10471 + (eval $ac_compile) 2>&5
10472 ac_status=$?
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 - (exit $ac_status); } && test -s "$nlist"; then
10475 - # Try sorting and uniquifying the output.
10476 - if sort "$nlist" | uniq > "$nlist"T; then
10477 - mv -f "$nlist"T "$nlist"
10478 - else
10479 - rm -f "$nlist"T
10480 - fi
10481 -
10482 - # Make sure that we snagged all the symbols we need.
10483 - if egrep ' nm_test_var$' "$nlist" >/dev/null; then
10484 - if egrep ' nm_test_func$' "$nlist" >/dev/null; then
10485 - cat <<EOF > conftest.$ac_ext
10486 -#ifdef __cplusplus
10487 -extern "C" {
10488 -#endif
10489 -
10490 -EOF
10491 - # Now generate the symbol file.
10492 - eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
10493 -
10494 - cat <<EOF >> conftest.$ac_ext
10495 -#if defined (__STDC__) && __STDC__
10496 -# define lt_ptr void *
10497 -#else
10498 -# define lt_ptr char *
10499 -# define const
10500 -#endif
10501 -
10502 -/* The mapping between symbol names and symbols. */
10503 -const struct {
10504 - const char *name;
10505 - lt_ptr address;
10506 -}
10507 -lt_preloaded_symbols[] =
10508 -{
10509 -EOF
10510 - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
10511 - cat <<\EOF >> conftest.$ac_ext
10512 - {0, (lt_ptr) 0}
10513 -};
10514 + (exit $ac_status); }; then
10515 + if test "$lt_cv_prog_gnu_ld" = yes; then
10516 + case `/usr/bin/file conftest.$ac_objext` in
10517 + *32-bit*)
10518 + LD="${LD-ld} -melf32bsmip"
10519 + ;;
10520 + *N32*)
10521 + LD="${LD-ld} -melf32bmipn32"
10522 + ;;
10523 + *64-bit*)
10524 + LD="${LD-ld} -melf64bmip"
10525 + ;;
10526 + esac
10527 + else
10528 + case `/usr/bin/file conftest.$ac_objext` in
10529 + *32-bit*)
10530 + LD="${LD-ld} -32"
10531 + ;;
10532 + *N32*)
10533 + LD="${LD-ld} -n32"
10534 + ;;
10535 + *64-bit*)
10536 + LD="${LD-ld} -64"
10537 + ;;
10538 + esac
10539 + fi
10540 + fi
10541 + rm -rf conftest*
10542 + ;;
10543
10544 -#ifdef __cplusplus
10545 -}
10546 -#endif
10547 -EOF
10548 - # Now try linking the two files.
10549 - mv conftest.$ac_objext conftstm.$ac_objext
10550 - save_LIBS="$LIBS"
10551 - save_CFLAGS="$CFLAGS"
10552 - LIBS="conftstm.$ac_objext"
10553 - CFLAGS="$CFLAGS$no_builtin_flag"
10554 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10555 - (eval $ac_link) 2>&5
10556 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
10557 + # Find out which ABI we are using.
10558 + echo 'int i;' > conftest.$ac_ext
10559 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10560 + (eval $ac_compile) 2>&5
10561 ac_status=$?
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 - (exit $ac_status); } && test -s conftest$ac_exeext; then
10564 - pipe_works=yes
10565 - fi
10566 - LIBS="$save_LIBS"
10567 - CFLAGS="$save_CFLAGS"
10568 - else
10569 - echo "cannot find nm_test_func in $nlist" >&5
10570 - fi
10571 - else
10572 - echo "cannot find nm_test_var in $nlist" >&5
10573 - fi
10574 - else
10575 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
10576 - fi
10577 - else
10578 - echo "$progname: failed program was:" >&5
10579 - cat conftest.$ac_ext >&5
10580 + (exit $ac_status); }; then
10581 + case `/usr/bin/file conftest.o` in
10582 + *32-bit*)
10583 + case $host in
10584 + x86_64-*linux*)
10585 + LD="${LD-ld} -m elf_i386"
10586 + ;;
10587 + ppc64-*linux*|powerpc64-*linux*)
10588 + LD="${LD-ld} -m elf32ppclinux"
10589 + ;;
10590 + s390x-*linux*)
10591 + LD="${LD-ld} -m elf_s390"
10592 + ;;
10593 + sparc64-*linux*)
10594 + LD="${LD-ld} -m elf32_sparc"
10595 + ;;
10596 + esac
10597 + ;;
10598 + *64-bit*)
10599 + case $host in
10600 + x86_64-*linux*)
10601 + LD="${LD-ld} -m elf_x86_64"
10602 + ;;
10603 + ppc*-*linux*|powerpc*-*linux*)
10604 + LD="${LD-ld} -m elf64ppc"
10605 + ;;
10606 + s390*-*linux*)
10607 + LD="${LD-ld} -m elf64_s390"
10608 + ;;
10609 + sparc*-*linux*)
10610 + LD="${LD-ld} -m elf64_sparc"
10611 + ;;
10612 + esac
10613 + ;;
10614 + esac
10615 fi
10616 - rm -f conftest* conftst*
10617 + rm -rf conftest*
10618 + ;;
10619
10620 - # Do not use the global_symbol_pipe unless it works.
10621 - if test "$pipe_works" = yes; then
10622 - break
10623 - else
10624 - lt_cv_sys_global_symbol_pipe=
10625 - fi
10626 -done
10627 +*-*-sco3.2v5*)
10628 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10629 + SAVE_CFLAGS="$CFLAGS"
10630 + CFLAGS="$CFLAGS -belf"
10631 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
10632 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
10633 +if test "${lt_cv_cc_needs_belf+set}" = set; then
10634 + echo $ECHO_N "(cached) $ECHO_C" >&6
10635 +else
10636 + ac_ext=c
10637 +ac_cpp='$CPP $CPPFLAGS'
10638 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10639 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10640 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10641
10642 -fi
10643 + cat >conftest.$ac_ext <<_ACEOF
10644 +/* confdefs.h. */
10645 +_ACEOF
10646 +cat confdefs.h >>conftest.$ac_ext
10647 +cat >>conftest.$ac_ext <<_ACEOF
10648 +/* end confdefs.h. */
10649
10650 -global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
10651 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
10652 - global_symbol_to_cdecl=
10653 - global_symbol_to_c_name_address=
10654 +int
10655 +main ()
10656 +{
10657 +
10658 + ;
10659 + return 0;
10660 +}
10661 +_ACEOF
10662 +rm -f conftest.$ac_objext conftest$ac_exeext
10663 +if { (ac_try="$ac_link"
10664 +case "(($ac_try" in
10665 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10666 + *) ac_try_echo=$ac_try;;
10667 +esac
10668 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10669 + (eval "$ac_link") 2>conftest.er1
10670 + ac_status=$?
10671 + grep -v '^ *+' conftest.er1 >conftest.err
10672 + rm -f conftest.er1
10673 + cat conftest.err >&5
10674 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 + (exit $ac_status); } && {
10676 + test -z "$ac_c_werror_flag" ||
10677 + test ! -s conftest.err
10678 + } && test -s conftest$ac_exeext &&
10679 + $as_test_x conftest$ac_exeext; then
10680 + lt_cv_cc_needs_belf=yes
10681 else
10682 - global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
10683 - global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
10684 + echo "$as_me: failed program was:" >&5
10685 +sed 's/^/| /' conftest.$ac_ext >&5
10686 +
10687 + lt_cv_cc_needs_belf=no
10688 fi
10689 -if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
10690 -then
10691 - echo "$as_me:$LINENO: result: failed" >&5
10692 -echo "${ECHO_T}failed" >&6
10693 -else
10694 - echo "$as_me:$LINENO: result: ok" >&5
10695 -echo "${ECHO_T}ok" >&6
10696 +
10697 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10698 + conftest$ac_exeext conftest.$ac_ext
10699 + ac_ext=c
10700 +ac_cpp='$CPP $CPPFLAGS'
10701 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10702 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10703 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10704 +
10705 fi
10706 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
10707 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
10708 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10709 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10710 + CFLAGS="$SAVE_CFLAGS"
10711 + fi
10712 + ;;
10713 +sparc*-*solaris*)
10714 + # Find out which ABI we are using.
10715 + echo 'int i;' > conftest.$ac_ext
10716 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10717 + (eval $ac_compile) 2>&5
10718 + ac_status=$?
10719 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 + (exit $ac_status); }; then
10721 + case `/usr/bin/file conftest.o` in
10722 + *64-bit*)
10723 + case $lt_cv_prog_gnu_ld in
10724 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
10725 + *) LD="${LD-ld} -64" ;;
10726 + esac
10727 + ;;
10728 + esac
10729 + fi
10730 + rm -rf conftest*
10731 + ;;
10732 +
10733 +
10734 +esac
10735 +
10736 +need_locks="$enable_libtool_lock"
10737 +
10738
10739 ac_ext=c
10740 ac_cpp='$CPP $CPPFLAGS'
10741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10744 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10745 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10746 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10747 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
10748 # On Suns, sometimes $CPP names a directory.
10749 if test -n "$CPP" && test -d "$CPP"; then
10750 CPP=
10751 @@ -3976,24 +4901,22 @@
10752 #endif
10753 Syntax error
10754 _ACEOF
10755 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10756 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10757 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10758 +case "(($ac_try" in
10759 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10760 + *) ac_try_echo=$ac_try;;
10761 +esac
10762 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10763 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10764 ac_status=$?
10765 grep -v '^ *+' conftest.er1 >conftest.err
10766 rm -f conftest.er1
10767 cat conftest.err >&5
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 - (exit $ac_status); } >/dev/null; then
10770 - if test -s conftest.err; then
10771 - ac_cpp_err=$ac_c_preproc_warn_flag
10772 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10773 - else
10774 - ac_cpp_err=
10775 - fi
10776 -else
10777 - ac_cpp_err=yes
10778 -fi
10779 -if test -z "$ac_cpp_err"; then
10780 + (exit $ac_status); } >/dev/null && {
10781 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10782 + test ! -s conftest.err
10783 + }; then
10784 :
10785 else
10786 echo "$as_me: failed program was:" >&5
10787 @@ -4002,9 +4925,10 @@
10788 # Broken: fails on valid input.
10789 continue
10790 fi
10791 +
10792 rm -f conftest.err conftest.$ac_ext
10793
10794 - # OK, works on sane cases. Now check whether non-existent headers
10795 + # OK, works on sane cases. Now check whether nonexistent headers
10796 # can be detected and how.
10797 cat >conftest.$ac_ext <<_ACEOF
10798 /* confdefs.h. */
10799 @@ -4014,24 +4938,22 @@
10800 /* end confdefs.h. */
10801 #include <ac_nonexistent.h>
10802 _ACEOF
10803 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10804 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10805 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10806 +case "(($ac_try" in
10807 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10808 + *) ac_try_echo=$ac_try;;
10809 +esac
10810 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10811 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10812 ac_status=$?
10813 grep -v '^ *+' conftest.er1 >conftest.err
10814 rm -f conftest.er1
10815 cat conftest.err >&5
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 - (exit $ac_status); } >/dev/null; then
10818 - if test -s conftest.err; then
10819 - ac_cpp_err=$ac_c_preproc_warn_flag
10820 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10821 - else
10822 - ac_cpp_err=
10823 - fi
10824 -else
10825 - ac_cpp_err=yes
10826 -fi
10827 -if test -z "$ac_cpp_err"; then
10828 + (exit $ac_status); } >/dev/null && {
10829 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10830 + test ! -s conftest.err
10831 + }; then
10832 # Broken: success on invalid input.
10833 continue
10834 else
10835 @@ -4042,6 +4964,7 @@
10836 ac_preproc_ok=:
10837 break
10838 fi
10839 +
10840 rm -f conftest.err conftest.$ac_ext
10841
10842 done
10843 @@ -4059,8 +4982,8 @@
10844 else
10845 ac_cv_prog_CPP=$CPP
10846 fi
10847 -echo "$as_me:$LINENO: result: $CPP" >&5
10848 -echo "${ECHO_T}$CPP" >&6
10849 +{ echo "$as_me:$LINENO: result: $CPP" >&5
10850 +echo "${ECHO_T}$CPP" >&6; }
10851 ac_preproc_ok=false
10852 for ac_c_preproc_warn_flag in '' yes
10853 do
10854 @@ -4083,24 +5006,22 @@
10855 #endif
10856 Syntax error
10857 _ACEOF
10858 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10859 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10860 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10861 +case "(($ac_try" in
10862 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10863 + *) ac_try_echo=$ac_try;;
10864 +esac
10865 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10866 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10867 ac_status=$?
10868 grep -v '^ *+' conftest.er1 >conftest.err
10869 rm -f conftest.er1
10870 cat conftest.err >&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 - (exit $ac_status); } >/dev/null; then
10873 - if test -s conftest.err; then
10874 - ac_cpp_err=$ac_c_preproc_warn_flag
10875 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10876 - else
10877 - ac_cpp_err=
10878 - fi
10879 -else
10880 - ac_cpp_err=yes
10881 -fi
10882 -if test -z "$ac_cpp_err"; then
10883 + (exit $ac_status); } >/dev/null && {
10884 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10885 + test ! -s conftest.err
10886 + }; then
10887 :
10888 else
10889 echo "$as_me: failed program was:" >&5
10890 @@ -4109,9 +5030,10 @@
10891 # Broken: fails on valid input.
10892 continue
10893 fi
10894 +
10895 rm -f conftest.err conftest.$ac_ext
10896
10897 - # OK, works on sane cases. Now check whether non-existent headers
10898 + # OK, works on sane cases. Now check whether nonexistent headers
10899 # can be detected and how.
10900 cat >conftest.$ac_ext <<_ACEOF
10901 /* confdefs.h. */
10902 @@ -4121,24 +5043,22 @@
10903 /* end confdefs.h. */
10904 #include <ac_nonexistent.h>
10905 _ACEOF
10906 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10907 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10908 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10909 +case "(($ac_try" in
10910 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10911 + *) ac_try_echo=$ac_try;;
10912 +esac
10913 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10914 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10915 ac_status=$?
10916 grep -v '^ *+' conftest.er1 >conftest.err
10917 rm -f conftest.er1
10918 cat conftest.err >&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 - (exit $ac_status); } >/dev/null; then
10921 - if test -s conftest.err; then
10922 - ac_cpp_err=$ac_c_preproc_warn_flag
10923 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10924 - else
10925 - ac_cpp_err=
10926 - fi
10927 -else
10928 - ac_cpp_err=yes
10929 -fi
10930 -if test -z "$ac_cpp_err"; then
10931 + (exit $ac_status); } >/dev/null && {
10932 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10933 + test ! -s conftest.err
10934 + }; then
10935 # Broken: success on invalid input.
10936 continue
10937 else
10938 @@ -4149,6 +5069,7 @@
10939 ac_preproc_ok=:
10940 break
10941 fi
10942 +
10943 rm -f conftest.err conftest.$ac_ext
10944
10945 done
10946 @@ -4171,23 +5092,8 @@
10947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10948
10949
10950 -echo "$as_me:$LINENO: checking for egrep" >&5
10951 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10952 -if test "${ac_cv_prog_egrep+set}" = set; then
10953 - echo $ECHO_N "(cached) $ECHO_C" >&6
10954 -else
10955 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10956 - then ac_cv_prog_egrep='grep -E'
10957 - else ac_cv_prog_egrep='egrep'
10958 - fi
10959 -fi
10960 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10961 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10962 - EGREP=$ac_cv_prog_egrep
10963 -
10964 -
10965 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10966 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10967 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10968 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
10969 if test "${ac_cv_header_stdc+set}" = set; then
10970 echo $ECHO_N "(cached) $ECHO_C" >&6
10971 else
10972 @@ -4211,34 +5117,31 @@
10973 }
10974 _ACEOF
10975 rm -f conftest.$ac_objext
10976 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10977 - (eval $ac_compile) 2>conftest.er1
10978 +if { (ac_try="$ac_compile"
10979 +case "(($ac_try" in
10980 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10981 + *) ac_try_echo=$ac_try;;
10982 +esac
10983 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10984 + (eval "$ac_compile") 2>conftest.er1
10985 ac_status=$?
10986 grep -v '^ *+' conftest.er1 >conftest.err
10987 rm -f conftest.er1
10988 cat conftest.err >&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 - (exit $ac_status); } &&
10991 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10992 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10993 - (eval $ac_try) 2>&5
10994 - ac_status=$?
10995 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 - (exit $ac_status); }; } &&
10997 - { ac_try='test -s conftest.$ac_objext'
10998 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10999 - (eval $ac_try) 2>&5
11000 - ac_status=$?
11001 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11002 - (exit $ac_status); }; }; then
11003 + (exit $ac_status); } && {
11004 + test -z "$ac_c_werror_flag" ||
11005 + test ! -s conftest.err
11006 + } && test -s conftest.$ac_objext; then
11007 ac_cv_header_stdc=yes
11008 else
11009 echo "$as_me: failed program was:" >&5
11010 sed 's/^/| /' conftest.$ac_ext >&5
11011
11012 -ac_cv_header_stdc=no
11013 + ac_cv_header_stdc=no
11014 fi
11015 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11016 +
11017 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11018
11019 if test $ac_cv_header_stdc = yes; then
11020 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11021 @@ -4294,6 +5197,7 @@
11022 cat >>conftest.$ac_ext <<_ACEOF
11023 /* end confdefs.h. */
11024 #include <ctype.h>
11025 +#include <stdlib.h>
11026 #if ((' ' & 0x0FF) == 0x020)
11027 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11028 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11029 @@ -4313,18 +5217,27 @@
11030 for (i = 0; i < 256; i++)
11031 if (XOR (islower (i), ISLOWER (i))
11032 || toupper (i) != TOUPPER (i))
11033 - exit(2);
11034 - exit (0);
11035 + return 2;
11036 + return 0;
11037 }
11038 _ACEOF
11039 rm -f conftest$ac_exeext
11040 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11041 - (eval $ac_link) 2>&5
11042 +if { (ac_try="$ac_link"
11043 +case "(($ac_try" in
11044 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11045 + *) ac_try_echo=$ac_try;;
11046 +esac
11047 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11048 + (eval "$ac_link") 2>&5
11049 ac_status=$?
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11052 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11053 - (eval $ac_try) 2>&5
11054 + { (case "(($ac_try" in
11055 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11056 + *) ac_try_echo=$ac_try;;
11057 +esac
11058 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11059 + (eval "$ac_try") 2>&5
11060 ac_status=$?
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }; }; then
11063 @@ -4337,12 +5250,14 @@
11064 ( exit $ac_status )
11065 ac_cv_header_stdc=no
11066 fi
11067 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11068 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11069 fi
11070 +
11071 +
11072 fi
11073 fi
11074 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11075 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
11076 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11077 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
11078 if test $ac_cv_header_stdc = yes; then
11079
11080 cat >>confdefs.h <<\_ACEOF
11081 @@ -4365,9 +5280,9 @@
11082 inttypes.h stdint.h unistd.h
11083 do
11084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11085 -echo "$as_me:$LINENO: checking for $ac_header" >&5
11086 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11087 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11088 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11089 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11090 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11091 echo $ECHO_N "(cached) $ECHO_C" >&6
11092 else
11093 cat >conftest.$ac_ext <<_ACEOF
11094 @@ -4381,37 +5296,35 @@
11095 #include <$ac_header>
11096 _ACEOF
11097 rm -f conftest.$ac_objext
11098 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11099 - (eval $ac_compile) 2>conftest.er1
11100 +if { (ac_try="$ac_compile"
11101 +case "(($ac_try" in
11102 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11103 + *) ac_try_echo=$ac_try;;
11104 +esac
11105 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11106 + (eval "$ac_compile") 2>conftest.er1
11107 ac_status=$?
11108 grep -v '^ *+' conftest.er1 >conftest.err
11109 rm -f conftest.er1
11110 cat conftest.err >&5
11111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 - (exit $ac_status); } &&
11113 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11114 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11115 - (eval $ac_try) 2>&5
11116 - ac_status=$?
11117 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 - (exit $ac_status); }; } &&
11119 - { ac_try='test -s conftest.$ac_objext'
11120 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11121 - (eval $ac_try) 2>&5
11122 - ac_status=$?
11123 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 - (exit $ac_status); }; }; then
11125 + (exit $ac_status); } && {
11126 + test -z "$ac_c_werror_flag" ||
11127 + test ! -s conftest.err
11128 + } && test -s conftest.$ac_objext; then
11129 eval "$as_ac_Header=yes"
11130 else
11131 echo "$as_me: failed program was:" >&5
11132 sed 's/^/| /' conftest.$ac_ext >&5
11133
11134 -eval "$as_ac_Header=no"
11135 + eval "$as_ac_Header=no"
11136 fi
11137 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11138 +
11139 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11140 fi
11141 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11142 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11143 +ac_res=`eval echo '${'$as_ac_Header'}'`
11144 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11145 +echo "${ECHO_T}$ac_res" >&6; }
11146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11147 cat >>confdefs.h <<_ACEOF
11148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11149 @@ -4426,18 +5339,19 @@
11150 for ac_header in dlfcn.h
11151 do
11152 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11153 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11154 - echo "$as_me:$LINENO: checking for $ac_header" >&5
11155 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11156 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11157 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11158 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
11159 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11160 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11161 echo $ECHO_N "(cached) $ECHO_C" >&6
11162 fi
11163 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11164 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11165 +ac_res=`eval echo '${'$as_ac_Header'}'`
11166 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11167 +echo "${ECHO_T}$ac_res" >&6; }
11168 else
11169 # Is the header compilable?
11170 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
11171 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11172 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
11173 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11174 cat >conftest.$ac_ext <<_ACEOF
11175 /* confdefs.h. */
11176 _ACEOF
11177 @@ -4448,40 +5362,37 @@
11178 #include <$ac_header>
11179 _ACEOF
11180 rm -f conftest.$ac_objext
11181 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11182 - (eval $ac_compile) 2>conftest.er1
11183 +if { (ac_try="$ac_compile"
11184 +case "(($ac_try" in
11185 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11186 + *) ac_try_echo=$ac_try;;
11187 +esac
11188 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11189 + (eval "$ac_compile") 2>conftest.er1
11190 ac_status=$?
11191 grep -v '^ *+' conftest.er1 >conftest.err
11192 rm -f conftest.er1
11193 cat conftest.err >&5
11194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195 - (exit $ac_status); } &&
11196 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11197 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11198 - (eval $ac_try) 2>&5
11199 - ac_status=$?
11200 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201 - (exit $ac_status); }; } &&
11202 - { ac_try='test -s conftest.$ac_objext'
11203 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11204 - (eval $ac_try) 2>&5
11205 - ac_status=$?
11206 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 - (exit $ac_status); }; }; then
11208 + (exit $ac_status); } && {
11209 + test -z "$ac_c_werror_flag" ||
11210 + test ! -s conftest.err
11211 + } && test -s conftest.$ac_objext; then
11212 ac_header_compiler=yes
11213 else
11214 echo "$as_me: failed program was:" >&5
11215 sed 's/^/| /' conftest.$ac_ext >&5
11216
11217 -ac_header_compiler=no
11218 + ac_header_compiler=no
11219 fi
11220 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11221 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11222 -echo "${ECHO_T}$ac_header_compiler" >&6
11223 +
11224 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11225 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11226 +echo "${ECHO_T}$ac_header_compiler" >&6; }
11227
11228 # Is the header present?
11229 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
11230 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11231 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
11232 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11233 cat >conftest.$ac_ext <<_ACEOF
11234 /* confdefs.h. */
11235 _ACEOF
11236 @@ -4490,24 +5401,22 @@
11237 /* end confdefs.h. */
11238 #include <$ac_header>
11239 _ACEOF
11240 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11241 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11242 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11243 +case "(($ac_try" in
11244 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11245 + *) ac_try_echo=$ac_try;;
11246 +esac
11247 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11248 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11249 ac_status=$?
11250 grep -v '^ *+' conftest.er1 >conftest.err
11251 rm -f conftest.er1
11252 cat conftest.err >&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 - (exit $ac_status); } >/dev/null; then
11255 - if test -s conftest.err; then
11256 - ac_cpp_err=$ac_c_preproc_warn_flag
11257 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11258 - else
11259 - ac_cpp_err=
11260 - fi
11261 -else
11262 - ac_cpp_err=yes
11263 -fi
11264 -if test -z "$ac_cpp_err"; then
11265 + (exit $ac_status); } >/dev/null && {
11266 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11267 + test ! -s conftest.err
11268 + }; then
11269 ac_header_preproc=yes
11270 else
11271 echo "$as_me: failed program was:" >&5
11272 @@ -4515,9 +5424,10 @@
11273
11274 ac_header_preproc=no
11275 fi
11276 +
11277 rm -f conftest.err conftest.$ac_ext
11278 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11279 -echo "${ECHO_T}$ac_header_preproc" >&6
11280 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11281 +echo "${ECHO_T}$ac_header_preproc" >&6; }
11282
11283 # So? What about this header?
11284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11285 @@ -4541,25 +5451,19 @@
11286 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11287 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11288 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11289 - (
11290 - cat <<\_ASBOX
11291 -## ------------------------------------------ ##
11292 -## Report this to the AC_PACKAGE_NAME lists. ##
11293 -## ------------------------------------------ ##
11294 -_ASBOX
11295 - ) |
11296 - sed "s/^/$as_me: WARNING: /" >&2
11297 +
11298 ;;
11299 esac
11300 -echo "$as_me:$LINENO: checking for $ac_header" >&5
11301 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11302 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11303 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11304 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11305 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11306 echo $ECHO_N "(cached) $ECHO_C" >&6
11307 else
11308 eval "$as_ac_Header=\$ac_header_preproc"
11309 fi
11310 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11311 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11312 +ac_res=`eval echo '${'$as_ac_Header'}'`
11313 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11314 +echo "${ECHO_T}$ac_res" >&6; }
11315
11316 fi
11317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11318 @@ -4571,198 +5475,71 @@
11319
11320 done
11321
11322 -
11323 -
11324 -
11325 -
11326 -
11327 -# Only perform the check for file, if the check method requires it
11328 -case $deplibs_check_method in
11329 -file_magic*)
11330 - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11331 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
11332 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
11333 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11334 +ac_ext=cpp
11335 +ac_cpp='$CXXCPP $CPPFLAGS'
11336 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11337 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11338 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11339 +if test -z "$CXX"; then
11340 + if test -n "$CCC"; then
11341 + CXX=$CCC
11342 + else
11343 + if test -n "$ac_tool_prefix"; then
11344 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11345 + do
11346 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11347 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11348 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11349 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11350 +if test "${ac_cv_prog_CXX+set}" = set; then
11351 echo $ECHO_N "(cached) $ECHO_C" >&6
11352 else
11353 - case $MAGIC_CMD in
11354 - /*)
11355 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11356 - ;;
11357 - ?:/*)
11358 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
11359 - ;;
11360 - *)
11361 - ac_save_MAGIC_CMD="$MAGIC_CMD"
11362 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11363 - ac_dummy="/usr/bin:$PATH"
11364 - for ac_dir in $ac_dummy; do
11365 - test -z "$ac_dir" && ac_dir=.
11366 - if test -f $ac_dir/${ac_tool_prefix}file; then
11367 - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11368 - if test -n "$file_magic_test_file"; then
11369 - case $deplibs_check_method in
11370 - "file_magic "*)
11371 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
11372 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11373 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11374 - egrep "$file_magic_regex" > /dev/null; then
11375 - :
11376 - else
11377 - cat <<EOF 1>&2
11378 -
11379 -*** Warning: the command libtool uses to detect shared libraries,
11380 -*** $file_magic_cmd, produces output that libtool cannot recognize.
11381 -*** The result is that libtool may fail to recognize shared libraries
11382 -*** as such. This will affect the creation of libtool libraries that
11383 -*** depend on shared libraries, but programs linked with such libtool
11384 -*** libraries will work regardless of this problem. Nevertheless, you
11385 -*** may want to report the problem to your system manager and/or to
11386 -*** bug-libtool@gnu.org
11387 + if test -n "$CXX"; then
11388 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
11389 +else
11390 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11391 +for as_dir in $PATH
11392 +do
11393 + IFS=$as_save_IFS
11394 + test -z "$as_dir" && as_dir=.
11395 + for ac_exec_ext in '' $ac_executable_extensions; do
11396 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11397 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11398 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11399 + break 2
11400 + fi
11401 +done
11402 +done
11403 +IFS=$as_save_IFS
11404
11405 -EOF
11406 - fi ;;
11407 - esac
11408 - fi
11409 - break
11410 - fi
11411 - done
11412 - IFS="$ac_save_ifs"
11413 - MAGIC_CMD="$ac_save_MAGIC_CMD"
11414 - ;;
11415 -esac
11416 fi
11417 -
11418 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11419 -if test -n "$MAGIC_CMD"; then
11420 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11421 -echo "${ECHO_T}$MAGIC_CMD" >&6
11422 +fi
11423 +CXX=$ac_cv_prog_CXX
11424 +if test -n "$CXX"; then
11425 + { echo "$as_me:$LINENO: result: $CXX" >&5
11426 +echo "${ECHO_T}$CXX" >&6; }
11427 else
11428 - echo "$as_me:$LINENO: result: no" >&5
11429 -echo "${ECHO_T}no" >&6
11430 + { echo "$as_me:$LINENO: result: no" >&5
11431 +echo "${ECHO_T}no" >&6; }
11432 fi
11433
11434 -if test -z "$lt_cv_path_MAGIC_CMD"; then
11435 - if test -n "$ac_tool_prefix"; then
11436 - echo "$as_me:$LINENO: checking for file" >&5
11437 -echo $ECHO_N "checking for file... $ECHO_C" >&6
11438 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11439 +
11440 + test -n "$CXX" && break
11441 + done
11442 +fi
11443 +if test -z "$CXX"; then
11444 + ac_ct_CXX=$CXX
11445 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11446 +do
11447 + # Extract the first word of "$ac_prog", so it can be a program name with args.
11448 +set dummy $ac_prog; ac_word=$2
11449 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11450 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11451 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11452 echo $ECHO_N "(cached) $ECHO_C" >&6
11453 else
11454 - case $MAGIC_CMD in
11455 - /*)
11456 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11457 - ;;
11458 - ?:/*)
11459 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
11460 - ;;
11461 - *)
11462 - ac_save_MAGIC_CMD="$MAGIC_CMD"
11463 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11464 - ac_dummy="/usr/bin:$PATH"
11465 - for ac_dir in $ac_dummy; do
11466 - test -z "$ac_dir" && ac_dir=.
11467 - if test -f $ac_dir/file; then
11468 - lt_cv_path_MAGIC_CMD="$ac_dir/file"
11469 - if test -n "$file_magic_test_file"; then
11470 - case $deplibs_check_method in
11471 - "file_magic "*)
11472 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
11473 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11474 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11475 - egrep "$file_magic_regex" > /dev/null; then
11476 - :
11477 - else
11478 - cat <<EOF 1>&2
11479 -
11480 -*** Warning: the command libtool uses to detect shared libraries,
11481 -*** $file_magic_cmd, produces output that libtool cannot recognize.
11482 -*** The result is that libtool may fail to recognize shared libraries
11483 -*** as such. This will affect the creation of libtool libraries that
11484 -*** depend on shared libraries, but programs linked with such libtool
11485 -*** libraries will work regardless of this problem. Nevertheless, you
11486 -*** may want to report the problem to your system manager and/or to
11487 -*** bug-libtool@gnu.org
11488 -
11489 -EOF
11490 - fi ;;
11491 - esac
11492 - fi
11493 - break
11494 - fi
11495 - done
11496 - IFS="$ac_save_ifs"
11497 - MAGIC_CMD="$ac_save_MAGIC_CMD"
11498 - ;;
11499 -esac
11500 -fi
11501 -
11502 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11503 -if test -n "$MAGIC_CMD"; then
11504 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11505 -echo "${ECHO_T}$MAGIC_CMD" >&6
11506 -else
11507 - echo "$as_me:$LINENO: result: no" >&5
11508 -echo "${ECHO_T}no" >&6
11509 -fi
11510 -
11511 - else
11512 - MAGIC_CMD=:
11513 - fi
11514 -fi
11515 -
11516 - fi
11517 - ;;
11518 -esac
11519 -
11520 -if test -n "$ac_tool_prefix"; then
11521 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11522 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11523 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11524 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11525 -if test "${ac_cv_prog_RANLIB+set}" = set; then
11526 - echo $ECHO_N "(cached) $ECHO_C" >&6
11527 -else
11528 - if test -n "$RANLIB"; then
11529 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11530 -else
11531 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11532 -for as_dir in $PATH
11533 -do
11534 - IFS=$as_save_IFS
11535 - test -z "$as_dir" && as_dir=.
11536 - for ac_exec_ext in '' $ac_executable_extensions; do
11537 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11538 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11539 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11540 - break 2
11541 - fi
11542 -done
11543 -done
11544 -
11545 -fi
11546 -fi
11547 -RANLIB=$ac_cv_prog_RANLIB
11548 -if test -n "$RANLIB"; then
11549 - echo "$as_me:$LINENO: result: $RANLIB" >&5
11550 -echo "${ECHO_T}$RANLIB" >&6
11551 -else
11552 - echo "$as_me:$LINENO: result: no" >&5
11553 -echo "${ECHO_T}no" >&6
11554 -fi
11555 -
11556 -fi
11557 -if test -z "$ac_cv_prog_RANLIB"; then
11558 - ac_ct_RANLIB=$RANLIB
11559 - # Extract the first word of "ranlib", so it can be a program name with args.
11560 -set dummy ranlib; ac_word=$2
11561 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11562 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11563 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11564 - echo $ECHO_N "(cached) $ECHO_C" >&6
11565 -else
11566 - if test -n "$ac_ct_RANLIB"; then
11567 - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11568 + if test -n "$ac_ct_CXX"; then
11569 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11570 else
11571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11572 for as_dir in $PATH
11573 @@ -4770,166 +5547,89 @@
11574 IFS=$as_save_IFS
11575 test -z "$as_dir" && as_dir=.
11576 for ac_exec_ext in '' $ac_executable_extensions; do
11577 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11578 - ac_cv_prog_ac_ct_RANLIB="ranlib"
11579 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11580 + ac_cv_prog_ac_ct_CXX="$ac_prog"
11581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11582 break 2
11583 fi
11584 done
11585 done
11586 +IFS=$as_save_IFS
11587
11588 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11589 fi
11590 fi
11591 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11592 -if test -n "$ac_ct_RANLIB"; then
11593 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11594 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
11595 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11596 +if test -n "$ac_ct_CXX"; then
11597 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11598 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
11599 else
11600 - echo "$as_me:$LINENO: result: no" >&5
11601 -echo "${ECHO_T}no" >&6
11602 + { echo "$as_me:$LINENO: result: no" >&5
11603 +echo "${ECHO_T}no" >&6; }
11604 fi
11605
11606 - RANLIB=$ac_ct_RANLIB
11607 -else
11608 - RANLIB="$ac_cv_prog_RANLIB"
11609 -fi
11610
11611 -if test -n "$ac_tool_prefix"; then
11612 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11613 -set dummy ${ac_tool_prefix}strip; ac_word=$2
11614 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11615 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11616 -if test "${ac_cv_prog_STRIP+set}" = set; then
11617 - echo $ECHO_N "(cached) $ECHO_C" >&6
11618 -else
11619 - if test -n "$STRIP"; then
11620 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11621 -else
11622 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11623 -for as_dir in $PATH
11624 -do
11625 - IFS=$as_save_IFS
11626 - test -z "$as_dir" && as_dir=.
11627 - for ac_exec_ext in '' $ac_executable_extensions; do
11628 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11629 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11630 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11631 - break 2
11632 - fi
11633 + test -n "$ac_ct_CXX" && break
11634 done
11635 -done
11636 -
11637 -fi
11638 -fi
11639 -STRIP=$ac_cv_prog_STRIP
11640 -if test -n "$STRIP"; then
11641 - echo "$as_me:$LINENO: result: $STRIP" >&5
11642 -echo "${ECHO_T}$STRIP" >&6
11643 -else
11644 - echo "$as_me:$LINENO: result: no" >&5
11645 -echo "${ECHO_T}no" >&6
11646 -fi
11647
11648 -fi
11649 -if test -z "$ac_cv_prog_STRIP"; then
11650 - ac_ct_STRIP=$STRIP
11651 - # Extract the first word of "strip", so it can be a program name with args.
11652 -set dummy strip; ac_word=$2
11653 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11654 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11655 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
11656 - echo $ECHO_N "(cached) $ECHO_C" >&6
11657 -else
11658 - if test -n "$ac_ct_STRIP"; then
11659 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11660 -else
11661 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11662 -for as_dir in $PATH
11663 -do
11664 - IFS=$as_save_IFS
11665 - test -z "$as_dir" && as_dir=.
11666 - for ac_exec_ext in '' $ac_executable_extensions; do
11667 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11668 - ac_cv_prog_ac_ct_STRIP="strip"
11669 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11670 - break 2
11671 + if test "x$ac_ct_CXX" = x; then
11672 + CXX="g++"
11673 + else
11674 + case $cross_compiling:$ac_tool_warned in
11675 +yes:)
11676 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11677 +whose name does not start with the host triplet. If you think this
11678 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11679 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11680 +whose name does not start with the host triplet. If you think this
11681 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11682 +ac_tool_warned=yes ;;
11683 +esac
11684 + CXX=$ac_ct_CXX
11685 fi
11686 -done
11687 -done
11688 -
11689 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
11690 -fi
11691 -fi
11692 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11693 -if test -n "$ac_ct_STRIP"; then
11694 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
11695 -echo "${ECHO_T}$ac_ct_STRIP" >&6
11696 -else
11697 - echo "$as_me:$LINENO: result: no" >&5
11698 -echo "${ECHO_T}no" >&6
11699 fi
11700
11701 - STRIP=$ac_ct_STRIP
11702 -else
11703 - STRIP="$ac_cv_prog_STRIP"
11704 + fi
11705 fi
11706 -
11707 -
11708 -enable_dlopen=no
11709 -enable_win32_dll=no
11710 -
11711 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
11712 -if test "${enable_libtool_lock+set}" = set; then
11713 - enableval="$enable_libtool_lock"
11714 -
11715 -fi;
11716 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
11717 -
11718 -# Some flags need to be propagated to the compiler or linker for good
11719 -# libtool support.
11720 -case $host in
11721 -*-*-irix6*)
11722 - # Find out which ABI we are using.
11723 - echo '#line 4894 "configure"' > conftest.$ac_ext
11724 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11725 - (eval $ac_compile) 2>&5
11726 +# Provide some information about the compiler.
11727 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
11728 +ac_compiler=`set X $ac_compile; echo $2`
11729 +{ (ac_try="$ac_compiler --version >&5"
11730 +case "(($ac_try" in
11731 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11732 + *) ac_try_echo=$ac_try;;
11733 +esac
11734 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11735 + (eval "$ac_compiler --version >&5") 2>&5
11736 ac_status=$?
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 - (exit $ac_status); }; then
11739 - case `/usr/bin/file conftest.$ac_objext` in
11740 - *32-bit*)
11741 - LD="${LD-ld} -32"
11742 - ;;
11743 - *N32*)
11744 - LD="${LD-ld} -n32"
11745 - ;;
11746 - *64-bit*)
11747 - LD="${LD-ld} -64"
11748 - ;;
11749 - esac
11750 - fi
11751 - rm -rf conftest*
11752 - ;;
11753 + (exit $ac_status); }
11754 +{ (ac_try="$ac_compiler -v >&5"
11755 +case "(($ac_try" in
11756 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11757 + *) ac_try_echo=$ac_try;;
11758 +esac
11759 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11760 + (eval "$ac_compiler -v >&5") 2>&5
11761 + ac_status=$?
11762 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11763 + (exit $ac_status); }
11764 +{ (ac_try="$ac_compiler -V >&5"
11765 +case "(($ac_try" in
11766 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11767 + *) ac_try_echo=$ac_try;;
11768 +esac
11769 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11770 + (eval "$ac_compiler -V >&5") 2>&5
11771 + ac_status=$?
11772 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11773 + (exit $ac_status); }
11774
11775 -*-*-sco3.2v5*)
11776 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
11777 - SAVE_CFLAGS="$CFLAGS"
11778 - CFLAGS="$CFLAGS -belf"
11779 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
11780 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
11781 -if test "${lt_cv_cc_needs_belf+set}" = set; then
11782 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11783 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
11784 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11785 echo $ECHO_N "(cached) $ECHO_C" >&6
11786 else
11787 -
11788 -
11789 - ac_ext=c
11790 -ac_cpp='$CPP $CPPFLAGS'
11791 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11792 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11793 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
11794 -
11795 - cat >conftest.$ac_ext <<_ACEOF
11796 + cat >conftest.$ac_ext <<_ACEOF
11797 /* confdefs.h. */
11798 _ACEOF
11799 cat confdefs.h >>conftest.$ac_ext
11800 @@ -4939,335 +5639,96 @@
11801 int
11802 main ()
11803 {
11804 +#ifndef __GNUC__
11805 + choke me
11806 +#endif
11807
11808 ;
11809 return 0;
11810 }
11811 _ACEOF
11812 -rm -f conftest.$ac_objext conftest$ac_exeext
11813 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11814 - (eval $ac_link) 2>conftest.er1
11815 +rm -f conftest.$ac_objext
11816 +if { (ac_try="$ac_compile"
11817 +case "(($ac_try" in
11818 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11819 + *) ac_try_echo=$ac_try;;
11820 +esac
11821 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11822 + (eval "$ac_compile") 2>conftest.er1
11823 ac_status=$?
11824 grep -v '^ *+' conftest.er1 >conftest.err
11825 rm -f conftest.er1
11826 cat conftest.err >&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 - (exit $ac_status); } &&
11829 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11830 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11831 - (eval $ac_try) 2>&5
11832 - ac_status=$?
11833 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 - (exit $ac_status); }; } &&
11835 - { ac_try='test -s conftest$ac_exeext'
11836 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 - (eval $ac_try) 2>&5
11838 - ac_status=$?
11839 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 - (exit $ac_status); }; }; then
11841 - lt_cv_cc_needs_belf=yes
11842 + (exit $ac_status); } && {
11843 + test -z "$ac_cxx_werror_flag" ||
11844 + test ! -s conftest.err
11845 + } && test -s conftest.$ac_objext; then
11846 + ac_compiler_gnu=yes
11847 else
11848 echo "$as_me: failed program was:" >&5
11849 sed 's/^/| /' conftest.$ac_ext >&5
11850
11851 -lt_cv_cc_needs_belf=no
11852 + ac_compiler_gnu=no
11853 fi
11854 -rm -f conftest.err conftest.$ac_objext \
11855 - conftest$ac_exeext conftest.$ac_ext
11856 - ac_ext=c
11857 -ac_cpp='$CPP $CPPFLAGS'
11858 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11859 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11860 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
11861 +
11862 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11863 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11864
11865 fi
11866 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
11867 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
11868 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
11869 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
11870 - CFLAGS="$SAVE_CFLAGS"
11871 - fi
11872 - ;;
11873 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11874 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
11875 +GXX=`test $ac_compiler_gnu = yes && echo yes`
11876 +ac_test_CXXFLAGS=${CXXFLAGS+set}
11877 +ac_save_CXXFLAGS=$CXXFLAGS
11878 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11879 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
11880 +if test "${ac_cv_prog_cxx_g+set}" = set; then
11881 + echo $ECHO_N "(cached) $ECHO_C" >&6
11882 +else
11883 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11884 + ac_cxx_werror_flag=yes
11885 + ac_cv_prog_cxx_g=no
11886 + CXXFLAGS="-g"
11887 + cat >conftest.$ac_ext <<_ACEOF
11888 +/* confdefs.h. */
11889 +_ACEOF
11890 +cat confdefs.h >>conftest.$ac_ext
11891 +cat >>conftest.$ac_ext <<_ACEOF
11892 +/* end confdefs.h. */
11893
11894 +int
11895 +main ()
11896 +{
11897
11898 + ;
11899 + return 0;
11900 +}
11901 +_ACEOF
11902 +rm -f conftest.$ac_objext
11903 +if { (ac_try="$ac_compile"
11904 +case "(($ac_try" in
11905 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11906 + *) ac_try_echo=$ac_try;;
11907 esac
11908 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11909 + (eval "$ac_compile") 2>conftest.er1
11910 + ac_status=$?
11911 + grep -v '^ *+' conftest.er1 >conftest.err
11912 + rm -f conftest.er1
11913 + cat conftest.err >&5
11914 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 + (exit $ac_status); } && {
11916 + test -z "$ac_cxx_werror_flag" ||
11917 + test ! -s conftest.err
11918 + } && test -s conftest.$ac_objext; then
11919 + ac_cv_prog_cxx_g=yes
11920 +else
11921 + echo "$as_me: failed program was:" >&5
11922 +sed 's/^/| /' conftest.$ac_ext >&5
11923
11924 -# Sed substitution that helps us do robust quoting. It backslashifies
11925 -# metacharacters that are still active within double-quoted strings.
11926 -Xsed='sed -e s/^X//'
11927 -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
11928 -
11929 -# Same as above, but do not quote variable references.
11930 -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
11931 -
11932 -# Sed substitution to delay expansion of an escaped shell variable in a
11933 -# double_quote_subst'ed string.
11934 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
11935 -
11936 -# Constants:
11937 -rm="rm -f"
11938 -
11939 -# Global variables:
11940 -default_ofile=libtool
11941 -can_build_shared=yes
11942 -
11943 -# All known linkers require a `.a' archive for static linking (except M$VC,
11944 -# which needs '.lib').
11945 -libext=a
11946 -ltmain="$ac_aux_dir/ltmain.sh"
11947 -ofile="$default_ofile"
11948 -with_gnu_ld="$lt_cv_prog_gnu_ld"
11949 -need_locks="$enable_libtool_lock"
11950 -
11951 -old_CC="$CC"
11952 -old_CFLAGS="$CFLAGS"
11953 -
11954 -# Set sane defaults for various variables
11955 -test -z "$AR" && AR=ar
11956 -test -z "$AR_FLAGS" && AR_FLAGS=cru
11957 -test -z "$AS" && AS=as
11958 -test -z "$CC" && CC=cc
11959 -test -z "$DLLTOOL" && DLLTOOL=dlltool
11960 -test -z "$LD" && LD=ld
11961 -test -z "$LN_S" && LN_S="ln -s"
11962 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
11963 -test -z "$NM" && NM=nm
11964 -test -z "$OBJDUMP" && OBJDUMP=objdump
11965 -test -z "$RANLIB" && RANLIB=:
11966 -test -z "$STRIP" && STRIP=:
11967 -test -z "$ac_objext" && ac_objext=o
11968 -
11969 -if test x"$host" != x"$build"; then
11970 - ac_tool_prefix=${host_alias}-
11971 -else
11972 - ac_tool_prefix=
11973 -fi
11974 -
11975 -# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
11976 -case $host_os in
11977 -linux-gnu*) ;;
11978 -linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
11979 -esac
11980 -
11981 -case $host_os in
11982 -aix3*)
11983 - # AIX sometimes has problems with the GCC collect2 program. For some
11984 - # reason, if we set the COLLECT_NAMES environment variable, the problems
11985 - # vanish in a puff of smoke.
11986 - if test "X${COLLECT_NAMES+set}" != Xset; then
11987 - COLLECT_NAMES=
11988 - export COLLECT_NAMES
11989 - fi
11990 - ;;
11991 -esac
11992 -
11993 -# Determine commands to create old-style static archives.
11994 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
11995 -old_postinstall_cmds='chmod 644 $oldlib'
11996 -old_postuninstall_cmds=
11997 -
11998 -if test -n "$RANLIB"; then
11999 - case $host_os in
12000 - openbsd*)
12001 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
12002 - ;;
12003 - *)
12004 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
12005 - ;;
12006 - esac
12007 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
12008 -fi
12009 -
12010 -# Allow CC to be a program name with arguments.
12011 -set dummy $CC
12012 -compiler="$2"
12013 -
12014 -echo "$as_me:$LINENO: checking for objdir" >&5
12015 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
12016 -rm -f .libs 2>/dev/null
12017 -mkdir .libs 2>/dev/null
12018 -if test -d .libs; then
12019 - objdir=.libs
12020 -else
12021 - # MS-DOS does not allow filenames that begin with a dot.
12022 - objdir=_libs
12023 -fi
12024 -rmdir .libs 2>/dev/null
12025 -echo "$as_me:$LINENO: result: $objdir" >&5
12026 -echo "${ECHO_T}$objdir" >&6
12027 -
12028 -
12029 -
12030 -# Check whether --with-pic or --without-pic was given.
12031 -if test "${with_pic+set}" = set; then
12032 - withval="$with_pic"
12033 - pic_mode="$withval"
12034 -else
12035 - pic_mode=default
12036 -fi;
12037 -test -z "$pic_mode" && pic_mode=default
12038 -
12039 -# We assume here that the value for lt_cv_prog_cc_pic will not be cached
12040 -# in isolation, and that seeing it set (from the cache) indicates that
12041 -# the associated values are set (in the cache) correctly too.
12042 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12043 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12044 -if test "${lt_cv_prog_cc_pic+set}" = set; then
12045 - echo $ECHO_N "(cached) $ECHO_C" >&6
12046 -else
12047 - lt_cv_prog_cc_pic=
12048 - lt_cv_prog_cc_shlib=
12049 - lt_cv_prog_cc_wl=
12050 - lt_cv_prog_cc_static=
12051 - lt_cv_prog_cc_no_builtin=
12052 - lt_cv_prog_cc_can_build_shared=$can_build_shared
12053 -
12054 - if test "$GCC" = yes; then
12055 - lt_cv_prog_cc_wl='-Wl,'
12056 - lt_cv_prog_cc_static='-static'
12057 -
12058 - case $host_os in
12059 - aix*)
12060 - # Below there is a dirty hack to force normal static linking with -ldl
12061 - # The problem is because libdl dynamically linked with both libc and
12062 - # libC (AIX C++ library), which obviously doesn't included in libraries
12063 - # list by gcc. This cause undefined symbols with -static flags.
12064 - # This hack allows C programs to be linked with "-static -ldl", but
12065 - # not sure about C++ programs.
12066 - lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
12067 - ;;
12068 - amigaos*)
12069 - # FIXME: we need at least 68020 code to build shared libraries, but
12070 - # adding the `-m68020' flag to GCC prevents building anything better,
12071 - # like `-m68040'.
12072 - lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
12073 - ;;
12074 - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12075 - # PIC is the default for these OSes.
12076 - ;;
12077 - darwin* | rhapsody*)
12078 - # PIC is the default on this platform
12079 - # Common symbols not allowed in MH_DYLIB files
12080 - lt_cv_prog_cc_pic='-fno-common'
12081 - ;;
12082 - cygwin* | mingw* | pw32* | os2*)
12083 - # This hack is so that the source file can tell whether it is being
12084 - # built for inclusion in a dll (and should export symbols for example).
12085 - lt_cv_prog_cc_pic='-DDLL_EXPORT'
12086 - ;;
12087 - sysv4*MP*)
12088 - if test -d /usr/nec; then
12089 - lt_cv_prog_cc_pic=-Kconform_pic
12090 - fi
12091 - ;;
12092 - *)
12093 - lt_cv_prog_cc_pic='-fPIC'
12094 - ;;
12095 - esac
12096 - else
12097 - # PORTME Check for PIC flags for the system compiler.
12098 - case $host_os in
12099 - aix3* | aix4* | aix5*)
12100 - lt_cv_prog_cc_wl='-Wl,'
12101 - # All AIX code is PIC.
12102 - if test "$host_cpu" = ia64; then
12103 - # AIX 5 now supports IA64 processor
12104 - lt_cv_prog_cc_static='-Bstatic'
12105 - else
12106 - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
12107 - fi
12108 - ;;
12109 -
12110 - hpux9* | hpux10* | hpux11*)
12111 - # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
12112 - lt_cv_prog_cc_wl='-Wl,'
12113 - lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
12114 - lt_cv_prog_cc_pic='+Z'
12115 - ;;
12116 -
12117 - irix5* | irix6* | nonstopux*)
12118 - lt_cv_prog_cc_wl='-Wl,'
12119 - lt_cv_prog_cc_static='-non_shared'
12120 - # PIC (with -KPIC) is the default.
12121 - ;;
12122 -
12123 - cygwin* | mingw* | pw32* | os2*)
12124 - # This hack is so that the source file can tell whether it is being
12125 - # built for inclusion in a dll (and should export symbols for example).
12126 - lt_cv_prog_cc_pic='-DDLL_EXPORT'
12127 - ;;
12128 -
12129 - newsos6)
12130 - lt_cv_prog_cc_pic='-KPIC'
12131 - lt_cv_prog_cc_static='-Bstatic'
12132 - ;;
12133 -
12134 - osf3* | osf4* | osf5*)
12135 - # All OSF/1 code is PIC.
12136 - lt_cv_prog_cc_wl='-Wl,'
12137 - lt_cv_prog_cc_static='-non_shared'
12138 - ;;
12139 -
12140 - sco3.2v5*)
12141 - lt_cv_prog_cc_pic='-Kpic'
12142 - lt_cv_prog_cc_static='-dn'
12143 - lt_cv_prog_cc_shlib='-belf'
12144 - ;;
12145 -
12146 - solaris*)
12147 - lt_cv_prog_cc_pic='-KPIC'
12148 - lt_cv_prog_cc_static='-Bstatic'
12149 - lt_cv_prog_cc_wl='-Wl,'
12150 - ;;
12151 -
12152 - sunos4*)
12153 - lt_cv_prog_cc_pic='-PIC'
12154 - lt_cv_prog_cc_static='-Bstatic'
12155 - lt_cv_prog_cc_wl='-Qoption ld '
12156 - ;;
12157 -
12158 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12159 - lt_cv_prog_cc_pic='-KPIC'
12160 - lt_cv_prog_cc_static='-Bstatic'
12161 - lt_cv_prog_cc_wl='-Wl,'
12162 - ;;
12163 -
12164 - uts4*)
12165 - lt_cv_prog_cc_pic='-pic'
12166 - lt_cv_prog_cc_static='-Bstatic'
12167 - ;;
12168 -
12169 - sysv4*MP*)
12170 - if test -d /usr/nec ;then
12171 - lt_cv_prog_cc_pic='-Kconform_pic'
12172 - lt_cv_prog_cc_static='-Bstatic'
12173 - fi
12174 - ;;
12175 -
12176 - *)
12177 - lt_cv_prog_cc_can_build_shared=no
12178 - ;;
12179 - esac
12180 - fi
12181 -
12182 -fi
12183 -
12184 -if test -z "$lt_cv_prog_cc_pic"; then
12185 - echo "$as_me:$LINENO: result: none" >&5
12186 -echo "${ECHO_T}none" >&6
12187 -else
12188 - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
12189 -echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
12190 -
12191 - # Check to make sure the pic_flag actually works.
12192 - echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
12193 -echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
12194 - if test "${lt_cv_prog_cc_pic_works+set}" = set; then
12195 - echo $ECHO_N "(cached) $ECHO_C" >&6
12196 -else
12197 - save_CFLAGS="$CFLAGS"
12198 - CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
12199 - cat >conftest.$ac_ext <<_ACEOF
12200 + CXXFLAGS=""
12201 + cat >conftest.$ac_ext <<_ACEOF
12202 /* confdefs.h. */
12203 _ACEOF
12204 cat confdefs.h >>conftest.$ac_ext
12205 @@ -5283,87 +5744,30 @@
12206 }
12207 _ACEOF
12208 rm -f conftest.$ac_objext
12209 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12210 - (eval $ac_compile) 2>conftest.er1
12211 +if { (ac_try="$ac_compile"
12212 +case "(($ac_try" in
12213 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12214 + *) ac_try_echo=$ac_try;;
12215 +esac
12216 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12217 + (eval "$ac_compile") 2>conftest.er1
12218 ac_status=$?
12219 grep -v '^ *+' conftest.er1 >conftest.err
12220 rm -f conftest.er1
12221 cat conftest.err >&5
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 - (exit $ac_status); } &&
12224 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12225 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12226 - (eval $ac_try) 2>&5
12227 - ac_status=$?
12228 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 - (exit $ac_status); }; } &&
12230 - { ac_try='test -s conftest.$ac_objext'
12231 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 - (eval $ac_try) 2>&5
12233 - ac_status=$?
12234 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 - (exit $ac_status); }; }; then
12236 - case $host_os in
12237 - hpux9* | hpux10* | hpux11*)
12238 - # On HP-UX, both CC and GCC only warn that PIC is supported... then
12239 - # they create non-PIC objects. So, if there were any warnings, we
12240 - # assume that PIC is not supported.
12241 - if test -s conftest.err; then
12242 - lt_cv_prog_cc_pic_works=no
12243 - else
12244 - lt_cv_prog_cc_pic_works=yes
12245 - fi
12246 - ;;
12247 - *)
12248 - lt_cv_prog_cc_pic_works=yes
12249 - ;;
12250 - esac
12251 -
12252 + (exit $ac_status); } && {
12253 + test -z "$ac_cxx_werror_flag" ||
12254 + test ! -s conftest.err
12255 + } && test -s conftest.$ac_objext; then
12256 + :
12257 else
12258 echo "$as_me: failed program was:" >&5
12259 sed 's/^/| /' conftest.$ac_ext >&5
12260
12261 - lt_cv_prog_cc_pic_works=no
12262 -
12263 -fi
12264 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12265 - CFLAGS="$save_CFLAGS"
12266 -
12267 -fi
12268 -
12269 -
12270 - if test "X$lt_cv_prog_cc_pic_works" = Xno; then
12271 - lt_cv_prog_cc_pic=
12272 - lt_cv_prog_cc_can_build_shared=no
12273 - else
12274 - lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
12275 - fi
12276 -
12277 - echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
12278 -echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
12279 -fi
12280 -
12281 -# Check for any special shared library compilation flags.
12282 -if test -n "$lt_cv_prog_cc_shlib"; then
12283 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
12284 -echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
12285 - if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
12286 - else
12287 - { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
12288 -echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
12289 - lt_cv_prog_cc_can_build_shared=no
12290 - fi
12291 -fi
12292 -
12293 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
12294 -echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
12295 -if test "${lt_cv_prog_cc_static_works+set}" = set; then
12296 - echo $ECHO_N "(cached) $ECHO_C" >&6
12297 -else
12298 - lt_cv_prog_cc_static_works=no
12299 - save_LDFLAGS="$LDFLAGS"
12300 - LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
12301 - cat >conftest.$ac_ext <<_ACEOF
12302 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12303 + CXXFLAGS="-g"
12304 + cat >conftest.$ac_ext <<_ACEOF
12305 /* confdefs.h. */
12306 _ACEOF
12307 cat confdefs.h >>conftest.$ac_ext
12308 @@ -5378,1108 +5782,12251 @@
12309 return 0;
12310 }
12311 _ACEOF
12312 -rm -f conftest.$ac_objext conftest$ac_exeext
12313 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12314 - (eval $ac_link) 2>conftest.er1
12315 +rm -f conftest.$ac_objext
12316 +if { (ac_try="$ac_compile"
12317 +case "(($ac_try" in
12318 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12319 + *) ac_try_echo=$ac_try;;
12320 +esac
12321 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12322 + (eval "$ac_compile") 2>conftest.er1
12323 ac_status=$?
12324 grep -v '^ *+' conftest.er1 >conftest.err
12325 rm -f conftest.er1
12326 cat conftest.err >&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 - (exit $ac_status); } &&
12329 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12330 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 - (eval $ac_try) 2>&5
12332 - ac_status=$?
12333 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 - (exit $ac_status); }; } &&
12335 - { ac_try='test -s conftest$ac_exeext'
12336 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12337 - (eval $ac_try) 2>&5
12338 - ac_status=$?
12339 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 - (exit $ac_status); }; }; then
12341 - lt_cv_prog_cc_static_works=yes
12342 + (exit $ac_status); } && {
12343 + test -z "$ac_cxx_werror_flag" ||
12344 + test ! -s conftest.err
12345 + } && test -s conftest.$ac_objext; then
12346 + ac_cv_prog_cxx_g=yes
12347 else
12348 echo "$as_me: failed program was:" >&5
12349 sed 's/^/| /' conftest.$ac_ext >&5
12350
12351 -fi
12352 -rm -f conftest.err conftest.$ac_objext \
12353 - conftest$ac_exeext conftest.$ac_ext
12354 - LDFLAGS="$save_LDFLAGS"
12355
12356 fi
12357
12358 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12359 +fi
12360
12361 -# Belt *and* braces to stop my trousers falling down:
12362 -test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
12363 -echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
12364 -echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
12365 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12366 +fi
12367
12368 -pic_flag="$lt_cv_prog_cc_pic"
12369 -special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
12370 -wl="$lt_cv_prog_cc_wl"
12371 -link_static_flag="$lt_cv_prog_cc_static"
12372 -no_builtin_flag="$lt_cv_prog_cc_no_builtin"
12373 -can_build_shared="$lt_cv_prog_cc_can_build_shared"
12374 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12375 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12376 +fi
12377 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12378 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
12379 +if test "$ac_test_CXXFLAGS" = set; then
12380 + CXXFLAGS=$ac_save_CXXFLAGS
12381 +elif test $ac_cv_prog_cxx_g = yes; then
12382 + if test "$GXX" = yes; then
12383 + CXXFLAGS="-g -O2"
12384 + else
12385 + CXXFLAGS="-g"
12386 + fi
12387 +else
12388 + if test "$GXX" = yes; then
12389 + CXXFLAGS="-O2"
12390 + else
12391 + CXXFLAGS=
12392 + fi
12393 +fi
12394 +ac_ext=cpp
12395 +ac_cpp='$CXXCPP $CPPFLAGS'
12396 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12397 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12398 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12399
12400 +depcc="$CXX" am_compiler_list=
12401
12402 -# Check to see if options -o and -c are simultaneously supported by compiler
12403 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12404 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12405 -if test "${lt_cv_compiler_c_o+set}" = set; then
12406 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12407 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
12408 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12409 echo $ECHO_N "(cached) $ECHO_C" >&6
12410 else
12411 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12412 + # We make a subdir and do the tests there. Otherwise we can end up
12413 + # making bogus files that we don't know about and never remove. For
12414 + # instance it was reported that on HP-UX the gcc test will end up
12415 + # making a dummy file named `D' -- because `-MD' means `put the output
12416 + # in D'.
12417 + mkdir conftest.dir
12418 + # Copy depcomp to subdir because otherwise we won't find it if we're
12419 + # using a relative directory.
12420 + cp "$am_depcomp" conftest.dir
12421 + cd conftest.dir
12422 + # We will build objects and dependencies in a subdirectory because
12423 + # it helps to detect inapplicable dependency modes. For instance
12424 + # both Tru64's cc and ICC support -MD to output dependencies as a
12425 + # side effect of compilation, but ICC will put the dependencies in
12426 + # the current directory while Tru64 will put them in the object
12427 + # directory.
12428 + mkdir sub
12429 +
12430 + am_cv_CXX_dependencies_compiler_type=none
12431 + if test "$am_compiler_list" = ""; then
12432 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12433 + fi
12434 + for depmode in $am_compiler_list; do
12435 + # Setup a source with many dependencies, because some compilers
12436 + # like to wrap large dependency lists on column 80 (with \), and
12437 + # we should not choose a depcomp mode which is confused by this.
12438 + #
12439 + # We need to recreate these files for each test, as the compiler may
12440 + # overwrite some of them when testing with obscure command lines.
12441 + # This happens at least with the AIX C compiler.
12442 + : > sub/conftest.c
12443 + for i in 1 2 3 4 5 6; do
12444 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
12445 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12446 + # Solaris 8's {/usr,}/bin/sh.
12447 + touch sub/conftst$i.h
12448 + done
12449 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12450
12451 -$rm -r conftest 2>/dev/null
12452 -mkdir conftest
12453 -cd conftest
12454 -echo "int some_variable = 0;" > conftest.$ac_ext
12455 -mkdir out
12456 -# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
12457 -# that will create temporary files in the current directory regardless of
12458 -# the output directory. Thus, making CWD read-only will cause this test
12459 -# to fail, enabling locking or at least warning the user not to do parallel
12460 -# builds.
12461 -chmod -w .
12462 -save_CFLAGS="$CFLAGS"
12463 -CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
12464 -compiler_c_o=no
12465 -if { (eval echo configure:5449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
12466 - # The compiler can only warn and ignore the option if not recognized
12467 - # So say no if there are warnings
12468 - if test -s out/conftest.err; then
12469 - lt_cv_compiler_c_o=no
12470 - else
12471 - lt_cv_compiler_c_o=yes
12472 - fi
12473 + case $depmode in
12474 + nosideeffect)
12475 + # after this tag, mechanisms are not by side-effect, so they'll
12476 + # only be used when explicitly requested
12477 + if test "x$enable_dependency_tracking" = xyes; then
12478 + continue
12479 + else
12480 + break
12481 + fi
12482 + ;;
12483 + none) break ;;
12484 + esac
12485 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
12486 + # mode. It turns out that the SunPro C++ compiler does not properly
12487 + # handle `-M -o', and we need to detect this.
12488 + if depmode=$depmode \
12489 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
12490 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12491 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
12492 + >/dev/null 2>conftest.err &&
12493 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12494 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
12495 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12496 + # icc doesn't choke on unknown options, it will just issue warnings
12497 + # or remarks (even with -Werror). So we grep stderr for any message
12498 + # that says an option was ignored or not supported.
12499 + # When given -MP, icc 7.0 and 7.1 complain thusly:
12500 + # icc: Command line warning: ignoring option '-M'; no argument required
12501 + # The diagnosis changed in icc 8.0:
12502 + # icc: Command line remark: option '-MP' not supported
12503 + if (grep 'ignoring option' conftest.err ||
12504 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12505 + am_cv_CXX_dependencies_compiler_type=$depmode
12506 + break
12507 + fi
12508 + fi
12509 + done
12510 +
12511 + cd ..
12512 + rm -rf conftest.dir
12513 else
12514 - # Append any errors to the config.log.
12515 - cat out/conftest.err 1>&5
12516 - lt_cv_compiler_c_o=no
12517 + am_cv_CXX_dependencies_compiler_type=none
12518 fi
12519 -CFLAGS="$save_CFLAGS"
12520 -chmod u+w .
12521 -$rm conftest* out/*
12522 -rmdir out
12523 -cd ..
12524 -rmdir conftest
12525 -$rm -r conftest 2>/dev/null
12526
12527 fi
12528 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
12529 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
12530 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12531
12532 -compiler_c_o=$lt_cv_compiler_c_o
12533 -echo "$as_me:$LINENO: result: $compiler_c_o" >&5
12534 -echo "${ECHO_T}$compiler_c_o" >&6
12535
12536 -if test x"$compiler_c_o" = x"yes"; then
12537 - # Check to see if we can write to a .lo
12538 - echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
12539 -echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
12540 - if test "${lt_cv_compiler_o_lo+set}" = set; then
12541 - echo $ECHO_N "(cached) $ECHO_C" >&6
12542 +
12543 +if
12544 + test "x$enable_dependency_tracking" != xno \
12545 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12546 + am__fastdepCXX_TRUE=
12547 + am__fastdepCXX_FALSE='#'
12548 else
12549 + am__fastdepCXX_TRUE='#'
12550 + am__fastdepCXX_FALSE=
12551 +fi
12552
12553 - lt_cv_compiler_o_lo=no
12554 - save_CFLAGS="$CFLAGS"
12555 - CFLAGS="$CFLAGS -c -o conftest.lo"
12556 - save_objext="$ac_objext"
12557 - ac_objext=lo
12558 - cat >conftest.$ac_ext <<_ACEOF
12559 -/* confdefs.h. */
12560 -_ACEOF
12561 -cat confdefs.h >>conftest.$ac_ext
12562 -cat >>conftest.$ac_ext <<_ACEOF
12563 -/* end confdefs.h. */
12564
12565 -int
12566 -main ()
12567 -{
12568 -int some_variable = 0;
12569 - ;
12570 - return 0;
12571 -}
12572 +
12573 +
12574 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12575 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12576 + (test "X$CXX" != "Xg++"))) ; then
12577 + ac_ext=cpp
12578 +ac_cpp='$CXXCPP $CPPFLAGS'
12579 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12580 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12581 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12582 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
12583 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
12584 +if test -z "$CXXCPP"; then
12585 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
12586 + echo $ECHO_N "(cached) $ECHO_C" >&6
12587 +else
12588 + # Double quotes because CXXCPP needs to be expanded
12589 + for CXXCPP in "$CXX -E" "/lib/cpp"
12590 + do
12591 + ac_preproc_ok=false
12592 +for ac_cxx_preproc_warn_flag in '' yes
12593 +do
12594 + # Use a header file that comes with gcc, so configuring glibc
12595 + # with a fresh cross-compiler works.
12596 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12597 + # <limits.h> exists even on freestanding compilers.
12598 + # On the NeXT, cc -E runs the code through the compiler's parser,
12599 + # not just through cpp. "Syntax error" is here to catch this case.
12600 + cat >conftest.$ac_ext <<_ACEOF
12601 +/* confdefs.h. */
12602 _ACEOF
12603 -rm -f conftest.$ac_objext
12604 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12605 - (eval $ac_compile) 2>conftest.er1
12606 +cat confdefs.h >>conftest.$ac_ext
12607 +cat >>conftest.$ac_ext <<_ACEOF
12608 +/* end confdefs.h. */
12609 +#ifdef __STDC__
12610 +# include <limits.h>
12611 +#else
12612 +# include <assert.h>
12613 +#endif
12614 + Syntax error
12615 +_ACEOF
12616 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12617 +case "(($ac_try" in
12618 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12619 + *) ac_try_echo=$ac_try;;
12620 +esac
12621 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12622 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12623 ac_status=$?
12624 grep -v '^ *+' conftest.er1 >conftest.err
12625 rm -f conftest.er1
12626 cat conftest.err >&5
12627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12628 - (exit $ac_status); } &&
12629 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12630 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12631 - (eval $ac_try) 2>&5
12632 - ac_status=$?
12633 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634 - (exit $ac_status); }; } &&
12635 - { ac_try='test -s conftest.$ac_objext'
12636 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12637 - (eval $ac_try) 2>&5
12638 + (exit $ac_status); } >/dev/null && {
12639 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12640 + test ! -s conftest.err
12641 + }; then
12642 + :
12643 +else
12644 + echo "$as_me: failed program was:" >&5
12645 +sed 's/^/| /' conftest.$ac_ext >&5
12646 +
12647 + # Broken: fails on valid input.
12648 +continue
12649 +fi
12650 +
12651 +rm -f conftest.err conftest.$ac_ext
12652 +
12653 + # OK, works on sane cases. Now check whether nonexistent headers
12654 + # can be detected and how.
12655 + cat >conftest.$ac_ext <<_ACEOF
12656 +/* confdefs.h. */
12657 +_ACEOF
12658 +cat confdefs.h >>conftest.$ac_ext
12659 +cat >>conftest.$ac_ext <<_ACEOF
12660 +/* end confdefs.h. */
12661 +#include <ac_nonexistent.h>
12662 +_ACEOF
12663 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12664 +case "(($ac_try" in
12665 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12666 + *) ac_try_echo=$ac_try;;
12667 +esac
12668 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12669 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12670 ac_status=$?
12671 + grep -v '^ *+' conftest.er1 >conftest.err
12672 + rm -f conftest.er1
12673 + cat conftest.err >&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 - (exit $ac_status); }; }; then
12676 - # The compiler can only warn and ignore the option if not recognized
12677 - # So say no if there are warnings
12678 - if test -s conftest.err; then
12679 - lt_cv_compiler_o_lo=no
12680 - else
12681 - lt_cv_compiler_o_lo=yes
12682 - fi
12683 -
12684 + (exit $ac_status); } >/dev/null && {
12685 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12686 + test ! -s conftest.err
12687 + }; then
12688 + # Broken: success on invalid input.
12689 +continue
12690 else
12691 echo "$as_me: failed program was:" >&5
12692 sed 's/^/| /' conftest.$ac_ext >&5
12693
12694 + # Passes both tests.
12695 +ac_preproc_ok=:
12696 +break
12697 fi
12698 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12699 - ac_objext="$save_objext"
12700 - CFLAGS="$save_CFLAGS"
12701
12702 -fi
12703 +rm -f conftest.err conftest.$ac_ext
12704
12705 - compiler_o_lo=$lt_cv_compiler_o_lo
12706 - echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
12707 -echo "${ECHO_T}$compiler_o_lo" >&6
12708 -else
12709 - compiler_o_lo=no
12710 +done
12711 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12712 +rm -f conftest.err conftest.$ac_ext
12713 +if $ac_preproc_ok; then
12714 + break
12715 fi
12716
12717 -# Check to see if we can do hard links to lock some files if needed
12718 -hard_links="nottested"
12719 -if test "$compiler_c_o" = no && test "$need_locks" != no; then
12720 - # do not overwrite the value of need_locks provided by the user
12721 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12722 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12723 - hard_links=yes
12724 - $rm conftest*
12725 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
12726 - touch conftest.a
12727 - ln conftest.a conftest.b 2>&5 || hard_links=no
12728 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
12729 - echo "$as_me:$LINENO: result: $hard_links" >&5
12730 -echo "${ECHO_T}$hard_links" >&6
12731 - if test "$hard_links" = no; then
12732 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12733 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12734 - need_locks=warn
12735 - fi
12736 + done
12737 + ac_cv_prog_CXXCPP=$CXXCPP
12738 +
12739 +fi
12740 + CXXCPP=$ac_cv_prog_CXXCPP
12741 else
12742 - need_locks=no
12743 + ac_cv_prog_CXXCPP=$CXXCPP
12744 fi
12745 -
12746 -if test "$GCC" = yes; then
12747 - # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
12748 - echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12749 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
12750 - echo "int some_variable = 0;" > conftest.$ac_ext
12751 - save_CFLAGS="$CFLAGS"
12752 - CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
12753 - compiler_rtti_exceptions=no
12754 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
12755 +echo "${ECHO_T}$CXXCPP" >&6; }
12756 +ac_preproc_ok=false
12757 +for ac_cxx_preproc_warn_flag in '' yes
12758 +do
12759 + # Use a header file that comes with gcc, so configuring glibc
12760 + # with a fresh cross-compiler works.
12761 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12762 + # <limits.h> exists even on freestanding compilers.
12763 + # On the NeXT, cc -E runs the code through the compiler's parser,
12764 + # not just through cpp. "Syntax error" is here to catch this case.
12765 cat >conftest.$ac_ext <<_ACEOF
12766 /* confdefs.h. */
12767 _ACEOF
12768 cat confdefs.h >>conftest.$ac_ext
12769 cat >>conftest.$ac_ext <<_ACEOF
12770 /* end confdefs.h. */
12771 -
12772 -int
12773 -main ()
12774 -{
12775 -int some_variable = 0;
12776 - ;
12777 - return 0;
12778 -}
12779 +#ifdef __STDC__
12780 +# include <limits.h>
12781 +#else
12782 +# include <assert.h>
12783 +#endif
12784 + Syntax error
12785 _ACEOF
12786 -rm -f conftest.$ac_objext
12787 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12788 - (eval $ac_compile) 2>conftest.er1
12789 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12790 +case "(($ac_try" in
12791 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12792 + *) ac_try_echo=$ac_try;;
12793 +esac
12794 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12795 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12796 ac_status=$?
12797 grep -v '^ *+' conftest.er1 >conftest.err
12798 rm -f conftest.er1
12799 cat conftest.err >&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 - (exit $ac_status); } &&
12802 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12803 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12804 - (eval $ac_try) 2>&5
12805 - ac_status=$?
12806 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 - (exit $ac_status); }; } &&
12808 - { ac_try='test -s conftest.$ac_objext'
12809 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 - (eval $ac_try) 2>&5
12811 + (exit $ac_status); } >/dev/null && {
12812 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12813 + test ! -s conftest.err
12814 + }; then
12815 + :
12816 +else
12817 + echo "$as_me: failed program was:" >&5
12818 +sed 's/^/| /' conftest.$ac_ext >&5
12819 +
12820 + # Broken: fails on valid input.
12821 +continue
12822 +fi
12823 +
12824 +rm -f conftest.err conftest.$ac_ext
12825 +
12826 + # OK, works on sane cases. Now check whether nonexistent headers
12827 + # can be detected and how.
12828 + cat >conftest.$ac_ext <<_ACEOF
12829 +/* confdefs.h. */
12830 +_ACEOF
12831 +cat confdefs.h >>conftest.$ac_ext
12832 +cat >>conftest.$ac_ext <<_ACEOF
12833 +/* end confdefs.h. */
12834 +#include <ac_nonexistent.h>
12835 +_ACEOF
12836 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12837 +case "(($ac_try" in
12838 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12839 + *) ac_try_echo=$ac_try;;
12840 +esac
12841 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12842 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12843 ac_status=$?
12844 + grep -v '^ *+' conftest.er1 >conftest.err
12845 + rm -f conftest.er1
12846 + cat conftest.err >&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 - (exit $ac_status); }; }; then
12849 - # The compiler can only warn and ignore the option if not recognized
12850 - # So say no if there are warnings
12851 - if test -s conftest.err; then
12852 - compiler_rtti_exceptions=no
12853 - else
12854 - compiler_rtti_exceptions=yes
12855 - fi
12856 -
12857 + (exit $ac_status); } >/dev/null && {
12858 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12859 + test ! -s conftest.err
12860 + }; then
12861 + # Broken: success on invalid input.
12862 +continue
12863 else
12864 echo "$as_me: failed program was:" >&5
12865 sed 's/^/| /' conftest.$ac_ext >&5
12866
12867 + # Passes both tests.
12868 +ac_preproc_ok=:
12869 +break
12870 fi
12871 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12872 - CFLAGS="$save_CFLAGS"
12873 - echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
12874 -echo "${ECHO_T}$compiler_rtti_exceptions" >&6
12875
12876 - if test "$compiler_rtti_exceptions" = "yes"; then
12877 - no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
12878 - else
12879 - no_builtin_flag=' -fno-builtin'
12880 - fi
12881 +rm -f conftest.err conftest.$ac_ext
12882 +
12883 +done
12884 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12885 +rm -f conftest.err conftest.$ac_ext
12886 +if $ac_preproc_ok; then
12887 + :
12888 +else
12889 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12890 +See \`config.log' for more details." >&5
12891 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12892 +See \`config.log' for more details." >&2;}
12893 + { (exit 1); exit 1; }; }
12894 fi
12895
12896 -# See if the linker supports building shared libraries.
12897 -echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
12898 -echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
12899 +ac_ext=cpp
12900 +ac_cpp='$CXXCPP $CPPFLAGS'
12901 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12902 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12903 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12904
12905 -allow_undefined_flag=
12906 -no_undefined_flag=
12907 -need_lib_prefix=unknown
12908 -need_version=unknown
12909 -# when you set need_version to no, make sure it does not cause -set_version
12910 -# flags to be left without arguments
12911 -archive_cmds=
12912 -archive_expsym_cmds=
12913 -old_archive_from_new_cmds=
12914 -old_archive_from_expsyms_cmds=
12915 -export_dynamic_flag_spec=
12916 -whole_archive_flag_spec=
12917 -thread_safe_flag_spec=
12918 -hardcode_into_libs=no
12919 -hardcode_libdir_flag_spec=
12920 -hardcode_libdir_separator=
12921 -hardcode_direct=no
12922 -hardcode_minus_L=no
12923 -hardcode_shlibpath_var=unsupported
12924 -runpath_var=
12925 -link_all_deplibs=unknown
12926 -always_export_symbols=no
12927 -export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
12928 -# include_expsyms should be a list of space-separated symbols to be *always*
12929 -# included in the symbol list
12930 -include_expsyms=
12931 -# exclude_expsyms can be an egrep regular expression of symbols to exclude
12932 -# it will be wrapped by ` (' and `)$', so one must not match beginning or
12933 -# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12934 -# as well as any symbol that contains `d'.
12935 -exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
12936 -# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12937 -# platforms (ab)use it in PIC code, but their linkers get confused if
12938 -# the symbol is explicitly referenced. Since portable code cannot
12939 -# rely on this symbol name, it's probably fine to never include it in
12940 -# preloaded symbol tables.
12941 -extract_expsyms_cmds=
12942 +fi
12943
12944 -case $host_os in
12945 -cygwin* | mingw* | pw32*)
12946 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
12947 - # When not using gcc, we currently assume that we are using
12948 - # Microsoft Visual C++.
12949 - if test "$GCC" != yes; then
12950 - with_gnu_ld=no
12951 - fi
12952 - ;;
12953 -openbsd*)
12954 - with_gnu_ld=no
12955 - ;;
12956 -esac
12957
12958 -ld_shlibs=yes
12959 -if test "$with_gnu_ld" = yes; then
12960 - # If archive_cmds runs LD, not CC, wlarc should be empty
12961 - wlarc='${wl}'
12962 +ac_ext=f
12963 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12964 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12965 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12966 +if test -n "$ac_tool_prefix"; then
12967 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
12968 + do
12969 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12970 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12971 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12972 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12973 +if test "${ac_cv_prog_F77+set}" = set; then
12974 + echo $ECHO_N "(cached) $ECHO_C" >&6
12975 +else
12976 + if test -n "$F77"; then
12977 + ac_cv_prog_F77="$F77" # Let the user override the test.
12978 +else
12979 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12980 +for as_dir in $PATH
12981 +do
12982 + IFS=$as_save_IFS
12983 + test -z "$as_dir" && as_dir=.
12984 + for ac_exec_ext in '' $ac_executable_extensions; do
12985 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12986 + ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
12987 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12988 + break 2
12989 + fi
12990 +done
12991 +done
12992 +IFS=$as_save_IFS
12993
12994 - # See if GNU ld supports shared libraries.
12995 - case $host_os in
12996 - aix3* | aix4* | aix5*)
12997 - # On AIX, the GNU linker is very broken
12998 - # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
12999 - ld_shlibs=no
13000 - cat <<EOF 1>&2
13001 +fi
13002 +fi
13003 +F77=$ac_cv_prog_F77
13004 +if test -n "$F77"; then
13005 + { echo "$as_me:$LINENO: result: $F77" >&5
13006 +echo "${ECHO_T}$F77" >&6; }
13007 +else
13008 + { echo "$as_me:$LINENO: result: no" >&5
13009 +echo "${ECHO_T}no" >&6; }
13010 +fi
13011
13012 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
13013 -*** to be unable to reliably create shared libraries on AIX.
13014 -*** Therefore, libtool is disabling shared libraries support. If you
13015 -*** really care for shared libraries, you may want to modify your PATH
13016 -*** so that a non-GNU linker is found, and then restart.
13017
13018 -EOF
13019 - ;;
13020 + test -n "$F77" && break
13021 + done
13022 +fi
13023 +if test -z "$F77"; then
13024 + ac_ct_F77=$F77
13025 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
13026 +do
13027 + # Extract the first word of "$ac_prog", so it can be a program name with args.
13028 +set dummy $ac_prog; ac_word=$2
13029 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13030 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13031 +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13032 + echo $ECHO_N "(cached) $ECHO_C" >&6
13033 +else
13034 + if test -n "$ac_ct_F77"; then
13035 + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13036 +else
13037 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13038 +for as_dir in $PATH
13039 +do
13040 + IFS=$as_save_IFS
13041 + test -z "$as_dir" && as_dir=.
13042 + for ac_exec_ext in '' $ac_executable_extensions; do
13043 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13044 + ac_cv_prog_ac_ct_F77="$ac_prog"
13045 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13046 + break 2
13047 + fi
13048 +done
13049 +done
13050 +IFS=$as_save_IFS
13051
13052 - amigaos*)
13053 - 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)'
13054 - hardcode_libdir_flag_spec='-L$libdir'
13055 - hardcode_minus_L=yes
13056 -
13057 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13058 - # that the semantics of dynamic libraries on AmigaOS, at least up
13059 - # to version 4, is to share data among multiple programs linked
13060 - # with the same dynamic library. Since this doesn't match the
13061 - # behavior of shared libraries on other platforms, we can use
13062 - # them.
13063 - ld_shlibs=no
13064 - ;;
13065 +fi
13066 +fi
13067 +ac_ct_F77=$ac_cv_prog_ac_ct_F77
13068 +if test -n "$ac_ct_F77"; then
13069 + { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13070 +echo "${ECHO_T}$ac_ct_F77" >&6; }
13071 +else
13072 + { echo "$as_me:$LINENO: result: no" >&5
13073 +echo "${ECHO_T}no" >&6; }
13074 +fi
13075
13076 - beos*)
13077 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
13078 - allow_undefined_flag=unsupported
13079 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13080 - # support --undefined. This deserves some investigation. FIXME
13081 - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13082 - else
13083 - ld_shlibs=no
13084 - fi
13085 - ;;
13086
13087 - cygwin* | mingw* | pw32*)
13088 - # hardcode_libdir_flag_spec is actually meaningless, as there is
13089 - # no search path for DLLs.
13090 - hardcode_libdir_flag_spec='-L$libdir'
13091 - allow_undefined_flag=unsupported
13092 - always_export_symbols=yes
13093 -
13094 - extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
13095 - sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
13096 - test -f $output_objdir/impgen.exe || (cd $output_objdir && \
13097 - if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
13098 - else $CC -o impgen impgen.c ; fi)~
13099 - $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
13100 -
13101 - old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
13102 -
13103 - # cygwin and mingw dlls have different entry points and sets of symbols
13104 - # to exclude.
13105 - # FIXME: what about values for MSVC?
13106 - dll_entry=__cygwin_dll_entry@12
13107 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
13108 - case $host_os in
13109 - mingw*)
13110 - # mingw values
13111 - dll_entry=_DllMainCRTStartup@12
13112 - dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
13113 - ;;
13114 - esac
13115 + test -n "$ac_ct_F77" && break
13116 +done
13117
13118 - # mingw and cygwin differ, and it's simplest to just exclude the union
13119 - # of the two symbol sets.
13120 - dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
13121 -
13122 - # recent cygwin and mingw systems supply a stub DllMain which the user
13123 - # can override, but on older systems we have to supply one (in ltdll.c)
13124 - if test "x$lt_cv_need_dllmain" = "xyes"; then
13125 - ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
13126 - 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~
13127 - test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
13128 - else
13129 - ltdll_obj=
13130 - ltdll_cmds=
13131 - fi
13132 + if test "x$ac_ct_F77" = x; then
13133 + F77=""
13134 + else
13135 + case $cross_compiling:$ac_tool_warned in
13136 +yes:)
13137 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13138 +whose name does not start with the host triplet. If you think this
13139 +configuration is useful to you, please write to autoconf@gnu.org." >&5
13140 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13141 +whose name does not start with the host triplet. If you think this
13142 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13143 +ac_tool_warned=yes ;;
13144 +esac
13145 + F77=$ac_ct_F77
13146 + fi
13147 +fi
13148
13149 - # Extract the symbol export list from an `--export-all' def file,
13150 - # then regenerate the def file from the symbol export list, so that
13151 - # the compiled dll only exports the symbol export list.
13152 - # Be careful not to strip the DATA tag left be newer dlltools.
13153 - export_symbols_cmds="$ltdll_cmds"'
13154 - $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
13155 - sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
13156 -
13157 - # If the export-symbols file already is a .def file (1st line
13158 - # is EXPORTS), use it as is.
13159 - # If DATA tags from a recent dlltool are present, honour them!
13160 - archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
13161 - cp $export_symbols $output_objdir/$soname-def;
13162 - else
13163 - echo EXPORTS > $output_objdir/$soname-def;
13164 - _lt_hint=1;
13165 - cat $export_symbols | while read symbol; do
13166 - set dummy \$symbol;
13167 - case \$# in
13168 - 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
13169 - 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
13170 - *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
13171 - esac;
13172 - _lt_hint=`expr 1 + \$_lt_hint`;
13173 - done;
13174 - fi~
13175 - '"$ltdll_cmds"'
13176 - $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~
13177 - $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~
13178 - $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~
13179 - $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~
13180 - $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
13181 - ;;
13182
13183 - netbsd*)
13184 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13185 - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13186 - wlarc=
13187 - else
13188 - archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13189 - archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13190 - fi
13191 - ;;
13192 -
13193 - solaris* | sysv5*)
13194 - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
13195 - ld_shlibs=no
13196 - cat <<EOF 1>&2
13197 +# Provide some information about the compiler.
13198 +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13199 +ac_compiler=`set X $ac_compile; echo $2`
13200 +{ (ac_try="$ac_compiler --version >&5"
13201 +case "(($ac_try" in
13202 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13203 + *) ac_try_echo=$ac_try;;
13204 +esac
13205 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13206 + (eval "$ac_compiler --version >&5") 2>&5
13207 + ac_status=$?
13208 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 + (exit $ac_status); }
13210 +{ (ac_try="$ac_compiler -v >&5"
13211 +case "(($ac_try" in
13212 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13213 + *) ac_try_echo=$ac_try;;
13214 +esac
13215 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13216 + (eval "$ac_compiler -v >&5") 2>&5
13217 + ac_status=$?
13218 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 + (exit $ac_status); }
13220 +{ (ac_try="$ac_compiler -V >&5"
13221 +case "(($ac_try" in
13222 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13223 + *) ac_try_echo=$ac_try;;
13224 +esac
13225 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13226 + (eval "$ac_compiler -V >&5") 2>&5
13227 + ac_status=$?
13228 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 + (exit $ac_status); }
13230 +rm -f a.out
13231
13232 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
13233 -*** create shared libraries on Solaris systems. Therefore, libtool
13234 -*** is disabling shared libraries support. We urge you to upgrade GNU
13235 -*** binutils to release 2.9.1 or newer. Another option is to modify
13236 -*** your PATH or compiler configuration so that the native linker is
13237 -*** used, and then restart.
13238 +# If we don't use `.F' as extension, the preprocessor is not run on the
13239 +# input file. (Note that this only needs to work for GNU compilers.)
13240 +ac_save_ext=$ac_ext
13241 +ac_ext=F
13242 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13243 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13244 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13245 + echo $ECHO_N "(cached) $ECHO_C" >&6
13246 +else
13247 + cat >conftest.$ac_ext <<_ACEOF
13248 + program main
13249 +#ifndef __GNUC__
13250 + choke me
13251 +#endif
13252
13253 -EOF
13254 - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
13255 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13256 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13257 - else
13258 - ld_shlibs=no
13259 - fi
13260 - ;;
13261 + end
13262 +_ACEOF
13263 +rm -f conftest.$ac_objext
13264 +if { (ac_try="$ac_compile"
13265 +case "(($ac_try" in
13266 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13267 + *) ac_try_echo=$ac_try;;
13268 +esac
13269 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13270 + (eval "$ac_compile") 2>conftest.er1
13271 + ac_status=$?
13272 + grep -v '^ *+' conftest.er1 >conftest.err
13273 + rm -f conftest.er1
13274 + cat conftest.err >&5
13275 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 + (exit $ac_status); } && {
13277 + test -z "$ac_f77_werror_flag" ||
13278 + test ! -s conftest.err
13279 + } && test -s conftest.$ac_objext; then
13280 + ac_compiler_gnu=yes
13281 +else
13282 + echo "$as_me: failed program was:" >&5
13283 +sed 's/^/| /' conftest.$ac_ext >&5
13284
13285 - sunos4*)
13286 - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13287 - wlarc=
13288 - hardcode_direct=yes
13289 - hardcode_shlibpath_var=no
13290 - ;;
13291 + ac_compiler_gnu=no
13292 +fi
13293
13294 - *)
13295 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
13296 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13297 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13298 - else
13299 - ld_shlibs=no
13300 - fi
13301 - ;;
13302 - esac
13303 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13304 +ac_cv_f77_compiler_gnu=$ac_compiler_gnu
13305
13306 - if test "$ld_shlibs" = yes; then
13307 - runpath_var=LD_RUN_PATH
13308 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
13309 - export_dynamic_flag_spec='${wl}--export-dynamic'
13310 - case $host_os in
13311 - cygwin* | mingw* | pw32*)
13312 - # dlltool doesn't understand --whole-archive et. al.
13313 - whole_archive_flag_spec=
13314 - ;;
13315 - *)
13316 - # ancient GNU ld didn't support --whole-archive et. al.
13317 - if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
13318 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13319 - else
13320 - whole_archive_flag_spec=
13321 - fi
13322 - ;;
13323 - esac
13324 - fi
13325 +fi
13326 +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13327 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13328 +ac_ext=$ac_save_ext
13329 +ac_test_FFLAGS=${FFLAGS+set}
13330 +ac_save_FFLAGS=$FFLAGS
13331 +FFLAGS=
13332 +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13333 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13334 +if test "${ac_cv_prog_f77_g+set}" = set; then
13335 + echo $ECHO_N "(cached) $ECHO_C" >&6
13336 else
13337 - # PORTME fill in a description of your system's linker (not GNU ld)
13338 - case $host_os in
13339 - aix3*)
13340 - allow_undefined_flag=unsupported
13341 - always_export_symbols=yes
13342 - 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'
13343 - # Note: this linker hardcodes the directories in LIBPATH if there
13344 - # are no directories specified by -L.
13345 - hardcode_minus_L=yes
13346 - if test "$GCC" = yes && test -z "$link_static_flag"; then
13347 - # Neither direct hardcoding nor static linking is supported with a
13348 - # broken collect2.
13349 - hardcode_direct=unsupported
13350 - fi
13351 - ;;
13352 + FFLAGS=-g
13353 +cat >conftest.$ac_ext <<_ACEOF
13354 + program main
13355
13356 - aix4* | aix5*)
13357 - if test "$host_cpu" = ia64; then
13358 - # On IA64, the linker does run time linking by default, so we don't
13359 - # have to do anything special.
13360 - aix_use_runtimelinking=no
13361 - exp_sym_flag='-Bexport'
13362 - no_entry_flag=""
13363 - else
13364 - aix_use_runtimelinking=no
13365 + end
13366 +_ACEOF
13367 +rm -f conftest.$ac_objext
13368 +if { (ac_try="$ac_compile"
13369 +case "(($ac_try" in
13370 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13371 + *) ac_try_echo=$ac_try;;
13372 +esac
13373 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13374 + (eval "$ac_compile") 2>conftest.er1
13375 + ac_status=$?
13376 + grep -v '^ *+' conftest.er1 >conftest.err
13377 + rm -f conftest.er1
13378 + cat conftest.err >&5
13379 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 + (exit $ac_status); } && {
13381 + test -z "$ac_f77_werror_flag" ||
13382 + test ! -s conftest.err
13383 + } && test -s conftest.$ac_objext; then
13384 + ac_cv_prog_f77_g=yes
13385 +else
13386 + echo "$as_me: failed program was:" >&5
13387 +sed 's/^/| /' conftest.$ac_ext >&5
13388
13389 - # Test if we are trying to use run time linking or normal
13390 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13391 - # need to do runtime linking.
13392 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13393 - for ld_flag in $LDFLAGS; do
13394 - case $ld_flag in
13395 - *-brtl*)
13396 - aix_use_runtimelinking=yes
13397 - break
13398 - ;;
13399 - esac
13400 - done
13401 - esac
13402 + ac_cv_prog_f77_g=no
13403 +fi
13404
13405 - exp_sym_flag='-bexport'
13406 - no_entry_flag='-bnoentry'
13407 - fi
13408 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13409
13410 - # When large executables or shared objects are built, AIX ld can
13411 - # have problems creating the table of contents. If linking a library
13412 - # or program results in "error TOC overflow" add -mminimal-toc to
13413 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13414 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13415 +fi
13416 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13417 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13418 +if test "$ac_test_FFLAGS" = set; then
13419 + FFLAGS=$ac_save_FFLAGS
13420 +elif test $ac_cv_prog_f77_g = yes; then
13421 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13422 + FFLAGS="-g -O2"
13423 + else
13424 + FFLAGS="-g"
13425 + fi
13426 +else
13427 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13428 + FFLAGS="-O2"
13429 + else
13430 + FFLAGS=
13431 + fi
13432 +fi
13433
13434 - hardcode_direct=yes
13435 - archive_cmds=''
13436 - hardcode_libdir_separator=':'
13437 - if test "$GCC" = yes; then
13438 - case $host_os in aix4.[012]|aix4.[012].*)
13439 - collect2name=`${CC} -print-prog-name=collect2`
13440 - if test -f "$collect2name" && \
13441 - strings "$collect2name" | grep resolve_lib_name >/dev/null
13442 - then
13443 - # We have reworked collect2
13444 - hardcode_direct=yes
13445 - else
13446 - # We have old collect2
13447 - hardcode_direct=unsupported
13448 - # It fails to find uninstalled libraries when the uninstalled
13449 - # path is not listed in the libpath. Setting hardcode_minus_L
13450 - # to unsupported forces relinking
13451 - hardcode_minus_L=yes
13452 - hardcode_libdir_flag_spec='-L$libdir'
13453 - hardcode_libdir_separator=
13454 - fi
13455 - esac
13456 +G77=`test $ac_compiler_gnu = yes && echo yes`
13457 +ac_ext=c
13458 +ac_cpp='$CPP $CPPFLAGS'
13459 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13460 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13461 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
13462
13463 - shared_flag='-shared'
13464 - else
13465 - # not using gcc
13466 - if test "$host_cpu" = ia64; then
13467 - shared_flag='${wl}-G'
13468 - else
13469 - if test "$aix_use_runtimelinking" = yes; then
13470 - shared_flag='${wl}-G'
13471 - else
13472 - shared_flag='${wl}-bM:SRE'
13473 - fi
13474 - fi
13475 - fi
13476
13477 - # It seems that -bexpall can do strange things, so it is better to
13478 - # generate a list of symbols to export.
13479 - always_export_symbols=yes
13480 - if test "$aix_use_runtimelinking" = yes; then
13481 - # Warning - without using the other runtime loading flags (-brtl),
13482 - # -berok will link without error, but may produce a broken library.
13483 - allow_undefined_flag='-berok'
13484 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
13485 - 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"
13486 - else
13487 - if test "$host_cpu" = ia64; then
13488 - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
13489 - allow_undefined_flag="-z nodefs"
13490 - 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"
13491 - else
13492 - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
13493 - # Warning - without using the other run time loading flags,
13494 - # -berok will link without error, but may produce a broken library.
13495 - allow_undefined_flag='${wl}-berok'
13496 - # This is a bit strange, but is similar to how AIX traditionally builds
13497 - # it's shared libraries.
13498 - 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'
13499 - fi
13500 - fi
13501 - ;;
13502
13503 - amigaos*)
13504 - 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)'
13505 - hardcode_libdir_flag_spec='-L$libdir'
13506 - hardcode_minus_L=yes
13507 - # see comment about different semantics on the GNU ld section
13508 - ld_shlibs=no
13509 - ;;
13510 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13511
13512 - cygwin* | mingw* | pw32*)
13513 - # When not using gcc, we currently assume that we are using
13514 - # Microsoft Visual C++.
13515 - # hardcode_libdir_flag_spec is actually meaningless, as there is
13516 - # no search path for DLLs.
13517 - hardcode_libdir_flag_spec=' '
13518 - allow_undefined_flag=unsupported
13519 - # Tell ltmain to make .lib files, not .a files.
13520 - libext=lib
13521 - # FIXME: Setting linknames here is a bad hack.
13522 - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
13523 - # The linker will automatically build a .lib file if we build a DLL.
13524 - old_archive_from_new_cmds='true'
13525 - # FIXME: Should let the user specify the lib program.
13526 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
13527 - fix_srcfile_path='`cygpath -w "$srcfile"`'
13528 - ;;
13529 -
13530 - darwin* | rhapsody*)
13531 - case "$host_os" in
13532 - rhapsody* | darwin1.[012])
13533 - allow_undefined_flag='-undefined suppress'
13534 - ;;
13535 - *) # Darwin 1.3 on
13536 - allow_undefined_flag='-flat_namespace -undefined suppress'
13537 - ;;
13538 - esac
13539 - # FIXME: Relying on posixy $() will cause problems for
13540 - # cross-compilation, but unfortunately the echo tests do not
13541 - # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13542 - # `"' quotes if we put them in here... so don't!
13543 - 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)'
13544 - # We need to add '_' to the symbols in $export_symbols first
13545 - #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
13546 - hardcode_direct=yes
13547 - hardcode_shlibpath_var=no
13548 - whole_archive_flag_spec='-all_load $convenience'
13549 - ;;
13550 -
13551 - freebsd1*)
13552 - ld_shlibs=no
13553 - ;;
13554 -
13555 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13556 - # support. Future versions do this automatically, but an explicit c++rt0.o
13557 - # does not break anything, and helps significantly (at the cost of a little
13558 - # extra space).
13559 - freebsd2.2*)
13560 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13561 - hardcode_libdir_flag_spec='-R$libdir'
13562 - hardcode_direct=yes
13563 - hardcode_shlibpath_var=no
13564 - ;;
13565 +# find the maximum length of command line arguments
13566 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13567 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13568 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13569 + echo $ECHO_N "(cached) $ECHO_C" >&6
13570 +else
13571 + i=0
13572 + teststring="ABCD"
13573
13574 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13575 - freebsd2*)
13576 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13577 - hardcode_direct=yes
13578 - hardcode_minus_L=yes
13579 - hardcode_shlibpath_var=no
13580 + case $build_os in
13581 + msdosdjgpp*)
13582 + # On DJGPP, this test can blow up pretty badly due to problems in libc
13583 + # (any single argument exceeding 2000 bytes causes a buffer overrun
13584 + # during glob expansion). Even if it were fixed, the result of this
13585 + # check would be larger than it should be.
13586 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
13587 ;;
13588
13589 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13590 - freebsd*)
13591 - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13592 - hardcode_libdir_flag_spec='-R$libdir'
13593 - hardcode_direct=yes
13594 - hardcode_shlibpath_var=no
13595 + gnu*)
13596 + # Under GNU Hurd, this test is not required because there is
13597 + # no limit to the length of command line arguments.
13598 + # Libtool will interpret -1 as no limit whatsoever
13599 + lt_cv_sys_max_cmd_len=-1;
13600 ;;
13601
13602 - hpux9* | hpux10* | hpux11*)
13603 - case $host_os in
13604 - 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' ;;
13605 - *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
13606 - esac
13607 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13608 - hardcode_libdir_separator=:
13609 - hardcode_direct=yes
13610 - hardcode_minus_L=yes # Not in the search PATH, but as the default
13611 - # location of the library.
13612 - export_dynamic_flag_spec='${wl}-E'
13613 + cygwin* | mingw*)
13614 + # On Win9x/ME, this test blows up -- it succeeds, but takes
13615 + # about 5 minutes as the teststring grows exponentially.
13616 + # Worse, since 9x/ME are not pre-emptively multitasking,
13617 + # you end up with a "frozen" computer, even though with patience
13618 + # the test eventually succeeds (with a max line length of 256k).
13619 + # Instead, let's just punt: use the minimum linelength reported by
13620 + # all of the supported platforms: 8192 (on NT/2K/XP).
13621 + lt_cv_sys_max_cmd_len=8192;
13622 ;;
13623
13624 - irix5* | irix6* | nonstopux*)
13625 - if test "$GCC" = yes; then
13626 - 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'
13627 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13628 - else
13629 - 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'
13630 - hardcode_libdir_flag_spec='-rpath $libdir'
13631 - fi
13632 - hardcode_libdir_separator=:
13633 - link_all_deplibs=yes
13634 + amigaos*)
13635 + # On AmigaOS with pdksh, this test takes hours, literally.
13636 + # So we just punt and use a minimum line length of 8192.
13637 + lt_cv_sys_max_cmd_len=8192;
13638 ;;
13639
13640 - netbsd*)
13641 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13642 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13643 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13644 + # This has been around since 386BSD, at least. Likely further.
13645 + if test -x /sbin/sysctl; then
13646 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
13647 + elif test -x /usr/sbin/sysctl; then
13648 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
13649 else
13650 - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13651 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13652 fi
13653 - hardcode_libdir_flag_spec='-R$libdir'
13654 - hardcode_direct=yes
13655 - hardcode_shlibpath_var=no
13656 + # And add a safety zone
13657 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
13658 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
13659 ;;
13660
13661 - newsos6)
13662 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13663 - hardcode_direct=yes
13664 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13665 - hardcode_libdir_separator=:
13666 - hardcode_shlibpath_var=no
13667 + interix*)
13668 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
13669 + lt_cv_sys_max_cmd_len=196608
13670 ;;
13671
13672 - openbsd*)
13673 - hardcode_direct=yes
13674 - hardcode_shlibpath_var=no
13675 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13676 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13677 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13678 - export_dynamic_flag_spec='${wl}-E'
13679 - else
13680 - case "$host_os" in
13681 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13682 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13683 - hardcode_libdir_flag_spec='-R$libdir'
13684 - ;;
13685 - *)
13686 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13687 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13688 - ;;
13689 + osf*)
13690 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13691 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13692 + # nice to cause kernel panics so lets avoid the loop below.
13693 + # First set a reasonable default.
13694 + lt_cv_sys_max_cmd_len=16384
13695 + #
13696 + if test -x /sbin/sysconfig; then
13697 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
13698 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
13699 esac
13700 fi
13701 ;;
13702 -
13703 - os2*)
13704 - hardcode_libdir_flag_spec='-L$libdir'
13705 - hardcode_minus_L=yes
13706 - allow_undefined_flag=unsupported
13707 - 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'
13708 - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13709 + sco3.2v5*)
13710 + lt_cv_sys_max_cmd_len=102400
13711 ;;
13712 -
13713 - osf3*)
13714 - if test "$GCC" = yes; then
13715 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13716 - 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'
13717 + sysv5* | sco5v6* | sysv4.2uw2*)
13718 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
13719 + if test -n "$kargmax"; then
13720 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
13721 else
13722 - allow_undefined_flag=' -expect_unresolved \*'
13723 - 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'
13724 + lt_cv_sys_max_cmd_len=32768
13725 fi
13726 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13727 - hardcode_libdir_separator=:
13728 ;;
13729 + *)
13730 + # If test is not a shell built-in, we'll probably end up computing a
13731 + # maximum length that is only half of the actual maximum length, but
13732 + # we can't tell.
13733 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13734 + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
13735 + = "XX$teststring") >/dev/null 2>&1 &&
13736 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
13737 + lt_cv_sys_max_cmd_len=$new_result &&
13738 + test $i != 17 # 1/2 MB should be enough
13739 + do
13740 + i=`expr $i + 1`
13741 + teststring=$teststring$teststring
13742 + done
13743 + teststring=
13744 + # Add a significant safety factor because C++ compilers can tack on massive
13745 + # amounts of additional arguments before passing them to the linker.
13746 + # It appears as though 1/2 is a usable value.
13747 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
13748 + ;;
13749 + esac
13750
13751 - osf4* | osf5*) # as osf3* with the addition of -msym flag
13752 - if test "$GCC" = yes; then
13753 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13754 - 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'
13755 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13756 - else
13757 - allow_undefined_flag=' -expect_unresolved \*'
13758 - 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'
13759 - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
13760 - $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'
13761 +fi
13762
13763 - #Both c and cxx compiler support -rpath directly
13764 - hardcode_libdir_flag_spec='-rpath $libdir'
13765 - fi
13766 - hardcode_libdir_separator=:
13767 - ;;
13768 +if test -n $lt_cv_sys_max_cmd_len ; then
13769 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13770 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13771 +else
13772 + { echo "$as_me:$LINENO: result: none" >&5
13773 +echo "${ECHO_T}none" >&6; }
13774 +fi
13775
13776 - sco3.2v5*)
13777 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13778 - hardcode_shlibpath_var=no
13779 - runpath_var=LD_RUN_PATH
13780 - hardcode_runpath_var=yes
13781 - export_dynamic_flag_spec='${wl}-Bexport'
13782 - ;;
13783
13784 - solaris*)
13785 - # gcc --version < 3.0 without binutils cannot create self contained
13786 - # shared libraries reliably, requiring libgcc.a to resolve some of
13787 - # the object symbols generated in some cases. Libraries that use
13788 - # assert need libgcc.a to resolve __eprintf, for example. Linking
13789 - # a copy of libgcc.a into every shared library to guarantee resolving
13790 - # such symbols causes other problems: According to Tim Van Holder
13791 - # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
13792 - # (to the application) exception stack for one thing.
13793 - no_undefined_flag=' -z defs'
13794 - if test "$GCC" = yes; then
13795 - case `$CC --version 2>/dev/null` in
13796 - [12].*)
13797 - cat <<EOF 1>&2
13798
13799 -*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
13800 -*** create self contained shared libraries on Solaris systems, without
13801 -*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
13802 -*** -no-undefined support, which will at least allow you to build shared
13803 -*** libraries. However, you may find that when you link such libraries
13804 -*** into an application without using GCC, you have to manually add
13805 -*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
13806 -*** upgrade to a newer version of GCC. Another option is to rebuild your
13807 -*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
13808
13809 -EOF
13810 - no_undefined_flag=
13811 - ;;
13812 - esac
13813 - fi
13814 - # $CC -shared without GNU ld will not create a library from C++
13815 - # object files and a static libstdc++, better avoid it by now
13816 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13817 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13818 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13819 - hardcode_libdir_flag_spec='-R$libdir'
13820 - hardcode_shlibpath_var=no
13821 - case $host_os in
13822 - solaris2.[0-5] | solaris2.[0-5].*) ;;
13823 - *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13824 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
13825 - esac
13826 - link_all_deplibs=yes
13827 - ;;
13828 +# Check for command to grab the raw symbol name followed by C symbol from nm.
13829 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13830 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13831 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13832 + echo $ECHO_N "(cached) $ECHO_C" >&6
13833 +else
13834
13835 - sunos4*)
13836 - if test "x$host_vendor" = xsequent; then
13837 - # Use $CC to link under sequent, because it throws in some extra .o
13838 - # files that make .init and .fini sections work.
13839 - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13840 - else
13841 - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13842 - fi
13843 - hardcode_libdir_flag_spec='-L$libdir'
13844 - hardcode_direct=yes
13845 - hardcode_minus_L=yes
13846 - hardcode_shlibpath_var=no
13847 - ;;
13848 +# These are sane defaults that work on at least a few old systems.
13849 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
13850
13851 - sysv4)
13852 - case $host_vendor in
13853 - sni)
13854 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13855 - hardcode_direct=yes # is this really true???
13856 - ;;
13857 - siemens)
13858 - ## LD is ld it makes a PLAMLIB
13859 - ## CC just makes a GrossModule.
13860 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13861 - reload_cmds='$CC -r -o $output$reload_objs'
13862 - hardcode_direct=no
13863 - ;;
13864 - motorola)
13865 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13866 - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13867 - ;;
13868 - esac
13869 - runpath_var='LD_RUN_PATH'
13870 - hardcode_shlibpath_var=no
13871 - ;;
13872 +# Character class describing NM global symbol codes.
13873 +symcode='[BCDEGRST]'
13874
13875 - sysv4.3*)
13876 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13877 - hardcode_shlibpath_var=no
13878 - export_dynamic_flag_spec='-Bexport'
13879 - ;;
13880 -
13881 - sysv5*)
13882 - no_undefined_flag=' -z text'
13883 - # $CC -shared without GNU ld will not create a library from C++
13884 - # object files and a static libstdc++, better avoid it by now
13885 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13886 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13887 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13888 - hardcode_libdir_flag_spec=
13889 - hardcode_shlibpath_var=no
13890 - runpath_var='LD_RUN_PATH'
13891 - ;;
13892 +# Regexp to match symbols that can be accessed directly from C.
13893 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13894
13895 - uts4*)
13896 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13897 - hardcode_libdir_flag_spec='-L$libdir'
13898 - hardcode_shlibpath_var=no
13899 - ;;
13900 +# Transform an extracted symbol line into a proper C declaration
13901 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13902
13903 - dgux*)
13904 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13905 - hardcode_libdir_flag_spec='-L$libdir'
13906 - hardcode_shlibpath_var=no
13907 - ;;
13908 +# Transform an extracted symbol line into symbol name and symbol address
13909 +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'"
13910
13911 - sysv4*MP*)
13912 - if test -d /usr/nec; then
13913 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13914 - hardcode_shlibpath_var=no
13915 - runpath_var=LD_RUN_PATH
13916 - hardcode_runpath_var=yes
13917 - ld_shlibs=yes
13918 - fi
13919 - ;;
13920 +# Define system-specific variables.
13921 +case $host_os in
13922 +aix*)
13923 + symcode='[BCDT]'
13924 + ;;
13925 +cygwin* | mingw* | pw32*)
13926 + symcode='[ABCDGISTW]'
13927 + ;;
13928 +hpux*) # Its linker distinguishes data from code symbols
13929 + if test "$host_cpu" = ia64; then
13930 + symcode='[ABCDEGRST]'
13931 + fi
13932 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13933 + 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'"
13934 + ;;
13935 +linux* | k*bsd*-gnu)
13936 + if test "$host_cpu" = ia64; then
13937 + symcode='[ABCDGIRSTW]'
13938 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13939 + 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'"
13940 + fi
13941 + ;;
13942 +irix* | nonstopux*)
13943 + symcode='[BCDEGRST]'
13944 + ;;
13945 +osf*)
13946 + symcode='[BCDEGQRST]'
13947 + ;;
13948 +solaris*)
13949 + symcode='[BDRT]'
13950 + ;;
13951 +sco3.2v5*)
13952 + symcode='[DT]'
13953 + ;;
13954 +sysv4.2uw2*)
13955 + symcode='[DT]'
13956 + ;;
13957 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
13958 + symcode='[ABDT]'
13959 + ;;
13960 +sysv4)
13961 + symcode='[DFNSTU]'
13962 + ;;
13963 +esac
13964
13965 - sysv4.2uw2*)
13966 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13967 - hardcode_direct=yes
13968 - hardcode_minus_L=no
13969 - hardcode_shlibpath_var=no
13970 - hardcode_runpath_var=yes
13971 - runpath_var=LD_RUN_PATH
13972 - ;;
13973 +# Handle CRLF in mingw tool chain
13974 +opt_cr=
13975 +case $build_os in
13976 +mingw*)
13977 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
13978 + ;;
13979 +esac
13980
13981 - sysv5uw7* | unixware7*)
13982 - no_undefined_flag='${wl}-z ${wl}text'
13983 - if test "$GCC" = yes; then
13984 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13985 - else
13986 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13987 - fi
13988 - runpath_var='LD_RUN_PATH'
13989 - hardcode_shlibpath_var=no
13990 - ;;
13991 +# If we're using GNU nm, then use its standard symbol codes.
13992 +case `$NM -V 2>&1` in
13993 +*GNU* | *'with BFD'*)
13994 + symcode='[ABCDGIRSTW]' ;;
13995 +esac
13996
13997 - *)
13998 - ld_shlibs=no
13999 - ;;
14000 - esac
14001 -fi
14002 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
14003 -echo "${ECHO_T}$ld_shlibs" >&6
14004 -test "$ld_shlibs" = no && can_build_shared=no
14005 +# Try without a prefix undercore, then with it.
14006 +for ac_symprfx in "" "_"; do
14007
14008 -# Check hardcoding attributes.
14009 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14010 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14011 -hardcode_action=
14012 -if test -n "$hardcode_libdir_flag_spec" || \
14013 - test -n "$runpath_var"; then
14014 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
14015 + symxfrm="\\1 $ac_symprfx\\2 \\2"
14016
14017 - # We can hardcode non-existant directories.
14018 - if test "$hardcode_direct" != no &&
14019 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
14020 - # have to relink, otherwise we might link with an installed library
14021 - # when we should be linking with a yet-to-be-installed one
14022 - ## test "$hardcode_shlibpath_var" != no &&
14023 - test "$hardcode_minus_L" != no; then
14024 - # Linking always hardcodes the temporary library directory.
14025 - hardcode_action=relink
14026 + # Write the raw and C identifiers.
14027 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
14028 +
14029 + # Check to see that the pipe works correctly.
14030 + pipe_works=no
14031 +
14032 + rm -f conftest*
14033 + cat > conftest.$ac_ext <<EOF
14034 +#ifdef __cplusplus
14035 +extern "C" {
14036 +#endif
14037 +char nm_test_var;
14038 +void nm_test_func(){}
14039 +#ifdef __cplusplus
14040 +}
14041 +#endif
14042 +int main(){nm_test_var='a';nm_test_func();return(0);}
14043 +EOF
14044 +
14045 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14046 + (eval $ac_compile) 2>&5
14047 + ac_status=$?
14048 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 + (exit $ac_status); }; then
14050 + # Now try to grab the symbols.
14051 + nlist=conftest.nm
14052 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
14053 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
14054 + ac_status=$?
14055 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 + (exit $ac_status); } && test -s "$nlist"; then
14057 + # Try sorting and uniquifying the output.
14058 + if sort "$nlist" | uniq > "$nlist"T; then
14059 + mv -f "$nlist"T "$nlist"
14060 + else
14061 + rm -f "$nlist"T
14062 + fi
14063 +
14064 + # Make sure that we snagged all the symbols we need.
14065 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
14066 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
14067 + cat <<EOF > conftest.$ac_ext
14068 +#ifdef __cplusplus
14069 +extern "C" {
14070 +#endif
14071 +
14072 +EOF
14073 + # Now generate the symbol file.
14074 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
14075 +
14076 + cat <<EOF >> conftest.$ac_ext
14077 +#if defined (__STDC__) && __STDC__
14078 +# define lt_ptr_t void *
14079 +#else
14080 +# define lt_ptr_t char *
14081 +# define const
14082 +#endif
14083 +
14084 +/* The mapping between symbol names and symbols. */
14085 +const struct {
14086 + const char *name;
14087 + lt_ptr_t address;
14088 +}
14089 +lt_preloaded_symbols[] =
14090 +{
14091 +EOF
14092 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
14093 + cat <<\EOF >> conftest.$ac_ext
14094 + {0, (lt_ptr_t) 0}
14095 +};
14096 +
14097 +#ifdef __cplusplus
14098 +}
14099 +#endif
14100 +EOF
14101 + # Now try linking the two files.
14102 + mv conftest.$ac_objext conftstm.$ac_objext
14103 + lt_save_LIBS="$LIBS"
14104 + lt_save_CFLAGS="$CFLAGS"
14105 + LIBS="conftstm.$ac_objext"
14106 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
14107 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14108 + (eval $ac_link) 2>&5
14109 + ac_status=$?
14110 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 + (exit $ac_status); } && test -s conftest${ac_exeext}; then
14112 + pipe_works=yes
14113 + fi
14114 + LIBS="$lt_save_LIBS"
14115 + CFLAGS="$lt_save_CFLAGS"
14116 + else
14117 + echo "cannot find nm_test_func in $nlist" >&5
14118 + fi
14119 + else
14120 + echo "cannot find nm_test_var in $nlist" >&5
14121 + fi
14122 + else
14123 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
14124 + fi
14125 else
14126 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
14127 - hardcode_action=immediate
14128 + echo "$progname: failed program was:" >&5
14129 + cat conftest.$ac_ext >&5
14130 + fi
14131 + rm -f conftest* conftst*
14132 +
14133 + # Do not use the global_symbol_pipe unless it works.
14134 + if test "$pipe_works" = yes; then
14135 + break
14136 + else
14137 + lt_cv_sys_global_symbol_pipe=
14138 fi
14139 +done
14140 +
14141 +fi
14142 +
14143 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
14144 + lt_cv_sys_global_symbol_to_cdecl=
14145 +fi
14146 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
14147 + { echo "$as_me:$LINENO: result: failed" >&5
14148 +echo "${ECHO_T}failed" >&6; }
14149 else
14150 - # We cannot hardcode anything, or else we can only hardcode existing
14151 - # directories.
14152 - hardcode_action=unsupported
14153 + { echo "$as_me:$LINENO: result: ok" >&5
14154 +echo "${ECHO_T}ok" >&6; }
14155 fi
14156 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
14157 -echo "${ECHO_T}$hardcode_action" >&6
14158
14159 -striplib=
14160 -old_striplib=
14161 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14162 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14163 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14164 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14165 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14166 - echo "$as_me:$LINENO: result: yes" >&5
14167 -echo "${ECHO_T}yes" >&6
14168 +{ echo "$as_me:$LINENO: checking for objdir" >&5
14169 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
14170 +if test "${lt_cv_objdir+set}" = set; then
14171 + echo $ECHO_N "(cached) $ECHO_C" >&6
14172 +else
14173 + rm -f .libs 2>/dev/null
14174 +mkdir .libs 2>/dev/null
14175 +if test -d .libs; then
14176 + lt_cv_objdir=.libs
14177 else
14178 - echo "$as_me:$LINENO: result: no" >&5
14179 -echo "${ECHO_T}no" >&6
14180 + # MS-DOS does not allow filenames that begin with a dot.
14181 + lt_cv_objdir=_libs
14182 +fi
14183 +rmdir .libs 2>/dev/null
14184 fi
14185 +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
14186 +echo "${ECHO_T}$lt_cv_objdir" >&6; }
14187 +objdir=$lt_cv_objdir
14188
14189 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
14190 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
14191
14192 -# PORTME Fill in your ld.so characteristics
14193 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14194 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14195 -library_names_spec=
14196 -libname_spec='lib$name'
14197 -soname_spec=
14198 -postinstall_cmds=
14199 -postuninstall_cmds=
14200 -finish_cmds=
14201 -finish_eval=
14202 -shlibpath_var=
14203 -shlibpath_overrides_runpath=unknown
14204 -version_type=none
14205 -dynamic_linker="$host_os ld.so"
14206 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
14207 -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14208
14209 -case $host_os in
14210 -aix3*)
14211 - version_type=linux
14212 - library_names_spec='${libname}${release}.so$versuffix $libname.a'
14213 - shlibpath_var=LIBPATH
14214
14215 - # AIX has no versioning support, so we append a major version to the name.
14216 - soname_spec='${libname}${release}.so$major'
14217 - ;;
14218
14219 -aix4* | aix5*)
14220 - version_type=linux
14221 - need_lib_prefix=no
14222 - need_version=no
14223 - hardcode_into_libs=yes
14224 - if test "$host_cpu" = ia64; then
14225 - # AIX 5 supports IA64
14226 - library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
14227 - shlibpath_var=LD_LIBRARY_PATH
14228 - else
14229 - # With GCC up to 2.95.x, collect2 would create an import file
14230 - # for dependence libraries. The import file would start with
14231 - # the line `#! .'. This would cause the generated library to
14232 - # depend on `.', always an invalid library. This was fixed in
14233 - # development snapshots of GCC prior to 3.0.
14234 - case $host_os in
14235 - aix4 | aix4.[01] | aix4.[01].*)
14236 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14237 - echo ' yes '
14238 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14239 - :
14240 - else
14241 - can_build_shared=no
14242 - fi
14243 - ;;
14244 - esac
14245 - # AIX (on Power*) has no versioning support, so currently we can
14246 - # not hardcode correct soname into executable. Probably we can
14247 - # add versioning support to collect2, so additional links can
14248 - # be useful in future.
14249 - if test "$aix_use_runtimelinking" = yes; then
14250 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14251 - # instead of lib<name>.a to let people know that these are not
14252 - # typical AIX shared libraries.
14253 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
14254 - else
14255 - # We preserve .a as extension for shared libraries through AIX4.2
14256 - # and later when we are not doing run time linking.
14257 - library_names_spec='${libname}${release}.a $libname.a'
14258 - soname_spec='${libname}${release}.so$major'
14259 - fi
14260 - shlibpath_var=LIBPATH
14261 +case $host_os in
14262 +aix3*)
14263 + # AIX sometimes has problems with the GCC collect2 program. For some
14264 + # reason, if we set the COLLECT_NAMES environment variable, the problems
14265 + # vanish in a puff of smoke.
14266 + if test "X${COLLECT_NAMES+set}" != Xset; then
14267 + COLLECT_NAMES=
14268 + export COLLECT_NAMES
14269 fi
14270 - hardcode_into_libs=yes
14271 - ;;
14272 -
14273 -amigaos*)
14274 - library_names_spec='$libname.ixlibrary $libname.a'
14275 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
14276 - 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'
14277 ;;
14278 +esac
14279
14280 -beos*)
14281 - library_names_spec='${libname}.so'
14282 - dynamic_linker="$host_os ld.so"
14283 - shlibpath_var=LIBRARY_PATH
14284 - ;;
14285 +# Sed substitution that helps us do robust quoting. It backslashifies
14286 +# metacharacters that are still active within double-quoted strings.
14287 +Xsed='sed -e 1s/^X//'
14288 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
14289
14290 -bsdi4*)
14291 +# Same as above, but do not quote variable references.
14292 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
14293 +
14294 +# Sed substitution to delay expansion of an escaped shell variable in a
14295 +# double_quote_subst'ed string.
14296 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
14297 +
14298 +# Sed substitution to avoid accidental globbing in evaled expressions
14299 +no_glob_subst='s/\*/\\\*/g'
14300 +
14301 +# Constants:
14302 +rm="rm -f"
14303 +
14304 +# Global variables:
14305 +default_ofile=libtool
14306 +can_build_shared=yes
14307 +
14308 +# All known linkers require a `.a' archive for static linking (except MSVC,
14309 +# which needs '.lib').
14310 +libext=a
14311 +ltmain="$ac_aux_dir/ltmain.sh"
14312 +ofile="$default_ofile"
14313 +with_gnu_ld="$lt_cv_prog_gnu_ld"
14314 +
14315 +if test -n "$ac_tool_prefix"; then
14316 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14317 +set dummy ${ac_tool_prefix}ar; ac_word=$2
14318 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14319 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14320 +if test "${ac_cv_prog_AR+set}" = set; then
14321 + echo $ECHO_N "(cached) $ECHO_C" >&6
14322 +else
14323 + if test -n "$AR"; then
14324 + ac_cv_prog_AR="$AR" # Let the user override the test.
14325 +else
14326 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14327 +for as_dir in $PATH
14328 +do
14329 + IFS=$as_save_IFS
14330 + test -z "$as_dir" && as_dir=.
14331 + for ac_exec_ext in '' $ac_executable_extensions; do
14332 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14333 + ac_cv_prog_AR="${ac_tool_prefix}ar"
14334 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14335 + break 2
14336 + fi
14337 +done
14338 +done
14339 +IFS=$as_save_IFS
14340 +
14341 +fi
14342 +fi
14343 +AR=$ac_cv_prog_AR
14344 +if test -n "$AR"; then
14345 + { echo "$as_me:$LINENO: result: $AR" >&5
14346 +echo "${ECHO_T}$AR" >&6; }
14347 +else
14348 + { echo "$as_me:$LINENO: result: no" >&5
14349 +echo "${ECHO_T}no" >&6; }
14350 +fi
14351 +
14352 +
14353 +fi
14354 +if test -z "$ac_cv_prog_AR"; then
14355 + ac_ct_AR=$AR
14356 + # Extract the first word of "ar", so it can be a program name with args.
14357 +set dummy ar; ac_word=$2
14358 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14359 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14360 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14361 + echo $ECHO_N "(cached) $ECHO_C" >&6
14362 +else
14363 + if test -n "$ac_ct_AR"; then
14364 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14365 +else
14366 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14367 +for as_dir in $PATH
14368 +do
14369 + IFS=$as_save_IFS
14370 + test -z "$as_dir" && as_dir=.
14371 + for ac_exec_ext in '' $ac_executable_extensions; do
14372 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14373 + ac_cv_prog_ac_ct_AR="ar"
14374 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14375 + break 2
14376 + fi
14377 +done
14378 +done
14379 +IFS=$as_save_IFS
14380 +
14381 +fi
14382 +fi
14383 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
14384 +if test -n "$ac_ct_AR"; then
14385 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14386 +echo "${ECHO_T}$ac_ct_AR" >&6; }
14387 +else
14388 + { echo "$as_me:$LINENO: result: no" >&5
14389 +echo "${ECHO_T}no" >&6; }
14390 +fi
14391 +
14392 + if test "x$ac_ct_AR" = x; then
14393 + AR="false"
14394 + else
14395 + case $cross_compiling:$ac_tool_warned in
14396 +yes:)
14397 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14398 +whose name does not start with the host triplet. If you think this
14399 +configuration is useful to you, please write to autoconf@gnu.org." >&5
14400 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14401 +whose name does not start with the host triplet. If you think this
14402 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14403 +ac_tool_warned=yes ;;
14404 +esac
14405 + AR=$ac_ct_AR
14406 + fi
14407 +else
14408 + AR="$ac_cv_prog_AR"
14409 +fi
14410 +
14411 +if test -n "$ac_tool_prefix"; then
14412 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14413 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14414 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14415 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14416 +if test "${ac_cv_prog_RANLIB+set}" = set; then
14417 + echo $ECHO_N "(cached) $ECHO_C" >&6
14418 +else
14419 + if test -n "$RANLIB"; then
14420 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14421 +else
14422 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14423 +for as_dir in $PATH
14424 +do
14425 + IFS=$as_save_IFS
14426 + test -z "$as_dir" && as_dir=.
14427 + for ac_exec_ext in '' $ac_executable_extensions; do
14428 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14429 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14430 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14431 + break 2
14432 + fi
14433 +done
14434 +done
14435 +IFS=$as_save_IFS
14436 +
14437 +fi
14438 +fi
14439 +RANLIB=$ac_cv_prog_RANLIB
14440 +if test -n "$RANLIB"; then
14441 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
14442 +echo "${ECHO_T}$RANLIB" >&6; }
14443 +else
14444 + { echo "$as_me:$LINENO: result: no" >&5
14445 +echo "${ECHO_T}no" >&6; }
14446 +fi
14447 +
14448 +
14449 +fi
14450 +if test -z "$ac_cv_prog_RANLIB"; then
14451 + ac_ct_RANLIB=$RANLIB
14452 + # Extract the first word of "ranlib", so it can be a program name with args.
14453 +set dummy ranlib; ac_word=$2
14454 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14455 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14456 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14457 + echo $ECHO_N "(cached) $ECHO_C" >&6
14458 +else
14459 + if test -n "$ac_ct_RANLIB"; then
14460 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14461 +else
14462 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14463 +for as_dir in $PATH
14464 +do
14465 + IFS=$as_save_IFS
14466 + test -z "$as_dir" && as_dir=.
14467 + for ac_exec_ext in '' $ac_executable_extensions; do
14468 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14469 + ac_cv_prog_ac_ct_RANLIB="ranlib"
14470 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14471 + break 2
14472 + fi
14473 +done
14474 +done
14475 +IFS=$as_save_IFS
14476 +
14477 +fi
14478 +fi
14479 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14480 +if test -n "$ac_ct_RANLIB"; then
14481 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14482 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14483 +else
14484 + { echo "$as_me:$LINENO: result: no" >&5
14485 +echo "${ECHO_T}no" >&6; }
14486 +fi
14487 +
14488 + if test "x$ac_ct_RANLIB" = x; then
14489 + RANLIB=":"
14490 + else
14491 + case $cross_compiling:$ac_tool_warned in
14492 +yes:)
14493 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14494 +whose name does not start with the host triplet. If you think this
14495 +configuration is useful to you, please write to autoconf@gnu.org." >&5
14496 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14497 +whose name does not start with the host triplet. If you think this
14498 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14499 +ac_tool_warned=yes ;;
14500 +esac
14501 + RANLIB=$ac_ct_RANLIB
14502 + fi
14503 +else
14504 + RANLIB="$ac_cv_prog_RANLIB"
14505 +fi
14506 +
14507 +if test -n "$ac_tool_prefix"; then
14508 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14509 +set dummy ${ac_tool_prefix}strip; ac_word=$2
14510 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14511 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14512 +if test "${ac_cv_prog_STRIP+set}" = set; then
14513 + echo $ECHO_N "(cached) $ECHO_C" >&6
14514 +else
14515 + if test -n "$STRIP"; then
14516 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14517 +else
14518 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14519 +for as_dir in $PATH
14520 +do
14521 + IFS=$as_save_IFS
14522 + test -z "$as_dir" && as_dir=.
14523 + for ac_exec_ext in '' $ac_executable_extensions; do
14524 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14525 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14526 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14527 + break 2
14528 + fi
14529 +done
14530 +done
14531 +IFS=$as_save_IFS
14532 +
14533 +fi
14534 +fi
14535 +STRIP=$ac_cv_prog_STRIP
14536 +if test -n "$STRIP"; then
14537 + { echo "$as_me:$LINENO: result: $STRIP" >&5
14538 +echo "${ECHO_T}$STRIP" >&6; }
14539 +else
14540 + { echo "$as_me:$LINENO: result: no" >&5
14541 +echo "${ECHO_T}no" >&6; }
14542 +fi
14543 +
14544 +
14545 +fi
14546 +if test -z "$ac_cv_prog_STRIP"; then
14547 + ac_ct_STRIP=$STRIP
14548 + # Extract the first word of "strip", so it can be a program name with args.
14549 +set dummy strip; ac_word=$2
14550 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14551 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14552 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14553 + echo $ECHO_N "(cached) $ECHO_C" >&6
14554 +else
14555 + if test -n "$ac_ct_STRIP"; then
14556 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14557 +else
14558 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14559 +for as_dir in $PATH
14560 +do
14561 + IFS=$as_save_IFS
14562 + test -z "$as_dir" && as_dir=.
14563 + for ac_exec_ext in '' $ac_executable_extensions; do
14564 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14565 + ac_cv_prog_ac_ct_STRIP="strip"
14566 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14567 + break 2
14568 + fi
14569 +done
14570 +done
14571 +IFS=$as_save_IFS
14572 +
14573 +fi
14574 +fi
14575 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14576 +if test -n "$ac_ct_STRIP"; then
14577 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14578 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14579 +else
14580 + { echo "$as_me:$LINENO: result: no" >&5
14581 +echo "${ECHO_T}no" >&6; }
14582 +fi
14583 +
14584 + if test "x$ac_ct_STRIP" = x; then
14585 + STRIP=":"
14586 + else
14587 + case $cross_compiling:$ac_tool_warned in
14588 +yes:)
14589 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14590 +whose name does not start with the host triplet. If you think this
14591 +configuration is useful to you, please write to autoconf@gnu.org." >&5
14592 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14593 +whose name does not start with the host triplet. If you think this
14594 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14595 +ac_tool_warned=yes ;;
14596 +esac
14597 + STRIP=$ac_ct_STRIP
14598 + fi
14599 +else
14600 + STRIP="$ac_cv_prog_STRIP"
14601 +fi
14602 +
14603 +
14604 +old_CC="$CC"
14605 +old_CFLAGS="$CFLAGS"
14606 +
14607 +# Set sane defaults for various variables
14608 +test -z "$AR" && AR=ar
14609 +test -z "$AR_FLAGS" && AR_FLAGS=cru
14610 +test -z "$AS" && AS=as
14611 +test -z "$CC" && CC=cc
14612 +test -z "$LTCC" && LTCC=$CC
14613 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14614 +test -z "$DLLTOOL" && DLLTOOL=dlltool
14615 +test -z "$LD" && LD=ld
14616 +test -z "$LN_S" && LN_S="ln -s"
14617 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
14618 +test -z "$NM" && NM=nm
14619 +test -z "$SED" && SED=sed
14620 +test -z "$OBJDUMP" && OBJDUMP=objdump
14621 +test -z "$RANLIB" && RANLIB=:
14622 +test -z "$STRIP" && STRIP=:
14623 +test -z "$ac_objext" && ac_objext=o
14624 +
14625 +# Determine commands to create old-style static archives.
14626 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14627 +old_postinstall_cmds='chmod 644 $oldlib'
14628 +old_postuninstall_cmds=
14629 +
14630 +if test -n "$RANLIB"; then
14631 + case $host_os in
14632 + openbsd*)
14633 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
14634 + ;;
14635 + *)
14636 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
14637 + ;;
14638 + esac
14639 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
14640 +fi
14641 +
14642 +for cc_temp in $compiler""; do
14643 + case $cc_temp in
14644 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14645 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14646 + \-*) ;;
14647 + *) break;;
14648 + esac
14649 +done
14650 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14651 +
14652 +
14653 +# Only perform the check for file, if the check method requires it
14654 +case $deplibs_check_method in
14655 +file_magic*)
14656 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14657 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
14658 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
14659 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14660 + echo $ECHO_N "(cached) $ECHO_C" >&6
14661 +else
14662 + case $MAGIC_CMD in
14663 +[\\/*] | ?:[\\/]*)
14664 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14665 + ;;
14666 +*)
14667 + lt_save_MAGIC_CMD="$MAGIC_CMD"
14668 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14669 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14670 + for ac_dir in $ac_dummy; do
14671 + IFS="$lt_save_ifs"
14672 + test -z "$ac_dir" && ac_dir=.
14673 + if test -f $ac_dir/${ac_tool_prefix}file; then
14674 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14675 + if test -n "$file_magic_test_file"; then
14676 + case $deplibs_check_method in
14677 + "file_magic "*)
14678 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14679 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14680 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14681 + $EGREP "$file_magic_regex" > /dev/null; then
14682 + :
14683 + else
14684 + cat <<EOF 1>&2
14685 +
14686 +*** Warning: the command libtool uses to detect shared libraries,
14687 +*** $file_magic_cmd, produces output that libtool cannot recognize.
14688 +*** The result is that libtool may fail to recognize shared libraries
14689 +*** as such. This will affect the creation of libtool libraries that
14690 +*** depend on shared libraries, but programs linked with such libtool
14691 +*** libraries will work regardless of this problem. Nevertheless, you
14692 +*** may want to report the problem to your system manager and/or to
14693 +*** bug-libtool@gnu.org
14694 +
14695 +EOF
14696 + fi ;;
14697 + esac
14698 + fi
14699 + break
14700 + fi
14701 + done
14702 + IFS="$lt_save_ifs"
14703 + MAGIC_CMD="$lt_save_MAGIC_CMD"
14704 + ;;
14705 +esac
14706 +fi
14707 +
14708 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14709 +if test -n "$MAGIC_CMD"; then
14710 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14711 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
14712 +else
14713 + { echo "$as_me:$LINENO: result: no" >&5
14714 +echo "${ECHO_T}no" >&6; }
14715 +fi
14716 +
14717 +if test -z "$lt_cv_path_MAGIC_CMD"; then
14718 + if test -n "$ac_tool_prefix"; then
14719 + { echo "$as_me:$LINENO: checking for file" >&5
14720 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
14721 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14722 + echo $ECHO_N "(cached) $ECHO_C" >&6
14723 +else
14724 + case $MAGIC_CMD in
14725 +[\\/*] | ?:[\\/]*)
14726 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14727 + ;;
14728 +*)
14729 + lt_save_MAGIC_CMD="$MAGIC_CMD"
14730 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14731 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14732 + for ac_dir in $ac_dummy; do
14733 + IFS="$lt_save_ifs"
14734 + test -z "$ac_dir" && ac_dir=.
14735 + if test -f $ac_dir/file; then
14736 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
14737 + if test -n "$file_magic_test_file"; then
14738 + case $deplibs_check_method in
14739 + "file_magic "*)
14740 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14741 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14742 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14743 + $EGREP "$file_magic_regex" > /dev/null; then
14744 + :
14745 + else
14746 + cat <<EOF 1>&2
14747 +
14748 +*** Warning: the command libtool uses to detect shared libraries,
14749 +*** $file_magic_cmd, produces output that libtool cannot recognize.
14750 +*** The result is that libtool may fail to recognize shared libraries
14751 +*** as such. This will affect the creation of libtool libraries that
14752 +*** depend on shared libraries, but programs linked with such libtool
14753 +*** libraries will work regardless of this problem. Nevertheless, you
14754 +*** may want to report the problem to your system manager and/or to
14755 +*** bug-libtool@gnu.org
14756 +
14757 +EOF
14758 + fi ;;
14759 + esac
14760 + fi
14761 + break
14762 + fi
14763 + done
14764 + IFS="$lt_save_ifs"
14765 + MAGIC_CMD="$lt_save_MAGIC_CMD"
14766 + ;;
14767 +esac
14768 +fi
14769 +
14770 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14771 +if test -n "$MAGIC_CMD"; then
14772 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14773 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
14774 +else
14775 + { echo "$as_me:$LINENO: result: no" >&5
14776 +echo "${ECHO_T}no" >&6; }
14777 +fi
14778 +
14779 + else
14780 + MAGIC_CMD=:
14781 + fi
14782 +fi
14783 +
14784 + fi
14785 + ;;
14786 +esac
14787 +
14788 +enable_dlopen=no
14789 +enable_win32_dll=no
14790 +
14791 +# Check whether --enable-libtool-lock was given.
14792 +if test "${enable_libtool_lock+set}" = set; then
14793 + enableval=$enable_libtool_lock;
14794 +fi
14795 +
14796 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14797 +
14798 +
14799 +# Check whether --with-pic was given.
14800 +if test "${with_pic+set}" = set; then
14801 + withval=$with_pic; pic_mode="$withval"
14802 +else
14803 + pic_mode=default
14804 +fi
14805 +
14806 +test -z "$pic_mode" && pic_mode=default
14807 +
14808 +# Use C for the default configuration in the libtool script
14809 +tagname=
14810 +lt_save_CC="$CC"
14811 +ac_ext=c
14812 +ac_cpp='$CPP $CPPFLAGS'
14813 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14814 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14815 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
14816 +
14817 +
14818 +# Source file extension for C test sources.
14819 +ac_ext=c
14820 +
14821 +# Object file extension for compiled C test sources.
14822 +objext=o
14823 +objext=$objext
14824 +
14825 +# Code to be used in simple compile tests
14826 +lt_simple_compile_test_code="int some_variable = 0;\n"
14827 +
14828 +# Code to be used in simple link tests
14829 +lt_simple_link_test_code='int main(){return(0);}\n'
14830 +
14831 +
14832 +# If no C compiler was specified, use CC.
14833 +LTCC=${LTCC-"$CC"}
14834 +
14835 +# If no C compiler flags were specified, use CFLAGS.
14836 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14837 +
14838 +# Allow CC to be a program name with arguments.
14839 +compiler=$CC
14840 +
14841 +
14842 +# save warnings/boilerplate of simple test code
14843 +ac_outfile=conftest.$ac_objext
14844 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14845 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14846 +_lt_compiler_boilerplate=`cat conftest.err`
14847 +$rm conftest*
14848 +
14849 +ac_outfile=conftest.$ac_objext
14850 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
14851 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14852 +_lt_linker_boilerplate=`cat conftest.err`
14853 +$rm conftest*
14854 +
14855 +
14856 +
14857 +lt_prog_compiler_no_builtin_flag=
14858 +
14859 +if test "$GCC" = yes; then
14860 + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14861 +
14862 +
14863 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14864 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
14865 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14866 + echo $ECHO_N "(cached) $ECHO_C" >&6
14867 +else
14868 + lt_cv_prog_compiler_rtti_exceptions=no
14869 + ac_outfile=conftest.$ac_objext
14870 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14871 + lt_compiler_flag="-fno-rtti -fno-exceptions"
14872 + # Insert the option either (1) after the last *FLAGS variable, or
14873 + # (2) before a word containing "conftest.", or (3) at the end.
14874 + # Note that $ac_compile itself does not contain backslashes and begins
14875 + # with a dollar sign (not a hyphen), so the echo should work correctly.
14876 + # The option is referenced via a variable to avoid confusing sed.
14877 + lt_compile=`echo "$ac_compile" | $SED \
14878 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14879 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14880 + -e 's:$: $lt_compiler_flag:'`
14881 + (eval echo "\"\$as_me:7412: $lt_compile\"" >&5)
14882 + (eval "$lt_compile" 2>conftest.err)
14883 + ac_status=$?
14884 + cat conftest.err >&5
14885 + echo "$as_me:7416: \$? = $ac_status" >&5
14886 + if (exit $ac_status) && test -s "$ac_outfile"; then
14887 + # The compiler can only warn and ignore the option if not recognized
14888 + # So say no if there are warnings other than the usual output.
14889 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14890 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14891 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14892 + lt_cv_prog_compiler_rtti_exceptions=yes
14893 + fi
14894 + fi
14895 + $rm conftest*
14896 +
14897 +fi
14898 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
14899 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14900 +
14901 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14902 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14903 +else
14904 + :
14905 +fi
14906 +
14907 +fi
14908 +
14909 +lt_prog_compiler_wl=
14910 +lt_prog_compiler_pic=
14911 +lt_prog_compiler_static=
14912 +
14913 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14914 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14915 +
14916 + if test "$GCC" = yes; then
14917 + lt_prog_compiler_wl='-Wl,'
14918 + lt_prog_compiler_static='-static'
14919 +
14920 + case $host_os in
14921 + aix*)
14922 + # All AIX code is PIC.
14923 + if test "$host_cpu" = ia64; then
14924 + # AIX 5 now supports IA64 processor
14925 + lt_prog_compiler_static='-Bstatic'
14926 + fi
14927 + ;;
14928 +
14929 + amigaos*)
14930 + # FIXME: we need at least 68020 code to build shared libraries, but
14931 + # adding the `-m68020' flag to GCC prevents building anything better,
14932 + # like `-m68040'.
14933 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14934 + ;;
14935 +
14936 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14937 + # PIC is the default for these OSes.
14938 + ;;
14939 +
14940 + mingw* | pw32* | os2*)
14941 + # This hack is so that the source file can tell whether it is being
14942 + # built for inclusion in a dll (and should export symbols for example).
14943 + lt_prog_compiler_pic='-DDLL_EXPORT'
14944 + ;;
14945 +
14946 + darwin* | rhapsody*)
14947 + # PIC is the default on this platform
14948 + # Common symbols not allowed in MH_DYLIB files
14949 + lt_prog_compiler_pic='-fno-common'
14950 + ;;
14951 +
14952 + interix3*)
14953 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14954 + # Instead, we relocate shared libraries at runtime.
14955 + ;;
14956 +
14957 + msdosdjgpp*)
14958 + # Just because we use GCC doesn't mean we suddenly get shared libraries
14959 + # on systems that don't support them.
14960 + lt_prog_compiler_can_build_shared=no
14961 + enable_shared=no
14962 + ;;
14963 +
14964 + sysv4*MP*)
14965 + if test -d /usr/nec; then
14966 + lt_prog_compiler_pic=-Kconform_pic
14967 + fi
14968 + ;;
14969 +
14970 + hpux*)
14971 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14972 + # not for PA HP-UX.
14973 + case $host_cpu in
14974 + hppa*64*|ia64*)
14975 + # +Z the default
14976 + ;;
14977 + *)
14978 + lt_prog_compiler_pic='-fPIC'
14979 + ;;
14980 + esac
14981 + ;;
14982 +
14983 + *)
14984 + lt_prog_compiler_pic='-fPIC'
14985 + ;;
14986 + esac
14987 + else
14988 + # PORTME Check for flag to pass linker flags through the system compiler.
14989 + case $host_os in
14990 + aix*)
14991 + lt_prog_compiler_wl='-Wl,'
14992 + if test "$host_cpu" = ia64; then
14993 + # AIX 5 now supports IA64 processor
14994 + lt_prog_compiler_static='-Bstatic'
14995 + else
14996 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14997 + fi
14998 + ;;
14999 + darwin*)
15000 + # PIC is the default on this platform
15001 + # Common symbols not allowed in MH_DYLIB files
15002 + case $cc_basename in
15003 + xlc*)
15004 + lt_prog_compiler_pic='-qnocommon'
15005 + lt_prog_compiler_wl='-Wl,'
15006 + ;;
15007 + esac
15008 + ;;
15009 +
15010 + mingw* | pw32* | os2*)
15011 + # This hack is so that the source file can tell whether it is being
15012 + # built for inclusion in a dll (and should export symbols for example).
15013 + lt_prog_compiler_pic='-DDLL_EXPORT'
15014 + ;;
15015 +
15016 + hpux9* | hpux10* | hpux11*)
15017 + lt_prog_compiler_wl='-Wl,'
15018 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15019 + # not for PA HP-UX.
15020 + case $host_cpu in
15021 + hppa*64*|ia64*)
15022 + # +Z the default
15023 + ;;
15024 + *)
15025 + lt_prog_compiler_pic='+Z'
15026 + ;;
15027 + esac
15028 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
15029 + lt_prog_compiler_static='${wl}-a ${wl}archive'
15030 + ;;
15031 +
15032 + irix5* | irix6* | nonstopux*)
15033 + lt_prog_compiler_wl='-Wl,'
15034 + # PIC (with -KPIC) is the default.
15035 + lt_prog_compiler_static='-non_shared'
15036 + ;;
15037 +
15038 + newsos6)
15039 + lt_prog_compiler_pic='-KPIC'
15040 + lt_prog_compiler_static='-Bstatic'
15041 + ;;
15042 +
15043 + linux* | k*bsd*-gnu)
15044 + case $cc_basename in
15045 + icc* | ecc*)
15046 + lt_prog_compiler_wl='-Wl,'
15047 + lt_prog_compiler_pic='-KPIC'
15048 + lt_prog_compiler_static='-static'
15049 + ;;
15050 + pgcc* | pgf77* | pgf90* | pgf95*)
15051 + # Portland Group compilers (*not* the Pentium gcc compiler,
15052 + # which looks to be a dead project)
15053 + lt_prog_compiler_wl='-Wl,'
15054 + lt_prog_compiler_pic='-fpic'
15055 + lt_prog_compiler_static='-Bstatic'
15056 + ;;
15057 + ccc*)
15058 + lt_prog_compiler_wl='-Wl,'
15059 + # All Alpha code is PIC.
15060 + lt_prog_compiler_static='-non_shared'
15061 + ;;
15062 + esac
15063 + ;;
15064 +
15065 + osf3* | osf4* | osf5*)
15066 + lt_prog_compiler_wl='-Wl,'
15067 + # All OSF/1 code is PIC.
15068 + lt_prog_compiler_static='-non_shared'
15069 + ;;
15070 +
15071 + solaris*)
15072 + lt_prog_compiler_pic='-KPIC'
15073 + lt_prog_compiler_static='-Bstatic'
15074 + case $cc_basename in
15075 + f77* | f90* | f95*)
15076 + lt_prog_compiler_wl='-Qoption ld ';;
15077 + *)
15078 + lt_prog_compiler_wl='-Wl,';;
15079 + esac
15080 + ;;
15081 +
15082 + sunos4*)
15083 + lt_prog_compiler_wl='-Qoption ld '
15084 + lt_prog_compiler_pic='-PIC'
15085 + lt_prog_compiler_static='-Bstatic'
15086 + ;;
15087 +
15088 + sysv4 | sysv4.2uw2* | sysv4.3*)
15089 + lt_prog_compiler_wl='-Wl,'
15090 + lt_prog_compiler_pic='-KPIC'
15091 + lt_prog_compiler_static='-Bstatic'
15092 + ;;
15093 +
15094 + sysv4*MP*)
15095 + if test -d /usr/nec ;then
15096 + lt_prog_compiler_pic='-Kconform_pic'
15097 + lt_prog_compiler_static='-Bstatic'
15098 + fi
15099 + ;;
15100 +
15101 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15102 + lt_prog_compiler_wl='-Wl,'
15103 + lt_prog_compiler_pic='-KPIC'
15104 + lt_prog_compiler_static='-Bstatic'
15105 + ;;
15106 +
15107 + unicos*)
15108 + lt_prog_compiler_wl='-Wl,'
15109 + lt_prog_compiler_can_build_shared=no
15110 + ;;
15111 +
15112 + uts4*)
15113 + lt_prog_compiler_pic='-pic'
15114 + lt_prog_compiler_static='-Bstatic'
15115 + ;;
15116 +
15117 + *)
15118 + lt_prog_compiler_can_build_shared=no
15119 + ;;
15120 + esac
15121 + fi
15122 +
15123 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
15124 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
15125 +
15126 +#
15127 +# Check to make sure the PIC flag actually works.
15128 +#
15129 +if test -n "$lt_prog_compiler_pic"; then
15130 +
15131 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
15132 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
15133 +if test "${lt_prog_compiler_pic_works+set}" = set; then
15134 + echo $ECHO_N "(cached) $ECHO_C" >&6
15135 +else
15136 + lt_prog_compiler_pic_works=no
15137 + ac_outfile=conftest.$ac_objext
15138 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15139 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
15140 + # Insert the option either (1) after the last *FLAGS variable, or
15141 + # (2) before a word containing "conftest.", or (3) at the end.
15142 + # Note that $ac_compile itself does not contain backslashes and begins
15143 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15144 + # The option is referenced via a variable to avoid confusing sed.
15145 + lt_compile=`echo "$ac_compile" | $SED \
15146 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15147 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15148 + -e 's:$: $lt_compiler_flag:'`
15149 + (eval echo "\"\$as_me:7680: $lt_compile\"" >&5)
15150 + (eval "$lt_compile" 2>conftest.err)
15151 + ac_status=$?
15152 + cat conftest.err >&5
15153 + echo "$as_me:7684: \$? = $ac_status" >&5
15154 + if (exit $ac_status) && test -s "$ac_outfile"; then
15155 + # The compiler can only warn and ignore the option if not recognized
15156 + # So say no if there are warnings other than the usual output.
15157 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15158 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15159 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15160 + lt_prog_compiler_pic_works=yes
15161 + fi
15162 + fi
15163 + $rm conftest*
15164 +
15165 +fi
15166 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
15167 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
15168 +
15169 +if test x"$lt_prog_compiler_pic_works" = xyes; then
15170 + case $lt_prog_compiler_pic in
15171 + "" | " "*) ;;
15172 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
15173 + esac
15174 +else
15175 + lt_prog_compiler_pic=
15176 + lt_prog_compiler_can_build_shared=no
15177 +fi
15178 +
15179 +fi
15180 +case $host_os in
15181 + # For platforms which do not support PIC, -DPIC is meaningless:
15182 + *djgpp*)
15183 + lt_prog_compiler_pic=
15184 + ;;
15185 + *)
15186 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15187 + ;;
15188 +esac
15189 +
15190 +#
15191 +# Check to make sure the static flag actually works.
15192 +#
15193 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
15194 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15195 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15196 +if test "${lt_prog_compiler_static_works+set}" = set; then
15197 + echo $ECHO_N "(cached) $ECHO_C" >&6
15198 +else
15199 + lt_prog_compiler_static_works=no
15200 + save_LDFLAGS="$LDFLAGS"
15201 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15202 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
15203 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15204 + # The linker can only warn and ignore the option if not recognized
15205 + # So say no if there are warnings
15206 + if test -s conftest.err; then
15207 + # Append any errors to the config.log.
15208 + cat conftest.err 1>&5
15209 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15210 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15211 + if diff conftest.exp conftest.er2 >/dev/null; then
15212 + lt_prog_compiler_static_works=yes
15213 + fi
15214 + else
15215 + lt_prog_compiler_static_works=yes
15216 + fi
15217 + fi
15218 + $rm conftest*
15219 + LDFLAGS="$save_LDFLAGS"
15220 +
15221 +fi
15222 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
15223 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
15224 +
15225 +if test x"$lt_prog_compiler_static_works" = xyes; then
15226 + :
15227 +else
15228 + lt_prog_compiler_static=
15229 +fi
15230 +
15231 +
15232 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15233 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15234 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
15235 + echo $ECHO_N "(cached) $ECHO_C" >&6
15236 +else
15237 + lt_cv_prog_compiler_c_o=no
15238 + $rm -r conftest 2>/dev/null
15239 + mkdir conftest
15240 + cd conftest
15241 + mkdir out
15242 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15243 +
15244 + lt_compiler_flag="-o out/conftest2.$ac_objext"
15245 + # Insert the option either (1) after the last *FLAGS variable, or
15246 + # (2) before a word containing "conftest.", or (3) at the end.
15247 + # Note that $ac_compile itself does not contain backslashes and begins
15248 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15249 + lt_compile=`echo "$ac_compile" | $SED \
15250 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15251 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15252 + -e 's:$: $lt_compiler_flag:'`
15253 + (eval echo "\"\$as_me:7784: $lt_compile\"" >&5)
15254 + (eval "$lt_compile" 2>out/conftest.err)
15255 + ac_status=$?
15256 + cat out/conftest.err >&5
15257 + echo "$as_me:7788: \$? = $ac_status" >&5
15258 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
15259 + then
15260 + # The compiler can only warn and ignore the option if not recognized
15261 + # So say no if there are warnings
15262 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15263 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15264 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15265 + lt_cv_prog_compiler_c_o=yes
15266 + fi
15267 + fi
15268 + chmod u+w . 2>&5
15269 + $rm conftest*
15270 + # SGI C++ compiler will create directory out/ii_files/ for
15271 + # template instantiation
15272 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15273 + $rm out/* && rmdir out
15274 + cd ..
15275 + rmdir conftest
15276 + $rm conftest*
15277 +
15278 +fi
15279 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
15280 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
15281 +
15282 +
15283 +hard_links="nottested"
15284 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
15285 + # do not overwrite the value of need_locks provided by the user
15286 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15287 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15288 + hard_links=yes
15289 + $rm conftest*
15290 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15291 + touch conftest.a
15292 + ln conftest.a conftest.b 2>&5 || hard_links=no
15293 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15294 + { echo "$as_me:$LINENO: result: $hard_links" >&5
15295 +echo "${ECHO_T}$hard_links" >&6; }
15296 + if test "$hard_links" = no; then
15297 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15298 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15299 + need_locks=warn
15300 + fi
15301 +else
15302 + need_locks=no
15303 +fi
15304 +
15305 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15306 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15307 +
15308 + runpath_var=
15309 + allow_undefined_flag=
15310 + enable_shared_with_static_runtimes=no
15311 + archive_cmds=
15312 + archive_expsym_cmds=
15313 + old_archive_From_new_cmds=
15314 + old_archive_from_expsyms_cmds=
15315 + export_dynamic_flag_spec=
15316 + whole_archive_flag_spec=
15317 + thread_safe_flag_spec=
15318 + hardcode_libdir_flag_spec=
15319 + hardcode_libdir_flag_spec_ld=
15320 + hardcode_libdir_separator=
15321 + hardcode_direct=no
15322 + hardcode_minus_L=no
15323 + hardcode_shlibpath_var=unsupported
15324 + link_all_deplibs=unknown
15325 + hardcode_automatic=no
15326 + module_cmds=
15327 + module_expsym_cmds=
15328 + always_export_symbols=no
15329 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15330 + # include_expsyms should be a list of space-separated symbols to be *always*
15331 + # included in the symbol list
15332 + include_expsyms=
15333 + # exclude_expsyms can be an extended regexp of symbols to exclude
15334 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
15335 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15336 + # as well as any symbol that contains `d'.
15337 + exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
15338 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15339 + # platforms (ab)use it in PIC code, but their linkers get confused if
15340 + # the symbol is explicitly referenced. Since portable code cannot
15341 + # rely on this symbol name, it's probably fine to never include it in
15342 + # preloaded symbol tables.
15343 + extract_expsyms_cmds=
15344 + # Just being paranoid about ensuring that cc_basename is set.
15345 + for cc_temp in $compiler""; do
15346 + case $cc_temp in
15347 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15348 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15349 + \-*) ;;
15350 + *) break;;
15351 + esac
15352 +done
15353 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15354 +
15355 + case $host_os in
15356 + cygwin* | mingw* | pw32*)
15357 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
15358 + # When not using gcc, we currently assume that we are using
15359 + # Microsoft Visual C++.
15360 + if test "$GCC" != yes; then
15361 + with_gnu_ld=no
15362 + fi
15363 + ;;
15364 + interix*)
15365 + # we just hope/assume this is gcc and not c89 (= MSVC++)
15366 + with_gnu_ld=yes
15367 + ;;
15368 + openbsd*)
15369 + with_gnu_ld=no
15370 + ;;
15371 + esac
15372 +
15373 + ld_shlibs=yes
15374 + if test "$with_gnu_ld" = yes; then
15375 + # If archive_cmds runs LD, not CC, wlarc should be empty
15376 + wlarc='${wl}'
15377 +
15378 + # Set some defaults for GNU ld with shared library support. These
15379 + # are reset later if shared libraries are not supported. Putting them
15380 + # here allows them to be overridden if necessary.
15381 + runpath_var=LD_RUN_PATH
15382 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
15383 + export_dynamic_flag_spec='${wl}--export-dynamic'
15384 + # ancient GNU ld didn't support --whole-archive et. al.
15385 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15386 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15387 + else
15388 + whole_archive_flag_spec=
15389 + fi
15390 + supports_anon_versioning=no
15391 + case `$LD -v 2>/dev/null` in
15392 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15393 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15394 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15395 + *\ 2.11.*) ;; # other 2.11 versions
15396 + *) supports_anon_versioning=yes ;;
15397 + esac
15398 +
15399 + # See if GNU ld supports shared libraries.
15400 + case $host_os in
15401 + aix3* | aix4* | aix5*)
15402 + # On AIX/PPC, the GNU linker is very broken
15403 + if test "$host_cpu" != ia64; then
15404 + ld_shlibs=no
15405 + cat <<EOF 1>&2
15406 +
15407 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15408 +*** to be unable to reliably create shared libraries on AIX.
15409 +*** Therefore, libtool is disabling shared libraries support. If you
15410 +*** really care for shared libraries, you may want to modify your PATH
15411 +*** so that a non-GNU linker is found, and then restart.
15412 +
15413 +EOF
15414 + fi
15415 + ;;
15416 +
15417 + amigaos*)
15418 + 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)'
15419 + hardcode_libdir_flag_spec='-L$libdir'
15420 + hardcode_minus_L=yes
15421 +
15422 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15423 + # that the semantics of dynamic libraries on AmigaOS, at least up
15424 + # to version 4, is to share data among multiple programs linked
15425 + # with the same dynamic library. Since this doesn't match the
15426 + # behavior of shared libraries on other platforms, we can't use
15427 + # them.
15428 + ld_shlibs=no
15429 + ;;
15430 +
15431 + beos*)
15432 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15433 + allow_undefined_flag=unsupported
15434 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15435 + # support --undefined. This deserves some investigation. FIXME
15436 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15437 + else
15438 + ld_shlibs=no
15439 + fi
15440 + ;;
15441 +
15442 + cygwin* | mingw* | pw32*)
15443 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
15444 + # as there is no search path for DLLs.
15445 + hardcode_libdir_flag_spec='-L$libdir'
15446 + allow_undefined_flag=unsupported
15447 + always_export_symbols=no
15448 + enable_shared_with_static_runtimes=yes
15449 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15450 +
15451 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15452 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15453 + # If the export-symbols file already is a .def file (1st line
15454 + # is EXPORTS), use it as is; otherwise, prepend...
15455 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15456 + cp $export_symbols $output_objdir/$soname.def;
15457 + else
15458 + echo EXPORTS > $output_objdir/$soname.def;
15459 + cat $export_symbols >> $output_objdir/$soname.def;
15460 + fi~
15461 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15462 + else
15463 + ld_shlibs=no
15464 + fi
15465 + ;;
15466 +
15467 + interix3*)
15468 + hardcode_direct=no
15469 + hardcode_shlibpath_var=no
15470 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15471 + export_dynamic_flag_spec='${wl}-E'
15472 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15473 + # Instead, shared libraries are loaded at an image base (0x10000000 by
15474 + # default) and relocated if they conflict, which is a slow very memory
15475 + # consuming and fragmenting process. To avoid this, we pick a random,
15476 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15477 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15478 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15479 + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15480 + ;;
15481 +
15482 + linux* | k*bsd*-gnu)
15483 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15484 + tmp_addflag=
15485 + case $cc_basename,$host_cpu in
15486 + pgcc*) # Portland Group C compiler
15487 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15488 + tmp_addflag=' $pic_flag'
15489 + ;;
15490 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15491 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15492 + tmp_addflag=' $pic_flag -Mnomain' ;;
15493 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15494 + tmp_addflag=' -i_dynamic' ;;
15495 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15496 + tmp_addflag=' -i_dynamic -nofor_main' ;;
15497 + ifc* | ifort*) # Intel Fortran compiler
15498 + tmp_addflag=' -nofor_main' ;;
15499 + esac
15500 + archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15501 +
15502 + if test $supports_anon_versioning = yes; then
15503 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
15504 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15505 + $echo "local: *; };" >> $output_objdir/$libname.ver~
15506 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15507 + fi
15508 + link_all_deplibs=no
15509 + else
15510 + ld_shlibs=no
15511 + fi
15512 + ;;
15513 +
15514 + netbsd* | netbsdelf*-gnu)
15515 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15516 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15517 + wlarc=
15518 + else
15519 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15520 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15521 + fi
15522 + ;;
15523 +
15524 + solaris*)
15525 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15526 + ld_shlibs=no
15527 + cat <<EOF 1>&2
15528 +
15529 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15530 +*** create shared libraries on Solaris systems. Therefore, libtool
15531 +*** is disabling shared libraries support. We urge you to upgrade GNU
15532 +*** binutils to release 2.9.1 or newer. Another option is to modify
15533 +*** your PATH or compiler configuration so that the native linker is
15534 +*** used, and then restart.
15535 +
15536 +EOF
15537 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15538 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15539 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15540 + else
15541 + ld_shlibs=no
15542 + fi
15543 + ;;
15544 +
15545 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15546 + case `$LD -v 2>&1` in
15547 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15548 + ld_shlibs=no
15549 + cat <<_LT_EOF 1>&2
15550 +
15551 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15552 +*** reliably create shared libraries on SCO systems. Therefore, libtool
15553 +*** is disabling shared libraries support. We urge you to upgrade GNU
15554 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15555 +*** your PATH or compiler configuration so that the native linker is
15556 +*** used, and then restart.
15557 +
15558 +_LT_EOF
15559 + ;;
15560 + *)
15561 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15562 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15563 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15564 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15565 + else
15566 + ld_shlibs=no
15567 + fi
15568 + ;;
15569 + esac
15570 + ;;
15571 +
15572 + sunos4*)
15573 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15574 + wlarc=
15575 + hardcode_direct=yes
15576 + hardcode_shlibpath_var=no
15577 + ;;
15578 +
15579 + *)
15580 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15581 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15582 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15583 + else
15584 + ld_shlibs=no
15585 + fi
15586 + ;;
15587 + esac
15588 +
15589 + if test "$ld_shlibs" = no; then
15590 + runpath_var=
15591 + hardcode_libdir_flag_spec=
15592 + export_dynamic_flag_spec=
15593 + whole_archive_flag_spec=
15594 + fi
15595 + else
15596 + # PORTME fill in a description of your system's linker (not GNU ld)
15597 + case $host_os in
15598 + aix3*)
15599 + allow_undefined_flag=unsupported
15600 + always_export_symbols=yes
15601 + 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'
15602 + # Note: this linker hardcodes the directories in LIBPATH if there
15603 + # are no directories specified by -L.
15604 + hardcode_minus_L=yes
15605 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15606 + # Neither direct hardcoding nor static linking is supported with a
15607 + # broken collect2.
15608 + hardcode_direct=unsupported
15609 + fi
15610 + ;;
15611 +
15612 + aix4* | aix5*)
15613 + if test "$host_cpu" = ia64; then
15614 + # On IA64, the linker does run time linking by default, so we don't
15615 + # have to do anything special.
15616 + aix_use_runtimelinking=no
15617 + exp_sym_flag='-Bexport'
15618 + no_entry_flag=""
15619 + else
15620 + # If we're using GNU nm, then we don't want the "-C" option.
15621 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
15622 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15623 + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15624 + else
15625 + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15626 + fi
15627 + aix_use_runtimelinking=no
15628 +
15629 + # Test if we are trying to use run time linking or normal
15630 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15631 + # need to do runtime linking.
15632 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15633 + for ld_flag in $LDFLAGS; do
15634 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15635 + aix_use_runtimelinking=yes
15636 + break
15637 + fi
15638 + done
15639 + ;;
15640 + esac
15641 +
15642 + exp_sym_flag='-bexport'
15643 + no_entry_flag='-bnoentry'
15644 + fi
15645 +
15646 + # When large executables or shared objects are built, AIX ld can
15647 + # have problems creating the table of contents. If linking a library
15648 + # or program results in "error TOC overflow" add -mminimal-toc to
15649 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15650 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15651 +
15652 + archive_cmds=''
15653 + hardcode_direct=yes
15654 + hardcode_libdir_separator=':'
15655 + link_all_deplibs=yes
15656 +
15657 + if test "$GCC" = yes; then
15658 + case $host_os in aix4.[012]|aix4.[012].*)
15659 + # We only want to do this on AIX 4.2 and lower, the check
15660 + # below for broken collect2 doesn't work under 4.3+
15661 + collect2name=`${CC} -print-prog-name=collect2`
15662 + if test -f "$collect2name" && \
15663 + strings "$collect2name" | grep resolve_lib_name >/dev/null
15664 + then
15665 + # We have reworked collect2
15666 + hardcode_direct=yes
15667 + else
15668 + # We have old collect2
15669 + hardcode_direct=unsupported
15670 + # It fails to find uninstalled libraries when the uninstalled
15671 + # path is not listed in the libpath. Setting hardcode_minus_L
15672 + # to unsupported forces relinking
15673 + hardcode_minus_L=yes
15674 + hardcode_libdir_flag_spec='-L$libdir'
15675 + hardcode_libdir_separator=
15676 + fi
15677 + ;;
15678 + esac
15679 + shared_flag='-shared'
15680 + if test "$aix_use_runtimelinking" = yes; then
15681 + shared_flag="$shared_flag "'${wl}-G'
15682 + fi
15683 + else
15684 + # not using gcc
15685 + if test "$host_cpu" = ia64; then
15686 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15687 + # chokes on -Wl,-G. The following line is correct:
15688 + shared_flag='-G'
15689 + else
15690 + if test "$aix_use_runtimelinking" = yes; then
15691 + shared_flag='${wl}-G'
15692 + else
15693 + shared_flag='${wl}-bM:SRE'
15694 + fi
15695 + fi
15696 + fi
15697 +
15698 + # It seems that -bexpall does not export symbols beginning with
15699 + # underscore (_), so it is better to generate a list of symbols to export.
15700 + always_export_symbols=yes
15701 + if test "$aix_use_runtimelinking" = yes; then
15702 + # Warning - without using the other runtime loading flags (-brtl),
15703 + # -berok will link without error, but may produce a broken library.
15704 + allow_undefined_flag='-berok'
15705 + # Determine the default libpath from the value encoded in an empty executable.
15706 + cat >conftest.$ac_ext <<_ACEOF
15707 +/* confdefs.h. */
15708 +_ACEOF
15709 +cat confdefs.h >>conftest.$ac_ext
15710 +cat >>conftest.$ac_ext <<_ACEOF
15711 +/* end confdefs.h. */
15712 +
15713 +int
15714 +main ()
15715 +{
15716 +
15717 + ;
15718 + return 0;
15719 +}
15720 +_ACEOF
15721 +rm -f conftest.$ac_objext conftest$ac_exeext
15722 +if { (ac_try="$ac_link"
15723 +case "(($ac_try" in
15724 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15725 + *) ac_try_echo=$ac_try;;
15726 +esac
15727 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15728 + (eval "$ac_link") 2>conftest.er1
15729 + ac_status=$?
15730 + grep -v '^ *+' conftest.er1 >conftest.err
15731 + rm -f conftest.er1
15732 + cat conftest.err >&5
15733 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 + (exit $ac_status); } && {
15735 + test -z "$ac_c_werror_flag" ||
15736 + test ! -s conftest.err
15737 + } && test -s conftest$ac_exeext &&
15738 + $as_test_x conftest$ac_exeext; then
15739 +
15740 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15741 +}'`
15742 +# Check for a 64-bit object if we didn't find anything.
15743 +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; }
15744 +}'`; fi
15745 +else
15746 + echo "$as_me: failed program was:" >&5
15747 +sed 's/^/| /' conftest.$ac_ext >&5
15748 +
15749 +
15750 +fi
15751 +
15752 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15753 + conftest$ac_exeext conftest.$ac_ext
15754 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15755 +
15756 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15757 + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15758 + else
15759 + if test "$host_cpu" = ia64; then
15760 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15761 + allow_undefined_flag="-z nodefs"
15762 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15763 + else
15764 + # Determine the default libpath from the value encoded in an empty executable.
15765 + cat >conftest.$ac_ext <<_ACEOF
15766 +/* confdefs.h. */
15767 +_ACEOF
15768 +cat confdefs.h >>conftest.$ac_ext
15769 +cat >>conftest.$ac_ext <<_ACEOF
15770 +/* end confdefs.h. */
15771 +
15772 +int
15773 +main ()
15774 +{
15775 +
15776 + ;
15777 + return 0;
15778 +}
15779 +_ACEOF
15780 +rm -f conftest.$ac_objext conftest$ac_exeext
15781 +if { (ac_try="$ac_link"
15782 +case "(($ac_try" in
15783 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15784 + *) ac_try_echo=$ac_try;;
15785 +esac
15786 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15787 + (eval "$ac_link") 2>conftest.er1
15788 + ac_status=$?
15789 + grep -v '^ *+' conftest.er1 >conftest.err
15790 + rm -f conftest.er1
15791 + cat conftest.err >&5
15792 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 + (exit $ac_status); } && {
15794 + test -z "$ac_c_werror_flag" ||
15795 + test ! -s conftest.err
15796 + } && test -s conftest$ac_exeext &&
15797 + $as_test_x conftest$ac_exeext; then
15798 +
15799 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15800 +}'`
15801 +# Check for a 64-bit object if we didn't find anything.
15802 +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; }
15803 +}'`; fi
15804 +else
15805 + echo "$as_me: failed program was:" >&5
15806 +sed 's/^/| /' conftest.$ac_ext >&5
15807 +
15808 +
15809 +fi
15810 +
15811 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15812 + conftest$ac_exeext conftest.$ac_ext
15813 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15814 +
15815 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15816 + # Warning - without using the other run time loading flags,
15817 + # -berok will link without error, but may produce a broken library.
15818 + no_undefined_flag=' ${wl}-bernotok'
15819 + allow_undefined_flag=' ${wl}-berok'
15820 + # Exported symbols can be pulled into shared objects from archives
15821 + whole_archive_flag_spec='$convenience'
15822 + archive_cmds_need_lc=yes
15823 + # This is similar to how AIX traditionally builds its shared libraries.
15824 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15825 + fi
15826 + fi
15827 + ;;
15828 +
15829 + amigaos*)
15830 + 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)'
15831 + hardcode_libdir_flag_spec='-L$libdir'
15832 + hardcode_minus_L=yes
15833 + # see comment about different semantics on the GNU ld section
15834 + ld_shlibs=no
15835 + ;;
15836 +
15837 + bsdi[45]*)
15838 + export_dynamic_flag_spec=-rdynamic
15839 + ;;
15840 +
15841 + cygwin* | mingw* | pw32*)
15842 + # When not using gcc, we currently assume that we are using
15843 + # Microsoft Visual C++.
15844 + # hardcode_libdir_flag_spec is actually meaningless, as there is
15845 + # no search path for DLLs.
15846 + hardcode_libdir_flag_spec=' '
15847 + allow_undefined_flag=unsupported
15848 + # Tell ltmain to make .lib files, not .a files.
15849 + libext=lib
15850 + # Tell ltmain to make .dll files, not .so files.
15851 + shrext_cmds=".dll"
15852 + # FIXME: Setting linknames here is a bad hack.
15853 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15854 + # The linker will automatically build a .lib file if we build a DLL.
15855 + old_archive_From_new_cmds='true'
15856 + # FIXME: Should let the user specify the lib program.
15857 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
15858 + fix_srcfile_path='`cygpath -w "$srcfile"`'
15859 + enable_shared_with_static_runtimes=yes
15860 + ;;
15861 +
15862 + darwin* | rhapsody*)
15863 + case $host_os in
15864 + rhapsody* | darwin1.[012])
15865 + allow_undefined_flag='${wl}-undefined ${wl}suppress'
15866 + ;;
15867 + *) # Darwin 1.3 on
15868 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15869 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15870 + else
15871 + case ${MACOSX_DEPLOYMENT_TARGET} in
15872 + 10.[012])
15873 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15874 + ;;
15875 + 10.*)
15876 + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
15877 + ;;
15878 + esac
15879 + fi
15880 + ;;
15881 + esac
15882 + archive_cmds_need_lc=no
15883 + hardcode_direct=no
15884 + hardcode_automatic=yes
15885 + hardcode_shlibpath_var=unsupported
15886 + whole_archive_flag_spec=''
15887 + link_all_deplibs=yes
15888 + if test "$GCC" = yes ; then
15889 + output_verbose_link_cmd='echo'
15890 + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15891 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15892 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15893 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15894 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15895 + else
15896 + case $cc_basename in
15897 + xlc*)
15898 + output_verbose_link_cmd='echo'
15899 + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15900 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15901 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15902 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15903 + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15904 + ;;
15905 + *)
15906 + ld_shlibs=no
15907 + ;;
15908 + esac
15909 + fi
15910 + ;;
15911 +
15912 + dgux*)
15913 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15914 + hardcode_libdir_flag_spec='-L$libdir'
15915 + hardcode_shlibpath_var=no
15916 + ;;
15917 +
15918 + freebsd1*)
15919 + ld_shlibs=no
15920 + ;;
15921 +
15922 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15923 + # support. Future versions do this automatically, but an explicit c++rt0.o
15924 + # does not break anything, and helps significantly (at the cost of a little
15925 + # extra space).
15926 + freebsd2.2*)
15927 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15928 + hardcode_libdir_flag_spec='-R$libdir'
15929 + hardcode_direct=yes
15930 + hardcode_shlibpath_var=no
15931 + ;;
15932 +
15933 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15934 + freebsd2*)
15935 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15936 + hardcode_direct=yes
15937 + hardcode_minus_L=yes
15938 + hardcode_shlibpath_var=no
15939 + ;;
15940 +
15941 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15942 + freebsd* | dragonfly*)
15943 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15944 + hardcode_libdir_flag_spec='-R$libdir'
15945 + hardcode_direct=yes
15946 + hardcode_shlibpath_var=no
15947 + ;;
15948 +
15949 + hpux9*)
15950 + if test "$GCC" = yes; then
15951 + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15952 + else
15953 + 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'
15954 + fi
15955 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15956 + hardcode_libdir_separator=:
15957 + hardcode_direct=yes
15958 +
15959 + # hardcode_minus_L: Not really in the search PATH,
15960 + # but as the default location of the library.
15961 + hardcode_minus_L=yes
15962 + export_dynamic_flag_spec='${wl}-E'
15963 + ;;
15964 +
15965 + hpux10*)
15966 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15967 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15968 + else
15969 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15970 + fi
15971 + if test "$with_gnu_ld" = no; then
15972 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15973 + hardcode_libdir_separator=:
15974 +
15975 + hardcode_direct=yes
15976 + export_dynamic_flag_spec='${wl}-E'
15977 +
15978 + # hardcode_minus_L: Not really in the search PATH,
15979 + # but as the default location of the library.
15980 + hardcode_minus_L=yes
15981 + fi
15982 + ;;
15983 +
15984 + hpux11*)
15985 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15986 + case $host_cpu in
15987 + hppa*64*)
15988 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15989 + ;;
15990 + ia64*)
15991 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15992 + ;;
15993 + *)
15994 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15995 + ;;
15996 + esac
15997 + else
15998 + case $host_cpu in
15999 + hppa*64*)
16000 + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16001 + ;;
16002 + ia64*)
16003 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16004 + ;;
16005 + *)
16006 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16007 + ;;
16008 + esac
16009 + fi
16010 + if test "$with_gnu_ld" = no; then
16011 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
16012 + hardcode_libdir_separator=:
16013 +
16014 + case $host_cpu in
16015 + hppa*64*|ia64*)
16016 + hardcode_libdir_flag_spec_ld='+b $libdir'
16017 + hardcode_direct=no
16018 + hardcode_shlibpath_var=no
16019 + ;;
16020 + *)
16021 + hardcode_direct=yes
16022 + export_dynamic_flag_spec='${wl}-E'
16023 +
16024 + # hardcode_minus_L: Not really in the search PATH,
16025 + # but as the default location of the library.
16026 + hardcode_minus_L=yes
16027 + ;;
16028 + esac
16029 + fi
16030 + ;;
16031 +
16032 + irix5* | irix6* | nonstopux*)
16033 + if test "$GCC" = yes; then
16034 + 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'
16035 + else
16036 + 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'
16037 + hardcode_libdir_flag_spec_ld='-rpath $libdir'
16038 + fi
16039 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16040 + hardcode_libdir_separator=:
16041 + link_all_deplibs=yes
16042 + ;;
16043 +
16044 + netbsd* | netbsdelf*-gnu)
16045 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16046 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16047 + else
16048 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16049 + fi
16050 + hardcode_libdir_flag_spec='-R$libdir'
16051 + hardcode_direct=yes
16052 + hardcode_shlibpath_var=no
16053 + ;;
16054 +
16055 + newsos6)
16056 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16057 + hardcode_direct=yes
16058 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16059 + hardcode_libdir_separator=:
16060 + hardcode_shlibpath_var=no
16061 + ;;
16062 +
16063 + openbsd*)
16064 + hardcode_direct=yes
16065 + hardcode_shlibpath_var=no
16066 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16067 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16068 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16069 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16070 + export_dynamic_flag_spec='${wl}-E'
16071 + else
16072 + case $host_os in
16073 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16074 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16075 + hardcode_libdir_flag_spec='-R$libdir'
16076 + ;;
16077 + *)
16078 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16079 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16080 + ;;
16081 + esac
16082 + fi
16083 + ;;
16084 +
16085 + os2*)
16086 + hardcode_libdir_flag_spec='-L$libdir'
16087 + hardcode_minus_L=yes
16088 + allow_undefined_flag=unsupported
16089 + 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'
16090 + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16091 + ;;
16092 +
16093 + osf3*)
16094 + if test "$GCC" = yes; then
16095 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16096 + 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'
16097 + else
16098 + allow_undefined_flag=' -expect_unresolved \*'
16099 + 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'
16100 + fi
16101 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16102 + hardcode_libdir_separator=:
16103 + ;;
16104 +
16105 + osf4* | osf5*) # as osf3* with the addition of -msym flag
16106 + if test "$GCC" = yes; then
16107 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16108 + 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'
16109 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16110 + else
16111 + allow_undefined_flag=' -expect_unresolved \*'
16112 + 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'
16113 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16114 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16115 +
16116 + # Both c and cxx compiler support -rpath directly
16117 + hardcode_libdir_flag_spec='-rpath $libdir'
16118 + fi
16119 + hardcode_libdir_separator=:
16120 + ;;
16121 +
16122 + solaris*)
16123 + no_undefined_flag=' -z text'
16124 + if test "$GCC" = yes; then
16125 + wlarc='${wl}'
16126 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16127 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16128 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16129 + else
16130 + wlarc=''
16131 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16132 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16133 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16134 + fi
16135 + hardcode_libdir_flag_spec='-R$libdir'
16136 + hardcode_shlibpath_var=no
16137 + case $host_os in
16138 + solaris2.[0-5] | solaris2.[0-5].*) ;;
16139 + *)
16140 + # The compiler driver will combine linker options so we
16141 + # cannot just pass the convience library names through
16142 + # without $wl, iff we do not link with $LD.
16143 + # Luckily, gcc supports the same syntax we need for Sun Studio.
16144 + # Supported since Solaris 2.6 (maybe 2.5.1?)
16145 + case $wlarc in
16146 + '')
16147 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
16148 + *)
16149 + whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16150 + esac ;;
16151 + esac
16152 + link_all_deplibs=yes
16153 + ;;
16154 +
16155 + sunos4*)
16156 + if test "x$host_vendor" = xsequent; then
16157 + # Use $CC to link under sequent, because it throws in some extra .o
16158 + # files that make .init and .fini sections work.
16159 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16160 + else
16161 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16162 + fi
16163 + hardcode_libdir_flag_spec='-L$libdir'
16164 + hardcode_direct=yes
16165 + hardcode_minus_L=yes
16166 + hardcode_shlibpath_var=no
16167 + ;;
16168 +
16169 + sysv4)
16170 + case $host_vendor in
16171 + sni)
16172 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16173 + hardcode_direct=yes # is this really true???
16174 + ;;
16175 + siemens)
16176 + ## LD is ld it makes a PLAMLIB
16177 + ## CC just makes a GrossModule.
16178 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16179 + reload_cmds='$CC -r -o $output$reload_objs'
16180 + hardcode_direct=no
16181 + ;;
16182 + motorola)
16183 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16184 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
16185 + ;;
16186 + esac
16187 + runpath_var='LD_RUN_PATH'
16188 + hardcode_shlibpath_var=no
16189 + ;;
16190 +
16191 + sysv4.3*)
16192 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16193 + hardcode_shlibpath_var=no
16194 + export_dynamic_flag_spec='-Bexport'
16195 + ;;
16196 +
16197 + sysv4*MP*)
16198 + if test -d /usr/nec; then
16199 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16200 + hardcode_shlibpath_var=no
16201 + runpath_var=LD_RUN_PATH
16202 + hardcode_runpath_var=yes
16203 + ld_shlibs=yes
16204 + fi
16205 + ;;
16206 +
16207 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
16208 + no_undefined_flag='${wl}-z,text'
16209 + archive_cmds_need_lc=no
16210 + hardcode_shlibpath_var=no
16211 + runpath_var='LD_RUN_PATH'
16212 +
16213 + if test "$GCC" = yes; then
16214 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16215 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16216 + else
16217 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16218 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16219 + fi
16220 + ;;
16221 +
16222 + sysv5* | sco3.2v5* | sco5v6*)
16223 + # Note: We can NOT use -z defs as we might desire, because we do not
16224 + # link with -lc, and that would cause any symbols used from libc to
16225 + # always be unresolved, which means just about no library would
16226 + # ever link correctly. If we're not using GNU ld we use -z text
16227 + # though, which does catch some bad symbols but isn't as heavy-handed
16228 + # as -z defs.
16229 + no_undefined_flag='${wl}-z,text'
16230 + allow_undefined_flag='${wl}-z,nodefs'
16231 + archive_cmds_need_lc=no
16232 + hardcode_shlibpath_var=no
16233 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16234 + hardcode_libdir_separator=':'
16235 + link_all_deplibs=yes
16236 + export_dynamic_flag_spec='${wl}-Bexport'
16237 + runpath_var='LD_RUN_PATH'
16238 +
16239 + if test "$GCC" = yes; then
16240 + archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16241 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16242 + else
16243 + archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16244 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16245 + fi
16246 + ;;
16247 +
16248 + uts4*)
16249 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16250 + hardcode_libdir_flag_spec='-L$libdir'
16251 + hardcode_shlibpath_var=no
16252 + ;;
16253 +
16254 + *)
16255 + ld_shlibs=no
16256 + ;;
16257 + esac
16258 + fi
16259 +
16260 +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
16261 +echo "${ECHO_T}$ld_shlibs" >&6; }
16262 +test "$ld_shlibs" = no && can_build_shared=no
16263 +
16264 +#
16265 +# Do we need to explicitly link libc?
16266 +#
16267 +case "x$archive_cmds_need_lc" in
16268 +x|xyes)
16269 + # Assume -lc should be added
16270 + archive_cmds_need_lc=yes
16271 +
16272 + if test "$enable_shared" = yes && test "$GCC" = yes; then
16273 + case $archive_cmds in
16274 + *'~'*)
16275 + # FIXME: we may have to deal with multi-command sequences.
16276 + ;;
16277 + '$CC '*)
16278 + # Test whether the compiler implicitly links with -lc since on some
16279 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
16280 + # to ld, don't add -lc before -lgcc.
16281 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16282 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16283 + $rm conftest*
16284 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16285 +
16286 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16287 + (eval $ac_compile) 2>&5
16288 + ac_status=$?
16289 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 + (exit $ac_status); } 2>conftest.err; then
16291 + soname=conftest
16292 + lib=conftest
16293 + libobjs=conftest.$ac_objext
16294 + deplibs=
16295 + wl=$lt_prog_compiler_wl
16296 + pic_flag=$lt_prog_compiler_pic
16297 + compiler_flags=-v
16298 + linker_flags=-v
16299 + verstring=
16300 + output_objdir=.
16301 + libname=conftest
16302 + lt_save_allow_undefined_flag=$allow_undefined_flag
16303 + allow_undefined_flag=
16304 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16305 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16306 + ac_status=$?
16307 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 + (exit $ac_status); }
16309 + then
16310 + archive_cmds_need_lc=no
16311 + else
16312 + archive_cmds_need_lc=yes
16313 + fi
16314 + allow_undefined_flag=$lt_save_allow_undefined_flag
16315 + else
16316 + cat conftest.err 1>&5
16317 + fi
16318 + $rm conftest*
16319 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
16320 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
16321 + ;;
16322 + esac
16323 + fi
16324 + ;;
16325 +esac
16326 +
16327 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16328 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16329 +library_names_spec=
16330 +libname_spec='lib$name'
16331 +soname_spec=
16332 +shrext_cmds=".so"
16333 +postinstall_cmds=
16334 +postuninstall_cmds=
16335 +finish_cmds=
16336 +finish_eval=
16337 +shlibpath_var=
16338 +shlibpath_overrides_runpath=unknown
16339 +version_type=none
16340 +dynamic_linker="$host_os ld.so"
16341 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
16342 +if test "$GCC" = yes; then
16343 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16344 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16345 + # if the path contains ";" then we assume it to be the separator
16346 + # otherwise default to the standard path separator (i.e. ":") - it is
16347 + # assumed that no part of a normal pathname contains ";" but that should
16348 + # okay in the real world where ";" in dirpaths is itself problematic.
16349 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16350 + else
16351 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16352 + fi
16353 +else
16354 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16355 +fi
16356 +need_lib_prefix=unknown
16357 +hardcode_into_libs=no
16358 +
16359 +# when you set need_version to no, make sure it does not cause -set_version
16360 +# flags to be left without arguments
16361 +need_version=unknown
16362 +
16363 +case $host_os in
16364 +aix3*)
16365 + version_type=linux
16366 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16367 + shlibpath_var=LIBPATH
16368 +
16369 + # AIX 3 has no versioning support, so we append a major version to the name.
16370 + soname_spec='${libname}${release}${shared_ext}$major'
16371 + ;;
16372 +
16373 +aix4* | aix5*)
16374 + version_type=linux
16375 + need_lib_prefix=no
16376 + need_version=no
16377 + hardcode_into_libs=yes
16378 + if test "$host_cpu" = ia64; then
16379 + # AIX 5 supports IA64
16380 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16381 + shlibpath_var=LD_LIBRARY_PATH
16382 + else
16383 + # With GCC up to 2.95.x, collect2 would create an import file
16384 + # for dependence libraries. The import file would start with
16385 + # the line `#! .'. This would cause the generated library to
16386 + # depend on `.', always an invalid library. This was fixed in
16387 + # development snapshots of GCC prior to 3.0.
16388 + case $host_os in
16389 + aix4 | aix4.[01] | aix4.[01].*)
16390 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16391 + echo ' yes '
16392 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16393 + :
16394 + else
16395 + can_build_shared=no
16396 + fi
16397 + ;;
16398 + esac
16399 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16400 + # soname into executable. Probably we can add versioning support to
16401 + # collect2, so additional links can be useful in future.
16402 + if test "$aix_use_runtimelinking" = yes; then
16403 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16404 + # instead of lib<name>.a to let people know that these are not
16405 + # typical AIX shared libraries.
16406 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16407 + else
16408 + # We preserve .a as extension for shared libraries through AIX4.2
16409 + # and later when we are not doing run time linking.
16410 + library_names_spec='${libname}${release}.a $libname.a'
16411 + soname_spec='${libname}${release}${shared_ext}$major'
16412 + fi
16413 + shlibpath_var=LIBPATH
16414 + fi
16415 + ;;
16416 +
16417 +amigaos*)
16418 + library_names_spec='$libname.ixlibrary $libname.a'
16419 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
16420 + 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'
16421 + ;;
16422 +
16423 +beos*)
16424 + library_names_spec='${libname}${shared_ext}'
16425 + dynamic_linker="$host_os ld.so"
16426 + shlibpath_var=LIBRARY_PATH
16427 + ;;
16428 +
16429 +bsdi[45]*)
16430 + version_type=linux
16431 + need_version=no
16432 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16433 + soname_spec='${libname}${release}${shared_ext}$major'
16434 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16435 + shlibpath_var=LD_LIBRARY_PATH
16436 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16437 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16438 + # the default ld.so.conf also contains /usr/contrib/lib and
16439 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16440 + # libtool to hard-code these into programs
16441 + ;;
16442 +
16443 +cygwin* | mingw* | pw32*)
16444 + version_type=windows
16445 + shrext_cmds=".dll"
16446 + need_version=no
16447 + need_lib_prefix=no
16448 +
16449 + case $GCC,$host_os in
16450 + yes,cygwin* | yes,mingw* | yes,pw32*)
16451 + library_names_spec='$libname.dll.a'
16452 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
16453 + postinstall_cmds='base_file=`basename \${file}`~
16454 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16455 + dldir=$destdir/`dirname \$dlpath`~
16456 + test -d \$dldir || mkdir -p \$dldir~
16457 + $install_prog $dir/$dlname \$dldir/$dlname~
16458 + chmod a+x \$dldir/$dlname'
16459 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16460 + dlpath=$dir/\$dldll~
16461 + $rm \$dlpath'
16462 + shlibpath_overrides_runpath=yes
16463 +
16464 + case $host_os in
16465 + cygwin*)
16466 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16467 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16468 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16469 + ;;
16470 + mingw*)
16471 + # MinGW DLLs use traditional 'lib' prefix
16472 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16473 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16474 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16475 + # It is most probably a Windows format PATH printed by
16476 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
16477 + # path with ; separators, and with drive letters. We can handle the
16478 + # drive letters (cygwin fileutils understands them), so leave them,
16479 + # especially as we might pass files found there to a mingw objdump,
16480 + # which wouldn't understand a cygwinified path. Ahh.
16481 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16482 + else
16483 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16484 + fi
16485 + ;;
16486 + pw32*)
16487 + # pw32 DLLs use 'pw' prefix rather than 'lib'
16488 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16489 + ;;
16490 + esac
16491 + ;;
16492 +
16493 + *)
16494 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16495 + ;;
16496 + esac
16497 + dynamic_linker='Win32 ld.exe'
16498 + # FIXME: first we should search . and the directory the executable is in
16499 + shlibpath_var=PATH
16500 + ;;
16501 +
16502 +darwin* | rhapsody*)
16503 + dynamic_linker="$host_os dyld"
16504 + version_type=darwin
16505 + need_lib_prefix=no
16506 + need_version=no
16507 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16508 + soname_spec='${libname}${release}${major}$shared_ext'
16509 + shlibpath_overrides_runpath=yes
16510 + shlibpath_var=DYLD_LIBRARY_PATH
16511 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16512 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16513 + if test "$GCC" = yes; then
16514 + 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"`
16515 + else
16516 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16517 + fi
16518 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16519 + ;;
16520 +
16521 +dgux*)
16522 + version_type=linux
16523 + need_lib_prefix=no
16524 + need_version=no
16525 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16526 + soname_spec='${libname}${release}${shared_ext}$major'
16527 + shlibpath_var=LD_LIBRARY_PATH
16528 + ;;
16529 +
16530 +freebsd1*)
16531 + dynamic_linker=no
16532 + ;;
16533 +
16534 +freebsd* | dragonfly*)
16535 + # DragonFly does not have aout. When/if they implement a new
16536 + # versioning mechanism, adjust this.
16537 + if test -x /usr/bin/objformat; then
16538 + objformat=`/usr/bin/objformat`
16539 + else
16540 + case $host_os in
16541 + freebsd[123]*) objformat=aout ;;
16542 + *) objformat=elf ;;
16543 + esac
16544 + fi
16545 + version_type=freebsd-$objformat
16546 + case $version_type in
16547 + freebsd-elf*)
16548 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16549 + need_version=no
16550 + need_lib_prefix=no
16551 + ;;
16552 + freebsd-*)
16553 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16554 + need_version=yes
16555 + ;;
16556 + esac
16557 + shlibpath_var=LD_LIBRARY_PATH
16558 + case $host_os in
16559 + freebsd2*)
16560 + shlibpath_overrides_runpath=yes
16561 + ;;
16562 + freebsd3.[01]* | freebsdelf3.[01]*)
16563 + shlibpath_overrides_runpath=yes
16564 + hardcode_into_libs=yes
16565 + ;;
16566 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16567 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16568 + shlibpath_overrides_runpath=no
16569 + hardcode_into_libs=yes
16570 + ;;
16571 + freebsd*) # from 4.6 on
16572 + shlibpath_overrides_runpath=yes
16573 + hardcode_into_libs=yes
16574 + ;;
16575 + esac
16576 + ;;
16577 +
16578 +gnu*)
16579 + version_type=linux
16580 + need_lib_prefix=no
16581 + need_version=no
16582 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16583 + soname_spec='${libname}${release}${shared_ext}$major'
16584 + shlibpath_var=LD_LIBRARY_PATH
16585 + hardcode_into_libs=yes
16586 + ;;
16587 +
16588 +hpux9* | hpux10* | hpux11*)
16589 + # Give a soname corresponding to the major version so that dld.sl refuses to
16590 + # link against other versions.
16591 + version_type=sunos
16592 + need_lib_prefix=no
16593 + need_version=no
16594 + case $host_cpu in
16595 + ia64*)
16596 + shrext_cmds='.so'
16597 + hardcode_into_libs=yes
16598 + dynamic_linker="$host_os dld.so"
16599 + shlibpath_var=LD_LIBRARY_PATH
16600 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16601 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16602 + soname_spec='${libname}${release}${shared_ext}$major'
16603 + if test "X$HPUX_IA64_MODE" = X32; then
16604 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16605 + else
16606 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16607 + fi
16608 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16609 + ;;
16610 + hppa*64*)
16611 + shrext_cmds='.sl'
16612 + hardcode_into_libs=yes
16613 + dynamic_linker="$host_os dld.sl"
16614 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16615 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16616 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16617 + soname_spec='${libname}${release}${shared_ext}$major'
16618 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16619 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16620 + ;;
16621 + *)
16622 + shrext_cmds='.sl'
16623 + dynamic_linker="$host_os dld.sl"
16624 + shlibpath_var=SHLIB_PATH
16625 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16626 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16627 + soname_spec='${libname}${release}${shared_ext}$major'
16628 + ;;
16629 + esac
16630 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
16631 + postinstall_cmds='chmod 555 $lib'
16632 + ;;
16633 +
16634 +interix3*)
16635 + version_type=linux
16636 + need_lib_prefix=no
16637 + need_version=no
16638 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16639 + soname_spec='${libname}${release}${shared_ext}$major'
16640 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16641 + shlibpath_var=LD_LIBRARY_PATH
16642 + shlibpath_overrides_runpath=no
16643 + hardcode_into_libs=yes
16644 + ;;
16645 +
16646 +irix5* | irix6* | nonstopux*)
16647 + case $host_os in
16648 + nonstopux*) version_type=nonstopux ;;
16649 + *)
16650 + if test "$lt_cv_prog_gnu_ld" = yes; then
16651 + version_type=linux
16652 + else
16653 + version_type=irix
16654 + fi ;;
16655 + esac
16656 + need_lib_prefix=no
16657 + need_version=no
16658 + soname_spec='${libname}${release}${shared_ext}$major'
16659 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16660 + case $host_os in
16661 + irix5* | nonstopux*)
16662 + libsuff= shlibsuff=
16663 + ;;
16664 + *)
16665 + case $LD in # libtool.m4 will add one of these switches to LD
16666 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16667 + libsuff= shlibsuff= libmagic=32-bit;;
16668 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16669 + libsuff=32 shlibsuff=N32 libmagic=N32;;
16670 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16671 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
16672 + *) libsuff= shlibsuff= libmagic=never-match;;
16673 + esac
16674 + ;;
16675 + esac
16676 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16677 + shlibpath_overrides_runpath=no
16678 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16679 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16680 + hardcode_into_libs=yes
16681 + ;;
16682 +
16683 +# No shared lib support for Linux oldld, aout, or coff.
16684 +linux*oldld* | linux*aout* | linux*coff*)
16685 + dynamic_linker=no
16686 + ;;
16687 +
16688 +# This must be Linux ELF.
16689 +linux* | k*bsd*-gnu)
16690 + version_type=linux
16691 + need_lib_prefix=no
16692 + need_version=no
16693 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16694 + soname_spec='${libname}${release}${shared_ext}$major'
16695 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16696 + shlibpath_var=LD_LIBRARY_PATH
16697 + shlibpath_overrides_runpath=no
16698 + # This implies no fast_install, which is unacceptable.
16699 + # Some rework will be needed to allow for fast_install
16700 + # before this can be enabled.
16701 + hardcode_into_libs=yes
16702 +
16703 + # Append ld.so.conf contents to the search path
16704 + if test -f /etc/ld.so.conf; then
16705 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16706 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16707 + fi
16708 +
16709 + # We used to test for /lib/ld.so.1 and disable shared libraries on
16710 + # powerpc, because MkLinux only supported shared libraries with the
16711 + # GNU dynamic linker. Since this was broken with cross compilers,
16712 + # most powerpc-linux boxes support dynamic linking these days and
16713 + # people can always --disable-shared, the test was removed, and we
16714 + # assume the GNU/Linux dynamic linker is in use.
16715 + dynamic_linker='GNU/Linux ld.so'
16716 + ;;
16717 +
16718 +netbsdelf*-gnu)
16719 + version_type=linux
16720 + need_lib_prefix=no
16721 + need_version=no
16722 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16723 + soname_spec='${libname}${release}${shared_ext}$major'
16724 + shlibpath_var=LD_LIBRARY_PATH
16725 + shlibpath_overrides_runpath=no
16726 + hardcode_into_libs=yes
16727 + dynamic_linker='NetBSD ld.elf_so'
16728 + ;;
16729 +
16730 +netbsd*)
16731 + version_type=sunos
16732 + need_lib_prefix=no
16733 + need_version=no
16734 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16735 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16736 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16737 + dynamic_linker='NetBSD (a.out) ld.so'
16738 + else
16739 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16740 + soname_spec='${libname}${release}${shared_ext}$major'
16741 + dynamic_linker='NetBSD ld.elf_so'
16742 + fi
16743 + shlibpath_var=LD_LIBRARY_PATH
16744 + shlibpath_overrides_runpath=yes
16745 + hardcode_into_libs=yes
16746 + ;;
16747 +
16748 +newsos6)
16749 + version_type=linux
16750 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16751 + shlibpath_var=LD_LIBRARY_PATH
16752 + shlibpath_overrides_runpath=yes
16753 + ;;
16754 +
16755 +nto-qnx*)
16756 + version_type=linux
16757 + need_lib_prefix=no
16758 + need_version=no
16759 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16760 + soname_spec='${libname}${release}${shared_ext}$major'
16761 + shlibpath_var=LD_LIBRARY_PATH
16762 + shlibpath_overrides_runpath=yes
16763 + ;;
16764 +
16765 +openbsd*)
16766 + version_type=sunos
16767 + sys_lib_dlsearch_path_spec="/usr/lib"
16768 + need_lib_prefix=no
16769 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16770 + case $host_os in
16771 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16772 + *) need_version=no ;;
16773 + esac
16774 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16775 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16776 + shlibpath_var=LD_LIBRARY_PATH
16777 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16778 + case $host_os in
16779 + openbsd2.[89] | openbsd2.[89].*)
16780 + shlibpath_overrides_runpath=no
16781 + ;;
16782 + *)
16783 + shlibpath_overrides_runpath=yes
16784 + ;;
16785 + esac
16786 + else
16787 + shlibpath_overrides_runpath=yes
16788 + fi
16789 + ;;
16790 +
16791 +os2*)
16792 + libname_spec='$name'
16793 + shrext_cmds=".dll"
16794 + need_lib_prefix=no
16795 + library_names_spec='$libname${shared_ext} $libname.a'
16796 + dynamic_linker='OS/2 ld.exe'
16797 + shlibpath_var=LIBPATH
16798 + ;;
16799 +
16800 +osf3* | osf4* | osf5*)
16801 + version_type=osf
16802 + need_lib_prefix=no
16803 + need_version=no
16804 + soname_spec='${libname}${release}${shared_ext}$major'
16805 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16806 + shlibpath_var=LD_LIBRARY_PATH
16807 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16808 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16809 + ;;
16810 +
16811 +solaris*)
16812 + version_type=linux
16813 + need_lib_prefix=no
16814 + need_version=no
16815 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16816 + soname_spec='${libname}${release}${shared_ext}$major'
16817 + shlibpath_var=LD_LIBRARY_PATH
16818 + shlibpath_overrides_runpath=yes
16819 + hardcode_into_libs=yes
16820 + # ldd complains unless libraries are executable
16821 + postinstall_cmds='chmod +x $lib'
16822 + ;;
16823 +
16824 +sunos4*)
16825 + version_type=sunos
16826 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16827 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16828 + shlibpath_var=LD_LIBRARY_PATH
16829 + shlibpath_overrides_runpath=yes
16830 + if test "$with_gnu_ld" = yes; then
16831 + need_lib_prefix=no
16832 + fi
16833 + need_version=yes
16834 + ;;
16835 +
16836 +sysv4 | sysv4.3*)
16837 + version_type=linux
16838 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16839 + soname_spec='${libname}${release}${shared_ext}$major'
16840 + shlibpath_var=LD_LIBRARY_PATH
16841 + case $host_vendor in
16842 + sni)
16843 + shlibpath_overrides_runpath=no
16844 + need_lib_prefix=no
16845 + export_dynamic_flag_spec='${wl}-Blargedynsym'
16846 + runpath_var=LD_RUN_PATH
16847 + ;;
16848 + siemens)
16849 + need_lib_prefix=no
16850 + ;;
16851 + motorola)
16852 + need_lib_prefix=no
16853 + need_version=no
16854 + shlibpath_overrides_runpath=no
16855 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16856 + ;;
16857 + esac
16858 + ;;
16859 +
16860 +sysv4*MP*)
16861 + if test -d /usr/nec ;then
16862 + version_type=linux
16863 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16864 + soname_spec='$libname${shared_ext}.$major'
16865 + shlibpath_var=LD_LIBRARY_PATH
16866 + fi
16867 + ;;
16868 +
16869 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16870 + version_type=freebsd-elf
16871 + need_lib_prefix=no
16872 + need_version=no
16873 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16874 + soname_spec='${libname}${release}${shared_ext}$major'
16875 + shlibpath_var=LD_LIBRARY_PATH
16876 + hardcode_into_libs=yes
16877 + if test "$with_gnu_ld" = yes; then
16878 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16879 + shlibpath_overrides_runpath=no
16880 + else
16881 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16882 + shlibpath_overrides_runpath=yes
16883 + case $host_os in
16884 + sco3.2v5*)
16885 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16886 + ;;
16887 + esac
16888 + fi
16889 + sys_lib_dlsearch_path_spec='/usr/lib'
16890 + ;;
16891 +
16892 +uts4*)
16893 + version_type=linux
16894 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16895 + soname_spec='${libname}${release}${shared_ext}$major'
16896 + shlibpath_var=LD_LIBRARY_PATH
16897 + ;;
16898 +
16899 +*)
16900 + dynamic_linker=no
16901 + ;;
16902 +esac
16903 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16904 +echo "${ECHO_T}$dynamic_linker" >&6; }
16905 +test "$dynamic_linker" = no && can_build_shared=no
16906 +
16907 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16908 +if test "$GCC" = yes; then
16909 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16910 +fi
16911 +
16912 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16913 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16914 +hardcode_action=
16915 +if test -n "$hardcode_libdir_flag_spec" || \
16916 + test -n "$runpath_var" || \
16917 + test "X$hardcode_automatic" = "Xyes" ; then
16918 +
16919 + # We can hardcode non-existant directories.
16920 + if test "$hardcode_direct" != no &&
16921 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
16922 + # have to relink, otherwise we might link with an installed library
16923 + # when we should be linking with a yet-to-be-installed one
16924 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16925 + test "$hardcode_minus_L" != no; then
16926 + # Linking always hardcodes the temporary library directory.
16927 + hardcode_action=relink
16928 + else
16929 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
16930 + hardcode_action=immediate
16931 + fi
16932 +else
16933 + # We cannot hardcode anything, or else we can only hardcode existing
16934 + # directories.
16935 + hardcode_action=unsupported
16936 +fi
16937 +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
16938 +echo "${ECHO_T}$hardcode_action" >&6; }
16939 +
16940 +if test "$hardcode_action" = relink; then
16941 + # Fast installation is not supported
16942 + enable_fast_install=no
16943 +elif test "$shlibpath_overrides_runpath" = yes ||
16944 + test "$enable_shared" = no; then
16945 + # Fast installation is not necessary
16946 + enable_fast_install=needless
16947 +fi
16948 +
16949 +striplib=
16950 +old_striplib=
16951 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16952 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16953 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16954 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16955 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16956 + { echo "$as_me:$LINENO: result: yes" >&5
16957 +echo "${ECHO_T}yes" >&6; }
16958 +else
16959 +# FIXME - insert some real tests, host_os isn't really good enough
16960 + case $host_os in
16961 + darwin*)
16962 + if test -n "$STRIP" ; then
16963 + striplib="$STRIP -x"
16964 + { echo "$as_me:$LINENO: result: yes" >&5
16965 +echo "${ECHO_T}yes" >&6; }
16966 + else
16967 + { echo "$as_me:$LINENO: result: no" >&5
16968 +echo "${ECHO_T}no" >&6; }
16969 +fi
16970 + ;;
16971 + *)
16972 + { echo "$as_me:$LINENO: result: no" >&5
16973 +echo "${ECHO_T}no" >&6; }
16974 + ;;
16975 + esac
16976 +fi
16977 +
16978 +if test "x$enable_dlopen" != xyes; then
16979 + enable_dlopen=unknown
16980 + enable_dlopen_self=unknown
16981 + enable_dlopen_self_static=unknown
16982 +else
16983 + lt_cv_dlopen=no
16984 + lt_cv_dlopen_libs=
16985 +
16986 + case $host_os in
16987 + beos*)
16988 + lt_cv_dlopen="load_add_on"
16989 + lt_cv_dlopen_libs=
16990 + lt_cv_dlopen_self=yes
16991 + ;;
16992 +
16993 + mingw* | pw32*)
16994 + lt_cv_dlopen="LoadLibrary"
16995 + lt_cv_dlopen_libs=
16996 + ;;
16997 +
16998 + cygwin*)
16999 + lt_cv_dlopen="dlopen"
17000 + lt_cv_dlopen_libs=
17001 + ;;
17002 +
17003 + darwin*)
17004 + # if libdl is installed we need to link against it
17005 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17006 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17007 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17008 + echo $ECHO_N "(cached) $ECHO_C" >&6
17009 +else
17010 + ac_check_lib_save_LIBS=$LIBS
17011 +LIBS="-ldl $LIBS"
17012 +cat >conftest.$ac_ext <<_ACEOF
17013 +/* confdefs.h. */
17014 +_ACEOF
17015 +cat confdefs.h >>conftest.$ac_ext
17016 +cat >>conftest.$ac_ext <<_ACEOF
17017 +/* end confdefs.h. */
17018 +
17019 +/* Override any GCC internal prototype to avoid an error.
17020 + Use char because int might match the return type of a GCC
17021 + builtin and then its argument prototype would still apply. */
17022 +#ifdef __cplusplus
17023 +extern "C"
17024 +#endif
17025 +char dlopen ();
17026 +int
17027 +main ()
17028 +{
17029 +return dlopen ();
17030 + ;
17031 + return 0;
17032 +}
17033 +_ACEOF
17034 +rm -f conftest.$ac_objext conftest$ac_exeext
17035 +if { (ac_try="$ac_link"
17036 +case "(($ac_try" in
17037 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17038 + *) ac_try_echo=$ac_try;;
17039 +esac
17040 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17041 + (eval "$ac_link") 2>conftest.er1
17042 + ac_status=$?
17043 + grep -v '^ *+' conftest.er1 >conftest.err
17044 + rm -f conftest.er1
17045 + cat conftest.err >&5
17046 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 + (exit $ac_status); } && {
17048 + test -z "$ac_c_werror_flag" ||
17049 + test ! -s conftest.err
17050 + } && test -s conftest$ac_exeext &&
17051 + $as_test_x conftest$ac_exeext; then
17052 + ac_cv_lib_dl_dlopen=yes
17053 +else
17054 + echo "$as_me: failed program was:" >&5
17055 +sed 's/^/| /' conftest.$ac_ext >&5
17056 +
17057 + ac_cv_lib_dl_dlopen=no
17058 +fi
17059 +
17060 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17061 + conftest$ac_exeext conftest.$ac_ext
17062 +LIBS=$ac_check_lib_save_LIBS
17063 +fi
17064 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17065 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17066 +if test $ac_cv_lib_dl_dlopen = yes; then
17067 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17068 +else
17069 +
17070 + lt_cv_dlopen="dyld"
17071 + lt_cv_dlopen_libs=
17072 + lt_cv_dlopen_self=yes
17073 +
17074 +fi
17075 +
17076 + ;;
17077 +
17078 + *)
17079 + { echo "$as_me:$LINENO: checking for shl_load" >&5
17080 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
17081 +if test "${ac_cv_func_shl_load+set}" = set; then
17082 + echo $ECHO_N "(cached) $ECHO_C" >&6
17083 +else
17084 + cat >conftest.$ac_ext <<_ACEOF
17085 +/* confdefs.h. */
17086 +_ACEOF
17087 +cat confdefs.h >>conftest.$ac_ext
17088 +cat >>conftest.$ac_ext <<_ACEOF
17089 +/* end confdefs.h. */
17090 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17091 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
17092 +#define shl_load innocuous_shl_load
17093 +
17094 +/* System header to define __stub macros and hopefully few prototypes,
17095 + which can conflict with char shl_load (); below.
17096 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17097 + <limits.h> exists even on freestanding compilers. */
17098 +
17099 +#ifdef __STDC__
17100 +# include <limits.h>
17101 +#else
17102 +# include <assert.h>
17103 +#endif
17104 +
17105 +#undef shl_load
17106 +
17107 +/* Override any GCC internal prototype to avoid an error.
17108 + Use char because int might match the return type of a GCC
17109 + builtin and then its argument prototype would still apply. */
17110 +#ifdef __cplusplus
17111 +extern "C"
17112 +#endif
17113 +char shl_load ();
17114 +/* The GNU C library defines this for functions which it implements
17115 + to always fail with ENOSYS. Some functions are actually named
17116 + something starting with __ and the normal name is an alias. */
17117 +#if defined __stub_shl_load || defined __stub___shl_load
17118 +choke me
17119 +#endif
17120 +
17121 +int
17122 +main ()
17123 +{
17124 +return shl_load ();
17125 + ;
17126 + return 0;
17127 +}
17128 +_ACEOF
17129 +rm -f conftest.$ac_objext conftest$ac_exeext
17130 +if { (ac_try="$ac_link"
17131 +case "(($ac_try" in
17132 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17133 + *) ac_try_echo=$ac_try;;
17134 +esac
17135 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17136 + (eval "$ac_link") 2>conftest.er1
17137 + ac_status=$?
17138 + grep -v '^ *+' conftest.er1 >conftest.err
17139 + rm -f conftest.er1
17140 + cat conftest.err >&5
17141 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 + (exit $ac_status); } && {
17143 + test -z "$ac_c_werror_flag" ||
17144 + test ! -s conftest.err
17145 + } && test -s conftest$ac_exeext &&
17146 + $as_test_x conftest$ac_exeext; then
17147 + ac_cv_func_shl_load=yes
17148 +else
17149 + echo "$as_me: failed program was:" >&5
17150 +sed 's/^/| /' conftest.$ac_ext >&5
17151 +
17152 + ac_cv_func_shl_load=no
17153 +fi
17154 +
17155 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17156 + conftest$ac_exeext conftest.$ac_ext
17157 +fi
17158 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17159 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
17160 +if test $ac_cv_func_shl_load = yes; then
17161 + lt_cv_dlopen="shl_load"
17162 +else
17163 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17164 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
17165 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17166 + echo $ECHO_N "(cached) $ECHO_C" >&6
17167 +else
17168 + ac_check_lib_save_LIBS=$LIBS
17169 +LIBS="-ldld $LIBS"
17170 +cat >conftest.$ac_ext <<_ACEOF
17171 +/* confdefs.h. */
17172 +_ACEOF
17173 +cat confdefs.h >>conftest.$ac_ext
17174 +cat >>conftest.$ac_ext <<_ACEOF
17175 +/* end confdefs.h. */
17176 +
17177 +/* Override any GCC internal prototype to avoid an error.
17178 + Use char because int might match the return type of a GCC
17179 + builtin and then its argument prototype would still apply. */
17180 +#ifdef __cplusplus
17181 +extern "C"
17182 +#endif
17183 +char shl_load ();
17184 +int
17185 +main ()
17186 +{
17187 +return shl_load ();
17188 + ;
17189 + return 0;
17190 +}
17191 +_ACEOF
17192 +rm -f conftest.$ac_objext conftest$ac_exeext
17193 +if { (ac_try="$ac_link"
17194 +case "(($ac_try" in
17195 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17196 + *) ac_try_echo=$ac_try;;
17197 +esac
17198 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17199 + (eval "$ac_link") 2>conftest.er1
17200 + ac_status=$?
17201 + grep -v '^ *+' conftest.er1 >conftest.err
17202 + rm -f conftest.er1
17203 + cat conftest.err >&5
17204 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 + (exit $ac_status); } && {
17206 + test -z "$ac_c_werror_flag" ||
17207 + test ! -s conftest.err
17208 + } && test -s conftest$ac_exeext &&
17209 + $as_test_x conftest$ac_exeext; then
17210 + ac_cv_lib_dld_shl_load=yes
17211 +else
17212 + echo "$as_me: failed program was:" >&5
17213 +sed 's/^/| /' conftest.$ac_ext >&5
17214 +
17215 + ac_cv_lib_dld_shl_load=no
17216 +fi
17217 +
17218 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17219 + conftest$ac_exeext conftest.$ac_ext
17220 +LIBS=$ac_check_lib_save_LIBS
17221 +fi
17222 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17223 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
17224 +if test $ac_cv_lib_dld_shl_load = yes; then
17225 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17226 +else
17227 + { echo "$as_me:$LINENO: checking for dlopen" >&5
17228 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
17229 +if test "${ac_cv_func_dlopen+set}" = set; then
17230 + echo $ECHO_N "(cached) $ECHO_C" >&6
17231 +else
17232 + cat >conftest.$ac_ext <<_ACEOF
17233 +/* confdefs.h. */
17234 +_ACEOF
17235 +cat confdefs.h >>conftest.$ac_ext
17236 +cat >>conftest.$ac_ext <<_ACEOF
17237 +/* end confdefs.h. */
17238 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17239 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
17240 +#define dlopen innocuous_dlopen
17241 +
17242 +/* System header to define __stub macros and hopefully few prototypes,
17243 + which can conflict with char dlopen (); below.
17244 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17245 + <limits.h> exists even on freestanding compilers. */
17246 +
17247 +#ifdef __STDC__
17248 +# include <limits.h>
17249 +#else
17250 +# include <assert.h>
17251 +#endif
17252 +
17253 +#undef dlopen
17254 +
17255 +/* Override any GCC internal prototype to avoid an error.
17256 + Use char because int might match the return type of a GCC
17257 + builtin and then its argument prototype would still apply. */
17258 +#ifdef __cplusplus
17259 +extern "C"
17260 +#endif
17261 +char dlopen ();
17262 +/* The GNU C library defines this for functions which it implements
17263 + to always fail with ENOSYS. Some functions are actually named
17264 + something starting with __ and the normal name is an alias. */
17265 +#if defined __stub_dlopen || defined __stub___dlopen
17266 +choke me
17267 +#endif
17268 +
17269 +int
17270 +main ()
17271 +{
17272 +return dlopen ();
17273 + ;
17274 + return 0;
17275 +}
17276 +_ACEOF
17277 +rm -f conftest.$ac_objext conftest$ac_exeext
17278 +if { (ac_try="$ac_link"
17279 +case "(($ac_try" in
17280 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17281 + *) ac_try_echo=$ac_try;;
17282 +esac
17283 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17284 + (eval "$ac_link") 2>conftest.er1
17285 + ac_status=$?
17286 + grep -v '^ *+' conftest.er1 >conftest.err
17287 + rm -f conftest.er1
17288 + cat conftest.err >&5
17289 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 + (exit $ac_status); } && {
17291 + test -z "$ac_c_werror_flag" ||
17292 + test ! -s conftest.err
17293 + } && test -s conftest$ac_exeext &&
17294 + $as_test_x conftest$ac_exeext; then
17295 + ac_cv_func_dlopen=yes
17296 +else
17297 + echo "$as_me: failed program was:" >&5
17298 +sed 's/^/| /' conftest.$ac_ext >&5
17299 +
17300 + ac_cv_func_dlopen=no
17301 +fi
17302 +
17303 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17304 + conftest$ac_exeext conftest.$ac_ext
17305 +fi
17306 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17307 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
17308 +if test $ac_cv_func_dlopen = yes; then
17309 + lt_cv_dlopen="dlopen"
17310 +else
17311 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17312 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17313 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17314 + echo $ECHO_N "(cached) $ECHO_C" >&6
17315 +else
17316 + ac_check_lib_save_LIBS=$LIBS
17317 +LIBS="-ldl $LIBS"
17318 +cat >conftest.$ac_ext <<_ACEOF
17319 +/* confdefs.h. */
17320 +_ACEOF
17321 +cat confdefs.h >>conftest.$ac_ext
17322 +cat >>conftest.$ac_ext <<_ACEOF
17323 +/* end confdefs.h. */
17324 +
17325 +/* Override any GCC internal prototype to avoid an error.
17326 + Use char because int might match the return type of a GCC
17327 + builtin and then its argument prototype would still apply. */
17328 +#ifdef __cplusplus
17329 +extern "C"
17330 +#endif
17331 +char dlopen ();
17332 +int
17333 +main ()
17334 +{
17335 +return dlopen ();
17336 + ;
17337 + return 0;
17338 +}
17339 +_ACEOF
17340 +rm -f conftest.$ac_objext conftest$ac_exeext
17341 +if { (ac_try="$ac_link"
17342 +case "(($ac_try" in
17343 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17344 + *) ac_try_echo=$ac_try;;
17345 +esac
17346 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17347 + (eval "$ac_link") 2>conftest.er1
17348 + ac_status=$?
17349 + grep -v '^ *+' conftest.er1 >conftest.err
17350 + rm -f conftest.er1
17351 + cat conftest.err >&5
17352 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 + (exit $ac_status); } && {
17354 + test -z "$ac_c_werror_flag" ||
17355 + test ! -s conftest.err
17356 + } && test -s conftest$ac_exeext &&
17357 + $as_test_x conftest$ac_exeext; then
17358 + ac_cv_lib_dl_dlopen=yes
17359 +else
17360 + echo "$as_me: failed program was:" >&5
17361 +sed 's/^/| /' conftest.$ac_ext >&5
17362 +
17363 + ac_cv_lib_dl_dlopen=no
17364 +fi
17365 +
17366 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17367 + conftest$ac_exeext conftest.$ac_ext
17368 +LIBS=$ac_check_lib_save_LIBS
17369 +fi
17370 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17371 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17372 +if test $ac_cv_lib_dl_dlopen = yes; then
17373 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17374 +else
17375 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17376 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17377 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17378 + echo $ECHO_N "(cached) $ECHO_C" >&6
17379 +else
17380 + ac_check_lib_save_LIBS=$LIBS
17381 +LIBS="-lsvld $LIBS"
17382 +cat >conftest.$ac_ext <<_ACEOF
17383 +/* confdefs.h. */
17384 +_ACEOF
17385 +cat confdefs.h >>conftest.$ac_ext
17386 +cat >>conftest.$ac_ext <<_ACEOF
17387 +/* end confdefs.h. */
17388 +
17389 +/* Override any GCC internal prototype to avoid an error.
17390 + Use char because int might match the return type of a GCC
17391 + builtin and then its argument prototype would still apply. */
17392 +#ifdef __cplusplus
17393 +extern "C"
17394 +#endif
17395 +char dlopen ();
17396 +int
17397 +main ()
17398 +{
17399 +return dlopen ();
17400 + ;
17401 + return 0;
17402 +}
17403 +_ACEOF
17404 +rm -f conftest.$ac_objext conftest$ac_exeext
17405 +if { (ac_try="$ac_link"
17406 +case "(($ac_try" in
17407 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17408 + *) ac_try_echo=$ac_try;;
17409 +esac
17410 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17411 + (eval "$ac_link") 2>conftest.er1
17412 + ac_status=$?
17413 + grep -v '^ *+' conftest.er1 >conftest.err
17414 + rm -f conftest.er1
17415 + cat conftest.err >&5
17416 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 + (exit $ac_status); } && {
17418 + test -z "$ac_c_werror_flag" ||
17419 + test ! -s conftest.err
17420 + } && test -s conftest$ac_exeext &&
17421 + $as_test_x conftest$ac_exeext; then
17422 + ac_cv_lib_svld_dlopen=yes
17423 +else
17424 + echo "$as_me: failed program was:" >&5
17425 +sed 's/^/| /' conftest.$ac_ext >&5
17426 +
17427 + ac_cv_lib_svld_dlopen=no
17428 +fi
17429 +
17430 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17431 + conftest$ac_exeext conftest.$ac_ext
17432 +LIBS=$ac_check_lib_save_LIBS
17433 +fi
17434 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17435 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17436 +if test $ac_cv_lib_svld_dlopen = yes; then
17437 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17438 +else
17439 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17440 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17441 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17442 + echo $ECHO_N "(cached) $ECHO_C" >&6
17443 +else
17444 + ac_check_lib_save_LIBS=$LIBS
17445 +LIBS="-ldld $LIBS"
17446 +cat >conftest.$ac_ext <<_ACEOF
17447 +/* confdefs.h. */
17448 +_ACEOF
17449 +cat confdefs.h >>conftest.$ac_ext
17450 +cat >>conftest.$ac_ext <<_ACEOF
17451 +/* end confdefs.h. */
17452 +
17453 +/* Override any GCC internal prototype to avoid an error.
17454 + Use char because int might match the return type of a GCC
17455 + builtin and then its argument prototype would still apply. */
17456 +#ifdef __cplusplus
17457 +extern "C"
17458 +#endif
17459 +char dld_link ();
17460 +int
17461 +main ()
17462 +{
17463 +return dld_link ();
17464 + ;
17465 + return 0;
17466 +}
17467 +_ACEOF
17468 +rm -f conftest.$ac_objext conftest$ac_exeext
17469 +if { (ac_try="$ac_link"
17470 +case "(($ac_try" in
17471 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17472 + *) ac_try_echo=$ac_try;;
17473 +esac
17474 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17475 + (eval "$ac_link") 2>conftest.er1
17476 + ac_status=$?
17477 + grep -v '^ *+' conftest.er1 >conftest.err
17478 + rm -f conftest.er1
17479 + cat conftest.err >&5
17480 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 + (exit $ac_status); } && {
17482 + test -z "$ac_c_werror_flag" ||
17483 + test ! -s conftest.err
17484 + } && test -s conftest$ac_exeext &&
17485 + $as_test_x conftest$ac_exeext; then
17486 + ac_cv_lib_dld_dld_link=yes
17487 +else
17488 + echo "$as_me: failed program was:" >&5
17489 +sed 's/^/| /' conftest.$ac_ext >&5
17490 +
17491 + ac_cv_lib_dld_dld_link=no
17492 +fi
17493 +
17494 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17495 + conftest$ac_exeext conftest.$ac_ext
17496 +LIBS=$ac_check_lib_save_LIBS
17497 +fi
17498 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17499 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17500 +if test $ac_cv_lib_dld_dld_link = yes; then
17501 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17502 +fi
17503 +
17504 +
17505 +fi
17506 +
17507 +
17508 +fi
17509 +
17510 +
17511 +fi
17512 +
17513 +
17514 +fi
17515 +
17516 +
17517 +fi
17518 +
17519 + ;;
17520 + esac
17521 +
17522 + if test "x$lt_cv_dlopen" != xno; then
17523 + enable_dlopen=yes
17524 + else
17525 + enable_dlopen=no
17526 + fi
17527 +
17528 + case $lt_cv_dlopen in
17529 + dlopen)
17530 + save_CPPFLAGS="$CPPFLAGS"
17531 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17532 +
17533 + save_LDFLAGS="$LDFLAGS"
17534 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17535 +
17536 + save_LIBS="$LIBS"
17537 + LIBS="$lt_cv_dlopen_libs $LIBS"
17538 +
17539 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17540 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17541 +if test "${lt_cv_dlopen_self+set}" = set; then
17542 + echo $ECHO_N "(cached) $ECHO_C" >&6
17543 +else
17544 + if test "$cross_compiling" = yes; then :
17545 + lt_cv_dlopen_self=cross
17546 +else
17547 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17548 + lt_status=$lt_dlunknown
17549 + cat > conftest.$ac_ext <<EOF
17550 +#line 10081 "configure"
17551 +#include "confdefs.h"
17552 +
17553 +#if HAVE_DLFCN_H
17554 +#include <dlfcn.h>
17555 +#endif
17556 +
17557 +#include <stdio.h>
17558 +
17559 +#ifdef RTLD_GLOBAL
17560 +# define LT_DLGLOBAL RTLD_GLOBAL
17561 +#else
17562 +# ifdef DL_GLOBAL
17563 +# define LT_DLGLOBAL DL_GLOBAL
17564 +# else
17565 +# define LT_DLGLOBAL 0
17566 +# endif
17567 +#endif
17568 +
17569 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17570 + find out it does not work in some platform. */
17571 +#ifndef LT_DLLAZY_OR_NOW
17572 +# ifdef RTLD_LAZY
17573 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
17574 +# else
17575 +# ifdef DL_LAZY
17576 +# define LT_DLLAZY_OR_NOW DL_LAZY
17577 +# else
17578 +# ifdef RTLD_NOW
17579 +# define LT_DLLAZY_OR_NOW RTLD_NOW
17580 +# else
17581 +# ifdef DL_NOW
17582 +# define LT_DLLAZY_OR_NOW DL_NOW
17583 +# else
17584 +# define LT_DLLAZY_OR_NOW 0
17585 +# endif
17586 +# endif
17587 +# endif
17588 +# endif
17589 +#endif
17590 +
17591 +#ifdef __cplusplus
17592 +extern "C" void exit (int);
17593 +#endif
17594 +
17595 +void fnord() { int i=42;}
17596 +int main ()
17597 +{
17598 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17599 + int status = $lt_dlunknown;
17600 +
17601 + if (self)
17602 + {
17603 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17604 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17605 + /* dlclose (self); */
17606 + }
17607 + else
17608 + puts (dlerror ());
17609 +
17610 + exit (status);
17611 +}
17612 +EOF
17613 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17614 + (eval $ac_link) 2>&5
17615 + ac_status=$?
17616 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17618 + (./conftest; exit; ) >&5 2>/dev/null
17619 + lt_status=$?
17620 + case x$lt_status in
17621 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17622 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17623 + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17624 + esac
17625 + else :
17626 + # compilation failed
17627 + lt_cv_dlopen_self=no
17628 + fi
17629 +fi
17630 +rm -fr conftest*
17631 +
17632 +
17633 +fi
17634 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17635 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17636 +
17637 + if test "x$lt_cv_dlopen_self" = xyes; then
17638 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17639 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17640 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17641 +if test "${lt_cv_dlopen_self_static+set}" = set; then
17642 + echo $ECHO_N "(cached) $ECHO_C" >&6
17643 +else
17644 + if test "$cross_compiling" = yes; then :
17645 + lt_cv_dlopen_self_static=cross
17646 +else
17647 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17648 + lt_status=$lt_dlunknown
17649 + cat > conftest.$ac_ext <<EOF
17650 +#line 10181 "configure"
17651 +#include "confdefs.h"
17652 +
17653 +#if HAVE_DLFCN_H
17654 +#include <dlfcn.h>
17655 +#endif
17656 +
17657 +#include <stdio.h>
17658 +
17659 +#ifdef RTLD_GLOBAL
17660 +# define LT_DLGLOBAL RTLD_GLOBAL
17661 +#else
17662 +# ifdef DL_GLOBAL
17663 +# define LT_DLGLOBAL DL_GLOBAL
17664 +# else
17665 +# define LT_DLGLOBAL 0
17666 +# endif
17667 +#endif
17668 +
17669 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17670 + find out it does not work in some platform. */
17671 +#ifndef LT_DLLAZY_OR_NOW
17672 +# ifdef RTLD_LAZY
17673 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
17674 +# else
17675 +# ifdef DL_LAZY
17676 +# define LT_DLLAZY_OR_NOW DL_LAZY
17677 +# else
17678 +# ifdef RTLD_NOW
17679 +# define LT_DLLAZY_OR_NOW RTLD_NOW
17680 +# else
17681 +# ifdef DL_NOW
17682 +# define LT_DLLAZY_OR_NOW DL_NOW
17683 +# else
17684 +# define LT_DLLAZY_OR_NOW 0
17685 +# endif
17686 +# endif
17687 +# endif
17688 +# endif
17689 +#endif
17690 +
17691 +#ifdef __cplusplus
17692 +extern "C" void exit (int);
17693 +#endif
17694 +
17695 +void fnord() { int i=42;}
17696 +int main ()
17697 +{
17698 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17699 + int status = $lt_dlunknown;
17700 +
17701 + if (self)
17702 + {
17703 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17704 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17705 + /* dlclose (self); */
17706 + }
17707 + else
17708 + puts (dlerror ());
17709 +
17710 + exit (status);
17711 +}
17712 +EOF
17713 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17714 + (eval $ac_link) 2>&5
17715 + ac_status=$?
17716 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17718 + (./conftest; exit; ) >&5 2>/dev/null
17719 + lt_status=$?
17720 + case x$lt_status in
17721 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17722 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17723 + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17724 + esac
17725 + else :
17726 + # compilation failed
17727 + lt_cv_dlopen_self_static=no
17728 + fi
17729 +fi
17730 +rm -fr conftest*
17731 +
17732 +
17733 +fi
17734 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17735 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17736 + fi
17737 +
17738 + CPPFLAGS="$save_CPPFLAGS"
17739 + LDFLAGS="$save_LDFLAGS"
17740 + LIBS="$save_LIBS"
17741 + ;;
17742 + esac
17743 +
17744 + case $lt_cv_dlopen_self in
17745 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17746 + *) enable_dlopen_self=unknown ;;
17747 + esac
17748 +
17749 + case $lt_cv_dlopen_self_static in
17750 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17751 + *) enable_dlopen_self_static=unknown ;;
17752 + esac
17753 +fi
17754 +
17755 +
17756 +# Report which library types will actually be built
17757 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17758 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17759 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
17760 +echo "${ECHO_T}$can_build_shared" >&6; }
17761 +
17762 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17763 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17764 +test "$can_build_shared" = "no" && enable_shared=no
17765 +
17766 +# On AIX, shared libraries and static libraries use the same namespace, and
17767 +# are all built from PIC.
17768 +case $host_os in
17769 +aix3*)
17770 + test "$enable_shared" = yes && enable_static=no
17771 + if test -n "$RANLIB"; then
17772 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
17773 + postinstall_cmds='$RANLIB $lib'
17774 + fi
17775 + ;;
17776 +
17777 +aix4* | aix5*)
17778 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17779 + test "$enable_shared" = yes && enable_static=no
17780 + fi
17781 + ;;
17782 +esac
17783 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
17784 +echo "${ECHO_T}$enable_shared" >&6; }
17785 +
17786 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17787 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17788 +# Make sure either enable_shared or enable_static is yes.
17789 +test "$enable_shared" = yes || enable_static=yes
17790 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
17791 +echo "${ECHO_T}$enable_static" >&6; }
17792 +
17793 +# The else clause should only fire when bootstrapping the
17794 +# libtool distribution, otherwise you forgot to ship ltmain.sh
17795 +# with your package, and you will get complaints that there are
17796 +# no rules to generate ltmain.sh.
17797 +if test -f "$ltmain"; then
17798 + # See if we are running on zsh, and set the options which allow our commands through
17799 + # without removal of \ escapes.
17800 + if test -n "${ZSH_VERSION+set}" ; then
17801 + setopt NO_GLOB_SUBST
17802 + fi
17803 + # Now quote all the things that may contain metacharacters while being
17804 + # careful not to overquote the AC_SUBSTed values. We take copies of the
17805 + # variables and quote the copies for generation of the libtool script.
17806 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17807 + SED SHELL STRIP \
17808 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17809 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17810 + deplibs_check_method reload_flag reload_cmds need_locks \
17811 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17812 + lt_cv_sys_global_symbol_to_c_name_address \
17813 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17814 + old_postinstall_cmds old_postuninstall_cmds \
17815 + compiler \
17816 + CC \
17817 + LD \
17818 + lt_prog_compiler_wl \
17819 + lt_prog_compiler_pic \
17820 + lt_prog_compiler_static \
17821 + lt_prog_compiler_no_builtin_flag \
17822 + export_dynamic_flag_spec \
17823 + thread_safe_flag_spec \
17824 + whole_archive_flag_spec \
17825 + enable_shared_with_static_runtimes \
17826 + old_archive_cmds \
17827 + old_archive_from_new_cmds \
17828 + predep_objects \
17829 + postdep_objects \
17830 + predeps \
17831 + postdeps \
17832 + compiler_lib_search_path \
17833 + archive_cmds \
17834 + archive_expsym_cmds \
17835 + postinstall_cmds \
17836 + postuninstall_cmds \
17837 + old_archive_from_expsyms_cmds \
17838 + allow_undefined_flag \
17839 + no_undefined_flag \
17840 + export_symbols_cmds \
17841 + hardcode_libdir_flag_spec \
17842 + hardcode_libdir_flag_spec_ld \
17843 + hardcode_libdir_separator \
17844 + hardcode_automatic \
17845 + module_cmds \
17846 + module_expsym_cmds \
17847 + lt_cv_prog_compiler_c_o \
17848 + exclude_expsyms \
17849 + include_expsyms; do
17850 +
17851 + case $var in
17852 + old_archive_cmds | \
17853 + old_archive_from_new_cmds | \
17854 + archive_cmds | \
17855 + archive_expsym_cmds | \
17856 + module_cmds | \
17857 + module_expsym_cmds | \
17858 + old_archive_from_expsyms_cmds | \
17859 + export_symbols_cmds | \
17860 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
17861 + postinstall_cmds | postuninstall_cmds | \
17862 + old_postinstall_cmds | old_postuninstall_cmds | \
17863 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17864 + # Double-quote double-evaled strings.
17865 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17866 + ;;
17867 + *)
17868 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17869 + ;;
17870 + esac
17871 + done
17872 +
17873 + case $lt_echo in
17874 + *'\$0 --fallback-echo"')
17875 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17876 + ;;
17877 + esac
17878 +
17879 +cfgfile="${ofile}T"
17880 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17881 + $rm -f "$cfgfile"
17882 + { echo "$as_me:$LINENO: creating $ofile" >&5
17883 +echo "$as_me: creating $ofile" >&6;}
17884 +
17885 + cat <<__EOF__ >> "$cfgfile"
17886 +#! $SHELL
17887 +
17888 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17889 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17890 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17891 +#
17892 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17893 +# Free Software Foundation, Inc.
17894 +#
17895 +# This file is part of GNU Libtool:
17896 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17897 +#
17898 +# This program is free software; you can redistribute it and/or modify
17899 +# it under the terms of the GNU General Public License as published by
17900 +# the Free Software Foundation; either version 2 of the License, or
17901 +# (at your option) any later version.
17902 +#
17903 +# This program is distributed in the hope that it will be useful, but
17904 +# WITHOUT ANY WARRANTY; without even the implied warranty of
17905 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17906 +# General Public License for more details.
17907 +#
17908 +# You should have received a copy of the GNU General Public License
17909 +# along with this program; if not, write to the Free Software
17910 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17911 +#
17912 +# As a special exception to the GNU General Public License, if you
17913 +# distribute this file as part of a program that contains a
17914 +# configuration script generated by Autoconf, you may include it under
17915 +# the same distribution terms that you use for the rest of that program.
17916 +
17917 +# A sed program that does not truncate output.
17918 +SED=$lt_SED
17919 +
17920 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17921 +Xsed="$SED -e 1s/^X//"
17922 +
17923 +# The HP-UX ksh and POSIX shell print the target directory to stdout
17924 +# if CDPATH is set.
17925 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17926 +
17927 +# The names of the tagged configurations supported by this script.
17928 +available_tags=
17929 +
17930 +# ### BEGIN LIBTOOL CONFIG
17931 +
17932 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17933 +
17934 +# Shell to use when invoking shell scripts.
17935 +SHELL=$lt_SHELL
17936 +
17937 +# Whether or not to build shared libraries.
17938 +build_libtool_libs=$enable_shared
17939 +
17940 +# Whether or not to build static libraries.
17941 +build_old_libs=$enable_static
17942 +
17943 +# Whether or not to add -lc for building shared libraries.
17944 +build_libtool_need_lc=$archive_cmds_need_lc
17945 +
17946 +# Whether or not to disallow shared libs when runtime libs are static
17947 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17948 +
17949 +# Whether or not to optimize for fast installation.
17950 +fast_install=$enable_fast_install
17951 +
17952 +# The host system.
17953 +host_alias=$host_alias
17954 +host=$host
17955 +host_os=$host_os
17956 +
17957 +# The build system.
17958 +build_alias=$build_alias
17959 +build=$build
17960 +build_os=$build_os
17961 +
17962 +# An echo program that does not interpret backslashes.
17963 +echo=$lt_echo
17964 +
17965 +# The archiver.
17966 +AR=$lt_AR
17967 +AR_FLAGS=$lt_AR_FLAGS
17968 +
17969 +# A C compiler.
17970 +LTCC=$lt_LTCC
17971 +
17972 +# LTCC compiler flags.
17973 +LTCFLAGS=$lt_LTCFLAGS
17974 +
17975 +# A language-specific compiler.
17976 +CC=$lt_compiler
17977 +
17978 +# Is the compiler the GNU C compiler?
17979 +with_gcc=$GCC
17980 +
17981 +# An ERE matcher.
17982 +EGREP=$lt_EGREP
17983 +
17984 +# The linker used to build libraries.
17985 +LD=$lt_LD
17986 +
17987 +# Whether we need hard or soft links.
17988 +LN_S=$lt_LN_S
17989 +
17990 +# A BSD-compatible nm program.
17991 +NM=$lt_NM
17992 +
17993 +# A symbol stripping program
17994 +STRIP=$lt_STRIP
17995 +
17996 +# Used to examine libraries when file_magic_cmd begins "file"
17997 +MAGIC_CMD=$MAGIC_CMD
17998 +
17999 +# Used on cygwin: DLL creation program.
18000 +DLLTOOL="$DLLTOOL"
18001 +
18002 +# Used on cygwin: object dumper.
18003 +OBJDUMP="$OBJDUMP"
18004 +
18005 +# Used on cygwin: assembler.
18006 +AS="$AS"
18007 +
18008 +# The name of the directory that contains temporary libtool files.
18009 +objdir=$objdir
18010 +
18011 +# How to create reloadable object files.
18012 +reload_flag=$lt_reload_flag
18013 +reload_cmds=$lt_reload_cmds
18014 +
18015 +# How to pass a linker flag through the compiler.
18016 +wl=$lt_lt_prog_compiler_wl
18017 +
18018 +# Object file suffix (normally "o").
18019 +objext="$ac_objext"
18020 +
18021 +# Old archive suffix (normally "a").
18022 +libext="$libext"
18023 +
18024 +# Shared library suffix (normally ".so").
18025 +shrext_cmds='$shrext_cmds'
18026 +
18027 +# Executable file suffix (normally "").
18028 +exeext="$exeext"
18029 +
18030 +# Additional compiler flags for building library objects.
18031 +pic_flag=$lt_lt_prog_compiler_pic
18032 +pic_mode=$pic_mode
18033 +
18034 +# What is the maximum length of a command?
18035 +max_cmd_len=$lt_cv_sys_max_cmd_len
18036 +
18037 +# Does compiler simultaneously support -c and -o options?
18038 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18039 +
18040 +# Must we lock files when doing compilation?
18041 +need_locks=$lt_need_locks
18042 +
18043 +# Do we need the lib prefix for modules?
18044 +need_lib_prefix=$need_lib_prefix
18045 +
18046 +# Do we need a version for libraries?
18047 +need_version=$need_version
18048 +
18049 +# Whether dlopen is supported.
18050 +dlopen_support=$enable_dlopen
18051 +
18052 +# Whether dlopen of programs is supported.
18053 +dlopen_self=$enable_dlopen_self
18054 +
18055 +# Whether dlopen of statically linked programs is supported.
18056 +dlopen_self_static=$enable_dlopen_self_static
18057 +
18058 +# Compiler flag to prevent dynamic linking.
18059 +link_static_flag=$lt_lt_prog_compiler_static
18060 +
18061 +# Compiler flag to turn off builtin functions.
18062 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18063 +
18064 +# Compiler flag to allow reflexive dlopens.
18065 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18066 +
18067 +# Compiler flag to generate shared objects directly from archives.
18068 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
18069 +
18070 +# Compiler flag to generate thread-safe objects.
18071 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
18072 +
18073 +# Library versioning type.
18074 +version_type=$version_type
18075 +
18076 +# Format of library name prefix.
18077 +libname_spec=$lt_libname_spec
18078 +
18079 +# List of archive names. First name is the real one, the rest are links.
18080 +# The last name is the one that the linker finds with -lNAME.
18081 +library_names_spec=$lt_library_names_spec
18082 +
18083 +# The coded name of the library, if different from the real name.
18084 +soname_spec=$lt_soname_spec
18085 +
18086 +# Commands used to build and install an old-style archive.
18087 +RANLIB=$lt_RANLIB
18088 +old_archive_cmds=$lt_old_archive_cmds
18089 +old_postinstall_cmds=$lt_old_postinstall_cmds
18090 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
18091 +
18092 +# Create an old-style archive from a shared archive.
18093 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18094 +
18095 +# Create a temporary old-style archive to link instead of a shared archive.
18096 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18097 +
18098 +# Commands used to build and install a shared archive.
18099 +archive_cmds=$lt_archive_cmds
18100 +archive_expsym_cmds=$lt_archive_expsym_cmds
18101 +postinstall_cmds=$lt_postinstall_cmds
18102 +postuninstall_cmds=$lt_postuninstall_cmds
18103 +
18104 +# Commands used to build a loadable module (assumed same as above if empty)
18105 +module_cmds=$lt_module_cmds
18106 +module_expsym_cmds=$lt_module_expsym_cmds
18107 +
18108 +# Commands to strip libraries.
18109 +old_striplib=$lt_old_striplib
18110 +striplib=$lt_striplib
18111 +
18112 +# Dependencies to place before the objects being linked to create a
18113 +# shared library.
18114 +predep_objects=$lt_predep_objects
18115 +
18116 +# Dependencies to place after the objects being linked to create a
18117 +# shared library.
18118 +postdep_objects=$lt_postdep_objects
18119 +
18120 +# Dependencies to place before the objects being linked to create a
18121 +# shared library.
18122 +predeps=$lt_predeps
18123 +
18124 +# Dependencies to place after the objects being linked to create a
18125 +# shared library.
18126 +postdeps=$lt_postdeps
18127 +
18128 +# The library search path used internally by the compiler when linking
18129 +# a shared library.
18130 +compiler_lib_search_path=$lt_compiler_lib_search_path
18131 +
18132 +# Method to check whether dependent libraries are shared objects.
18133 +deplibs_check_method=$lt_deplibs_check_method
18134 +
18135 +# Command to use when deplibs_check_method == file_magic.
18136 +file_magic_cmd=$lt_file_magic_cmd
18137 +
18138 +# Flag that allows shared libraries with undefined symbols to be built.
18139 +allow_undefined_flag=$lt_allow_undefined_flag
18140 +
18141 +# Flag that forces no undefined symbols.
18142 +no_undefined_flag=$lt_no_undefined_flag
18143 +
18144 +# Commands used to finish a libtool library installation in a directory.
18145 +finish_cmds=$lt_finish_cmds
18146 +
18147 +# Same as above, but a single script fragment to be evaled but not shown.
18148 +finish_eval=$lt_finish_eval
18149 +
18150 +# Take the output of nm and produce a listing of raw symbols and C names.
18151 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18152 +
18153 +# Transform the output of nm in a proper C declaration
18154 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18155 +
18156 +# Transform the output of nm in a C name address pair
18157 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18158 +
18159 +# This is the shared library runtime path variable.
18160 +runpath_var=$runpath_var
18161 +
18162 +# This is the shared library path variable.
18163 +shlibpath_var=$shlibpath_var
18164 +
18165 +# Is shlibpath searched before the hard-coded library search path?
18166 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18167 +
18168 +# How to hardcode a shared library path into an executable.
18169 +hardcode_action=$hardcode_action
18170 +
18171 +# Whether we should hardcode library paths into libraries.
18172 +hardcode_into_libs=$hardcode_into_libs
18173 +
18174 +# Flag to hardcode \$libdir into a binary during linking.
18175 +# This must work even if \$libdir does not exist.
18176 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18177 +
18178 +# If ld is used when linking, flag to hardcode \$libdir into
18179 +# a binary during linking. This must work even if \$libdir does
18180 +# not exist.
18181 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18182 +
18183 +# Whether we need a single -rpath flag with a separated argument.
18184 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
18185 +
18186 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18187 +# resulting binary.
18188 +hardcode_direct=$hardcode_direct
18189 +
18190 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18191 +# resulting binary.
18192 +hardcode_minus_L=$hardcode_minus_L
18193 +
18194 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18195 +# the resulting binary.
18196 +hardcode_shlibpath_var=$hardcode_shlibpath_var
18197 +
18198 +# Set to yes if building a shared library automatically hardcodes DIR into the library
18199 +# and all subsequent libraries and executables linked against it.
18200 +hardcode_automatic=$hardcode_automatic
18201 +
18202 +# Variables whose values should be saved in libtool wrapper scripts and
18203 +# restored at relink time.
18204 +variables_saved_for_relink="$variables_saved_for_relink"
18205 +
18206 +# Whether libtool must link a program against all its dependency libraries.
18207 +link_all_deplibs=$link_all_deplibs
18208 +
18209 +# Compile-time system search path for libraries
18210 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18211 +
18212 +# Run-time system search path for libraries
18213 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18214 +
18215 +# Fix the shell variable \$srcfile for the compiler.
18216 +fix_srcfile_path="$fix_srcfile_path"
18217 +
18218 +# Set to yes if exported symbols are required.
18219 +always_export_symbols=$always_export_symbols
18220 +
18221 +# The commands to list exported symbols.
18222 +export_symbols_cmds=$lt_export_symbols_cmds
18223 +
18224 +# The commands to extract the exported symbol list from a shared archive.
18225 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
18226 +
18227 +# Symbols that should not be listed in the preloaded symbols.
18228 +exclude_expsyms=$lt_exclude_expsyms
18229 +
18230 +# Symbols that must always be exported.
18231 +include_expsyms=$lt_include_expsyms
18232 +
18233 +# ### END LIBTOOL CONFIG
18234 +
18235 +__EOF__
18236 +
18237 +
18238 + case $host_os in
18239 + aix3*)
18240 + cat <<\EOF >> "$cfgfile"
18241 +
18242 +# AIX sometimes has problems with the GCC collect2 program. For some
18243 +# reason, if we set the COLLECT_NAMES environment variable, the problems
18244 +# vanish in a puff of smoke.
18245 +if test "X${COLLECT_NAMES+set}" != Xset; then
18246 + COLLECT_NAMES=
18247 + export COLLECT_NAMES
18248 +fi
18249 +EOF
18250 + ;;
18251 + esac
18252 +
18253 + # We use sed instead of cat because bash on DJGPP gets confused if
18254 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
18255 + # text mode, it properly converts lines to CR/LF. This bash problem
18256 + # is reportedly fixed, but why not run on old versions too?
18257 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
18258 +
18259 + mv -f "$cfgfile" "$ofile" || \
18260 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18261 + chmod +x "$ofile"
18262 +
18263 +else
18264 + # If there is no Makefile yet, we rely on a make rule to execute
18265 + # `config.status --recheck' to rerun these tests and create the
18266 + # libtool script then.
18267 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18268 + if test -f "$ltmain_in"; then
18269 + test -f Makefile && make "$ltmain"
18270 + fi
18271 +fi
18272 +
18273 +
18274 +ac_ext=c
18275 +ac_cpp='$CPP $CPPFLAGS'
18276 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18277 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18278 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
18279 +
18280 +CC="$lt_save_CC"
18281 +
18282 +
18283 +# Check whether --with-tags was given.
18284 +if test "${with_tags+set}" = set; then
18285 + withval=$with_tags; tagnames="$withval"
18286 +fi
18287 +
18288 +
18289 +if test -f "$ltmain" && test -n "$tagnames"; then
18290 + if test ! -f "${ofile}"; then
18291 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
18292 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
18293 + fi
18294 +
18295 + if test -z "$LTCC"; then
18296 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
18297 + if test -z "$LTCC"; then
18298 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
18299 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
18300 + else
18301 + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
18302 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
18303 + fi
18304 + fi
18305 + if test -z "$LTCFLAGS"; then
18306 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
18307 + fi
18308 +
18309 + # Extract list of available tagged configurations in $ofile.
18310 + # Note that this assumes the entire list is on one line.
18311 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
18312 +
18313 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18314 + for tagname in $tagnames; do
18315 + IFS="$lt_save_ifs"
18316 + # Check whether tagname contains only valid characters
18317 + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18318 + "") ;;
18319 + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18320 +echo "$as_me: error: invalid tag name: $tagname" >&2;}
18321 + { (exit 1); exit 1; }; }
18322 + ;;
18323 + esac
18324 +
18325 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18326 + then
18327 + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18328 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18329 + { (exit 1); exit 1; }; }
18330 + fi
18331 +
18332 + # Update the list of available tags.
18333 + if test -n "$tagname"; then
18334 + echo appending configuration tag \"$tagname\" to $ofile
18335 +
18336 + case $tagname in
18337 + CXX)
18338 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18339 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
18340 + (test "X$CXX" != "Xg++"))) ; then
18341 + ac_ext=cpp
18342 +ac_cpp='$CXXCPP $CPPFLAGS'
18343 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18346 +
18347 +
18348 +
18349 +
18350 +archive_cmds_need_lc_CXX=no
18351 +allow_undefined_flag_CXX=
18352 +always_export_symbols_CXX=no
18353 +archive_expsym_cmds_CXX=
18354 +export_dynamic_flag_spec_CXX=
18355 +hardcode_direct_CXX=no
18356 +hardcode_libdir_flag_spec_CXX=
18357 +hardcode_libdir_flag_spec_ld_CXX=
18358 +hardcode_libdir_separator_CXX=
18359 +hardcode_minus_L_CXX=no
18360 +hardcode_shlibpath_var_CXX=unsupported
18361 +hardcode_automatic_CXX=no
18362 +module_cmds_CXX=
18363 +module_expsym_cmds_CXX=
18364 +link_all_deplibs_CXX=unknown
18365 +old_archive_cmds_CXX=$old_archive_cmds
18366 +no_undefined_flag_CXX=
18367 +whole_archive_flag_spec_CXX=
18368 +enable_shared_with_static_runtimes_CXX=no
18369 +
18370 +# Dependencies to place before and after the object being linked:
18371 +predep_objects_CXX=
18372 +postdep_objects_CXX=
18373 +predeps_CXX=
18374 +postdeps_CXX=
18375 +compiler_lib_search_path_CXX=
18376 +
18377 +# Source file extension for C++ test sources.
18378 +ac_ext=cpp
18379 +
18380 +# Object file extension for compiled C++ test sources.
18381 +objext=o
18382 +objext_CXX=$objext
18383 +
18384 +# Code to be used in simple compile tests
18385 +lt_simple_compile_test_code="int some_variable = 0;\n"
18386 +
18387 +# Code to be used in simple link tests
18388 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18389 +
18390 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18391 +
18392 +# If no C compiler was specified, use CC.
18393 +LTCC=${LTCC-"$CC"}
18394 +
18395 +# If no C compiler flags were specified, use CFLAGS.
18396 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18397 +
18398 +# Allow CC to be a program name with arguments.
18399 +compiler=$CC
18400 +
18401 +
18402 +# save warnings/boilerplate of simple test code
18403 +ac_outfile=conftest.$ac_objext
18404 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18405 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18406 +_lt_compiler_boilerplate=`cat conftest.err`
18407 +$rm conftest*
18408 +
18409 +ac_outfile=conftest.$ac_objext
18410 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
18411 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18412 +_lt_linker_boilerplate=`cat conftest.err`
18413 +$rm conftest*
18414 +
18415 +
18416 +# Allow CC to be a program name with arguments.
18417 +lt_save_CC=$CC
18418 +lt_save_LD=$LD
18419 +lt_save_GCC=$GCC
18420 +GCC=$GXX
18421 +lt_save_with_gnu_ld=$with_gnu_ld
18422 +lt_save_path_LD=$lt_cv_path_LD
18423 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18424 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18425 +else
18426 + $as_unset lt_cv_prog_gnu_ld
18427 +fi
18428 +if test -n "${lt_cv_path_LDCXX+set}"; then
18429 + lt_cv_path_LD=$lt_cv_path_LDCXX
18430 +else
18431 + $as_unset lt_cv_path_LD
18432 +fi
18433 +test -z "${LDCXX+set}" || LD=$LDCXX
18434 +CC=${CXX-"c++"}
18435 +compiler=$CC
18436 +compiler_CXX=$CC
18437 +for cc_temp in $compiler""; do
18438 + case $cc_temp in
18439 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18440 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18441 + \-*) ;;
18442 + *) break;;
18443 + esac
18444 +done
18445 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18446 +
18447 +
18448 +# We don't want -fno-exception wen compiling C++ code, so set the
18449 +# no_builtin_flag separately
18450 +if test "$GXX" = yes; then
18451 + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18452 +else
18453 + lt_prog_compiler_no_builtin_flag_CXX=
18454 +fi
18455 +
18456 +if test "$GXX" = yes; then
18457 + # Set up default GNU C++ configuration
18458 +
18459 +
18460 +# Check whether --with-gnu-ld was given.
18461 +if test "${with_gnu_ld+set}" = set; then
18462 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18463 +else
18464 + with_gnu_ld=no
18465 +fi
18466 +
18467 +ac_prog=ld
18468 +if test "$GCC" = yes; then
18469 + # Check if gcc -print-prog-name=ld gives a path.
18470 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18471 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18472 + case $host in
18473 + *-*-mingw*)
18474 + # gcc leaves a trailing carriage return which upsets mingw
18475 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18476 + *)
18477 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18478 + esac
18479 + case $ac_prog in
18480 + # Accept absolute paths.
18481 + [\\/]* | ?:[\\/]*)
18482 + re_direlt='/[^/][^/]*/\.\./'
18483 + # Canonicalize the pathname of ld
18484 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
18485 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18486 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
18487 + done
18488 + test -z "$LD" && LD="$ac_prog"
18489 + ;;
18490 + "")
18491 + # If it fails, then pretend we aren't using GCC.
18492 + ac_prog=ld
18493 + ;;
18494 + *)
18495 + # If it is relative, then search for the first ld in PATH.
18496 + with_gnu_ld=unknown
18497 + ;;
18498 + esac
18499 +elif test "$with_gnu_ld" = yes; then
18500 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
18501 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18502 +else
18503 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18504 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18505 +fi
18506 +if test "${lt_cv_path_LD+set}" = set; then
18507 + echo $ECHO_N "(cached) $ECHO_C" >&6
18508 +else
18509 + if test -z "$LD"; then
18510 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18511 + for ac_dir in $PATH; do
18512 + IFS="$lt_save_ifs"
18513 + test -z "$ac_dir" && ac_dir=.
18514 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18515 + lt_cv_path_LD="$ac_dir/$ac_prog"
18516 + # Check to see if the program is GNU ld. I'd rather use --version,
18517 + # but apparently some variants of GNU ld only accept -v.
18518 + # Break only if it was the GNU/non-GNU ld that we prefer.
18519 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18520 + *GNU* | *'with BFD'*)
18521 + test "$with_gnu_ld" != no && break
18522 + ;;
18523 + *)
18524 + test "$with_gnu_ld" != yes && break
18525 + ;;
18526 + esac
18527 + fi
18528 + done
18529 + IFS="$lt_save_ifs"
18530 +else
18531 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
18532 +fi
18533 +fi
18534 +
18535 +LD="$lt_cv_path_LD"
18536 +if test -n "$LD"; then
18537 + { echo "$as_me:$LINENO: result: $LD" >&5
18538 +echo "${ECHO_T}$LD" >&6; }
18539 +else
18540 + { echo "$as_me:$LINENO: result: no" >&5
18541 +echo "${ECHO_T}no" >&6; }
18542 +fi
18543 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18544 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18545 + { (exit 1); exit 1; }; }
18546 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18547 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18548 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
18549 + echo $ECHO_N "(cached) $ECHO_C" >&6
18550 +else
18551 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
18552 +case `$LD -v 2>&1 </dev/null` in
18553 +*GNU* | *'with BFD'*)
18554 + lt_cv_prog_gnu_ld=yes
18555 + ;;
18556 +*)
18557 + lt_cv_prog_gnu_ld=no
18558 + ;;
18559 +esac
18560 +fi
18561 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18562 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18563 +with_gnu_ld=$lt_cv_prog_gnu_ld
18564 +
18565 +
18566 +
18567 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
18568 + # archiving commands below assume that GNU ld is being used.
18569 + if test "$with_gnu_ld" = yes; then
18570 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18571 + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18572 +
18573 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18574 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18575 +
18576 + # If archive_cmds runs LD, not CC, wlarc should be empty
18577 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18578 + # investigate it a little bit more. (MM)
18579 + wlarc='${wl}'
18580 +
18581 + # ancient GNU ld didn't support --whole-archive et. al.
18582 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
18583 + grep 'no-whole-archive' > /dev/null; then
18584 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18585 + else
18586 + whole_archive_flag_spec_CXX=
18587 + fi
18588 + else
18589 + with_gnu_ld=no
18590 + wlarc=
18591 +
18592 + # A generic and very simple default shared library creation
18593 + # command for GNU C++ for the case where it uses the native
18594 + # linker, instead of GNU ld. If possible, this setting should
18595 + # overridden to take advantage of the native linker features on
18596 + # the platform it is being used on.
18597 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18598 + fi
18599 +
18600 + # Commands to make compiler produce verbose output that lists
18601 + # what "hidden" libraries, object files and flags are used when
18602 + # linking a shared library.
18603 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18604 +
18605 +else
18606 + GXX=no
18607 + with_gnu_ld=no
18608 + wlarc=
18609 +fi
18610 +
18611 +# PORTME: fill in a description of your system's C++ link characteristics
18612 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18613 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18614 +ld_shlibs_CXX=yes
18615 +case $host_os in
18616 + aix3*)
18617 + # FIXME: insert proper C++ library support
18618 + ld_shlibs_CXX=no
18619 + ;;
18620 + aix4* | aix5*)
18621 + if test "$host_cpu" = ia64; then
18622 + # On IA64, the linker does run time linking by default, so we don't
18623 + # have to do anything special.
18624 + aix_use_runtimelinking=no
18625 + exp_sym_flag='-Bexport'
18626 + no_entry_flag=""
18627 + else
18628 + aix_use_runtimelinking=no
18629 +
18630 + # Test if we are trying to use run time linking or normal
18631 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18632 + # need to do runtime linking.
18633 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18634 + for ld_flag in $LDFLAGS; do
18635 + case $ld_flag in
18636 + *-brtl*)
18637 + aix_use_runtimelinking=yes
18638 + break
18639 + ;;
18640 + esac
18641 + done
18642 + ;;
18643 + esac
18644 +
18645 + exp_sym_flag='-bexport'
18646 + no_entry_flag='-bnoentry'
18647 + fi
18648 +
18649 + # When large executables or shared objects are built, AIX ld can
18650 + # have problems creating the table of contents. If linking a library
18651 + # or program results in "error TOC overflow" add -mminimal-toc to
18652 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18653 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18654 +
18655 + archive_cmds_CXX=''
18656 + hardcode_direct_CXX=yes
18657 + hardcode_libdir_separator_CXX=':'
18658 + link_all_deplibs_CXX=yes
18659 +
18660 + if test "$GXX" = yes; then
18661 + case $host_os in aix4.[012]|aix4.[012].*)
18662 + # We only want to do this on AIX 4.2 and lower, the check
18663 + # below for broken collect2 doesn't work under 4.3+
18664 + collect2name=`${CC} -print-prog-name=collect2`
18665 + if test -f "$collect2name" && \
18666 + strings "$collect2name" | grep resolve_lib_name >/dev/null
18667 + then
18668 + # We have reworked collect2
18669 + hardcode_direct_CXX=yes
18670 + else
18671 + # We have old collect2
18672 + hardcode_direct_CXX=unsupported
18673 + # It fails to find uninstalled libraries when the uninstalled
18674 + # path is not listed in the libpath. Setting hardcode_minus_L
18675 + # to unsupported forces relinking
18676 + hardcode_minus_L_CXX=yes
18677 + hardcode_libdir_flag_spec_CXX='-L$libdir'
18678 + hardcode_libdir_separator_CXX=
18679 + fi
18680 + ;;
18681 + esac
18682 + shared_flag='-shared'
18683 + if test "$aix_use_runtimelinking" = yes; then
18684 + shared_flag="$shared_flag "'${wl}-G'
18685 + fi
18686 + else
18687 + # not using gcc
18688 + if test "$host_cpu" = ia64; then
18689 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18690 + # chokes on -Wl,-G. The following line is correct:
18691 + shared_flag='-G'
18692 + else
18693 + if test "$aix_use_runtimelinking" = yes; then
18694 + shared_flag='${wl}-G'
18695 + else
18696 + shared_flag='${wl}-bM:SRE'
18697 + fi
18698 + fi
18699 + fi
18700 +
18701 + # It seems that -bexpall does not export symbols beginning with
18702 + # underscore (_), so it is better to generate a list of symbols to export.
18703 + always_export_symbols_CXX=yes
18704 + if test "$aix_use_runtimelinking" = yes; then
18705 + # Warning - without using the other runtime loading flags (-brtl),
18706 + # -berok will link without error, but may produce a broken library.
18707 + allow_undefined_flag_CXX='-berok'
18708 + # Determine the default libpath from the value encoded in an empty executable.
18709 + cat >conftest.$ac_ext <<_ACEOF
18710 +/* confdefs.h. */
18711 +_ACEOF
18712 +cat confdefs.h >>conftest.$ac_ext
18713 +cat >>conftest.$ac_ext <<_ACEOF
18714 +/* end confdefs.h. */
18715 +
18716 +int
18717 +main ()
18718 +{
18719 +
18720 + ;
18721 + return 0;
18722 +}
18723 +_ACEOF
18724 +rm -f conftest.$ac_objext conftest$ac_exeext
18725 +if { (ac_try="$ac_link"
18726 +case "(($ac_try" in
18727 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 + *) ac_try_echo=$ac_try;;
18729 +esac
18730 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 + (eval "$ac_link") 2>conftest.er1
18732 + ac_status=$?
18733 + grep -v '^ *+' conftest.er1 >conftest.err
18734 + rm -f conftest.er1
18735 + cat conftest.err >&5
18736 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 + (exit $ac_status); } && {
18738 + test -z "$ac_cxx_werror_flag" ||
18739 + test ! -s conftest.err
18740 + } && test -s conftest$ac_exeext &&
18741 + $as_test_x conftest$ac_exeext; then
18742 +
18743 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18744 +}'`
18745 +# Check for a 64-bit object if we didn't find anything.
18746 +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; }
18747 +}'`; fi
18748 +else
18749 + echo "$as_me: failed program was:" >&5
18750 +sed 's/^/| /' conftest.$ac_ext >&5
18751 +
18752 +
18753 +fi
18754 +
18755 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18756 + conftest$ac_exeext conftest.$ac_ext
18757 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18758 +
18759 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18760 +
18761 + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18762 + else
18763 + if test "$host_cpu" = ia64; then
18764 + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
18765 + allow_undefined_flag_CXX="-z nodefs"
18766 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
18767 + else
18768 + # Determine the default libpath from the value encoded in an empty executable.
18769 + cat >conftest.$ac_ext <<_ACEOF
18770 +/* confdefs.h. */
18771 +_ACEOF
18772 +cat confdefs.h >>conftest.$ac_ext
18773 +cat >>conftest.$ac_ext <<_ACEOF
18774 +/* end confdefs.h. */
18775 +
18776 +int
18777 +main ()
18778 +{
18779 +
18780 + ;
18781 + return 0;
18782 +}
18783 +_ACEOF
18784 +rm -f conftest.$ac_objext conftest$ac_exeext
18785 +if { (ac_try="$ac_link"
18786 +case "(($ac_try" in
18787 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18788 + *) ac_try_echo=$ac_try;;
18789 +esac
18790 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18791 + (eval "$ac_link") 2>conftest.er1
18792 + ac_status=$?
18793 + grep -v '^ *+' conftest.er1 >conftest.err
18794 + rm -f conftest.er1
18795 + cat conftest.err >&5
18796 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 + (exit $ac_status); } && {
18798 + test -z "$ac_cxx_werror_flag" ||
18799 + test ! -s conftest.err
18800 + } && test -s conftest$ac_exeext &&
18801 + $as_test_x conftest$ac_exeext; then
18802 +
18803 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18804 +}'`
18805 +# Check for a 64-bit object if we didn't find anything.
18806 +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; }
18807 +}'`; fi
18808 +else
18809 + echo "$as_me: failed program was:" >&5
18810 +sed 's/^/| /' conftest.$ac_ext >&5
18811 +
18812 +
18813 +fi
18814 +
18815 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18816 + conftest$ac_exeext conftest.$ac_ext
18817 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18818 +
18819 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18820 + # Warning - without using the other run time loading flags,
18821 + # -berok will link without error, but may produce a broken library.
18822 + no_undefined_flag_CXX=' ${wl}-bernotok'
18823 + allow_undefined_flag_CXX=' ${wl}-berok'
18824 + # Exported symbols can be pulled into shared objects from archives
18825 + whole_archive_flag_spec_CXX='$convenience'
18826 + archive_cmds_need_lc_CXX=yes
18827 + # This is similar to how AIX traditionally builds its shared libraries.
18828 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18829 + fi
18830 + fi
18831 + ;;
18832 +
18833 + beos*)
18834 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18835 + allow_undefined_flag_CXX=unsupported
18836 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18837 + # support --undefined. This deserves some investigation. FIXME
18838 + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18839 + else
18840 + ld_shlibs_CXX=no
18841 + fi
18842 + ;;
18843 +
18844 + chorus*)
18845 + case $cc_basename in
18846 + *)
18847 + # FIXME: insert proper C++ library support
18848 + ld_shlibs_CXX=no
18849 + ;;
18850 + esac
18851 + ;;
18852 +
18853 + cygwin* | mingw* | pw32*)
18854 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18855 + # as there is no search path for DLLs.
18856 + hardcode_libdir_flag_spec_CXX='-L$libdir'
18857 + allow_undefined_flag_CXX=unsupported
18858 + always_export_symbols_CXX=no
18859 + enable_shared_with_static_runtimes_CXX=yes
18860 +
18861 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18862 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18863 + # If the export-symbols file already is a .def file (1st line
18864 + # is EXPORTS), use it as is; otherwise, prepend...
18865 + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18866 + cp $export_symbols $output_objdir/$soname.def;
18867 + else
18868 + echo EXPORTS > $output_objdir/$soname.def;
18869 + cat $export_symbols >> $output_objdir/$soname.def;
18870 + fi~
18871 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18872 + else
18873 + ld_shlibs_CXX=no
18874 + fi
18875 + ;;
18876 + darwin* | rhapsody*)
18877 + case $host_os in
18878 + rhapsody* | darwin1.[012])
18879 + allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18880 + ;;
18881 + *) # Darwin 1.3 on
18882 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18883 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18884 + else
18885 + case ${MACOSX_DEPLOYMENT_TARGET} in
18886 + 10.[012])
18887 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18888 + ;;
18889 + 10.*)
18890 + allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18891 + ;;
18892 + esac
18893 + fi
18894 + ;;
18895 + esac
18896 + archive_cmds_need_lc_CXX=no
18897 + hardcode_direct_CXX=no
18898 + hardcode_automatic_CXX=yes
18899 + hardcode_shlibpath_var_CXX=unsupported
18900 + whole_archive_flag_spec_CXX=''
18901 + link_all_deplibs_CXX=yes
18902 +
18903 + if test "$GXX" = yes ; then
18904 + lt_int_apple_cc_single_mod=no
18905 + output_verbose_link_cmd='echo'
18906 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18907 + lt_int_apple_cc_single_mod=yes
18908 + fi
18909 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18910 + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18911 + else
18912 + archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18913 + fi
18914 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18915 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18916 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18917 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18918 + else
18919 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18920 + fi
18921 + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18922 + else
18923 + case $cc_basename in
18924 + xlc*)
18925 + output_verbose_link_cmd='echo'
18926 + archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
18927 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18928 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18929 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18930 + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18931 + ;;
18932 + *)
18933 + ld_shlibs_CXX=no
18934 + ;;
18935 + esac
18936 + fi
18937 + ;;
18938 +
18939 + dgux*)
18940 + case $cc_basename in
18941 + ec++*)
18942 + # FIXME: insert proper C++ library support
18943 + ld_shlibs_CXX=no
18944 + ;;
18945 + ghcx*)
18946 + # Green Hills C++ Compiler
18947 + # FIXME: insert proper C++ library support
18948 + ld_shlibs_CXX=no
18949 + ;;
18950 + *)
18951 + # FIXME: insert proper C++ library support
18952 + ld_shlibs_CXX=no
18953 + ;;
18954 + esac
18955 + ;;
18956 + freebsd[12]*)
18957 + # C++ shared libraries reported to be fairly broken before switch to ELF
18958 + ld_shlibs_CXX=no
18959 + ;;
18960 + freebsd-elf*)
18961 + archive_cmds_need_lc_CXX=no
18962 + ;;
18963 + freebsd* | dragonfly*)
18964 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18965 + # conventions
18966 + ld_shlibs_CXX=yes
18967 + ;;
18968 + gnu*)
18969 + ;;
18970 + hpux9*)
18971 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18972 + hardcode_libdir_separator_CXX=:
18973 + export_dynamic_flag_spec_CXX='${wl}-E'
18974 + hardcode_direct_CXX=yes
18975 + hardcode_minus_L_CXX=yes # Not in the search PATH,
18976 + # but as the default
18977 + # location of the library.
18978 +
18979 + case $cc_basename in
18980 + CC*)
18981 + # FIXME: insert proper C++ library support
18982 + ld_shlibs_CXX=no
18983 + ;;
18984 + aCC*)
18985 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18986 + # Commands to make compiler produce verbose output that lists
18987 + # what "hidden" libraries, object files and flags are used when
18988 + # linking a shared library.
18989 + #
18990 + # There doesn't appear to be a way to prevent this compiler from
18991 + # explicitly linking system object files so we need to strip them
18992 + # from the output so that they don't get included in the library
18993 + # dependencies.
18994 + 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'
18995 + ;;
18996 + *)
18997 + if test "$GXX" = yes; then
18998 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18999 + else
19000 + # FIXME: insert proper C++ library support
19001 + ld_shlibs_CXX=no
19002 + fi
19003 + ;;
19004 + esac
19005 + ;;
19006 + hpux10*|hpux11*)
19007 + if test $with_gnu_ld = no; then
19008 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
19009 + hardcode_libdir_separator_CXX=:
19010 +
19011 + case $host_cpu in
19012 + hppa*64*|ia64*)
19013 + hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
19014 + ;;
19015 + *)
19016 + export_dynamic_flag_spec_CXX='${wl}-E'
19017 + ;;
19018 + esac
19019 + fi
19020 + case $host_cpu in
19021 + hppa*64*|ia64*)
19022 + hardcode_direct_CXX=no
19023 + hardcode_shlibpath_var_CXX=no
19024 + ;;
19025 + *)
19026 + hardcode_direct_CXX=yes
19027 + hardcode_minus_L_CXX=yes # Not in the search PATH,
19028 + # but as the default
19029 + # location of the library.
19030 + ;;
19031 + esac
19032 +
19033 + case $cc_basename in
19034 + CC*)
19035 + # FIXME: insert proper C++ library support
19036 + ld_shlibs_CXX=no
19037 + ;;
19038 + aCC*)
19039 + case $host_cpu in
19040 + hppa*64*)
19041 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19042 + ;;
19043 + ia64*)
19044 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19045 + ;;
19046 + *)
19047 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19048 + ;;
19049 + esac
19050 + # Commands to make compiler produce verbose output that lists
19051 + # what "hidden" libraries, object files and flags are used when
19052 + # linking a shared library.
19053 + #
19054 + # There doesn't appear to be a way to prevent this compiler from
19055 + # explicitly linking system object files so we need to strip them
19056 + # from the output so that they don't get included in the library
19057 + # dependencies.
19058 + 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'
19059 + ;;
19060 + *)
19061 + if test "$GXX" = yes; then
19062 + if test $with_gnu_ld = no; then
19063 + case $host_cpu in
19064 + hppa*64*)
19065 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19066 + ;;
19067 + ia64*)
19068 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19069 + ;;
19070 + *)
19071 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19072 + ;;
19073 + esac
19074 + fi
19075 + else
19076 + # FIXME: insert proper C++ library support
19077 + ld_shlibs_CXX=no
19078 + fi
19079 + ;;
19080 + esac
19081 + ;;
19082 + interix3*)
19083 + hardcode_direct_CXX=no
19084 + hardcode_shlibpath_var_CXX=no
19085 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19086 + export_dynamic_flag_spec_CXX='${wl}-E'
19087 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19088 + # Instead, shared libraries are loaded at an image base (0x10000000 by
19089 + # default) and relocated if they conflict, which is a slow very memory
19090 + # consuming and fragmenting process. To avoid this, we pick a random,
19091 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19092 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19093 + archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19094 + archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19095 + ;;
19096 + irix5* | irix6*)
19097 + case $cc_basename in
19098 + CC*)
19099 + # SGI C++
19100 + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19101 +
19102 + # Archives containing C++ object files must be created using
19103 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
19104 + # necessary to make sure instantiated templates are included
19105 + # in the archive.
19106 + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
19107 + ;;
19108 + *)
19109 + if test "$GXX" = yes; then
19110 + if test "$with_gnu_ld" = no; then
19111 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19112 + else
19113 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
19114 + fi
19115 + fi
19116 + link_all_deplibs_CXX=yes
19117 + ;;
19118 + esac
19119 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19120 + hardcode_libdir_separator_CXX=:
19121 + ;;
19122 + linux* | k*bsd*-gnu)
19123 + case $cc_basename in
19124 + KCC*)
19125 + # Kuck and Associates, Inc. (KAI) C++ Compiler
19126 +
19127 + # KCC will only create a shared library if the output file
19128 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
19129 + # to its proper name (with version) after linking.
19130 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19131 + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
19132 + # Commands to make compiler produce verbose output that lists
19133 + # what "hidden" libraries, object files and flags are used when
19134 + # linking a shared library.
19135 + #
19136 + # There doesn't appear to be a way to prevent this compiler from
19137 + # explicitly linking system object files so we need to strip them
19138 + # from the output so that they don't get included in the library
19139 + # dependencies.
19140 + 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'
19141 +
19142 + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
19143 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19144 +
19145 + # Archives containing C++ object files must be created using
19146 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19147 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19148 + ;;
19149 + icpc*)
19150 + # Intel C++
19151 + with_gnu_ld=yes
19152 + # version 8.0 and above of icpc choke on multiply defined symbols
19153 + # if we add $predep_objects and $postdep_objects, however 7.1 and
19154 + # earlier do not add the objects themselves.
19155 + case `$CC -V 2>&1` in
19156 + *"Version 7."*)
19157 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19158 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19159 + ;;
19160 + *) # Version 8.0 or newer
19161 + tmp_idyn=
19162 + case $host_cpu in
19163 + ia64*) tmp_idyn=' -i_dynamic';;
19164 + esac
19165 + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19166 + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19167 + ;;
19168 + esac
19169 + archive_cmds_need_lc_CXX=no
19170 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19171 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19172 + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
19173 + ;;
19174 + pgCC*)
19175 + # Portland Group C++ compiler
19176 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19177 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
19178 +
19179 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
19180 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19181 + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19182 + ;;
19183 + cxx*)
19184 + # Compaq C++
19185 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19186 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
19187 +
19188 + runpath_var=LD_RUN_PATH
19189 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19190 + hardcode_libdir_separator_CXX=:
19191 +
19192 + # Commands to make compiler produce verbose output that lists
19193 + # what "hidden" libraries, object files and flags are used when
19194 + # linking a shared library.
19195 + #
19196 + # There doesn't appear to be a way to prevent this compiler from
19197 + # explicitly linking system object files so we need to strip them
19198 + # from the output so that they don't get included in the library
19199 + # dependencies.
19200 + 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'
19201 + ;;
19202 + esac
19203 + ;;
19204 + lynxos*)
19205 + # FIXME: insert proper C++ library support
19206 + ld_shlibs_CXX=no
19207 + ;;
19208 + m88k*)
19209 + # FIXME: insert proper C++ library support
19210 + ld_shlibs_CXX=no
19211 + ;;
19212 + mvs*)
19213 + case $cc_basename in
19214 + cxx*)
19215 + # FIXME: insert proper C++ library support
19216 + ld_shlibs_CXX=no
19217 + ;;
19218 + *)
19219 + # FIXME: insert proper C++ library support
19220 + ld_shlibs_CXX=no
19221 + ;;
19222 + esac
19223 + ;;
19224 + netbsd* | netbsdelf*-gnu)
19225 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19226 + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19227 + wlarc=
19228 + hardcode_libdir_flag_spec_CXX='-R$libdir'
19229 + hardcode_direct_CXX=yes
19230 + hardcode_shlibpath_var_CXX=no
19231 + fi
19232 + # Workaround some broken pre-1.5 toolchains
19233 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
19234 + ;;
19235 + openbsd2*)
19236 + # C++ shared libraries are fairly broken
19237 + ld_shlibs_CXX=no
19238 + ;;
19239 + openbsd*)
19240 + hardcode_direct_CXX=yes
19241 + hardcode_shlibpath_var_CXX=no
19242 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19243 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19244 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19245 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
19246 + export_dynamic_flag_spec_CXX='${wl}-E'
19247 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19248 + fi
19249 + output_verbose_link_cmd='echo'
19250 + ;;
19251 + osf3*)
19252 + case $cc_basename in
19253 + KCC*)
19254 + # Kuck and Associates, Inc. (KAI) C++ Compiler
19255 +
19256 + # KCC will only create a shared library if the output file
19257 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
19258 + # to its proper name (with version) after linking.
19259 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19260 +
19261 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19262 + hardcode_libdir_separator_CXX=:
19263 +
19264 + # Archives containing C++ object files must be created using
19265 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19266 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19267 +
19268 + ;;
19269 + RCC*)
19270 + # Rational C++ 2.4.1
19271 + # FIXME: insert proper C++ library support
19272 + ld_shlibs_CXX=no
19273 + ;;
19274 + cxx*)
19275 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19276 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19277 +
19278 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19279 + hardcode_libdir_separator_CXX=:
19280 +
19281 + # Commands to make compiler produce verbose output that lists
19282 + # what "hidden" libraries, object files and flags are used when
19283 + # linking a shared library.
19284 + #
19285 + # There doesn't appear to be a way to prevent this compiler from
19286 + # explicitly linking system object files so we need to strip them
19287 + # from the output so that they don't get included in the library
19288 + # dependencies.
19289 + 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'
19290 + ;;
19291 + *)
19292 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19293 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19294 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19295 +
19296 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19297 + hardcode_libdir_separator_CXX=:
19298 +
19299 + # Commands to make compiler produce verbose output that lists
19300 + # what "hidden" libraries, object files and flags are used when
19301 + # linking a shared library.
19302 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19303 +
19304 + else
19305 + # FIXME: insert proper C++ library support
19306 + ld_shlibs_CXX=no
19307 + fi
19308 + ;;
19309 + esac
19310 + ;;
19311 + osf4* | osf5*)
19312 + case $cc_basename in
19313 + KCC*)
19314 + # Kuck and Associates, Inc. (KAI) C++ Compiler
19315 +
19316 + # KCC will only create a shared library if the output file
19317 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
19318 + # to its proper name (with version) after linking.
19319 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19320 +
19321 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19322 + hardcode_libdir_separator_CXX=:
19323 +
19324 + # Archives containing C++ object files must be created using
19325 + # the KAI C++ compiler.
19326 + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
19327 + ;;
19328 + RCC*)
19329 + # Rational C++ 2.4.1
19330 + # FIXME: insert proper C++ library support
19331 + ld_shlibs_CXX=no
19332 + ;;
19333 + cxx*)
19334 + allow_undefined_flag_CXX=' -expect_unresolved \*'
19335 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19336 + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19337 + echo "-hidden">> $lib.exp~
19338 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
19339 + $rm $lib.exp'
19340 +
19341 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19342 + hardcode_libdir_separator_CXX=:
19343 +
19344 + # Commands to make compiler produce verbose output that lists
19345 + # what "hidden" libraries, object files and flags are used when
19346 + # linking a shared library.
19347 + #
19348 + # There doesn't appear to be a way to prevent this compiler from
19349 + # explicitly linking system object files so we need to strip them
19350 + # from the output so that they don't get included in the library
19351 + # dependencies.
19352 + 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'
19353 + ;;
19354 + *)
19355 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19356 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19357 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19358 +
19359 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19360 + hardcode_libdir_separator_CXX=:
19361 +
19362 + # Commands to make compiler produce verbose output that lists
19363 + # what "hidden" libraries, object files and flags are used when
19364 + # linking a shared library.
19365 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19366 +
19367 + else
19368 + # FIXME: insert proper C++ library support
19369 + ld_shlibs_CXX=no
19370 + fi
19371 + ;;
19372 + esac
19373 + ;;
19374 + psos*)
19375 + # FIXME: insert proper C++ library support
19376 + ld_shlibs_CXX=no
19377 + ;;
19378 + sunos4*)
19379 + case $cc_basename in
19380 + CC*)
19381 + # Sun C++ 4.x
19382 + # FIXME: insert proper C++ library support
19383 + ld_shlibs_CXX=no
19384 + ;;
19385 + lcc*)
19386 + # Lucid
19387 + # FIXME: insert proper C++ library support
19388 + ld_shlibs_CXX=no
19389 + ;;
19390 + *)
19391 + # FIXME: insert proper C++ library support
19392 + ld_shlibs_CXX=no
19393 + ;;
19394 + esac
19395 + ;;
19396 + solaris*)
19397 + case $cc_basename in
19398 + CC*)
19399 + # Sun C++ 4.2, 5.x and Centerline C++
19400 + archive_cmds_need_lc_CXX=yes
19401 + no_undefined_flag_CXX=' -zdefs'
19402 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19403 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19404 + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19405 +
19406 + hardcode_libdir_flag_spec_CXX='-R$libdir'
19407 + hardcode_shlibpath_var_CXX=no
19408 + case $host_os in
19409 + solaris2.[0-5] | solaris2.[0-5].*) ;;
19410 + *)
19411 + # The C++ compiler is used as linker so we must use $wl
19412 + # flag to pass the commands to the underlying system
19413 + # linker. We must also pass each convience library through
19414 + # to the system linker between allextract/defaultextract.
19415 + # The C++ compiler will combine linker options so we
19416 + # cannot just pass the convience library names through
19417 + # without $wl.
19418 + # Supported since Solaris 2.6 (maybe 2.5.1?)
19419 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
19420 + ;;
19421 + esac
19422 + link_all_deplibs_CXX=yes
19423 +
19424 + output_verbose_link_cmd='echo'
19425 +
19426 + # Archives containing C++ object files must be created using
19427 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
19428 + # necessary to make sure instantiated templates are included
19429 + # in the archive.
19430 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19431 + ;;
19432 + gcx*)
19433 + # Green Hills C++ Compiler
19434 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19435 +
19436 + # The C++ compiler must be used to create the archive.
19437 + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19438 + ;;
19439 + *)
19440 + # GNU C++ compiler with Solaris linker
19441 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19442 + no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19443 + if $CC --version | grep -v '^2\.7' > /dev/null; then
19444 + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19445 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19446 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19447 +
19448 + # Commands to make compiler produce verbose output that lists
19449 + # what "hidden" libraries, object files and flags are used when
19450 + # linking a shared library.
19451 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19452 + else
19453 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
19454 + # platform.
19455 + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19456 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19457 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19458 +
19459 + # Commands to make compiler produce verbose output that lists
19460 + # what "hidden" libraries, object files and flags are used when
19461 + # linking a shared library.
19462 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19463 + fi
19464 +
19465 + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19466 + fi
19467 + ;;
19468 + esac
19469 + ;;
19470 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19471 + no_undefined_flag_CXX='${wl}-z,text'
19472 + archive_cmds_need_lc_CXX=no
19473 + hardcode_shlibpath_var_CXX=no
19474 + runpath_var='LD_RUN_PATH'
19475 +
19476 + case $cc_basename in
19477 + CC*)
19478 + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19479 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19480 + ;;
19481 + *)
19482 + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19483 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19484 + ;;
19485 + esac
19486 + ;;
19487 + sysv5* | sco3.2v5* | sco5v6*)
19488 + # Note: We can NOT use -z defs as we might desire, because we do not
19489 + # link with -lc, and that would cause any symbols used from libc to
19490 + # always be unresolved, which means just about no library would
19491 + # ever link correctly. If we're not using GNU ld we use -z text
19492 + # though, which does catch some bad symbols but isn't as heavy-handed
19493 + # as -z defs.
19494 + # For security reasons, it is highly recommended that you always
19495 + # use absolute paths for naming shared libraries, and exclude the
19496 + # DT_RUNPATH tag from executables and libraries. But doing so
19497 + # requires that you compile everything twice, which is a pain.
19498 + # So that behaviour is only enabled if SCOABSPATH is set to a
19499 + # non-empty value in the environment. Most likely only useful for
19500 + # creating official distributions of packages.
19501 + # This is a hack until libtool officially supports absolute path
19502 + # names for shared libraries.
19503 + no_undefined_flag_CXX='${wl}-z,text'
19504 + allow_undefined_flag_CXX='${wl}-z,nodefs'
19505 + archive_cmds_need_lc_CXX=no
19506 + hardcode_shlibpath_var_CXX=no
19507 + hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19508 + hardcode_libdir_separator_CXX=':'
19509 + link_all_deplibs_CXX=yes
19510 + export_dynamic_flag_spec_CXX='${wl}-Bexport'
19511 + runpath_var='LD_RUN_PATH'
19512 +
19513 + case $cc_basename in
19514 + CC*)
19515 + archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19516 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19517 + ;;
19518 + *)
19519 + archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19520 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19521 + ;;
19522 + esac
19523 + ;;
19524 + tandem*)
19525 + case $cc_basename in
19526 + NCC*)
19527 + # NonStop-UX NCC 3.20
19528 + # FIXME: insert proper C++ library support
19529 + ld_shlibs_CXX=no
19530 + ;;
19531 + *)
19532 + # FIXME: insert proper C++ library support
19533 + ld_shlibs_CXX=no
19534 + ;;
19535 + esac
19536 + ;;
19537 + vxworks*)
19538 + # FIXME: insert proper C++ library support
19539 + ld_shlibs_CXX=no
19540 + ;;
19541 + *)
19542 + # FIXME: insert proper C++ library support
19543 + ld_shlibs_CXX=no
19544 + ;;
19545 +esac
19546 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19547 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19548 +test "$ld_shlibs_CXX" = no && can_build_shared=no
19549 +
19550 +GCC_CXX="$GXX"
19551 +LD_CXX="$LD"
19552 +
19553 +
19554 +cat > conftest.$ac_ext <<EOF
19555 +class Foo
19556 +{
19557 +public:
19558 + Foo (void) { a = 0; }
19559 +private:
19560 + int a;
19561 +};
19562 +EOF
19563 +
19564 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19565 + (eval $ac_compile) 2>&5
19566 + ac_status=$?
19567 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 + (exit $ac_status); }; then
19569 + # Parse the compiler output and extract the necessary
19570 + # objects, libraries and library flags.
19571 +
19572 + # Sentinel used to keep track of whether or not we are before
19573 + # the conftest object file.
19574 + pre_test_object_deps_done=no
19575 +
19576 + # The `*' in the case matches for architectures that use `case' in
19577 + # $output_verbose_cmd can trigger glob expansion during the loop
19578 + # eval without this substitution.
19579 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19580 +
19581 + for p in `eval $output_verbose_link_cmd`; do
19582 + case $p in
19583 +
19584 + -L* | -R* | -l*)
19585 + # Some compilers place space between "-{L,R}" and the path.
19586 + # Remove the space.
19587 + if test $p = "-L" \
19588 + || test $p = "-R"; then
19589 + prev=$p
19590 + continue
19591 + else
19592 + prev=
19593 + fi
19594 +
19595 + if test "$pre_test_object_deps_done" = no; then
19596 + case $p in
19597 + -L* | -R*)
19598 + # Internal compiler library paths should come after those
19599 + # provided the user. The postdeps already come after the
19600 + # user supplied libs so there is no need to process them.
19601 + if test -z "$compiler_lib_search_path_CXX"; then
19602 + compiler_lib_search_path_CXX="${prev}${p}"
19603 + else
19604 + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19605 + fi
19606 + ;;
19607 + # The "-l" case would never come before the object being
19608 + # linked, so don't bother handling this case.
19609 + esac
19610 + else
19611 + if test -z "$postdeps_CXX"; then
19612 + postdeps_CXX="${prev}${p}"
19613 + else
19614 + postdeps_CXX="${postdeps_CXX} ${prev}${p}"
19615 + fi
19616 + fi
19617 + ;;
19618 +
19619 + *.$objext)
19620 + # This assumes that the test object file only shows up
19621 + # once in the compiler output.
19622 + if test "$p" = "conftest.$objext"; then
19623 + pre_test_object_deps_done=yes
19624 + continue
19625 + fi
19626 +
19627 + if test "$pre_test_object_deps_done" = no; then
19628 + if test -z "$predep_objects_CXX"; then
19629 + predep_objects_CXX="$p"
19630 + else
19631 + predep_objects_CXX="$predep_objects_CXX $p"
19632 + fi
19633 + else
19634 + if test -z "$postdep_objects_CXX"; then
19635 + postdep_objects_CXX="$p"
19636 + else
19637 + postdep_objects_CXX="$postdep_objects_CXX $p"
19638 + fi
19639 + fi
19640 + ;;
19641 +
19642 + *) ;; # Ignore the rest.
19643 +
19644 + esac
19645 + done
19646 +
19647 + # Clean up.
19648 + rm -f a.out a.exe
19649 +else
19650 + echo "libtool.m4: error: problem compiling CXX test program"
19651 +fi
19652 +
19653 +$rm -f confest.$objext
19654 +
19655 +# PORTME: override above test on systems where it is broken
19656 +case $host_os in
19657 +interix3*)
19658 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
19659 + # hack all around it, let's just trust "g++" to DTRT.
19660 + predep_objects_CXX=
19661 + postdep_objects_CXX=
19662 + postdeps_CXX=
19663 + ;;
19664 +
19665 +solaris*)
19666 + case $cc_basename in
19667 + CC*)
19668 + # Adding this requires a known-good setup of shared libraries for
19669 + # Sun compiler versions before 5.6, else PIC objects from an old
19670 + # archive will be linked into the output, leading to subtle bugs.
19671 + postdeps_CXX='-lCstd -lCrun'
19672 + ;;
19673 + esac
19674 + ;;
19675 +esac
19676 +
19677 +
19678 +case " $postdeps_CXX " in
19679 +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
19680 +esac
19681 +
19682 +lt_prog_compiler_wl_CXX=
19683 +lt_prog_compiler_pic_CXX=
19684 +lt_prog_compiler_static_CXX=
19685 +
19686 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19687 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19688 +
19689 + # C++ specific cases for pic, static, wl, etc.
19690 + if test "$GXX" = yes; then
19691 + lt_prog_compiler_wl_CXX='-Wl,'
19692 + lt_prog_compiler_static_CXX='-static'
19693 +
19694 + case $host_os in
19695 + aix*)
19696 + # All AIX code is PIC.
19697 + if test "$host_cpu" = ia64; then
19698 + # AIX 5 now supports IA64 processor
19699 + lt_prog_compiler_static_CXX='-Bstatic'
19700 + fi
19701 + ;;
19702 + amigaos*)
19703 + # FIXME: we need at least 68020 code to build shared libraries, but
19704 + # adding the `-m68020' flag to GCC prevents building anything better,
19705 + # like `-m68040'.
19706 + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19707 + ;;
19708 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19709 + # PIC is the default for these OSes.
19710 + ;;
19711 + mingw* | os2* | pw32*)
19712 + # This hack is so that the source file can tell whether it is being
19713 + # built for inclusion in a dll (and should export symbols for example).
19714 + lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19715 + ;;
19716 + darwin* | rhapsody*)
19717 + # PIC is the default on this platform
19718 + # Common symbols not allowed in MH_DYLIB files
19719 + lt_prog_compiler_pic_CXX='-fno-common'
19720 + ;;
19721 + *djgpp*)
19722 + # DJGPP does not support shared libraries at all
19723 + lt_prog_compiler_pic_CXX=
19724 + ;;
19725 + interix3*)
19726 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19727 + # Instead, we relocate shared libraries at runtime.
19728 + ;;
19729 + sysv4*MP*)
19730 + if test -d /usr/nec; then
19731 + lt_prog_compiler_pic_CXX=-Kconform_pic
19732 + fi
19733 + ;;
19734 + hpux*)
19735 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19736 + # not for PA HP-UX.
19737 + case $host_cpu in
19738 + hppa*64*|ia64*)
19739 + ;;
19740 + *)
19741 + lt_prog_compiler_pic_CXX='-fPIC'
19742 + ;;
19743 + esac
19744 + ;;
19745 + *)
19746 + lt_prog_compiler_pic_CXX='-fPIC'
19747 + ;;
19748 + esac
19749 + else
19750 + case $host_os in
19751 + aix4* | aix5*)
19752 + # All AIX code is PIC.
19753 + if test "$host_cpu" = ia64; then
19754 + # AIX 5 now supports IA64 processor
19755 + lt_prog_compiler_static_CXX='-Bstatic'
19756 + else
19757 + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19758 + fi
19759 + ;;
19760 + chorus*)
19761 + case $cc_basename in
19762 + cxch68*)
19763 + # Green Hills C++ Compiler
19764 + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
19765 + ;;
19766 + esac
19767 + ;;
19768 + darwin*)
19769 + # PIC is the default on this platform
19770 + # Common symbols not allowed in MH_DYLIB files
19771 + case $cc_basename in
19772 + xlc*)
19773 + lt_prog_compiler_pic_CXX='-qnocommon'
19774 + lt_prog_compiler_wl_CXX='-Wl,'
19775 + ;;
19776 + esac
19777 + ;;
19778 + dgux*)
19779 + case $cc_basename in
19780 + ec++*)
19781 + lt_prog_compiler_pic_CXX='-KPIC'
19782 + ;;
19783 + ghcx*)
19784 + # Green Hills C++ Compiler
19785 + lt_prog_compiler_pic_CXX='-pic'
19786 + ;;
19787 + *)
19788 + ;;
19789 + esac
19790 + ;;
19791 + freebsd* | dragonfly*)
19792 + # FreeBSD uses GNU C++
19793 + ;;
19794 + hpux9* | hpux10* | hpux11*)
19795 + case $cc_basename in
19796 + CC*)
19797 + lt_prog_compiler_wl_CXX='-Wl,'
19798 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19799 + if test "$host_cpu" != ia64; then
19800 + lt_prog_compiler_pic_CXX='+Z'
19801 + fi
19802 + ;;
19803 + aCC*)
19804 + lt_prog_compiler_wl_CXX='-Wl,'
19805 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19806 + case $host_cpu in
19807 + hppa*64*|ia64*)
19808 + # +Z the default
19809 + ;;
19810 + *)
19811 + lt_prog_compiler_pic_CXX='+Z'
19812 + ;;
19813 + esac
19814 + ;;
19815 + *)
19816 + ;;
19817 + esac
19818 + ;;
19819 + interix*)
19820 + # This is c89, which is MS Visual C++ (no shared libs)
19821 + # Anyone wants to do a port?
19822 + ;;
19823 + irix5* | irix6* | nonstopux*)
19824 + case $cc_basename in
19825 + CC*)
19826 + lt_prog_compiler_wl_CXX='-Wl,'
19827 + lt_prog_compiler_static_CXX='-non_shared'
19828 + # CC pic flag -KPIC is the default.
19829 + ;;
19830 + *)
19831 + ;;
19832 + esac
19833 + ;;
19834 + linux* | k*bsd*-gnu)
19835 + case $cc_basename in
19836 + KCC*)
19837 + # KAI C++ Compiler
19838 + lt_prog_compiler_wl_CXX='--backend -Wl,'
19839 + lt_prog_compiler_pic_CXX='-fPIC'
19840 + ;;
19841 + icpc* | ecpc*)
19842 + # Intel C++
19843 + lt_prog_compiler_wl_CXX='-Wl,'
19844 + lt_prog_compiler_pic_CXX='-KPIC'
19845 + lt_prog_compiler_static_CXX='-static'
19846 + ;;
19847 + pgCC*)
19848 + # Portland Group C++ compiler.
19849 + lt_prog_compiler_wl_CXX='-Wl,'
19850 + lt_prog_compiler_pic_CXX='-fpic'
19851 + lt_prog_compiler_static_CXX='-Bstatic'
19852 + ;;
19853 + cxx*)
19854 + # Compaq C++
19855 + # Make sure the PIC flag is empty. It appears that all Alpha
19856 + # Linux and Compaq Tru64 Unix objects are PIC.
19857 + lt_prog_compiler_pic_CXX=
19858 + lt_prog_compiler_static_CXX='-non_shared'
19859 + ;;
19860 + *)
19861 + ;;
19862 + esac
19863 + ;;
19864 + lynxos*)
19865 + ;;
19866 + m88k*)
19867 + ;;
19868 + mvs*)
19869 + case $cc_basename in
19870 + cxx*)
19871 + lt_prog_compiler_pic_CXX='-W c,exportall'
19872 + ;;
19873 + *)
19874 + ;;
19875 + esac
19876 + ;;
19877 + netbsd* | netbsdelf*-gnu)
19878 + ;;
19879 + osf3* | osf4* | osf5*)
19880 + case $cc_basename in
19881 + KCC*)
19882 + lt_prog_compiler_wl_CXX='--backend -Wl,'
19883 + ;;
19884 + RCC*)
19885 + # Rational C++ 2.4.1
19886 + lt_prog_compiler_pic_CXX='-pic'
19887 + ;;
19888 + cxx*)
19889 + # Digital/Compaq C++
19890 + lt_prog_compiler_wl_CXX='-Wl,'
19891 + # Make sure the PIC flag is empty. It appears that all Alpha
19892 + # Linux and Compaq Tru64 Unix objects are PIC.
19893 + lt_prog_compiler_pic_CXX=
19894 + lt_prog_compiler_static_CXX='-non_shared'
19895 + ;;
19896 + *)
19897 + ;;
19898 + esac
19899 + ;;
19900 + psos*)
19901 + ;;
19902 + solaris*)
19903 + case $cc_basename in
19904 + CC*)
19905 + # Sun C++ 4.2, 5.x and Centerline C++
19906 + lt_prog_compiler_pic_CXX='-KPIC'
19907 + lt_prog_compiler_static_CXX='-Bstatic'
19908 + lt_prog_compiler_wl_CXX='-Qoption ld '
19909 + ;;
19910 + gcx*)
19911 + # Green Hills C++ Compiler
19912 + lt_prog_compiler_pic_CXX='-PIC'
19913 + ;;
19914 + *)
19915 + ;;
19916 + esac
19917 + ;;
19918 + sunos4*)
19919 + case $cc_basename in
19920 + CC*)
19921 + # Sun C++ 4.x
19922 + lt_prog_compiler_pic_CXX='-pic'
19923 + lt_prog_compiler_static_CXX='-Bstatic'
19924 + ;;
19925 + lcc*)
19926 + # Lucid
19927 + lt_prog_compiler_pic_CXX='-pic'
19928 + ;;
19929 + *)
19930 + ;;
19931 + esac
19932 + ;;
19933 + tandem*)
19934 + case $cc_basename in
19935 + NCC*)
19936 + # NonStop-UX NCC 3.20
19937 + lt_prog_compiler_pic_CXX='-KPIC'
19938 + ;;
19939 + *)
19940 + ;;
19941 + esac
19942 + ;;
19943 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19944 + case $cc_basename in
19945 + CC*)
19946 + lt_prog_compiler_wl_CXX='-Wl,'
19947 + lt_prog_compiler_pic_CXX='-KPIC'
19948 + lt_prog_compiler_static_CXX='-Bstatic'
19949 + ;;
19950 + esac
19951 + ;;
19952 + vxworks*)
19953 + ;;
19954 + *)
19955 + lt_prog_compiler_can_build_shared_CXX=no
19956 + ;;
19957 + esac
19958 + fi
19959 +
19960 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19961 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19962 +
19963 +#
19964 +# Check to make sure the PIC flag actually works.
19965 +#
19966 +if test -n "$lt_prog_compiler_pic_CXX"; then
19967 +
19968 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19969 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19970 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19971 + echo $ECHO_N "(cached) $ECHO_C" >&6
19972 +else
19973 + lt_prog_compiler_pic_works_CXX=no
19974 + ac_outfile=conftest.$ac_objext
19975 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19976 + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19977 + # Insert the option either (1) after the last *FLAGS variable, or
19978 + # (2) before a word containing "conftest.", or (3) at the end.
19979 + # Note that $ac_compile itself does not contain backslashes and begins
19980 + # with a dollar sign (not a hyphen), so the echo should work correctly.
19981 + # The option is referenced via a variable to avoid confusing sed.
19982 + lt_compile=`echo "$ac_compile" | $SED \
19983 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19984 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19985 + -e 's:$: $lt_compiler_flag:'`
19986 + (eval echo "\"\$as_me:12517: $lt_compile\"" >&5)
19987 + (eval "$lt_compile" 2>conftest.err)
19988 + ac_status=$?
19989 + cat conftest.err >&5
19990 + echo "$as_me:12521: \$? = $ac_status" >&5
19991 + if (exit $ac_status) && test -s "$ac_outfile"; then
19992 + # The compiler can only warn and ignore the option if not recognized
19993 + # So say no if there are warnings other than the usual output.
19994 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19995 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19996 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19997 + lt_prog_compiler_pic_works_CXX=yes
19998 + fi
19999 + fi
20000 + $rm conftest*
20001 +
20002 +fi
20003 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
20004 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
20005 +
20006 +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
20007 + case $lt_prog_compiler_pic_CXX in
20008 + "" | " "*) ;;
20009 + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
20010 + esac
20011 +else
20012 + lt_prog_compiler_pic_CXX=
20013 + lt_prog_compiler_can_build_shared_CXX=no
20014 +fi
20015 +
20016 +fi
20017 +case $host_os in
20018 + # For platforms which do not support PIC, -DPIC is meaningless:
20019 + *djgpp*)
20020 + lt_prog_compiler_pic_CXX=
20021 + ;;
20022 + *)
20023 + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
20024 + ;;
20025 +esac
20026 +
20027 +#
20028 +# Check to make sure the static flag actually works.
20029 +#
20030 +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
20031 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20032 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
20033 +if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
20034 + echo $ECHO_N "(cached) $ECHO_C" >&6
20035 +else
20036 + lt_prog_compiler_static_works_CXX=no
20037 + save_LDFLAGS="$LDFLAGS"
20038 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20039 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
20040 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20041 + # The linker can only warn and ignore the option if not recognized
20042 + # So say no if there are warnings
20043 + if test -s conftest.err; then
20044 + # Append any errors to the config.log.
20045 + cat conftest.err 1>&5
20046 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
20047 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20048 + if diff conftest.exp conftest.er2 >/dev/null; then
20049 + lt_prog_compiler_static_works_CXX=yes
20050 + fi
20051 + else
20052 + lt_prog_compiler_static_works_CXX=yes
20053 + fi
20054 + fi
20055 + $rm conftest*
20056 + LDFLAGS="$save_LDFLAGS"
20057 +
20058 +fi
20059 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
20060 +echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
20061 +
20062 +if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
20063 + :
20064 +else
20065 + lt_prog_compiler_static_CXX=
20066 +fi
20067 +
20068 +
20069 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20070 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
20071 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
20072 + echo $ECHO_N "(cached) $ECHO_C" >&6
20073 +else
20074 + lt_cv_prog_compiler_c_o_CXX=no
20075 + $rm -r conftest 2>/dev/null
20076 + mkdir conftest
20077 + cd conftest
20078 + mkdir out
20079 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20080 +
20081 + lt_compiler_flag="-o out/conftest2.$ac_objext"
20082 + # Insert the option either (1) after the last *FLAGS variable, or
20083 + # (2) before a word containing "conftest.", or (3) at the end.
20084 + # Note that $ac_compile itself does not contain backslashes and begins
20085 + # with a dollar sign (not a hyphen), so the echo should work correctly.
20086 + lt_compile=`echo "$ac_compile" | $SED \
20087 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20088 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20089 + -e 's:$: $lt_compiler_flag:'`
20090 + (eval echo "\"\$as_me:12621: $lt_compile\"" >&5)
20091 + (eval "$lt_compile" 2>out/conftest.err)
20092 + ac_status=$?
20093 + cat out/conftest.err >&5
20094 + echo "$as_me:12625: \$? = $ac_status" >&5
20095 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
20096 + then
20097 + # The compiler can only warn and ignore the option if not recognized
20098 + # So say no if there are warnings
20099 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
20100 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20101 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20102 + lt_cv_prog_compiler_c_o_CXX=yes
20103 + fi
20104 + fi
20105 + chmod u+w . 2>&5
20106 + $rm conftest*
20107 + # SGI C++ compiler will create directory out/ii_files/ for
20108 + # template instantiation
20109 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
20110 + $rm out/* && rmdir out
20111 + cd ..
20112 + rmdir conftest
20113 + $rm conftest*
20114 +
20115 +fi
20116 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20117 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
20118 +
20119 +
20120 +hard_links="nottested"
20121 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
20122 + # do not overwrite the value of need_locks provided by the user
20123 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20124 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
20125 + hard_links=yes
20126 + $rm conftest*
20127 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
20128 + touch conftest.a
20129 + ln conftest.a conftest.b 2>&5 || hard_links=no
20130 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
20131 + { echo "$as_me:$LINENO: result: $hard_links" >&5
20132 +echo "${ECHO_T}$hard_links" >&6; }
20133 + if test "$hard_links" = no; then
20134 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20135 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20136 + need_locks=warn
20137 + fi
20138 +else
20139 + need_locks=no
20140 +fi
20141 +
20142 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20143 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
20144 +
20145 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20146 + case $host_os in
20147 + aix4* | aix5*)
20148 + # If we're using GNU nm, then we don't want the "-C" option.
20149 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
20150 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20151 + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
20152 + else
20153 + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
20154 + fi
20155 + ;;
20156 + pw32*)
20157 + export_symbols_cmds_CXX="$ltdll_cmds"
20158 + ;;
20159 + cygwin* | mingw*)
20160 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
20161 + ;;
20162 + linux* | k*bsd*-gnu)
20163 + link_all_deplibs_CXX=no
20164 + ;;
20165 + *)
20166 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20167 + ;;
20168 + esac
20169 +
20170 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
20171 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
20172 +test "$ld_shlibs_CXX" = no && can_build_shared=no
20173 +
20174 +#
20175 +# Do we need to explicitly link libc?
20176 +#
20177 +case "x$archive_cmds_need_lc_CXX" in
20178 +x|xyes)
20179 + # Assume -lc should be added
20180 + archive_cmds_need_lc_CXX=yes
20181 +
20182 + if test "$enable_shared" = yes && test "$GCC" = yes; then
20183 + case $archive_cmds_CXX in
20184 + *'~'*)
20185 + # FIXME: we may have to deal with multi-command sequences.
20186 + ;;
20187 + '$CC '*)
20188 + # Test whether the compiler implicitly links with -lc since on some
20189 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
20190 + # to ld, don't add -lc before -lgcc.
20191 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20192 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20193 + $rm conftest*
20194 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20195 +
20196 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20197 + (eval $ac_compile) 2>&5
20198 + ac_status=$?
20199 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 + (exit $ac_status); } 2>conftest.err; then
20201 + soname=conftest
20202 + lib=conftest
20203 + libobjs=conftest.$ac_objext
20204 + deplibs=
20205 + wl=$lt_prog_compiler_wl_CXX
20206 + pic_flag=$lt_prog_compiler_pic_CXX
20207 + compiler_flags=-v
20208 + linker_flags=-v
20209 + verstring=
20210 + output_objdir=.
20211 + libname=conftest
20212 + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20213 + allow_undefined_flag_CXX=
20214 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20215 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20216 + ac_status=$?
20217 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 + (exit $ac_status); }
20219 + then
20220 + archive_cmds_need_lc_CXX=no
20221 + else
20222 + archive_cmds_need_lc_CXX=yes
20223 + fi
20224 + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20225 + else
20226 + cat conftest.err 1>&5
20227 + fi
20228 + $rm conftest*
20229 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
20230 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
20231 + ;;
20232 + esac
20233 + fi
20234 + ;;
20235 +esac
20236 +
20237 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20238 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20239 +library_names_spec=
20240 +libname_spec='lib$name'
20241 +soname_spec=
20242 +shrext_cmds=".so"
20243 +postinstall_cmds=
20244 +postuninstall_cmds=
20245 +finish_cmds=
20246 +finish_eval=
20247 +shlibpath_var=
20248 +shlibpath_overrides_runpath=unknown
20249 +version_type=none
20250 +dynamic_linker="$host_os ld.so"
20251 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
20252 +if test "$GCC" = yes; then
20253 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20254 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
20255 + # if the path contains ";" then we assume it to be the separator
20256 + # otherwise default to the standard path separator (i.e. ":") - it is
20257 + # assumed that no part of a normal pathname contains ";" but that should
20258 + # okay in the real world where ";" in dirpaths is itself problematic.
20259 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20260 + else
20261 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20262 + fi
20263 +else
20264 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20265 +fi
20266 +need_lib_prefix=unknown
20267 +hardcode_into_libs=no
20268 +
20269 +# when you set need_version to no, make sure it does not cause -set_version
20270 +# flags to be left without arguments
20271 +need_version=unknown
20272 +
20273 +case $host_os in
20274 +aix3*)
20275 + version_type=linux
20276 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20277 + shlibpath_var=LIBPATH
20278 +
20279 + # AIX 3 has no versioning support, so we append a major version to the name.
20280 + soname_spec='${libname}${release}${shared_ext}$major'
20281 + ;;
20282 +
20283 +aix4* | aix5*)
20284 + version_type=linux
20285 + need_lib_prefix=no
20286 + need_version=no
20287 + hardcode_into_libs=yes
20288 + if test "$host_cpu" = ia64; then
20289 + # AIX 5 supports IA64
20290 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20291 + shlibpath_var=LD_LIBRARY_PATH
20292 + else
20293 + # With GCC up to 2.95.x, collect2 would create an import file
20294 + # for dependence libraries. The import file would start with
20295 + # the line `#! .'. This would cause the generated library to
20296 + # depend on `.', always an invalid library. This was fixed in
20297 + # development snapshots of GCC prior to 3.0.
20298 + case $host_os in
20299 + aix4 | aix4.[01] | aix4.[01].*)
20300 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20301 + echo ' yes '
20302 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20303 + :
20304 + else
20305 + can_build_shared=no
20306 + fi
20307 + ;;
20308 + esac
20309 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20310 + # soname into executable. Probably we can add versioning support to
20311 + # collect2, so additional links can be useful in future.
20312 + if test "$aix_use_runtimelinking" = yes; then
20313 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20314 + # instead of lib<name>.a to let people know that these are not
20315 + # typical AIX shared libraries.
20316 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20317 + else
20318 + # We preserve .a as extension for shared libraries through AIX4.2
20319 + # and later when we are not doing run time linking.
20320 + library_names_spec='${libname}${release}.a $libname.a'
20321 + soname_spec='${libname}${release}${shared_ext}$major'
20322 + fi
20323 + shlibpath_var=LIBPATH
20324 + fi
20325 + ;;
20326 +
20327 +amigaos*)
20328 + library_names_spec='$libname.ixlibrary $libname.a'
20329 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
20330 + 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'
20331 + ;;
20332 +
20333 +beos*)
20334 + library_names_spec='${libname}${shared_ext}'
20335 + dynamic_linker="$host_os ld.so"
20336 + shlibpath_var=LIBRARY_PATH
20337 + ;;
20338 +
20339 +bsdi[45]*)
20340 + version_type=linux
20341 + need_version=no
20342 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20343 + soname_spec='${libname}${release}${shared_ext}$major'
20344 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20345 + shlibpath_var=LD_LIBRARY_PATH
20346 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20347 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20348 + # the default ld.so.conf also contains /usr/contrib/lib and
20349 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20350 + # libtool to hard-code these into programs
20351 + ;;
20352 +
20353 +cygwin* | mingw* | pw32*)
20354 + version_type=windows
20355 + shrext_cmds=".dll"
20356 + need_version=no
20357 + need_lib_prefix=no
20358 +
20359 + case $GCC,$host_os in
20360 + yes,cygwin* | yes,mingw* | yes,pw32*)
20361 + library_names_spec='$libname.dll.a'
20362 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
20363 + postinstall_cmds='base_file=`basename \${file}`~
20364 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20365 + dldir=$destdir/`dirname \$dlpath`~
20366 + test -d \$dldir || mkdir -p \$dldir~
20367 + $install_prog $dir/$dlname \$dldir/$dlname~
20368 + chmod a+x \$dldir/$dlname'
20369 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20370 + dlpath=$dir/\$dldll~
20371 + $rm \$dlpath'
20372 + shlibpath_overrides_runpath=yes
20373 +
20374 + case $host_os in
20375 + cygwin*)
20376 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20377 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20378 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20379 + ;;
20380 + mingw*)
20381 + # MinGW DLLs use traditional 'lib' prefix
20382 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20383 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20384 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20385 + # It is most probably a Windows format PATH printed by
20386 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
20387 + # path with ; separators, and with drive letters. We can handle the
20388 + # drive letters (cygwin fileutils understands them), so leave them,
20389 + # especially as we might pass files found there to a mingw objdump,
20390 + # which wouldn't understand a cygwinified path. Ahh.
20391 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20392 + else
20393 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20394 + fi
20395 + ;;
20396 + pw32*)
20397 + # pw32 DLLs use 'pw' prefix rather than 'lib'
20398 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20399 + ;;
20400 + esac
20401 + ;;
20402 +
20403 + *)
20404 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20405 + ;;
20406 + esac
20407 + dynamic_linker='Win32 ld.exe'
20408 + # FIXME: first we should search . and the directory the executable is in
20409 + shlibpath_var=PATH
20410 + ;;
20411 +
20412 +darwin* | rhapsody*)
20413 + dynamic_linker="$host_os dyld"
20414 + version_type=darwin
20415 + need_lib_prefix=no
20416 + need_version=no
20417 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20418 + soname_spec='${libname}${release}${major}$shared_ext'
20419 + shlibpath_overrides_runpath=yes
20420 + shlibpath_var=DYLD_LIBRARY_PATH
20421 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20422 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20423 + if test "$GCC" = yes; then
20424 + 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"`
20425 + else
20426 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20427 + fi
20428 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20429 + ;;
20430 +
20431 +dgux*)
20432 + version_type=linux
20433 + need_lib_prefix=no
20434 + need_version=no
20435 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20436 + soname_spec='${libname}${release}${shared_ext}$major'
20437 + shlibpath_var=LD_LIBRARY_PATH
20438 + ;;
20439 +
20440 +freebsd1*)
20441 + dynamic_linker=no
20442 + ;;
20443 +
20444 +freebsd* | dragonfly*)
20445 + # DragonFly does not have aout. When/if they implement a new
20446 + # versioning mechanism, adjust this.
20447 + if test -x /usr/bin/objformat; then
20448 + objformat=`/usr/bin/objformat`
20449 + else
20450 + case $host_os in
20451 + freebsd[123]*) objformat=aout ;;
20452 + *) objformat=elf ;;
20453 + esac
20454 + fi
20455 + version_type=freebsd-$objformat
20456 + case $version_type in
20457 + freebsd-elf*)
20458 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20459 + need_version=no
20460 + need_lib_prefix=no
20461 + ;;
20462 + freebsd-*)
20463 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20464 + need_version=yes
20465 + ;;
20466 + esac
20467 + shlibpath_var=LD_LIBRARY_PATH
20468 + case $host_os in
20469 + freebsd2*)
20470 + shlibpath_overrides_runpath=yes
20471 + ;;
20472 + freebsd3.[01]* | freebsdelf3.[01]*)
20473 + shlibpath_overrides_runpath=yes
20474 + hardcode_into_libs=yes
20475 + ;;
20476 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20477 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20478 + shlibpath_overrides_runpath=no
20479 + hardcode_into_libs=yes
20480 + ;;
20481 + freebsd*) # from 4.6 on
20482 + shlibpath_overrides_runpath=yes
20483 + hardcode_into_libs=yes
20484 + ;;
20485 + esac
20486 + ;;
20487 +
20488 +gnu*)
20489 + version_type=linux
20490 + need_lib_prefix=no
20491 + need_version=no
20492 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20493 + soname_spec='${libname}${release}${shared_ext}$major'
20494 + shlibpath_var=LD_LIBRARY_PATH
20495 + hardcode_into_libs=yes
20496 + ;;
20497 +
20498 +hpux9* | hpux10* | hpux11*)
20499 + # Give a soname corresponding to the major version so that dld.sl refuses to
20500 + # link against other versions.
20501 + version_type=sunos
20502 + need_lib_prefix=no
20503 + need_version=no
20504 + case $host_cpu in
20505 + ia64*)
20506 + shrext_cmds='.so'
20507 + hardcode_into_libs=yes
20508 + dynamic_linker="$host_os dld.so"
20509 + shlibpath_var=LD_LIBRARY_PATH
20510 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20511 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20512 + soname_spec='${libname}${release}${shared_ext}$major'
20513 + if test "X$HPUX_IA64_MODE" = X32; then
20514 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20515 + else
20516 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20517 + fi
20518 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20519 + ;;
20520 + hppa*64*)
20521 + shrext_cmds='.sl'
20522 + hardcode_into_libs=yes
20523 + dynamic_linker="$host_os dld.sl"
20524 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20525 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20526 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20527 + soname_spec='${libname}${release}${shared_ext}$major'
20528 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20529 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20530 + ;;
20531 + *)
20532 + shrext_cmds='.sl'
20533 + dynamic_linker="$host_os dld.sl"
20534 + shlibpath_var=SHLIB_PATH
20535 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20536 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20537 + soname_spec='${libname}${release}${shared_ext}$major'
20538 + ;;
20539 + esac
20540 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
20541 + postinstall_cmds='chmod 555 $lib'
20542 + ;;
20543 +
20544 +interix3*)
20545 + version_type=linux
20546 + need_lib_prefix=no
20547 + need_version=no
20548 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20549 + soname_spec='${libname}${release}${shared_ext}$major'
20550 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20551 + shlibpath_var=LD_LIBRARY_PATH
20552 + shlibpath_overrides_runpath=no
20553 + hardcode_into_libs=yes
20554 + ;;
20555 +
20556 +irix5* | irix6* | nonstopux*)
20557 + case $host_os in
20558 + nonstopux*) version_type=nonstopux ;;
20559 + *)
20560 + if test "$lt_cv_prog_gnu_ld" = yes; then
20561 + version_type=linux
20562 + else
20563 + version_type=irix
20564 + fi ;;
20565 + esac
20566 + need_lib_prefix=no
20567 + need_version=no
20568 + soname_spec='${libname}${release}${shared_ext}$major'
20569 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20570 + case $host_os in
20571 + irix5* | nonstopux*)
20572 + libsuff= shlibsuff=
20573 + ;;
20574 + *)
20575 + case $LD in # libtool.m4 will add one of these switches to LD
20576 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20577 + libsuff= shlibsuff= libmagic=32-bit;;
20578 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20579 + libsuff=32 shlibsuff=N32 libmagic=N32;;
20580 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20581 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
20582 + *) libsuff= shlibsuff= libmagic=never-match;;
20583 + esac
20584 + ;;
20585 + esac
20586 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20587 + shlibpath_overrides_runpath=no
20588 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20589 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20590 + hardcode_into_libs=yes
20591 + ;;
20592 +
20593 +# No shared lib support for Linux oldld, aout, or coff.
20594 +linux*oldld* | linux*aout* | linux*coff*)
20595 + dynamic_linker=no
20596 + ;;
20597 +
20598 +# This must be Linux ELF.
20599 +linux* | k*bsd*-gnu)
20600 + version_type=linux
20601 + need_lib_prefix=no
20602 + need_version=no
20603 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20604 + soname_spec='${libname}${release}${shared_ext}$major'
20605 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20606 + shlibpath_var=LD_LIBRARY_PATH
20607 + shlibpath_overrides_runpath=no
20608 + # This implies no fast_install, which is unacceptable.
20609 + # Some rework will be needed to allow for fast_install
20610 + # before this can be enabled.
20611 + hardcode_into_libs=yes
20612 +
20613 + # Append ld.so.conf contents to the search path
20614 + if test -f /etc/ld.so.conf; then
20615 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
20616 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20617 + fi
20618 +
20619 + # We used to test for /lib/ld.so.1 and disable shared libraries on
20620 + # powerpc, because MkLinux only supported shared libraries with the
20621 + # GNU dynamic linker. Since this was broken with cross compilers,
20622 + # most powerpc-linux boxes support dynamic linking these days and
20623 + # people can always --disable-shared, the test was removed, and we
20624 + # assume the GNU/Linux dynamic linker is in use.
20625 + dynamic_linker='GNU/Linux ld.so'
20626 + ;;
20627 +
20628 +netbsdelf*-gnu)
20629 + version_type=linux
20630 + need_lib_prefix=no
20631 + need_version=no
20632 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20633 + soname_spec='${libname}${release}${shared_ext}$major'
20634 + shlibpath_var=LD_LIBRARY_PATH
20635 + shlibpath_overrides_runpath=no
20636 + hardcode_into_libs=yes
20637 + dynamic_linker='NetBSD ld.elf_so'
20638 + ;;
20639 +
20640 +netbsd*)
20641 + version_type=sunos
20642 + need_lib_prefix=no
20643 + need_version=no
20644 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20645 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20646 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20647 + dynamic_linker='NetBSD (a.out) ld.so'
20648 + else
20649 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20650 + soname_spec='${libname}${release}${shared_ext}$major'
20651 + dynamic_linker='NetBSD ld.elf_so'
20652 + fi
20653 + shlibpath_var=LD_LIBRARY_PATH
20654 + shlibpath_overrides_runpath=yes
20655 + hardcode_into_libs=yes
20656 + ;;
20657 +
20658 +newsos6)
20659 + version_type=linux
20660 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20661 + shlibpath_var=LD_LIBRARY_PATH
20662 + shlibpath_overrides_runpath=yes
20663 + ;;
20664 +
20665 +nto-qnx*)
20666 + version_type=linux
20667 + need_lib_prefix=no
20668 + need_version=no
20669 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20670 + soname_spec='${libname}${release}${shared_ext}$major'
20671 + shlibpath_var=LD_LIBRARY_PATH
20672 + shlibpath_overrides_runpath=yes
20673 + ;;
20674 +
20675 +openbsd*)
20676 + version_type=sunos
20677 + sys_lib_dlsearch_path_spec="/usr/lib"
20678 + need_lib_prefix=no
20679 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20680 + case $host_os in
20681 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20682 + *) need_version=no ;;
20683 + esac
20684 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20685 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20686 + shlibpath_var=LD_LIBRARY_PATH
20687 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20688 + case $host_os in
20689 + openbsd2.[89] | openbsd2.[89].*)
20690 + shlibpath_overrides_runpath=no
20691 + ;;
20692 + *)
20693 + shlibpath_overrides_runpath=yes
20694 + ;;
20695 + esac
20696 + else
20697 + shlibpath_overrides_runpath=yes
20698 + fi
20699 + ;;
20700 +
20701 +os2*)
20702 + libname_spec='$name'
20703 + shrext_cmds=".dll"
20704 + need_lib_prefix=no
20705 + library_names_spec='$libname${shared_ext} $libname.a'
20706 + dynamic_linker='OS/2 ld.exe'
20707 + shlibpath_var=LIBPATH
20708 + ;;
20709 +
20710 +osf3* | osf4* | osf5*)
20711 + version_type=osf
20712 + need_lib_prefix=no
20713 + need_version=no
20714 + soname_spec='${libname}${release}${shared_ext}$major'
20715 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20716 + shlibpath_var=LD_LIBRARY_PATH
20717 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20718 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20719 + ;;
20720 +
20721 +solaris*)
20722 + version_type=linux
20723 + need_lib_prefix=no
20724 + need_version=no
20725 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20726 + soname_spec='${libname}${release}${shared_ext}$major'
20727 + shlibpath_var=LD_LIBRARY_PATH
20728 + shlibpath_overrides_runpath=yes
20729 + hardcode_into_libs=yes
20730 + # ldd complains unless libraries are executable
20731 + postinstall_cmds='chmod +x $lib'
20732 + ;;
20733 +
20734 +sunos4*)
20735 + version_type=sunos
20736 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20737 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20738 + shlibpath_var=LD_LIBRARY_PATH
20739 + shlibpath_overrides_runpath=yes
20740 + if test "$with_gnu_ld" = yes; then
20741 + need_lib_prefix=no
20742 + fi
20743 + need_version=yes
20744 + ;;
20745 +
20746 +sysv4 | sysv4.3*)
20747 + version_type=linux
20748 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20749 + soname_spec='${libname}${release}${shared_ext}$major'
20750 + shlibpath_var=LD_LIBRARY_PATH
20751 + case $host_vendor in
20752 + sni)
20753 + shlibpath_overrides_runpath=no
20754 + need_lib_prefix=no
20755 + export_dynamic_flag_spec='${wl}-Blargedynsym'
20756 + runpath_var=LD_RUN_PATH
20757 + ;;
20758 + siemens)
20759 + need_lib_prefix=no
20760 + ;;
20761 + motorola)
20762 + need_lib_prefix=no
20763 + need_version=no
20764 + shlibpath_overrides_runpath=no
20765 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20766 + ;;
20767 + esac
20768 + ;;
20769 +
20770 +sysv4*MP*)
20771 + if test -d /usr/nec ;then
20772 + version_type=linux
20773 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20774 + soname_spec='$libname${shared_ext}.$major'
20775 + shlibpath_var=LD_LIBRARY_PATH
20776 + fi
20777 + ;;
20778 +
20779 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20780 + version_type=freebsd-elf
20781 + need_lib_prefix=no
20782 + need_version=no
20783 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20784 + soname_spec='${libname}${release}${shared_ext}$major'
20785 + shlibpath_var=LD_LIBRARY_PATH
20786 + hardcode_into_libs=yes
20787 + if test "$with_gnu_ld" = yes; then
20788 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20789 + shlibpath_overrides_runpath=no
20790 + else
20791 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20792 + shlibpath_overrides_runpath=yes
20793 + case $host_os in
20794 + sco3.2v5*)
20795 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20796 + ;;
20797 + esac
20798 + fi
20799 + sys_lib_dlsearch_path_spec='/usr/lib'
20800 + ;;
20801 +
20802 +uts4*)
20803 + version_type=linux
20804 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20805 + soname_spec='${libname}${release}${shared_ext}$major'
20806 + shlibpath_var=LD_LIBRARY_PATH
20807 + ;;
20808 +
20809 +*)
20810 + dynamic_linker=no
20811 + ;;
20812 +esac
20813 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20814 +echo "${ECHO_T}$dynamic_linker" >&6; }
20815 +test "$dynamic_linker" = no && can_build_shared=no
20816 +
20817 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20818 +if test "$GCC" = yes; then
20819 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20820 +fi
20821 +
20822 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20823 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20824 +hardcode_action_CXX=
20825 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
20826 + test -n "$runpath_var_CXX" || \
20827 + test "X$hardcode_automatic_CXX" = "Xyes" ; then
20828 +
20829 + # We can hardcode non-existant directories.
20830 + if test "$hardcode_direct_CXX" != no &&
20831 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
20832 + # have to relink, otherwise we might link with an installed library
20833 + # when we should be linking with a yet-to-be-installed one
20834 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20835 + test "$hardcode_minus_L_CXX" != no; then
20836 + # Linking always hardcodes the temporary library directory.
20837 + hardcode_action_CXX=relink
20838 + else
20839 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
20840 + hardcode_action_CXX=immediate
20841 + fi
20842 +else
20843 + # We cannot hardcode anything, or else we can only hardcode existing
20844 + # directories.
20845 + hardcode_action_CXX=unsupported
20846 +fi
20847 +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20848 +echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20849 +
20850 +if test "$hardcode_action_CXX" = relink; then
20851 + # Fast installation is not supported
20852 + enable_fast_install=no
20853 +elif test "$shlibpath_overrides_runpath" = yes ||
20854 + test "$enable_shared" = no; then
20855 + # Fast installation is not necessary
20856 + enable_fast_install=needless
20857 +fi
20858 +
20859 +
20860 +# The else clause should only fire when bootstrapping the
20861 +# libtool distribution, otherwise you forgot to ship ltmain.sh
20862 +# with your package, and you will get complaints that there are
20863 +# no rules to generate ltmain.sh.
20864 +if test -f "$ltmain"; then
20865 + # See if we are running on zsh, and set the options which allow our commands through
20866 + # without removal of \ escapes.
20867 + if test -n "${ZSH_VERSION+set}" ; then
20868 + setopt NO_GLOB_SUBST
20869 + fi
20870 + # Now quote all the things that may contain metacharacters while being
20871 + # careful not to overquote the AC_SUBSTed values. We take copies of the
20872 + # variables and quote the copies for generation of the libtool script.
20873 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20874 + SED SHELL STRIP \
20875 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20876 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20877 + deplibs_check_method reload_flag reload_cmds need_locks \
20878 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20879 + lt_cv_sys_global_symbol_to_c_name_address \
20880 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20881 + old_postinstall_cmds old_postuninstall_cmds \
20882 + compiler_CXX \
20883 + CC_CXX \
20884 + LD_CXX \
20885 + lt_prog_compiler_wl_CXX \
20886 + lt_prog_compiler_pic_CXX \
20887 + lt_prog_compiler_static_CXX \
20888 + lt_prog_compiler_no_builtin_flag_CXX \
20889 + export_dynamic_flag_spec_CXX \
20890 + thread_safe_flag_spec_CXX \
20891 + whole_archive_flag_spec_CXX \
20892 + enable_shared_with_static_runtimes_CXX \
20893 + old_archive_cmds_CXX \
20894 + old_archive_from_new_cmds_CXX \
20895 + predep_objects_CXX \
20896 + postdep_objects_CXX \
20897 + predeps_CXX \
20898 + postdeps_CXX \
20899 + compiler_lib_search_path_CXX \
20900 + archive_cmds_CXX \
20901 + archive_expsym_cmds_CXX \
20902 + postinstall_cmds_CXX \
20903 + postuninstall_cmds_CXX \
20904 + old_archive_from_expsyms_cmds_CXX \
20905 + allow_undefined_flag_CXX \
20906 + no_undefined_flag_CXX \
20907 + export_symbols_cmds_CXX \
20908 + hardcode_libdir_flag_spec_CXX \
20909 + hardcode_libdir_flag_spec_ld_CXX \
20910 + hardcode_libdir_separator_CXX \
20911 + hardcode_automatic_CXX \
20912 + module_cmds_CXX \
20913 + module_expsym_cmds_CXX \
20914 + lt_cv_prog_compiler_c_o_CXX \
20915 + exclude_expsyms_CXX \
20916 + include_expsyms_CXX; do
20917 +
20918 + case $var in
20919 + old_archive_cmds_CXX | \
20920 + old_archive_from_new_cmds_CXX | \
20921 + archive_cmds_CXX | \
20922 + archive_expsym_cmds_CXX | \
20923 + module_cmds_CXX | \
20924 + module_expsym_cmds_CXX | \
20925 + old_archive_from_expsyms_cmds_CXX | \
20926 + export_symbols_cmds_CXX | \
20927 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
20928 + postinstall_cmds | postuninstall_cmds | \
20929 + old_postinstall_cmds | old_postuninstall_cmds | \
20930 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20931 + # Double-quote double-evaled strings.
20932 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20933 + ;;
20934 + *)
20935 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20936 + ;;
20937 + esac
20938 + done
20939 +
20940 + case $lt_echo in
20941 + *'\$0 --fallback-echo"')
20942 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20943 + ;;
20944 + esac
20945 +
20946 +cfgfile="$ofile"
20947 +
20948 + cat <<__EOF__ >> "$cfgfile"
20949 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20950 +
20951 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20952 +
20953 +# Shell to use when invoking shell scripts.
20954 +SHELL=$lt_SHELL
20955 +
20956 +# Whether or not to build shared libraries.
20957 +build_libtool_libs=$enable_shared
20958 +
20959 +# Whether or not to build static libraries.
20960 +build_old_libs=$enable_static
20961 +
20962 +# Whether or not to add -lc for building shared libraries.
20963 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
20964 +
20965 +# Whether or not to disallow shared libs when runtime libs are static
20966 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20967 +
20968 +# Whether or not to optimize for fast installation.
20969 +fast_install=$enable_fast_install
20970 +
20971 +# The host system.
20972 +host_alias=$host_alias
20973 +host=$host
20974 +host_os=$host_os
20975 +
20976 +# The build system.
20977 +build_alias=$build_alias
20978 +build=$build
20979 +build_os=$build_os
20980 +
20981 +# An echo program that does not interpret backslashes.
20982 +echo=$lt_echo
20983 +
20984 +# The archiver.
20985 +AR=$lt_AR
20986 +AR_FLAGS=$lt_AR_FLAGS
20987 +
20988 +# A C compiler.
20989 +LTCC=$lt_LTCC
20990 +
20991 +# LTCC compiler flags.
20992 +LTCFLAGS=$lt_LTCFLAGS
20993 +
20994 +# A language-specific compiler.
20995 +CC=$lt_compiler_CXX
20996 +
20997 +# Is the compiler the GNU C compiler?
20998 +with_gcc=$GCC_CXX
20999 +
21000 +# An ERE matcher.
21001 +EGREP=$lt_EGREP
21002 +
21003 +# The linker used to build libraries.
21004 +LD=$lt_LD_CXX
21005 +
21006 +# Whether we need hard or soft links.
21007 +LN_S=$lt_LN_S
21008 +
21009 +# A BSD-compatible nm program.
21010 +NM=$lt_NM
21011 +
21012 +# A symbol stripping program
21013 +STRIP=$lt_STRIP
21014 +
21015 +# Used to examine libraries when file_magic_cmd begins "file"
21016 +MAGIC_CMD=$MAGIC_CMD
21017 +
21018 +# Used on cygwin: DLL creation program.
21019 +DLLTOOL="$DLLTOOL"
21020 +
21021 +# Used on cygwin: object dumper.
21022 +OBJDUMP="$OBJDUMP"
21023 +
21024 +# Used on cygwin: assembler.
21025 +AS="$AS"
21026 +
21027 +# The name of the directory that contains temporary libtool files.
21028 +objdir=$objdir
21029 +
21030 +# How to create reloadable object files.
21031 +reload_flag=$lt_reload_flag
21032 +reload_cmds=$lt_reload_cmds
21033 +
21034 +# How to pass a linker flag through the compiler.
21035 +wl=$lt_lt_prog_compiler_wl_CXX
21036 +
21037 +# Object file suffix (normally "o").
21038 +objext="$ac_objext"
21039 +
21040 +# Old archive suffix (normally "a").
21041 +libext="$libext"
21042 +
21043 +# Shared library suffix (normally ".so").
21044 +shrext_cmds='$shrext_cmds'
21045 +
21046 +# Executable file suffix (normally "").
21047 +exeext="$exeext"
21048 +
21049 +# Additional compiler flags for building library objects.
21050 +pic_flag=$lt_lt_prog_compiler_pic_CXX
21051 +pic_mode=$pic_mode
21052 +
21053 +# What is the maximum length of a command?
21054 +max_cmd_len=$lt_cv_sys_max_cmd_len
21055 +
21056 +# Does compiler simultaneously support -c and -o options?
21057 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21058 +
21059 +# Must we lock files when doing compilation?
21060 +need_locks=$lt_need_locks
21061 +
21062 +# Do we need the lib prefix for modules?
21063 +need_lib_prefix=$need_lib_prefix
21064 +
21065 +# Do we need a version for libraries?
21066 +need_version=$need_version
21067 +
21068 +# Whether dlopen is supported.
21069 +dlopen_support=$enable_dlopen
21070 +
21071 +# Whether dlopen of programs is supported.
21072 +dlopen_self=$enable_dlopen_self
21073 +
21074 +# Whether dlopen of statically linked programs is supported.
21075 +dlopen_self_static=$enable_dlopen_self_static
21076 +
21077 +# Compiler flag to prevent dynamic linking.
21078 +link_static_flag=$lt_lt_prog_compiler_static_CXX
21079 +
21080 +# Compiler flag to turn off builtin functions.
21081 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21082 +
21083 +# Compiler flag to allow reflexive dlopens.
21084 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21085 +
21086 +# Compiler flag to generate shared objects directly from archives.
21087 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21088 +
21089 +# Compiler flag to generate thread-safe objects.
21090 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
21091 +
21092 +# Library versioning type.
21093 +version_type=$version_type
21094 +
21095 +# Format of library name prefix.
21096 +libname_spec=$lt_libname_spec
21097 +
21098 +# List of archive names. First name is the real one, the rest are links.
21099 +# The last name is the one that the linker finds with -lNAME.
21100 +library_names_spec=$lt_library_names_spec
21101 +
21102 +# The coded name of the library, if different from the real name.
21103 +soname_spec=$lt_soname_spec
21104 +
21105 +# Commands used to build and install an old-style archive.
21106 +RANLIB=$lt_RANLIB
21107 +old_archive_cmds=$lt_old_archive_cmds_CXX
21108 +old_postinstall_cmds=$lt_old_postinstall_cmds
21109 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
21110 +
21111 +# Create an old-style archive from a shared archive.
21112 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21113 +
21114 +# Create a temporary old-style archive to link instead of a shared archive.
21115 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21116 +
21117 +# Commands used to build and install a shared archive.
21118 +archive_cmds=$lt_archive_cmds_CXX
21119 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21120 +postinstall_cmds=$lt_postinstall_cmds
21121 +postuninstall_cmds=$lt_postuninstall_cmds
21122 +
21123 +# Commands used to build a loadable module (assumed same as above if empty)
21124 +module_cmds=$lt_module_cmds_CXX
21125 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
21126 +
21127 +# Commands to strip libraries.
21128 +old_striplib=$lt_old_striplib
21129 +striplib=$lt_striplib
21130 +
21131 +# Dependencies to place before the objects being linked to create a
21132 +# shared library.
21133 +predep_objects=$lt_predep_objects_CXX
21134 +
21135 +# Dependencies to place after the objects being linked to create a
21136 +# shared library.
21137 +postdep_objects=$lt_postdep_objects_CXX
21138 +
21139 +# Dependencies to place before the objects being linked to create a
21140 +# shared library.
21141 +predeps=$lt_predeps_CXX
21142 +
21143 +# Dependencies to place after the objects being linked to create a
21144 +# shared library.
21145 +postdeps=$lt_postdeps_CXX
21146 +
21147 +# The library search path used internally by the compiler when linking
21148 +# a shared library.
21149 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21150 +
21151 +# Method to check whether dependent libraries are shared objects.
21152 +deplibs_check_method=$lt_deplibs_check_method
21153 +
21154 +# Command to use when deplibs_check_method == file_magic.
21155 +file_magic_cmd=$lt_file_magic_cmd
21156 +
21157 +# Flag that allows shared libraries with undefined symbols to be built.
21158 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
21159 +
21160 +# Flag that forces no undefined symbols.
21161 +no_undefined_flag=$lt_no_undefined_flag_CXX
21162 +
21163 +# Commands used to finish a libtool library installation in a directory.
21164 +finish_cmds=$lt_finish_cmds
21165 +
21166 +# Same as above, but a single script fragment to be evaled but not shown.
21167 +finish_eval=$lt_finish_eval
21168 +
21169 +# Take the output of nm and produce a listing of raw symbols and C names.
21170 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21171 +
21172 +# Transform the output of nm in a proper C declaration
21173 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21174 +
21175 +# Transform the output of nm in a C name address pair
21176 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21177 +
21178 +# This is the shared library runtime path variable.
21179 +runpath_var=$runpath_var
21180 +
21181 +# This is the shared library path variable.
21182 +shlibpath_var=$shlibpath_var
21183 +
21184 +# Is shlibpath searched before the hard-coded library search path?
21185 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21186 +
21187 +# How to hardcode a shared library path into an executable.
21188 +hardcode_action=$hardcode_action_CXX
21189 +
21190 +# Whether we should hardcode library paths into libraries.
21191 +hardcode_into_libs=$hardcode_into_libs
21192 +
21193 +# Flag to hardcode \$libdir into a binary during linking.
21194 +# This must work even if \$libdir does not exist.
21195 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21196 +
21197 +# If ld is used when linking, flag to hardcode \$libdir into
21198 +# a binary during linking. This must work even if \$libdir does
21199 +# not exist.
21200 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21201 +
21202 +# Whether we need a single -rpath flag with a separated argument.
21203 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21204 +
21205 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21206 +# resulting binary.
21207 +hardcode_direct=$hardcode_direct_CXX
21208 +
21209 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21210 +# resulting binary.
21211 +hardcode_minus_L=$hardcode_minus_L_CXX
21212 +
21213 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21214 +# the resulting binary.
21215 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21216 +
21217 +# Set to yes if building a shared library automatically hardcodes DIR into the library
21218 +# and all subsequent libraries and executables linked against it.
21219 +hardcode_automatic=$hardcode_automatic_CXX
21220 +
21221 +# Variables whose values should be saved in libtool wrapper scripts and
21222 +# restored at relink time.
21223 +variables_saved_for_relink="$variables_saved_for_relink"
21224 +
21225 +# Whether libtool must link a program against all its dependency libraries.
21226 +link_all_deplibs=$link_all_deplibs_CXX
21227 +
21228 +# Compile-time system search path for libraries
21229 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21230 +
21231 +# Run-time system search path for libraries
21232 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21233 +
21234 +# Fix the shell variable \$srcfile for the compiler.
21235 +fix_srcfile_path="$fix_srcfile_path_CXX"
21236 +
21237 +# Set to yes if exported symbols are required.
21238 +always_export_symbols=$always_export_symbols_CXX
21239 +
21240 +# The commands to list exported symbols.
21241 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
21242 +
21243 +# The commands to extract the exported symbol list from a shared archive.
21244 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
21245 +
21246 +# Symbols that should not be listed in the preloaded symbols.
21247 +exclude_expsyms=$lt_exclude_expsyms_CXX
21248 +
21249 +# Symbols that must always be exported.
21250 +include_expsyms=$lt_include_expsyms_CXX
21251 +
21252 +# ### END LIBTOOL TAG CONFIG: $tagname
21253 +
21254 +__EOF__
21255 +
21256 +
21257 +else
21258 + # If there is no Makefile yet, we rely on a make rule to execute
21259 + # `config.status --recheck' to rerun these tests and create the
21260 + # libtool script then.
21261 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21262 + if test -f "$ltmain_in"; then
21263 + test -f Makefile && make "$ltmain"
21264 + fi
21265 +fi
21266 +
21267 +
21268 +ac_ext=c
21269 +ac_cpp='$CPP $CPPFLAGS'
21270 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21271 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21272 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
21273 +
21274 +CC=$lt_save_CC
21275 +LDCXX=$LD
21276 +LD=$lt_save_LD
21277 +GCC=$lt_save_GCC
21278 +with_gnu_ldcxx=$with_gnu_ld
21279 +with_gnu_ld=$lt_save_with_gnu_ld
21280 +lt_cv_path_LDCXX=$lt_cv_path_LD
21281 +lt_cv_path_LD=$lt_save_path_LD
21282 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
21283 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
21284 +
21285 + else
21286 + tagname=""
21287 + fi
21288 + ;;
21289 +
21290 + F77)
21291 + if test -n "$F77" && test "X$F77" != "Xno"; then
21292 +
21293 +ac_ext=f
21294 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21295 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21296 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
21297 +
21298 +
21299 +archive_cmds_need_lc_F77=no
21300 +allow_undefined_flag_F77=
21301 +always_export_symbols_F77=no
21302 +archive_expsym_cmds_F77=
21303 +export_dynamic_flag_spec_F77=
21304 +hardcode_direct_F77=no
21305 +hardcode_libdir_flag_spec_F77=
21306 +hardcode_libdir_flag_spec_ld_F77=
21307 +hardcode_libdir_separator_F77=
21308 +hardcode_minus_L_F77=no
21309 +hardcode_automatic_F77=no
21310 +module_cmds_F77=
21311 +module_expsym_cmds_F77=
21312 +link_all_deplibs_F77=unknown
21313 +old_archive_cmds_F77=$old_archive_cmds
21314 +no_undefined_flag_F77=
21315 +whole_archive_flag_spec_F77=
21316 +enable_shared_with_static_runtimes_F77=no
21317 +
21318 +# Source file extension for f77 test sources.
21319 +ac_ext=f
21320 +
21321 +# Object file extension for compiled f77 test sources.
21322 +objext=o
21323 +objext_F77=$objext
21324 +
21325 +# Code to be used in simple compile tests
21326 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
21327 +
21328 +# Code to be used in simple link tests
21329 +lt_simple_link_test_code=" program t\n end\n"
21330 +
21331 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
21332 +
21333 +# If no C compiler was specified, use CC.
21334 +LTCC=${LTCC-"$CC"}
21335 +
21336 +# If no C compiler flags were specified, use CFLAGS.
21337 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21338 +
21339 +# Allow CC to be a program name with arguments.
21340 +compiler=$CC
21341 +
21342 +
21343 +# save warnings/boilerplate of simple test code
21344 +ac_outfile=conftest.$ac_objext
21345 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
21346 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21347 +_lt_compiler_boilerplate=`cat conftest.err`
21348 +$rm conftest*
21349 +
21350 +ac_outfile=conftest.$ac_objext
21351 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
21352 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21353 +_lt_linker_boilerplate=`cat conftest.err`
21354 +$rm conftest*
21355 +
21356 +
21357 +# Allow CC to be a program name with arguments.
21358 +lt_save_CC="$CC"
21359 +CC=${F77-"f77"}
21360 +compiler=$CC
21361 +compiler_F77=$CC
21362 +for cc_temp in $compiler""; do
21363 + case $cc_temp in
21364 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21365 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21366 + \-*) ;;
21367 + *) break;;
21368 + esac
21369 +done
21370 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21371 +
21372 +
21373 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21374 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21375 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
21376 +echo "${ECHO_T}$can_build_shared" >&6; }
21377 +
21378 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21379 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21380 +test "$can_build_shared" = "no" && enable_shared=no
21381 +
21382 +# On AIX, shared libraries and static libraries use the same namespace, and
21383 +# are all built from PIC.
21384 +case $host_os in
21385 +aix3*)
21386 + test "$enable_shared" = yes && enable_static=no
21387 + if test -n "$RANLIB"; then
21388 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
21389 + postinstall_cmds='$RANLIB $lib'
21390 + fi
21391 + ;;
21392 +aix4* | aix5*)
21393 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
21394 + test "$enable_shared" = yes && enable_static=no
21395 + fi
21396 + ;;
21397 +esac
21398 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
21399 +echo "${ECHO_T}$enable_shared" >&6; }
21400 +
21401 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21402 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21403 +# Make sure either enable_shared or enable_static is yes.
21404 +test "$enable_shared" = yes || enable_static=yes
21405 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
21406 +echo "${ECHO_T}$enable_static" >&6; }
21407 +
21408 +GCC_F77="$G77"
21409 +LD_F77="$LD"
21410 +
21411 +lt_prog_compiler_wl_F77=
21412 +lt_prog_compiler_pic_F77=
21413 +lt_prog_compiler_static_F77=
21414 +
21415 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21416 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21417 +
21418 + if test "$GCC" = yes; then
21419 + lt_prog_compiler_wl_F77='-Wl,'
21420 + lt_prog_compiler_static_F77='-static'
21421 +
21422 + case $host_os in
21423 + aix*)
21424 + # All AIX code is PIC.
21425 + if test "$host_cpu" = ia64; then
21426 + # AIX 5 now supports IA64 processor
21427 + lt_prog_compiler_static_F77='-Bstatic'
21428 + fi
21429 + ;;
21430 +
21431 + amigaos*)
21432 + # FIXME: we need at least 68020 code to build shared libraries, but
21433 + # adding the `-m68020' flag to GCC prevents building anything better,
21434 + # like `-m68040'.
21435 + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
21436 + ;;
21437 +
21438 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21439 + # PIC is the default for these OSes.
21440 + ;;
21441 +
21442 + mingw* | pw32* | os2*)
21443 + # This hack is so that the source file can tell whether it is being
21444 + # built for inclusion in a dll (and should export symbols for example).
21445 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21446 + ;;
21447 +
21448 + darwin* | rhapsody*)
21449 + # PIC is the default on this platform
21450 + # Common symbols not allowed in MH_DYLIB files
21451 + lt_prog_compiler_pic_F77='-fno-common'
21452 + ;;
21453 +
21454 + interix3*)
21455 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21456 + # Instead, we relocate shared libraries at runtime.
21457 + ;;
21458 +
21459 + msdosdjgpp*)
21460 + # Just because we use GCC doesn't mean we suddenly get shared libraries
21461 + # on systems that don't support them.
21462 + lt_prog_compiler_can_build_shared_F77=no
21463 + enable_shared=no
21464 + ;;
21465 +
21466 + sysv4*MP*)
21467 + if test -d /usr/nec; then
21468 + lt_prog_compiler_pic_F77=-Kconform_pic
21469 + fi
21470 + ;;
21471 +
21472 + hpux*)
21473 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21474 + # not for PA HP-UX.
21475 + case $host_cpu in
21476 + hppa*64*|ia64*)
21477 + # +Z the default
21478 + ;;
21479 + *)
21480 + lt_prog_compiler_pic_F77='-fPIC'
21481 + ;;
21482 + esac
21483 + ;;
21484 +
21485 + *)
21486 + lt_prog_compiler_pic_F77='-fPIC'
21487 + ;;
21488 + esac
21489 + else
21490 + # PORTME Check for flag to pass linker flags through the system compiler.
21491 + case $host_os in
21492 + aix*)
21493 + lt_prog_compiler_wl_F77='-Wl,'
21494 + if test "$host_cpu" = ia64; then
21495 + # AIX 5 now supports IA64 processor
21496 + lt_prog_compiler_static_F77='-Bstatic'
21497 + else
21498 + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
21499 + fi
21500 + ;;
21501 + darwin*)
21502 + # PIC is the default on this platform
21503 + # Common symbols not allowed in MH_DYLIB files
21504 + case $cc_basename in
21505 + xlc*)
21506 + lt_prog_compiler_pic_F77='-qnocommon'
21507 + lt_prog_compiler_wl_F77='-Wl,'
21508 + ;;
21509 + esac
21510 + ;;
21511 +
21512 + mingw* | pw32* | os2*)
21513 + # This hack is so that the source file can tell whether it is being
21514 + # built for inclusion in a dll (and should export symbols for example).
21515 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21516 + ;;
21517 +
21518 + hpux9* | hpux10* | hpux11*)
21519 + lt_prog_compiler_wl_F77='-Wl,'
21520 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21521 + # not for PA HP-UX.
21522 + case $host_cpu in
21523 + hppa*64*|ia64*)
21524 + # +Z the default
21525 + ;;
21526 + *)
21527 + lt_prog_compiler_pic_F77='+Z'
21528 + ;;
21529 + esac
21530 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
21531 + lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
21532 + ;;
21533 +
21534 + irix5* | irix6* | nonstopux*)
21535 + lt_prog_compiler_wl_F77='-Wl,'
21536 + # PIC (with -KPIC) is the default.
21537 + lt_prog_compiler_static_F77='-non_shared'
21538 + ;;
21539 +
21540 + newsos6)
21541 + lt_prog_compiler_pic_F77='-KPIC'
21542 + lt_prog_compiler_static_F77='-Bstatic'
21543 + ;;
21544 +
21545 + linux* | k*bsd*-gnu)
21546 + case $cc_basename in
21547 + icc* | ecc*)
21548 + lt_prog_compiler_wl_F77='-Wl,'
21549 + lt_prog_compiler_pic_F77='-KPIC'
21550 + lt_prog_compiler_static_F77='-static'
21551 + ;;
21552 + pgcc* | pgf77* | pgf90* | pgf95*)
21553 + # Portland Group compilers (*not* the Pentium gcc compiler,
21554 + # which looks to be a dead project)
21555 + lt_prog_compiler_wl_F77='-Wl,'
21556 + lt_prog_compiler_pic_F77='-fpic'
21557 + lt_prog_compiler_static_F77='-Bstatic'
21558 + ;;
21559 + ccc*)
21560 + lt_prog_compiler_wl_F77='-Wl,'
21561 + # All Alpha code is PIC.
21562 + lt_prog_compiler_static_F77='-non_shared'
21563 + ;;
21564 + esac
21565 + ;;
21566 +
21567 + osf3* | osf4* | osf5*)
21568 + lt_prog_compiler_wl_F77='-Wl,'
21569 + # All OSF/1 code is PIC.
21570 + lt_prog_compiler_static_F77='-non_shared'
21571 + ;;
21572 +
21573 + solaris*)
21574 + lt_prog_compiler_pic_F77='-KPIC'
21575 + lt_prog_compiler_static_F77='-Bstatic'
21576 + case $cc_basename in
21577 + f77* | f90* | f95*)
21578 + lt_prog_compiler_wl_F77='-Qoption ld ';;
21579 + *)
21580 + lt_prog_compiler_wl_F77='-Wl,';;
21581 + esac
21582 + ;;
21583 +
21584 + sunos4*)
21585 + lt_prog_compiler_wl_F77='-Qoption ld '
21586 + lt_prog_compiler_pic_F77='-PIC'
21587 + lt_prog_compiler_static_F77='-Bstatic'
21588 + ;;
21589 +
21590 + sysv4 | sysv4.2uw2* | sysv4.3*)
21591 + lt_prog_compiler_wl_F77='-Wl,'
21592 + lt_prog_compiler_pic_F77='-KPIC'
21593 + lt_prog_compiler_static_F77='-Bstatic'
21594 + ;;
21595 +
21596 + sysv4*MP*)
21597 + if test -d /usr/nec ;then
21598 + lt_prog_compiler_pic_F77='-Kconform_pic'
21599 + lt_prog_compiler_static_F77='-Bstatic'
21600 + fi
21601 + ;;
21602 +
21603 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21604 + lt_prog_compiler_wl_F77='-Wl,'
21605 + lt_prog_compiler_pic_F77='-KPIC'
21606 + lt_prog_compiler_static_F77='-Bstatic'
21607 + ;;
21608 +
21609 + unicos*)
21610 + lt_prog_compiler_wl_F77='-Wl,'
21611 + lt_prog_compiler_can_build_shared_F77=no
21612 + ;;
21613 +
21614 + uts4*)
21615 + lt_prog_compiler_pic_F77='-pic'
21616 + lt_prog_compiler_static_F77='-Bstatic'
21617 + ;;
21618 +
21619 + *)
21620 + lt_prog_compiler_can_build_shared_F77=no
21621 + ;;
21622 + esac
21623 + fi
21624 +
21625 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21626 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21627 +
21628 +#
21629 +# Check to make sure the PIC flag actually works.
21630 +#
21631 +if test -n "$lt_prog_compiler_pic_F77"; then
21632 +
21633 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21634 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21635 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21636 + echo $ECHO_N "(cached) $ECHO_C" >&6
21637 +else
21638 + lt_prog_compiler_pic_works_F77=no
21639 + ac_outfile=conftest.$ac_objext
21640 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21641 + lt_compiler_flag="$lt_prog_compiler_pic_F77"
21642 + # Insert the option either (1) after the last *FLAGS variable, or
21643 + # (2) before a word containing "conftest.", or (3) at the end.
21644 + # Note that $ac_compile itself does not contain backslashes and begins
21645 + # with a dollar sign (not a hyphen), so the echo should work correctly.
21646 + # The option is referenced via a variable to avoid confusing sed.
21647 + lt_compile=`echo "$ac_compile" | $SED \
21648 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21649 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21650 + -e 's:$: $lt_compiler_flag:'`
21651 + (eval echo "\"\$as_me:14182: $lt_compile\"" >&5)
21652 + (eval "$lt_compile" 2>conftest.err)
21653 + ac_status=$?
21654 + cat conftest.err >&5
21655 + echo "$as_me:14186: \$? = $ac_status" >&5
21656 + if (exit $ac_status) && test -s "$ac_outfile"; then
21657 + # The compiler can only warn and ignore the option if not recognized
21658 + # So say no if there are warnings other than the usual output.
21659 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
21660 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21661 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21662 + lt_prog_compiler_pic_works_F77=yes
21663 + fi
21664 + fi
21665 + $rm conftest*
21666 +
21667 +fi
21668 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21669 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21670 +
21671 +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
21672 + case $lt_prog_compiler_pic_F77 in
21673 + "" | " "*) ;;
21674 + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
21675 + esac
21676 +else
21677 + lt_prog_compiler_pic_F77=
21678 + lt_prog_compiler_can_build_shared_F77=no
21679 +fi
21680 +
21681 +fi
21682 +case $host_os in
21683 + # For platforms which do not support PIC, -DPIC is meaningless:
21684 + *djgpp*)
21685 + lt_prog_compiler_pic_F77=
21686 + ;;
21687 + *)
21688 + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
21689 + ;;
21690 +esac
21691 +
21692 +#
21693 +# Check to make sure the static flag actually works.
21694 +#
21695 +wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
21696 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21697 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21698 +if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21699 + echo $ECHO_N "(cached) $ECHO_C" >&6
21700 +else
21701 + lt_prog_compiler_static_works_F77=no
21702 + save_LDFLAGS="$LDFLAGS"
21703 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21704 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
21705 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21706 + # The linker can only warn and ignore the option if not recognized
21707 + # So say no if there are warnings
21708 + if test -s conftest.err; then
21709 + # Append any errors to the config.log.
21710 + cat conftest.err 1>&5
21711 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
21712 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21713 + if diff conftest.exp conftest.er2 >/dev/null; then
21714 + lt_prog_compiler_static_works_F77=yes
21715 + fi
21716 + else
21717 + lt_prog_compiler_static_works_F77=yes
21718 + fi
21719 + fi
21720 + $rm conftest*
21721 + LDFLAGS="$save_LDFLAGS"
21722 +
21723 +fi
21724 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21725 +echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21726 +
21727 +if test x"$lt_prog_compiler_static_works_F77" = xyes; then
21728 + :
21729 +else
21730 + lt_prog_compiler_static_F77=
21731 +fi
21732 +
21733 +
21734 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21735 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21736 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21737 + echo $ECHO_N "(cached) $ECHO_C" >&6
21738 +else
21739 + lt_cv_prog_compiler_c_o_F77=no
21740 + $rm -r conftest 2>/dev/null
21741 + mkdir conftest
21742 + cd conftest
21743 + mkdir out
21744 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21745 +
21746 + lt_compiler_flag="-o out/conftest2.$ac_objext"
21747 + # Insert the option either (1) after the last *FLAGS variable, or
21748 + # (2) before a word containing "conftest.", or (3) at the end.
21749 + # Note that $ac_compile itself does not contain backslashes and begins
21750 + # with a dollar sign (not a hyphen), so the echo should work correctly.
21751 + lt_compile=`echo "$ac_compile" | $SED \
21752 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21753 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21754 + -e 's:$: $lt_compiler_flag:'`
21755 + (eval echo "\"\$as_me:14286: $lt_compile\"" >&5)
21756 + (eval "$lt_compile" 2>out/conftest.err)
21757 + ac_status=$?
21758 + cat out/conftest.err >&5
21759 + echo "$as_me:14290: \$? = $ac_status" >&5
21760 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
21761 + then
21762 + # The compiler can only warn and ignore the option if not recognized
21763 + # So say no if there are warnings
21764 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
21765 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21766 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21767 + lt_cv_prog_compiler_c_o_F77=yes
21768 + fi
21769 + fi
21770 + chmod u+w . 2>&5
21771 + $rm conftest*
21772 + # SGI C++ compiler will create directory out/ii_files/ for
21773 + # template instantiation
21774 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
21775 + $rm out/* && rmdir out
21776 + cd ..
21777 + rmdir conftest
21778 + $rm conftest*
21779 +
21780 +fi
21781 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21782 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21783 +
21784 +
21785 +hard_links="nottested"
21786 +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
21787 + # do not overwrite the value of need_locks provided by the user
21788 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21789 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21790 + hard_links=yes
21791 + $rm conftest*
21792 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
21793 + touch conftest.a
21794 + ln conftest.a conftest.b 2>&5 || hard_links=no
21795 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
21796 + { echo "$as_me:$LINENO: result: $hard_links" >&5
21797 +echo "${ECHO_T}$hard_links" >&6; }
21798 + if test "$hard_links" = no; then
21799 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21800 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21801 + need_locks=warn
21802 + fi
21803 +else
21804 + need_locks=no
21805 +fi
21806 +
21807 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21808 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21809 +
21810 + runpath_var=
21811 + allow_undefined_flag_F77=
21812 + enable_shared_with_static_runtimes_F77=no
21813 + archive_cmds_F77=
21814 + archive_expsym_cmds_F77=
21815 + old_archive_From_new_cmds_F77=
21816 + old_archive_from_expsyms_cmds_F77=
21817 + export_dynamic_flag_spec_F77=
21818 + whole_archive_flag_spec_F77=
21819 + thread_safe_flag_spec_F77=
21820 + hardcode_libdir_flag_spec_F77=
21821 + hardcode_libdir_flag_spec_ld_F77=
21822 + hardcode_libdir_separator_F77=
21823 + hardcode_direct_F77=no
21824 + hardcode_minus_L_F77=no
21825 + hardcode_shlibpath_var_F77=unsupported
21826 + link_all_deplibs_F77=unknown
21827 + hardcode_automatic_F77=no
21828 + module_cmds_F77=
21829 + module_expsym_cmds_F77=
21830 + always_export_symbols_F77=no
21831 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21832 + # include_expsyms should be a list of space-separated symbols to be *always*
21833 + # included in the symbol list
21834 + include_expsyms_F77=
21835 + # exclude_expsyms can be an extended regexp of symbols to exclude
21836 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
21837 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21838 + # as well as any symbol that contains `d'.
21839 + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
21840 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21841 + # platforms (ab)use it in PIC code, but their linkers get confused if
21842 + # the symbol is explicitly referenced. Since portable code cannot
21843 + # rely on this symbol name, it's probably fine to never include it in
21844 + # preloaded symbol tables.
21845 + extract_expsyms_cmds=
21846 + # Just being paranoid about ensuring that cc_basename is set.
21847 + for cc_temp in $compiler""; do
21848 + case $cc_temp in
21849 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21850 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21851 + \-*) ;;
21852 + *) break;;
21853 + esac
21854 +done
21855 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21856 +
21857 + case $host_os in
21858 + cygwin* | mingw* | pw32*)
21859 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
21860 + # When not using gcc, we currently assume that we are using
21861 + # Microsoft Visual C++.
21862 + if test "$GCC" != yes; then
21863 + with_gnu_ld=no
21864 + fi
21865 + ;;
21866 + interix*)
21867 + # we just hope/assume this is gcc and not c89 (= MSVC++)
21868 + with_gnu_ld=yes
21869 + ;;
21870 + openbsd*)
21871 + with_gnu_ld=no
21872 + ;;
21873 + esac
21874 +
21875 + ld_shlibs_F77=yes
21876 + if test "$with_gnu_ld" = yes; then
21877 + # If archive_cmds runs LD, not CC, wlarc should be empty
21878 + wlarc='${wl}'
21879 +
21880 + # Set some defaults for GNU ld with shared library support. These
21881 + # are reset later if shared libraries are not supported. Putting them
21882 + # here allows them to be overridden if necessary.
21883 + runpath_var=LD_RUN_PATH
21884 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
21885 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
21886 + # ancient GNU ld didn't support --whole-archive et. al.
21887 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
21888 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21889 + else
21890 + whole_archive_flag_spec_F77=
21891 + fi
21892 + supports_anon_versioning=no
21893 + case `$LD -v 2>/dev/null` in
21894 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
21895 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
21896 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
21897 + *\ 2.11.*) ;; # other 2.11 versions
21898 + *) supports_anon_versioning=yes ;;
21899 + esac
21900 +
21901 + # See if GNU ld supports shared libraries.
21902 + case $host_os in
21903 + aix3* | aix4* | aix5*)
21904 + # On AIX/PPC, the GNU linker is very broken
21905 + if test "$host_cpu" != ia64; then
21906 + ld_shlibs_F77=no
21907 + cat <<EOF 1>&2
21908 +
21909 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
21910 +*** to be unable to reliably create shared libraries on AIX.
21911 +*** Therefore, libtool is disabling shared libraries support. If you
21912 +*** really care for shared libraries, you may want to modify your PATH
21913 +*** so that a non-GNU linker is found, and then restart.
21914 +
21915 +EOF
21916 + fi
21917 + ;;
21918 +
21919 + amigaos*)
21920 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
21921 + hardcode_libdir_flag_spec_F77='-L$libdir'
21922 + hardcode_minus_L_F77=yes
21923 +
21924 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21925 + # that the semantics of dynamic libraries on AmigaOS, at least up
21926 + # to version 4, is to share data among multiple programs linked
21927 + # with the same dynamic library. Since this doesn't match the
21928 + # behavior of shared libraries on other platforms, we can't use
21929 + # them.
21930 + ld_shlibs_F77=no
21931 + ;;
21932 +
21933 + beos*)
21934 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21935 + allow_undefined_flag_F77=unsupported
21936 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21937 + # support --undefined. This deserves some investigation. FIXME
21938 + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21939 + else
21940 + ld_shlibs_F77=no
21941 + fi
21942 + ;;
21943 +
21944 + cygwin* | mingw* | pw32*)
21945 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21946 + # as there is no search path for DLLs.
21947 + hardcode_libdir_flag_spec_F77='-L$libdir'
21948 + allow_undefined_flag_F77=unsupported
21949 + always_export_symbols_F77=no
21950 + enable_shared_with_static_runtimes_F77=yes
21951 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21952 +
21953 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
21954 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21955 + # If the export-symbols file already is a .def file (1st line
21956 + # is EXPORTS), use it as is; otherwise, prepend...
21957 + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21958 + cp $export_symbols $output_objdir/$soname.def;
21959 + else
21960 + echo EXPORTS > $output_objdir/$soname.def;
21961 + cat $export_symbols >> $output_objdir/$soname.def;
21962 + fi~
21963 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21964 + else
21965 + ld_shlibs_F77=no
21966 + fi
21967 + ;;
21968 +
21969 + interix3*)
21970 + hardcode_direct_F77=no
21971 + hardcode_shlibpath_var_F77=no
21972 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
21973 + export_dynamic_flag_spec_F77='${wl}-E'
21974 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21975 + # Instead, shared libraries are loaded at an image base (0x10000000 by
21976 + # default) and relocated if they conflict, which is a slow very memory
21977 + # consuming and fragmenting process. To avoid this, we pick a random,
21978 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21979 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21980 + archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21981 + archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21982 + ;;
21983 +
21984 + linux* | k*bsd*-gnu)
21985 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21986 + tmp_addflag=
21987 + case $cc_basename,$host_cpu in
21988 + pgcc*) # Portland Group C compiler
21989 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
21990 + tmp_addflag=' $pic_flag'
21991 + ;;
21992 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
21993 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
21994 + tmp_addflag=' $pic_flag -Mnomain' ;;
21995 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
21996 + tmp_addflag=' -i_dynamic' ;;
21997 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
21998 + tmp_addflag=' -i_dynamic -nofor_main' ;;
21999 + ifc* | ifort*) # Intel Fortran compiler
22000 + tmp_addflag=' -nofor_main' ;;
22001 + esac
22002 + archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22003 +
22004 + if test $supports_anon_versioning = yes; then
22005 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
22006 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22007 + $echo "local: *; };" >> $output_objdir/$libname.ver~
22008 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22009 + fi
22010 + link_all_deplibs_F77=no
22011 + else
22012 + ld_shlibs_F77=no
22013 + fi
22014 + ;;
22015 +
22016 + netbsd* | netbsdelf*-gnu)
22017 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22018 + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22019 + wlarc=
22020 + else
22021 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22022 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22023 + fi
22024 + ;;
22025 +
22026 + solaris*)
22027 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
22028 + ld_shlibs_F77=no
22029 + cat <<EOF 1>&2
22030 +
22031 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
22032 +*** create shared libraries on Solaris systems. Therefore, libtool
22033 +*** is disabling shared libraries support. We urge you to upgrade GNU
22034 +*** binutils to release 2.9.1 or newer. Another option is to modify
22035 +*** your PATH or compiler configuration so that the native linker is
22036 +*** used, and then restart.
22037 +
22038 +EOF
22039 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22040 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22041 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22042 + else
22043 + ld_shlibs_F77=no
22044 + fi
22045 + ;;
22046 +
22047 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
22048 + case `$LD -v 2>&1` in
22049 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
22050 + ld_shlibs_F77=no
22051 + cat <<_LT_EOF 1>&2
22052 +
22053 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
22054 +*** reliably create shared libraries on SCO systems. Therefore, libtool
22055 +*** is disabling shared libraries support. We urge you to upgrade GNU
22056 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
22057 +*** your PATH or compiler configuration so that the native linker is
22058 +*** used, and then restart.
22059 +
22060 +_LT_EOF
22061 + ;;
22062 + *)
22063 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22064 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
22065 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
22066 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
22067 + else
22068 + ld_shlibs_F77=no
22069 + fi
22070 + ;;
22071 + esac
22072 + ;;
22073 +
22074 + sunos4*)
22075 + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22076 + wlarc=
22077 + hardcode_direct_F77=yes
22078 + hardcode_shlibpath_var_F77=no
22079 + ;;
22080 +
22081 + *)
22082 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22083 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22084 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22085 + else
22086 + ld_shlibs_F77=no
22087 + fi
22088 + ;;
22089 + esac
22090 +
22091 + if test "$ld_shlibs_F77" = no; then
22092 + runpath_var=
22093 + hardcode_libdir_flag_spec_F77=
22094 + export_dynamic_flag_spec_F77=
22095 + whole_archive_flag_spec_F77=
22096 + fi
22097 + else
22098 + # PORTME fill in a description of your system's linker (not GNU ld)
22099 + case $host_os in
22100 + aix3*)
22101 + allow_undefined_flag_F77=unsupported
22102 + always_export_symbols_F77=yes
22103 + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
22104 + # Note: this linker hardcodes the directories in LIBPATH if there
22105 + # are no directories specified by -L.
22106 + hardcode_minus_L_F77=yes
22107 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
22108 + # Neither direct hardcoding nor static linking is supported with a
22109 + # broken collect2.
22110 + hardcode_direct_F77=unsupported
22111 + fi
22112 + ;;
22113 +
22114 + aix4* | aix5*)
22115 + if test "$host_cpu" = ia64; then
22116 + # On IA64, the linker does run time linking by default, so we don't
22117 + # have to do anything special.
22118 + aix_use_runtimelinking=no
22119 + exp_sym_flag='-Bexport'
22120 + no_entry_flag=""
22121 + else
22122 + # If we're using GNU nm, then we don't want the "-C" option.
22123 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
22124 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
22125 + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22126 + else
22127 + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22128 + fi
22129 + aix_use_runtimelinking=no
22130 +
22131 + # Test if we are trying to use run time linking or normal
22132 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22133 + # need to do runtime linking.
22134 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
22135 + for ld_flag in $LDFLAGS; do
22136 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
22137 + aix_use_runtimelinking=yes
22138 + break
22139 + fi
22140 + done
22141 + ;;
22142 + esac
22143 +
22144 + exp_sym_flag='-bexport'
22145 + no_entry_flag='-bnoentry'
22146 + fi
22147 +
22148 + # When large executables or shared objects are built, AIX ld can
22149 + # have problems creating the table of contents. If linking a library
22150 + # or program results in "error TOC overflow" add -mminimal-toc to
22151 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22152 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22153 +
22154 + archive_cmds_F77=''
22155 + hardcode_direct_F77=yes
22156 + hardcode_libdir_separator_F77=':'
22157 + link_all_deplibs_F77=yes
22158 +
22159 + if test "$GCC" = yes; then
22160 + case $host_os in aix4.[012]|aix4.[012].*)
22161 + # We only want to do this on AIX 4.2 and lower, the check
22162 + # below for broken collect2 doesn't work under 4.3+
22163 + collect2name=`${CC} -print-prog-name=collect2`
22164 + if test -f "$collect2name" && \
22165 + strings "$collect2name" | grep resolve_lib_name >/dev/null
22166 + then
22167 + # We have reworked collect2
22168 + hardcode_direct_F77=yes
22169 + else
22170 + # We have old collect2
22171 + hardcode_direct_F77=unsupported
22172 + # It fails to find uninstalled libraries when the uninstalled
22173 + # path is not listed in the libpath. Setting hardcode_minus_L
22174 + # to unsupported forces relinking
22175 + hardcode_minus_L_F77=yes
22176 + hardcode_libdir_flag_spec_F77='-L$libdir'
22177 + hardcode_libdir_separator_F77=
22178 + fi
22179 + ;;
22180 + esac
22181 + shared_flag='-shared'
22182 + if test "$aix_use_runtimelinking" = yes; then
22183 + shared_flag="$shared_flag "'${wl}-G'
22184 + fi
22185 + else
22186 + # not using gcc
22187 + if test "$host_cpu" = ia64; then
22188 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22189 + # chokes on -Wl,-G. The following line is correct:
22190 + shared_flag='-G'
22191 + else
22192 + if test "$aix_use_runtimelinking" = yes; then
22193 + shared_flag='${wl}-G'
22194 + else
22195 + shared_flag='${wl}-bM:SRE'
22196 + fi
22197 + fi
22198 + fi
22199 +
22200 + # It seems that -bexpall does not export symbols beginning with
22201 + # underscore (_), so it is better to generate a list of symbols to export.
22202 + always_export_symbols_F77=yes
22203 + if test "$aix_use_runtimelinking" = yes; then
22204 + # Warning - without using the other runtime loading flags (-brtl),
22205 + # -berok will link without error, but may produce a broken library.
22206 + allow_undefined_flag_F77='-berok'
22207 + # Determine the default libpath from the value encoded in an empty executable.
22208 + cat >conftest.$ac_ext <<_ACEOF
22209 + program main
22210 +
22211 + end
22212 +_ACEOF
22213 +rm -f conftest.$ac_objext conftest$ac_exeext
22214 +if { (ac_try="$ac_link"
22215 +case "(($ac_try" in
22216 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22217 + *) ac_try_echo=$ac_try;;
22218 +esac
22219 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22220 + (eval "$ac_link") 2>conftest.er1
22221 + ac_status=$?
22222 + grep -v '^ *+' conftest.er1 >conftest.err
22223 + rm -f conftest.er1
22224 + cat conftest.err >&5
22225 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 + (exit $ac_status); } && {
22227 + test -z "$ac_f77_werror_flag" ||
22228 + test ! -s conftest.err
22229 + } && test -s conftest$ac_exeext &&
22230 + $as_test_x conftest$ac_exeext; then
22231 +
22232 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22233 +}'`
22234 +# Check for a 64-bit object if we didn't find anything.
22235 +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; }
22236 +}'`; fi
22237 +else
22238 + echo "$as_me: failed program was:" >&5
22239 +sed 's/^/| /' conftest.$ac_ext >&5
22240 +
22241 +
22242 +fi
22243 +
22244 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22245 + conftest$ac_exeext conftest.$ac_ext
22246 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22247 +
22248 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22249 + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
22250 + else
22251 + if test "$host_cpu" = ia64; then
22252 + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
22253 + allow_undefined_flag_F77="-z nodefs"
22254 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
22255 + else
22256 + # Determine the default libpath from the value encoded in an empty executable.
22257 + cat >conftest.$ac_ext <<_ACEOF
22258 + program main
22259 +
22260 + end
22261 +_ACEOF
22262 +rm -f conftest.$ac_objext conftest$ac_exeext
22263 +if { (ac_try="$ac_link"
22264 +case "(($ac_try" in
22265 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22266 + *) ac_try_echo=$ac_try;;
22267 +esac
22268 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22269 + (eval "$ac_link") 2>conftest.er1
22270 + ac_status=$?
22271 + grep -v '^ *+' conftest.er1 >conftest.err
22272 + rm -f conftest.er1
22273 + cat conftest.err >&5
22274 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 + (exit $ac_status); } && {
22276 + test -z "$ac_f77_werror_flag" ||
22277 + test ! -s conftest.err
22278 + } && test -s conftest$ac_exeext &&
22279 + $as_test_x conftest$ac_exeext; then
22280 +
22281 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22282 +}'`
22283 +# Check for a 64-bit object if we didn't find anything.
22284 +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; }
22285 +}'`; fi
22286 +else
22287 + echo "$as_me: failed program was:" >&5
22288 +sed 's/^/| /' conftest.$ac_ext >&5
22289 +
22290 +
22291 +fi
22292 +
22293 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22294 + conftest$ac_exeext conftest.$ac_ext
22295 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22296 +
22297 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22298 + # Warning - without using the other run time loading flags,
22299 + # -berok will link without error, but may produce a broken library.
22300 + no_undefined_flag_F77=' ${wl}-bernotok'
22301 + allow_undefined_flag_F77=' ${wl}-berok'
22302 + # Exported symbols can be pulled into shared objects from archives
22303 + whole_archive_flag_spec_F77='$convenience'
22304 + archive_cmds_need_lc_F77=yes
22305 + # This is similar to how AIX traditionally builds its shared libraries.
22306 + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
22307 + fi
22308 + fi
22309 + ;;
22310 +
22311 + amigaos*)
22312 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
22313 + hardcode_libdir_flag_spec_F77='-L$libdir'
22314 + hardcode_minus_L_F77=yes
22315 + # see comment about different semantics on the GNU ld section
22316 + ld_shlibs_F77=no
22317 + ;;
22318 +
22319 + bsdi[45]*)
22320 + export_dynamic_flag_spec_F77=-rdynamic
22321 + ;;
22322 +
22323 + cygwin* | mingw* | pw32*)
22324 + # When not using gcc, we currently assume that we are using
22325 + # Microsoft Visual C++.
22326 + # hardcode_libdir_flag_spec is actually meaningless, as there is
22327 + # no search path for DLLs.
22328 + hardcode_libdir_flag_spec_F77=' '
22329 + allow_undefined_flag_F77=unsupported
22330 + # Tell ltmain to make .lib files, not .a files.
22331 + libext=lib
22332 + # Tell ltmain to make .dll files, not .so files.
22333 + shrext_cmds=".dll"
22334 + # FIXME: Setting linknames here is a bad hack.
22335 + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22336 + # The linker will automatically build a .lib file if we build a DLL.
22337 + old_archive_From_new_cmds_F77='true'
22338 + # FIXME: Should let the user specify the lib program.
22339 + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
22340 + fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
22341 + enable_shared_with_static_runtimes_F77=yes
22342 + ;;
22343 +
22344 + darwin* | rhapsody*)
22345 + case $host_os in
22346 + rhapsody* | darwin1.[012])
22347 + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
22348 + ;;
22349 + *) # Darwin 1.3 on
22350 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22351 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22352 + else
22353 + case ${MACOSX_DEPLOYMENT_TARGET} in
22354 + 10.[012])
22355 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22356 + ;;
22357 + 10.*)
22358 + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
22359 + ;;
22360 + esac
22361 + fi
22362 + ;;
22363 + esac
22364 + archive_cmds_need_lc_F77=no
22365 + hardcode_direct_F77=no
22366 + hardcode_automatic_F77=yes
22367 + hardcode_shlibpath_var_F77=unsupported
22368 + whole_archive_flag_spec_F77=''
22369 + link_all_deplibs_F77=yes
22370 + if test "$GCC" = yes ; then
22371 + output_verbose_link_cmd='echo'
22372 + archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22373 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22374 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22375 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22376 + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22377 + else
22378 + case $cc_basename in
22379 + xlc*)
22380 + output_verbose_link_cmd='echo'
22381 + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
22382 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22383 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22384 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22385 + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
22386 + ;;
22387 + *)
22388 + ld_shlibs_F77=no
22389 + ;;
22390 + esac
22391 + fi
22392 + ;;
22393 +
22394 + dgux*)
22395 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22396 + hardcode_libdir_flag_spec_F77='-L$libdir'
22397 + hardcode_shlibpath_var_F77=no
22398 + ;;
22399 +
22400 + freebsd1*)
22401 + ld_shlibs_F77=no
22402 + ;;
22403 +
22404 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22405 + # support. Future versions do this automatically, but an explicit c++rt0.o
22406 + # does not break anything, and helps significantly (at the cost of a little
22407 + # extra space).
22408 + freebsd2.2*)
22409 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22410 + hardcode_libdir_flag_spec_F77='-R$libdir'
22411 + hardcode_direct_F77=yes
22412 + hardcode_shlibpath_var_F77=no
22413 + ;;
22414 +
22415 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22416 + freebsd2*)
22417 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22418 + hardcode_direct_F77=yes
22419 + hardcode_minus_L_F77=yes
22420 + hardcode_shlibpath_var_F77=no
22421 + ;;
22422 +
22423 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22424 + freebsd* | dragonfly*)
22425 + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22426 + hardcode_libdir_flag_spec_F77='-R$libdir'
22427 + hardcode_direct_F77=yes
22428 + hardcode_shlibpath_var_F77=no
22429 + ;;
22430 +
22431 + hpux9*)
22432 + if test "$GCC" = yes; then
22433 + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
22434 + else
22435 + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
22436 + fi
22437 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22438 + hardcode_libdir_separator_F77=:
22439 + hardcode_direct_F77=yes
22440 +
22441 + # hardcode_minus_L: Not really in the search PATH,
22442 + # but as the default location of the library.
22443 + hardcode_minus_L_F77=yes
22444 + export_dynamic_flag_spec_F77='${wl}-E'
22445 + ;;
22446 +
22447 + hpux10*)
22448 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22449 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22450 + else
22451 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22452 + fi
22453 + if test "$with_gnu_ld" = no; then
22454 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22455 + hardcode_libdir_separator_F77=:
22456 +
22457 + hardcode_direct_F77=yes
22458 + export_dynamic_flag_spec_F77='${wl}-E'
22459 +
22460 + # hardcode_minus_L: Not really in the search PATH,
22461 + # but as the default location of the library.
22462 + hardcode_minus_L_F77=yes
22463 + fi
22464 + ;;
22465 +
22466 + hpux11*)
22467 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22468 + case $host_cpu in
22469 + hppa*64*)
22470 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22471 + ;;
22472 + ia64*)
22473 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22474 + ;;
22475 + *)
22476 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22477 + ;;
22478 + esac
22479 + else
22480 + case $host_cpu in
22481 + hppa*64*)
22482 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22483 + ;;
22484 + ia64*)
22485 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22486 + ;;
22487 + *)
22488 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22489 + ;;
22490 + esac
22491 + fi
22492 + if test "$with_gnu_ld" = no; then
22493 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22494 + hardcode_libdir_separator_F77=:
22495 +
22496 + case $host_cpu in
22497 + hppa*64*|ia64*)
22498 + hardcode_libdir_flag_spec_ld_F77='+b $libdir'
22499 + hardcode_direct_F77=no
22500 + hardcode_shlibpath_var_F77=no
22501 + ;;
22502 + *)
22503 + hardcode_direct_F77=yes
22504 + export_dynamic_flag_spec_F77='${wl}-E'
22505 +
22506 + # hardcode_minus_L: Not really in the search PATH,
22507 + # but as the default location of the library.
22508 + hardcode_minus_L_F77=yes
22509 + ;;
22510 + esac
22511 + fi
22512 + ;;
22513 +
22514 + irix5* | irix6* | nonstopux*)
22515 + if test "$GCC" = yes; then
22516 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22517 + else
22518 + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22519 + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
22520 + fi
22521 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22522 + hardcode_libdir_separator_F77=:
22523 + link_all_deplibs_F77=yes
22524 + ;;
22525 +
22526 + netbsd* | netbsdelf*-gnu)
22527 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22528 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22529 + else
22530 + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22531 + fi
22532 + hardcode_libdir_flag_spec_F77='-R$libdir'
22533 + hardcode_direct_F77=yes
22534 + hardcode_shlibpath_var_F77=no
22535 + ;;
22536 +
22537 + newsos6)
22538 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22539 + hardcode_direct_F77=yes
22540 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22541 + hardcode_libdir_separator_F77=:
22542 + hardcode_shlibpath_var_F77=no
22543 + ;;
22544 +
22545 + openbsd*)
22546 + hardcode_direct_F77=yes
22547 + hardcode_shlibpath_var_F77=no
22548 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22549 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22550 + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22551 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22552 + export_dynamic_flag_spec_F77='${wl}-E'
22553 + else
22554 + case $host_os in
22555 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
22556 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22557 + hardcode_libdir_flag_spec_F77='-R$libdir'
22558 + ;;
22559 + *)
22560 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22561 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22562 + ;;
22563 + esac
22564 + fi
22565 + ;;
22566 +
22567 + os2*)
22568 + hardcode_libdir_flag_spec_F77='-L$libdir'
22569 + hardcode_minus_L_F77=yes
22570 + allow_undefined_flag_F77=unsupported
22571 + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
22572 + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22573 + ;;
22574 +
22575 + osf3*)
22576 + if test "$GCC" = yes; then
22577 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22578 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22579 + else
22580 + allow_undefined_flag_F77=' -expect_unresolved \*'
22581 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22582 + fi
22583 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22584 + hardcode_libdir_separator_F77=:
22585 + ;;
22586 +
22587 + osf4* | osf5*) # as osf3* with the addition of -msym flag
22588 + if test "$GCC" = yes; then
22589 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22590 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22591 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22592 + else
22593 + allow_undefined_flag_F77=' -expect_unresolved \*'
22594 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22595 + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
22596 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
22597 +
22598 + # Both c and cxx compiler support -rpath directly
22599 + hardcode_libdir_flag_spec_F77='-rpath $libdir'
22600 + fi
22601 + hardcode_libdir_separator_F77=:
22602 + ;;
22603 +
22604 + solaris*)
22605 + no_undefined_flag_F77=' -z text'
22606 + if test "$GCC" = yes; then
22607 + wlarc='${wl}'
22608 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22609 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22610 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22611 + else
22612 + wlarc=''
22613 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22614 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22615 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22616 + fi
22617 + hardcode_libdir_flag_spec_F77='-R$libdir'
22618 + hardcode_shlibpath_var_F77=no
22619 + case $host_os in
22620 + solaris2.[0-5] | solaris2.[0-5].*) ;;
22621 + *)
22622 + # The compiler driver will combine linker options so we
22623 + # cannot just pass the convience library names through
22624 + # without $wl, iff we do not link with $LD.
22625 + # Luckily, gcc supports the same syntax we need for Sun Studio.
22626 + # Supported since Solaris 2.6 (maybe 2.5.1?)
22627 + case $wlarc in
22628 + '')
22629 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
22630 + *)
22631 + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
22632 + esac ;;
22633 + esac
22634 + link_all_deplibs_F77=yes
22635 + ;;
22636 +
22637 + sunos4*)
22638 + if test "x$host_vendor" = xsequent; then
22639 + # Use $CC to link under sequent, because it throws in some extra .o
22640 + # files that make .init and .fini sections work.
22641 + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22642 + else
22643 + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22644 + fi
22645 + hardcode_libdir_flag_spec_F77='-L$libdir'
22646 + hardcode_direct_F77=yes
22647 + hardcode_minus_L_F77=yes
22648 + hardcode_shlibpath_var_F77=no
22649 + ;;
22650 +
22651 + sysv4)
22652 + case $host_vendor in
22653 + sni)
22654 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22655 + hardcode_direct_F77=yes # is this really true???
22656 + ;;
22657 + siemens)
22658 + ## LD is ld it makes a PLAMLIB
22659 + ## CC just makes a GrossModule.
22660 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22661 + reload_cmds_F77='$CC -r -o $output$reload_objs'
22662 + hardcode_direct_F77=no
22663 + ;;
22664 + motorola)
22665 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22666 + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
22667 + ;;
22668 + esac
22669 + runpath_var='LD_RUN_PATH'
22670 + hardcode_shlibpath_var_F77=no
22671 + ;;
22672 +
22673 + sysv4.3*)
22674 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22675 + hardcode_shlibpath_var_F77=no
22676 + export_dynamic_flag_spec_F77='-Bexport'
22677 + ;;
22678 +
22679 + sysv4*MP*)
22680 + if test -d /usr/nec; then
22681 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22682 + hardcode_shlibpath_var_F77=no
22683 + runpath_var=LD_RUN_PATH
22684 + hardcode_runpath_var=yes
22685 + ld_shlibs_F77=yes
22686 + fi
22687 + ;;
22688 +
22689 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
22690 + no_undefined_flag_F77='${wl}-z,text'
22691 + archive_cmds_need_lc_F77=no
22692 + hardcode_shlibpath_var_F77=no
22693 + runpath_var='LD_RUN_PATH'
22694 +
22695 + if test "$GCC" = yes; then
22696 + archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22697 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22698 + else
22699 + archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22700 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22701 + fi
22702 + ;;
22703 +
22704 + sysv5* | sco3.2v5* | sco5v6*)
22705 + # Note: We can NOT use -z defs as we might desire, because we do not
22706 + # link with -lc, and that would cause any symbols used from libc to
22707 + # always be unresolved, which means just about no library would
22708 + # ever link correctly. If we're not using GNU ld we use -z text
22709 + # though, which does catch some bad symbols but isn't as heavy-handed
22710 + # as -z defs.
22711 + no_undefined_flag_F77='${wl}-z,text'
22712 + allow_undefined_flag_F77='${wl}-z,nodefs'
22713 + archive_cmds_need_lc_F77=no
22714 + hardcode_shlibpath_var_F77=no
22715 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22716 + hardcode_libdir_separator_F77=':'
22717 + link_all_deplibs_F77=yes
22718 + export_dynamic_flag_spec_F77='${wl}-Bexport'
22719 + runpath_var='LD_RUN_PATH'
22720 +
22721 + if test "$GCC" = yes; then
22722 + archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22723 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22724 + else
22725 + archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22726 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22727 + fi
22728 + ;;
22729 +
22730 + uts4*)
22731 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22732 + hardcode_libdir_flag_spec_F77='-L$libdir'
22733 + hardcode_shlibpath_var_F77=no
22734 + ;;
22735 +
22736 + *)
22737 + ld_shlibs_F77=no
22738 + ;;
22739 + esac
22740 + fi
22741 +
22742 +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22743 +echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22744 +test "$ld_shlibs_F77" = no && can_build_shared=no
22745 +
22746 +#
22747 +# Do we need to explicitly link libc?
22748 +#
22749 +case "x$archive_cmds_need_lc_F77" in
22750 +x|xyes)
22751 + # Assume -lc should be added
22752 + archive_cmds_need_lc_F77=yes
22753 +
22754 + if test "$enable_shared" = yes && test "$GCC" = yes; then
22755 + case $archive_cmds_F77 in
22756 + *'~'*)
22757 + # FIXME: we may have to deal with multi-command sequences.
22758 + ;;
22759 + '$CC '*)
22760 + # Test whether the compiler implicitly links with -lc since on some
22761 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
22762 + # to ld, don't add -lc before -lgcc.
22763 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22764 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22765 + $rm conftest*
22766 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22767 +
22768 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22769 + (eval $ac_compile) 2>&5
22770 + ac_status=$?
22771 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 + (exit $ac_status); } 2>conftest.err; then
22773 + soname=conftest
22774 + lib=conftest
22775 + libobjs=conftest.$ac_objext
22776 + deplibs=
22777 + wl=$lt_prog_compiler_wl_F77
22778 + pic_flag=$lt_prog_compiler_pic_F77
22779 + compiler_flags=-v
22780 + linker_flags=-v
22781 + verstring=
22782 + output_objdir=.
22783 + libname=conftest
22784 + lt_save_allow_undefined_flag=$allow_undefined_flag_F77
22785 + allow_undefined_flag_F77=
22786 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22787 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
22788 + ac_status=$?
22789 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 + (exit $ac_status); }
22791 + then
22792 + archive_cmds_need_lc_F77=no
22793 + else
22794 + archive_cmds_need_lc_F77=yes
22795 + fi
22796 + allow_undefined_flag_F77=$lt_save_allow_undefined_flag
22797 + else
22798 + cat conftest.err 1>&5
22799 + fi
22800 + $rm conftest*
22801 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22802 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22803 + ;;
22804 + esac
22805 + fi
22806 + ;;
22807 +esac
22808 +
22809 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22810 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22811 +library_names_spec=
22812 +libname_spec='lib$name'
22813 +soname_spec=
22814 +shrext_cmds=".so"
22815 +postinstall_cmds=
22816 +postuninstall_cmds=
22817 +finish_cmds=
22818 +finish_eval=
22819 +shlibpath_var=
22820 +shlibpath_overrides_runpath=unknown
22821 +version_type=none
22822 +dynamic_linker="$host_os ld.so"
22823 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
22824 +if test "$GCC" = yes; then
22825 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22826 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
22827 + # if the path contains ";" then we assume it to be the separator
22828 + # otherwise default to the standard path separator (i.e. ":") - it is
22829 + # assumed that no part of a normal pathname contains ";" but that should
22830 + # okay in the real world where ";" in dirpaths is itself problematic.
22831 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22832 + else
22833 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22834 + fi
22835 +else
22836 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
22837 +fi
22838 +need_lib_prefix=unknown
22839 +hardcode_into_libs=no
22840 +
22841 +# when you set need_version to no, make sure it does not cause -set_version
22842 +# flags to be left without arguments
22843 +need_version=unknown
22844 +
22845 +case $host_os in
22846 +aix3*)
22847 + version_type=linux
22848 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
22849 + shlibpath_var=LIBPATH
22850 +
22851 + # AIX 3 has no versioning support, so we append a major version to the name.
22852 + soname_spec='${libname}${release}${shared_ext}$major'
22853 + ;;
22854 +
22855 +aix4* | aix5*)
22856 + version_type=linux
22857 + need_lib_prefix=no
22858 + need_version=no
22859 + hardcode_into_libs=yes
22860 + if test "$host_cpu" = ia64; then
22861 + # AIX 5 supports IA64
22862 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22863 + shlibpath_var=LD_LIBRARY_PATH
22864 + else
22865 + # With GCC up to 2.95.x, collect2 would create an import file
22866 + # for dependence libraries. The import file would start with
22867 + # the line `#! .'. This would cause the generated library to
22868 + # depend on `.', always an invalid library. This was fixed in
22869 + # development snapshots of GCC prior to 3.0.
22870 + case $host_os in
22871 + aix4 | aix4.[01] | aix4.[01].*)
22872 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22873 + echo ' yes '
22874 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
22875 + :
22876 + else
22877 + can_build_shared=no
22878 + fi
22879 + ;;
22880 + esac
22881 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22882 + # soname into executable. Probably we can add versioning support to
22883 + # collect2, so additional links can be useful in future.
22884 + if test "$aix_use_runtimelinking" = yes; then
22885 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22886 + # instead of lib<name>.a to let people know that these are not
22887 + # typical AIX shared libraries.
22888 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22889 + else
22890 + # We preserve .a as extension for shared libraries through AIX4.2
22891 + # and later when we are not doing run time linking.
22892 + library_names_spec='${libname}${release}.a $libname.a'
22893 + soname_spec='${libname}${release}${shared_ext}$major'
22894 + fi
22895 + shlibpath_var=LIBPATH
22896 + fi
22897 + ;;
22898 +
22899 +amigaos*)
22900 + library_names_spec='$libname.ixlibrary $libname.a'
22901 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
22902 + 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'
22903 + ;;
22904 +
22905 +beos*)
22906 + library_names_spec='${libname}${shared_ext}'
22907 + dynamic_linker="$host_os ld.so"
22908 + shlibpath_var=LIBRARY_PATH
22909 + ;;
22910 +
22911 +bsdi[45]*)
22912 + version_type=linux
22913 + need_version=no
22914 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22915 + soname_spec='${libname}${release}${shared_ext}$major'
22916 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22917 + shlibpath_var=LD_LIBRARY_PATH
22918 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22919 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22920 + # the default ld.so.conf also contains /usr/contrib/lib and
22921 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22922 + # libtool to hard-code these into programs
22923 + ;;
22924 +
22925 +cygwin* | mingw* | pw32*)
22926 + version_type=windows
22927 + shrext_cmds=".dll"
22928 + need_version=no
22929 + need_lib_prefix=no
22930 +
22931 + case $GCC,$host_os in
22932 + yes,cygwin* | yes,mingw* | yes,pw32*)
22933 + library_names_spec='$libname.dll.a'
22934 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
22935 + postinstall_cmds='base_file=`basename \${file}`~
22936 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22937 + dldir=$destdir/`dirname \$dlpath`~
22938 + test -d \$dldir || mkdir -p \$dldir~
22939 + $install_prog $dir/$dlname \$dldir/$dlname~
22940 + chmod a+x \$dldir/$dlname'
22941 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22942 + dlpath=$dir/\$dldll~
22943 + $rm \$dlpath'
22944 + shlibpath_overrides_runpath=yes
22945 +
22946 + case $host_os in
22947 + cygwin*)
22948 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22949 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22950 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
22951 + ;;
22952 + mingw*)
22953 + # MinGW DLLs use traditional 'lib' prefix
22954 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22955 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22956 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
22957 + # It is most probably a Windows format PATH printed by
22958 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
22959 + # path with ; separators, and with drive letters. We can handle the
22960 + # drive letters (cygwin fileutils understands them), so leave them,
22961 + # especially as we might pass files found there to a mingw objdump,
22962 + # which wouldn't understand a cygwinified path. Ahh.
22963 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22964 + else
22965 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22966 + fi
22967 + ;;
22968 + pw32*)
22969 + # pw32 DLLs use 'pw' prefix rather than 'lib'
22970 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22971 + ;;
22972 + esac
22973 + ;;
22974 +
22975 + *)
22976 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22977 + ;;
22978 + esac
22979 + dynamic_linker='Win32 ld.exe'
22980 + # FIXME: first we should search . and the directory the executable is in
22981 + shlibpath_var=PATH
22982 + ;;
22983 +
22984 +darwin* | rhapsody*)
22985 + dynamic_linker="$host_os dyld"
22986 + version_type=darwin
22987 + need_lib_prefix=no
22988 + need_version=no
22989 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22990 + soname_spec='${libname}${release}${major}$shared_ext'
22991 + shlibpath_overrides_runpath=yes
22992 + shlibpath_var=DYLD_LIBRARY_PATH
22993 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22994 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22995 + if test "$GCC" = yes; then
22996 + 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"`
22997 + else
22998 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
22999 + fi
23000 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
23001 + ;;
23002 +
23003 +dgux*)
23004 + version_type=linux
23005 + need_lib_prefix=no
23006 + need_version=no
23007 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23008 + soname_spec='${libname}${release}${shared_ext}$major'
23009 + shlibpath_var=LD_LIBRARY_PATH
23010 + ;;
23011 +
23012 +freebsd1*)
23013 + dynamic_linker=no
23014 + ;;
23015 +
23016 +freebsd* | dragonfly*)
23017 + # DragonFly does not have aout. When/if they implement a new
23018 + # versioning mechanism, adjust this.
23019 + if test -x /usr/bin/objformat; then
23020 + objformat=`/usr/bin/objformat`
23021 + else
23022 + case $host_os in
23023 + freebsd[123]*) objformat=aout ;;
23024 + *) objformat=elf ;;
23025 + esac
23026 + fi
23027 + version_type=freebsd-$objformat
23028 + case $version_type in
23029 + freebsd-elf*)
23030 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23031 + need_version=no
23032 + need_lib_prefix=no
23033 + ;;
23034 + freebsd-*)
23035 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23036 + need_version=yes
23037 + ;;
23038 + esac
23039 + shlibpath_var=LD_LIBRARY_PATH
23040 + case $host_os in
23041 + freebsd2*)
23042 + shlibpath_overrides_runpath=yes
23043 + ;;
23044 + freebsd3.[01]* | freebsdelf3.[01]*)
23045 + shlibpath_overrides_runpath=yes
23046 + hardcode_into_libs=yes
23047 + ;;
23048 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
23049 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
23050 + shlibpath_overrides_runpath=no
23051 + hardcode_into_libs=yes
23052 + ;;
23053 + freebsd*) # from 4.6 on
23054 + shlibpath_overrides_runpath=yes
23055 + hardcode_into_libs=yes
23056 + ;;
23057 + esac
23058 + ;;
23059 +
23060 +gnu*)
23061 + version_type=linux
23062 + need_lib_prefix=no
23063 + need_version=no
23064 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
23065 + soname_spec='${libname}${release}${shared_ext}$major'
23066 + shlibpath_var=LD_LIBRARY_PATH
23067 + hardcode_into_libs=yes
23068 + ;;
23069 +
23070 +hpux9* | hpux10* | hpux11*)
23071 + # Give a soname corresponding to the major version so that dld.sl refuses to
23072 + # link against other versions.
23073 + version_type=sunos
23074 + need_lib_prefix=no
23075 + need_version=no
23076 + case $host_cpu in
23077 + ia64*)
23078 + shrext_cmds='.so'
23079 + hardcode_into_libs=yes
23080 + dynamic_linker="$host_os dld.so"
23081 + shlibpath_var=LD_LIBRARY_PATH
23082 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23083 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23084 + soname_spec='${libname}${release}${shared_ext}$major'
23085 + if test "X$HPUX_IA64_MODE" = X32; then
23086 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23087 + else
23088 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
23089 + fi
23090 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23091 + ;;
23092 + hppa*64*)
23093 + shrext_cmds='.sl'
23094 + hardcode_into_libs=yes
23095 + dynamic_linker="$host_os dld.sl"
23096 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
23097 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23098 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23099 + soname_spec='${libname}${release}${shared_ext}$major'
23100 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23101 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23102 + ;;
23103 + *)
23104 + shrext_cmds='.sl'
23105 + dynamic_linker="$host_os dld.sl"
23106 + shlibpath_var=SHLIB_PATH
23107 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
23108 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23109 + soname_spec='${libname}${release}${shared_ext}$major'
23110 + ;;
23111 + esac
23112 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
23113 + postinstall_cmds='chmod 555 $lib'
23114 + ;;
23115 +
23116 +interix3*)
23117 + version_type=linux
23118 + need_lib_prefix=no
23119 + need_version=no
23120 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23121 + soname_spec='${libname}${release}${shared_ext}$major'
23122 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
23123 + shlibpath_var=LD_LIBRARY_PATH
23124 + shlibpath_overrides_runpath=no
23125 + hardcode_into_libs=yes
23126 + ;;
23127 +
23128 +irix5* | irix6* | nonstopux*)
23129 + case $host_os in
23130 + nonstopux*) version_type=nonstopux ;;
23131 + *)
23132 + if test "$lt_cv_prog_gnu_ld" = yes; then
23133 + version_type=linux
23134 + else
23135 + version_type=irix
23136 + fi ;;
23137 + esac
23138 + need_lib_prefix=no
23139 + need_version=no
23140 + soname_spec='${libname}${release}${shared_ext}$major'
23141 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
23142 + case $host_os in
23143 + irix5* | nonstopux*)
23144 + libsuff= shlibsuff=
23145 + ;;
23146 + *)
23147 + case $LD in # libtool.m4 will add one of these switches to LD
23148 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
23149 + libsuff= shlibsuff= libmagic=32-bit;;
23150 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
23151 + libsuff=32 shlibsuff=N32 libmagic=N32;;
23152 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
23153 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
23154 + *) libsuff= shlibsuff= libmagic=never-match;;
23155 + esac
23156 + ;;
23157 + esac
23158 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
23159 + shlibpath_overrides_runpath=no
23160 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
23161 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
23162 + hardcode_into_libs=yes
23163 + ;;
23164 +
23165 +# No shared lib support for Linux oldld, aout, or coff.
23166 +linux*oldld* | linux*aout* | linux*coff*)
23167 + dynamic_linker=no
23168 + ;;
23169 +
23170 +# This must be Linux ELF.
23171 +linux* | k*bsd*-gnu)
23172 + version_type=linux
23173 + need_lib_prefix=no
23174 + need_version=no
23175 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23176 + soname_spec='${libname}${release}${shared_ext}$major'
23177 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23178 + shlibpath_var=LD_LIBRARY_PATH
23179 + shlibpath_overrides_runpath=no
23180 + # This implies no fast_install, which is unacceptable.
23181 + # Some rework will be needed to allow for fast_install
23182 + # before this can be enabled.
23183 + hardcode_into_libs=yes
23184 +
23185 + # Append ld.so.conf contents to the search path
23186 + if test -f /etc/ld.so.conf; then
23187 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
23188 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
23189 + fi
23190 +
23191 + # We used to test for /lib/ld.so.1 and disable shared libraries on
23192 + # powerpc, because MkLinux only supported shared libraries with the
23193 + # GNU dynamic linker. Since this was broken with cross compilers,
23194 + # most powerpc-linux boxes support dynamic linking these days and
23195 + # people can always --disable-shared, the test was removed, and we
23196 + # assume the GNU/Linux dynamic linker is in use.
23197 + dynamic_linker='GNU/Linux ld.so'
23198 + ;;
23199 +
23200 +netbsdelf*-gnu)
23201 + version_type=linux
23202 + need_lib_prefix=no
23203 + need_version=no
23204 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23205 + soname_spec='${libname}${release}${shared_ext}$major'
23206 + shlibpath_var=LD_LIBRARY_PATH
23207 + shlibpath_overrides_runpath=no
23208 + hardcode_into_libs=yes
23209 + dynamic_linker='NetBSD ld.elf_so'
23210 + ;;
23211 +
23212 +netbsd*)
23213 + version_type=sunos
23214 + need_lib_prefix=no
23215 + need_version=no
23216 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23217 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23218 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23219 + dynamic_linker='NetBSD (a.out) ld.so'
23220 + else
23221 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23222 + soname_spec='${libname}${release}${shared_ext}$major'
23223 + dynamic_linker='NetBSD ld.elf_so'
23224 + fi
23225 + shlibpath_var=LD_LIBRARY_PATH
23226 + shlibpath_overrides_runpath=yes
23227 + hardcode_into_libs=yes
23228 + ;;
23229 +
23230 +newsos6)
23231 + version_type=linux
23232 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23233 + shlibpath_var=LD_LIBRARY_PATH
23234 + shlibpath_overrides_runpath=yes
23235 + ;;
23236 +
23237 +nto-qnx*)
23238 + version_type=linux
23239 + need_lib_prefix=no
23240 + need_version=no
23241 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23242 + soname_spec='${libname}${release}${shared_ext}$major'
23243 + shlibpath_var=LD_LIBRARY_PATH
23244 + shlibpath_overrides_runpath=yes
23245 + ;;
23246 +
23247 +openbsd*)
23248 + version_type=sunos
23249 + sys_lib_dlsearch_path_spec="/usr/lib"
23250 + need_lib_prefix=no
23251 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23252 + case $host_os in
23253 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
23254 + *) need_version=no ;;
23255 + esac
23256 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23257 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23258 + shlibpath_var=LD_LIBRARY_PATH
23259 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23260 + case $host_os in
23261 + openbsd2.[89] | openbsd2.[89].*)
23262 + shlibpath_overrides_runpath=no
23263 + ;;
23264 + *)
23265 + shlibpath_overrides_runpath=yes
23266 + ;;
23267 + esac
23268 + else
23269 + shlibpath_overrides_runpath=yes
23270 + fi
23271 + ;;
23272 +
23273 +os2*)
23274 + libname_spec='$name'
23275 + shrext_cmds=".dll"
23276 + need_lib_prefix=no
23277 + library_names_spec='$libname${shared_ext} $libname.a'
23278 + dynamic_linker='OS/2 ld.exe'
23279 + shlibpath_var=LIBPATH
23280 + ;;
23281 +
23282 +osf3* | osf4* | osf5*)
23283 + version_type=osf
23284 + need_lib_prefix=no
23285 + need_version=no
23286 + soname_spec='${libname}${release}${shared_ext}$major'
23287 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23288 + shlibpath_var=LD_LIBRARY_PATH
23289 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23290 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
23291 + ;;
23292 +
23293 +solaris*)
23294 + version_type=linux
23295 + need_lib_prefix=no
23296 + need_version=no
23297 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23298 + soname_spec='${libname}${release}${shared_ext}$major'
23299 + shlibpath_var=LD_LIBRARY_PATH
23300 + shlibpath_overrides_runpath=yes
23301 + hardcode_into_libs=yes
23302 + # ldd complains unless libraries are executable
23303 + postinstall_cmds='chmod +x $lib'
23304 + ;;
23305 +
23306 +sunos4*)
23307 + version_type=sunos
23308 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23309 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23310 + shlibpath_var=LD_LIBRARY_PATH
23311 + shlibpath_overrides_runpath=yes
23312 + if test "$with_gnu_ld" = yes; then
23313 + need_lib_prefix=no
23314 + fi
23315 + need_version=yes
23316 + ;;
23317 +
23318 +sysv4 | sysv4.3*)
23319 + version_type=linux
23320 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23321 + soname_spec='${libname}${release}${shared_ext}$major'
23322 + shlibpath_var=LD_LIBRARY_PATH
23323 + case $host_vendor in
23324 + sni)
23325 + shlibpath_overrides_runpath=no
23326 + need_lib_prefix=no
23327 + export_dynamic_flag_spec='${wl}-Blargedynsym'
23328 + runpath_var=LD_RUN_PATH
23329 + ;;
23330 + siemens)
23331 + need_lib_prefix=no
23332 + ;;
23333 + motorola)
23334 + need_lib_prefix=no
23335 + need_version=no
23336 + shlibpath_overrides_runpath=no
23337 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
23338 + ;;
23339 + esac
23340 + ;;
23341 +
23342 +sysv4*MP*)
23343 + if test -d /usr/nec ;then
23344 + version_type=linux
23345 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23346 + soname_spec='$libname${shared_ext}.$major'
23347 + shlibpath_var=LD_LIBRARY_PATH
23348 + fi
23349 + ;;
23350 +
23351 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
23352 + version_type=freebsd-elf
23353 + need_lib_prefix=no
23354 + need_version=no
23355 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23356 + soname_spec='${libname}${release}${shared_ext}$major'
23357 + shlibpath_var=LD_LIBRARY_PATH
23358 + hardcode_into_libs=yes
23359 + if test "$with_gnu_ld" = yes; then
23360 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23361 + shlibpath_overrides_runpath=no
23362 + else
23363 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
23364 + shlibpath_overrides_runpath=yes
23365 + case $host_os in
23366 + sco3.2v5*)
23367 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
23368 + ;;
23369 + esac
23370 + fi
23371 + sys_lib_dlsearch_path_spec='/usr/lib'
23372 + ;;
23373 +
23374 +uts4*)
23375 + version_type=linux
23376 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23377 + soname_spec='${libname}${release}${shared_ext}$major'
23378 + shlibpath_var=LD_LIBRARY_PATH
23379 + ;;
23380 +
23381 +*)
23382 + dynamic_linker=no
23383 + ;;
23384 +esac
23385 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23386 +echo "${ECHO_T}$dynamic_linker" >&6; }
23387 +test "$dynamic_linker" = no && can_build_shared=no
23388 +
23389 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23390 +if test "$GCC" = yes; then
23391 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23392 +fi
23393 +
23394 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23395 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23396 +hardcode_action_F77=
23397 +if test -n "$hardcode_libdir_flag_spec_F77" || \
23398 + test -n "$runpath_var_F77" || \
23399 + test "X$hardcode_automatic_F77" = "Xyes" ; then
23400 +
23401 + # We can hardcode non-existant directories.
23402 + if test "$hardcode_direct_F77" != no &&
23403 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
23404 + # have to relink, otherwise we might link with an installed library
23405 + # when we should be linking with a yet-to-be-installed one
23406 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23407 + test "$hardcode_minus_L_F77" != no; then
23408 + # Linking always hardcodes the temporary library directory.
23409 + hardcode_action_F77=relink
23410 + else
23411 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
23412 + hardcode_action_F77=immediate
23413 + fi
23414 +else
23415 + # We cannot hardcode anything, or else we can only hardcode existing
23416 + # directories.
23417 + hardcode_action_F77=unsupported
23418 +fi
23419 +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23420 +echo "${ECHO_T}$hardcode_action_F77" >&6; }
23421 +
23422 +if test "$hardcode_action_F77" = relink; then
23423 + # Fast installation is not supported
23424 + enable_fast_install=no
23425 +elif test "$shlibpath_overrides_runpath" = yes ||
23426 + test "$enable_shared" = no; then
23427 + # Fast installation is not necessary
23428 + enable_fast_install=needless
23429 +fi
23430 +
23431 +
23432 +# The else clause should only fire when bootstrapping the
23433 +# libtool distribution, otherwise you forgot to ship ltmain.sh
23434 +# with your package, and you will get complaints that there are
23435 +# no rules to generate ltmain.sh.
23436 +if test -f "$ltmain"; then
23437 + # See if we are running on zsh, and set the options which allow our commands through
23438 + # without removal of \ escapes.
23439 + if test -n "${ZSH_VERSION+set}" ; then
23440 + setopt NO_GLOB_SUBST
23441 + fi
23442 + # Now quote all the things that may contain metacharacters while being
23443 + # careful not to overquote the AC_SUBSTed values. We take copies of the
23444 + # variables and quote the copies for generation of the libtool script.
23445 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23446 + SED SHELL STRIP \
23447 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23448 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23449 + deplibs_check_method reload_flag reload_cmds need_locks \
23450 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23451 + lt_cv_sys_global_symbol_to_c_name_address \
23452 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23453 + old_postinstall_cmds old_postuninstall_cmds \
23454 + compiler_F77 \
23455 + CC_F77 \
23456 + LD_F77 \
23457 + lt_prog_compiler_wl_F77 \
23458 + lt_prog_compiler_pic_F77 \
23459 + lt_prog_compiler_static_F77 \
23460 + lt_prog_compiler_no_builtin_flag_F77 \
23461 + export_dynamic_flag_spec_F77 \
23462 + thread_safe_flag_spec_F77 \
23463 + whole_archive_flag_spec_F77 \
23464 + enable_shared_with_static_runtimes_F77 \
23465 + old_archive_cmds_F77 \
23466 + old_archive_from_new_cmds_F77 \
23467 + predep_objects_F77 \
23468 + postdep_objects_F77 \
23469 + predeps_F77 \
23470 + postdeps_F77 \
23471 + compiler_lib_search_path_F77 \
23472 + archive_cmds_F77 \
23473 + archive_expsym_cmds_F77 \
23474 + postinstall_cmds_F77 \
23475 + postuninstall_cmds_F77 \
23476 + old_archive_from_expsyms_cmds_F77 \
23477 + allow_undefined_flag_F77 \
23478 + no_undefined_flag_F77 \
23479 + export_symbols_cmds_F77 \
23480 + hardcode_libdir_flag_spec_F77 \
23481 + hardcode_libdir_flag_spec_ld_F77 \
23482 + hardcode_libdir_separator_F77 \
23483 + hardcode_automatic_F77 \
23484 + module_cmds_F77 \
23485 + module_expsym_cmds_F77 \
23486 + lt_cv_prog_compiler_c_o_F77 \
23487 + exclude_expsyms_F77 \
23488 + include_expsyms_F77; do
23489 +
23490 + case $var in
23491 + old_archive_cmds_F77 | \
23492 + old_archive_from_new_cmds_F77 | \
23493 + archive_cmds_F77 | \
23494 + archive_expsym_cmds_F77 | \
23495 + module_cmds_F77 | \
23496 + module_expsym_cmds_F77 | \
23497 + old_archive_from_expsyms_cmds_F77 | \
23498 + export_symbols_cmds_F77 | \
23499 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
23500 + postinstall_cmds | postuninstall_cmds | \
23501 + old_postinstall_cmds | old_postuninstall_cmds | \
23502 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
23503 + # Double-quote double-evaled strings.
23504 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23505 + ;;
23506 + *)
23507 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23508 + ;;
23509 + esac
23510 + done
23511 +
23512 + case $lt_echo in
23513 + *'\$0 --fallback-echo"')
23514 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23515 + ;;
23516 + esac
23517 +
23518 +cfgfile="$ofile"
23519 +
23520 + cat <<__EOF__ >> "$cfgfile"
23521 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
23522 +
23523 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23524 +
23525 +# Shell to use when invoking shell scripts.
23526 +SHELL=$lt_SHELL
23527 +
23528 +# Whether or not to build shared libraries.
23529 +build_libtool_libs=$enable_shared
23530 +
23531 +# Whether or not to build static libraries.
23532 +build_old_libs=$enable_static
23533 +
23534 +# Whether or not to add -lc for building shared libraries.
23535 +build_libtool_need_lc=$archive_cmds_need_lc_F77
23536 +
23537 +# Whether or not to disallow shared libs when runtime libs are static
23538 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23539 +
23540 +# Whether or not to optimize for fast installation.
23541 +fast_install=$enable_fast_install
23542 +
23543 +# The host system.
23544 +host_alias=$host_alias
23545 +host=$host
23546 +host_os=$host_os
23547 +
23548 +# The build system.
23549 +build_alias=$build_alias
23550 +build=$build
23551 +build_os=$build_os
23552 +
23553 +# An echo program that does not interpret backslashes.
23554 +echo=$lt_echo
23555 +
23556 +# The archiver.
23557 +AR=$lt_AR
23558 +AR_FLAGS=$lt_AR_FLAGS
23559 +
23560 +# A C compiler.
23561 +LTCC=$lt_LTCC
23562 +
23563 +# LTCC compiler flags.
23564 +LTCFLAGS=$lt_LTCFLAGS
23565 +
23566 +# A language-specific compiler.
23567 +CC=$lt_compiler_F77
23568 +
23569 +# Is the compiler the GNU C compiler?
23570 +with_gcc=$GCC_F77
23571 +
23572 +# An ERE matcher.
23573 +EGREP=$lt_EGREP
23574 +
23575 +# The linker used to build libraries.
23576 +LD=$lt_LD_F77
23577 +
23578 +# Whether we need hard or soft links.
23579 +LN_S=$lt_LN_S
23580 +
23581 +# A BSD-compatible nm program.
23582 +NM=$lt_NM
23583 +
23584 +# A symbol stripping program
23585 +STRIP=$lt_STRIP
23586 +
23587 +# Used to examine libraries when file_magic_cmd begins "file"
23588 +MAGIC_CMD=$MAGIC_CMD
23589 +
23590 +# Used on cygwin: DLL creation program.
23591 +DLLTOOL="$DLLTOOL"
23592 +
23593 +# Used on cygwin: object dumper.
23594 +OBJDUMP="$OBJDUMP"
23595 +
23596 +# Used on cygwin: assembler.
23597 +AS="$AS"
23598 +
23599 +# The name of the directory that contains temporary libtool files.
23600 +objdir=$objdir
23601 +
23602 +# How to create reloadable object files.
23603 +reload_flag=$lt_reload_flag
23604 +reload_cmds=$lt_reload_cmds
23605 +
23606 +# How to pass a linker flag through the compiler.
23607 +wl=$lt_lt_prog_compiler_wl_F77
23608 +
23609 +# Object file suffix (normally "o").
23610 +objext="$ac_objext"
23611 +
23612 +# Old archive suffix (normally "a").
23613 +libext="$libext"
23614 +
23615 +# Shared library suffix (normally ".so").
23616 +shrext_cmds='$shrext_cmds'
23617 +
23618 +# Executable file suffix (normally "").
23619 +exeext="$exeext"
23620 +
23621 +# Additional compiler flags for building library objects.
23622 +pic_flag=$lt_lt_prog_compiler_pic_F77
23623 +pic_mode=$pic_mode
23624 +
23625 +# What is the maximum length of a command?
23626 +max_cmd_len=$lt_cv_sys_max_cmd_len
23627 +
23628 +# Does compiler simultaneously support -c and -o options?
23629 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23630 +
23631 +# Must we lock files when doing compilation?
23632 +need_locks=$lt_need_locks
23633 +
23634 +# Do we need the lib prefix for modules?
23635 +need_lib_prefix=$need_lib_prefix
23636 +
23637 +# Do we need a version for libraries?
23638 +need_version=$need_version
23639 +
23640 +# Whether dlopen is supported.
23641 +dlopen_support=$enable_dlopen
23642 +
23643 +# Whether dlopen of programs is supported.
23644 +dlopen_self=$enable_dlopen_self
23645 +
23646 +# Whether dlopen of statically linked programs is supported.
23647 +dlopen_self_static=$enable_dlopen_self_static
23648 +
23649 +# Compiler flag to prevent dynamic linking.
23650 +link_static_flag=$lt_lt_prog_compiler_static_F77
23651 +
23652 +# Compiler flag to turn off builtin functions.
23653 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23654 +
23655 +# Compiler flag to allow reflexive dlopens.
23656 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23657 +
23658 +# Compiler flag to generate shared objects directly from archives.
23659 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23660 +
23661 +# Compiler flag to generate thread-safe objects.
23662 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23663 +
23664 +# Library versioning type.
23665 +version_type=$version_type
23666 +
23667 +# Format of library name prefix.
23668 +libname_spec=$lt_libname_spec
23669 +
23670 +# List of archive names. First name is the real one, the rest are links.
23671 +# The last name is the one that the linker finds with -lNAME.
23672 +library_names_spec=$lt_library_names_spec
23673 +
23674 +# The coded name of the library, if different from the real name.
23675 +soname_spec=$lt_soname_spec
23676 +
23677 +# Commands used to build and install an old-style archive.
23678 +RANLIB=$lt_RANLIB
23679 +old_archive_cmds=$lt_old_archive_cmds_F77
23680 +old_postinstall_cmds=$lt_old_postinstall_cmds
23681 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
23682 +
23683 +# Create an old-style archive from a shared archive.
23684 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23685 +
23686 +# Create a temporary old-style archive to link instead of a shared archive.
23687 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23688 +
23689 +# Commands used to build and install a shared archive.
23690 +archive_cmds=$lt_archive_cmds_F77
23691 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23692 +postinstall_cmds=$lt_postinstall_cmds
23693 +postuninstall_cmds=$lt_postuninstall_cmds
23694 +
23695 +# Commands used to build a loadable module (assumed same as above if empty)
23696 +module_cmds=$lt_module_cmds_F77
23697 +module_expsym_cmds=$lt_module_expsym_cmds_F77
23698 +
23699 +# Commands to strip libraries.
23700 +old_striplib=$lt_old_striplib
23701 +striplib=$lt_striplib
23702 +
23703 +# Dependencies to place before the objects being linked to create a
23704 +# shared library.
23705 +predep_objects=$lt_predep_objects_F77
23706 +
23707 +# Dependencies to place after the objects being linked to create a
23708 +# shared library.
23709 +postdep_objects=$lt_postdep_objects_F77
23710 +
23711 +# Dependencies to place before the objects being linked to create a
23712 +# shared library.
23713 +predeps=$lt_predeps_F77
23714 +
23715 +# Dependencies to place after the objects being linked to create a
23716 +# shared library.
23717 +postdeps=$lt_postdeps_F77
23718 +
23719 +# The library search path used internally by the compiler when linking
23720 +# a shared library.
23721 +compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23722 +
23723 +# Method to check whether dependent libraries are shared objects.
23724 +deplibs_check_method=$lt_deplibs_check_method
23725 +
23726 +# Command to use when deplibs_check_method == file_magic.
23727 +file_magic_cmd=$lt_file_magic_cmd
23728 +
23729 +# Flag that allows shared libraries with undefined symbols to be built.
23730 +allow_undefined_flag=$lt_allow_undefined_flag_F77
23731 +
23732 +# Flag that forces no undefined symbols.
23733 +no_undefined_flag=$lt_no_undefined_flag_F77
23734 +
23735 +# Commands used to finish a libtool library installation in a directory.
23736 +finish_cmds=$lt_finish_cmds
23737 +
23738 +# Same as above, but a single script fragment to be evaled but not shown.
23739 +finish_eval=$lt_finish_eval
23740 +
23741 +# Take the output of nm and produce a listing of raw symbols and C names.
23742 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23743 +
23744 +# Transform the output of nm in a proper C declaration
23745 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23746 +
23747 +# Transform the output of nm in a C name address pair
23748 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23749 +
23750 +# This is the shared library runtime path variable.
23751 +runpath_var=$runpath_var
23752 +
23753 +# This is the shared library path variable.
23754 +shlibpath_var=$shlibpath_var
23755 +
23756 +# Is shlibpath searched before the hard-coded library search path?
23757 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23758 +
23759 +# How to hardcode a shared library path into an executable.
23760 +hardcode_action=$hardcode_action_F77
23761 +
23762 +# Whether we should hardcode library paths into libraries.
23763 +hardcode_into_libs=$hardcode_into_libs
23764 +
23765 +# Flag to hardcode \$libdir into a binary during linking.
23766 +# This must work even if \$libdir does not exist.
23767 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23768 +
23769 +# If ld is used when linking, flag to hardcode \$libdir into
23770 +# a binary during linking. This must work even if \$libdir does
23771 +# not exist.
23772 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23773 +
23774 +# Whether we need a single -rpath flag with a separated argument.
23775 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23776 +
23777 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23778 +# resulting binary.
23779 +hardcode_direct=$hardcode_direct_F77
23780 +
23781 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23782 +# resulting binary.
23783 +hardcode_minus_L=$hardcode_minus_L_F77
23784 +
23785 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23786 +# the resulting binary.
23787 +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23788 +
23789 +# Set to yes if building a shared library automatically hardcodes DIR into the library
23790 +# and all subsequent libraries and executables linked against it.
23791 +hardcode_automatic=$hardcode_automatic_F77
23792 +
23793 +# Variables whose values should be saved in libtool wrapper scripts and
23794 +# restored at relink time.
23795 +variables_saved_for_relink="$variables_saved_for_relink"
23796 +
23797 +# Whether libtool must link a program against all its dependency libraries.
23798 +link_all_deplibs=$link_all_deplibs_F77
23799 +
23800 +# Compile-time system search path for libraries
23801 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23802 +
23803 +# Run-time system search path for libraries
23804 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23805 +
23806 +# Fix the shell variable \$srcfile for the compiler.
23807 +fix_srcfile_path="$fix_srcfile_path_F77"
23808 +
23809 +# Set to yes if exported symbols are required.
23810 +always_export_symbols=$always_export_symbols_F77
23811 +
23812 +# The commands to list exported symbols.
23813 +export_symbols_cmds=$lt_export_symbols_cmds_F77
23814 +
23815 +# The commands to extract the exported symbol list from a shared archive.
23816 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
23817 +
23818 +# Symbols that should not be listed in the preloaded symbols.
23819 +exclude_expsyms=$lt_exclude_expsyms_F77
23820 +
23821 +# Symbols that must always be exported.
23822 +include_expsyms=$lt_include_expsyms_F77
23823 +
23824 +# ### END LIBTOOL TAG CONFIG: $tagname
23825 +
23826 +__EOF__
23827 +
23828 +
23829 +else
23830 + # If there is no Makefile yet, we rely on a make rule to execute
23831 + # `config.status --recheck' to rerun these tests and create the
23832 + # libtool script then.
23833 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23834 + if test -f "$ltmain_in"; then
23835 + test -f Makefile && make "$ltmain"
23836 + fi
23837 +fi
23838 +
23839 +
23840 +ac_ext=c
23841 +ac_cpp='$CPP $CPPFLAGS'
23842 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23843 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23844 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
23845 +
23846 +CC="$lt_save_CC"
23847 +
23848 + else
23849 + tagname=""
23850 + fi
23851 + ;;
23852 +
23853 + GCJ)
23854 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23855 +
23856 +
23857 +# Source file extension for Java test sources.
23858 +ac_ext=java
23859 +
23860 +# Object file extension for compiled Java test sources.
23861 +objext=o
23862 +objext_GCJ=$objext
23863 +
23864 +# Code to be used in simple compile tests
23865 +lt_simple_compile_test_code="class foo {}\n"
23866 +
23867 +# Code to be used in simple link tests
23868 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
23869 +
23870 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
23871 +
23872 +# If no C compiler was specified, use CC.
23873 +LTCC=${LTCC-"$CC"}
23874 +
23875 +# If no C compiler flags were specified, use CFLAGS.
23876 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
23877 +
23878 +# Allow CC to be a program name with arguments.
23879 +compiler=$CC
23880 +
23881 +
23882 +# save warnings/boilerplate of simple test code
23883 +ac_outfile=conftest.$ac_objext
23884 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
23885 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23886 +_lt_compiler_boilerplate=`cat conftest.err`
23887 +$rm conftest*
23888 +
23889 +ac_outfile=conftest.$ac_objext
23890 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
23891 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23892 +_lt_linker_boilerplate=`cat conftest.err`
23893 +$rm conftest*
23894 +
23895 +
23896 +# Allow CC to be a program name with arguments.
23897 +lt_save_CC="$CC"
23898 +CC=${GCJ-"gcj"}
23899 +compiler=$CC
23900 +compiler_GCJ=$CC
23901 +for cc_temp in $compiler""; do
23902 + case $cc_temp in
23903 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23904 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23905 + \-*) ;;
23906 + *) break;;
23907 + esac
23908 +done
23909 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23910 +
23911 +
23912 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
23913 +archive_cmds_need_lc_GCJ=no
23914 +
23915 +old_archive_cmds_GCJ=$old_archive_cmds
23916 +
23917 +
23918 +lt_prog_compiler_no_builtin_flag_GCJ=
23919 +
23920 +if test "$GCC" = yes; then
23921 + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
23922 +
23923 +
23924 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23925 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23926 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23927 + echo $ECHO_N "(cached) $ECHO_C" >&6
23928 +else
23929 + lt_cv_prog_compiler_rtti_exceptions=no
23930 + ac_outfile=conftest.$ac_objext
23931 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23932 + lt_compiler_flag="-fno-rtti -fno-exceptions"
23933 + # Insert the option either (1) after the last *FLAGS variable, or
23934 + # (2) before a word containing "conftest.", or (3) at the end.
23935 + # Note that $ac_compile itself does not contain backslashes and begins
23936 + # with a dollar sign (not a hyphen), so the echo should work correctly.
23937 + # The option is referenced via a variable to avoid confusing sed.
23938 + lt_compile=`echo "$ac_compile" | $SED \
23939 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23940 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23941 + -e 's:$: $lt_compiler_flag:'`
23942 + (eval echo "\"\$as_me:16473: $lt_compile\"" >&5)
23943 + (eval "$lt_compile" 2>conftest.err)
23944 + ac_status=$?
23945 + cat conftest.err >&5
23946 + echo "$as_me:16477: \$? = $ac_status" >&5
23947 + if (exit $ac_status) && test -s "$ac_outfile"; then
23948 + # The compiler can only warn and ignore the option if not recognized
23949 + # So say no if there are warnings other than the usual output.
23950 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
23951 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23952 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23953 + lt_cv_prog_compiler_rtti_exceptions=yes
23954 + fi
23955 + fi
23956 + $rm conftest*
23957 +
23958 +fi
23959 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23960 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23961 +
23962 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
23963 + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23964 +else
23965 + :
23966 +fi
23967 +
23968 +fi
23969 +
23970 +lt_prog_compiler_wl_GCJ=
23971 +lt_prog_compiler_pic_GCJ=
23972 +lt_prog_compiler_static_GCJ=
23973 +
23974 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23975 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23976 +
23977 + if test "$GCC" = yes; then
23978 + lt_prog_compiler_wl_GCJ='-Wl,'
23979 + lt_prog_compiler_static_GCJ='-static'
23980 +
23981 + case $host_os in
23982 + aix*)
23983 + # All AIX code is PIC.
23984 + if test "$host_cpu" = ia64; then
23985 + # AIX 5 now supports IA64 processor
23986 + lt_prog_compiler_static_GCJ='-Bstatic'
23987 + fi
23988 + ;;
23989 +
23990 + amigaos*)
23991 + # FIXME: we need at least 68020 code to build shared libraries, but
23992 + # adding the `-m68020' flag to GCC prevents building anything better,
23993 + # like `-m68040'.
23994 + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
23995 + ;;
23996 +
23997 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
23998 + # PIC is the default for these OSes.
23999 + ;;
24000 +
24001 + mingw* | pw32* | os2*)
24002 + # This hack is so that the source file can tell whether it is being
24003 + # built for inclusion in a dll (and should export symbols for example).
24004 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
24005 + ;;
24006 +
24007 + darwin* | rhapsody*)
24008 + # PIC is the default on this platform
24009 + # Common symbols not allowed in MH_DYLIB files
24010 + lt_prog_compiler_pic_GCJ='-fno-common'
24011 + ;;
24012 +
24013 + interix3*)
24014 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
24015 + # Instead, we relocate shared libraries at runtime.
24016 + ;;
24017 +
24018 + msdosdjgpp*)
24019 + # Just because we use GCC doesn't mean we suddenly get shared libraries
24020 + # on systems that don't support them.
24021 + lt_prog_compiler_can_build_shared_GCJ=no
24022 + enable_shared=no
24023 + ;;
24024 +
24025 + sysv4*MP*)
24026 + if test -d /usr/nec; then
24027 + lt_prog_compiler_pic_GCJ=-Kconform_pic
24028 + fi
24029 + ;;
24030 +
24031 + hpux*)
24032 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24033 + # not for PA HP-UX.
24034 + case $host_cpu in
24035 + hppa*64*|ia64*)
24036 + # +Z the default
24037 + ;;
24038 + *)
24039 + lt_prog_compiler_pic_GCJ='-fPIC'
24040 + ;;
24041 + esac
24042 + ;;
24043 +
24044 + *)
24045 + lt_prog_compiler_pic_GCJ='-fPIC'
24046 + ;;
24047 + esac
24048 + else
24049 + # PORTME Check for flag to pass linker flags through the system compiler.
24050 + case $host_os in
24051 + aix*)
24052 + lt_prog_compiler_wl_GCJ='-Wl,'
24053 + if test "$host_cpu" = ia64; then
24054 + # AIX 5 now supports IA64 processor
24055 + lt_prog_compiler_static_GCJ='-Bstatic'
24056 + else
24057 + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
24058 + fi
24059 + ;;
24060 + darwin*)
24061 + # PIC is the default on this platform
24062 + # Common symbols not allowed in MH_DYLIB files
24063 + case $cc_basename in
24064 + xlc*)
24065 + lt_prog_compiler_pic_GCJ='-qnocommon'
24066 + lt_prog_compiler_wl_GCJ='-Wl,'
24067 + ;;
24068 + esac
24069 + ;;
24070 +
24071 + mingw* | pw32* | os2*)
24072 + # This hack is so that the source file can tell whether it is being
24073 + # built for inclusion in a dll (and should export symbols for example).
24074 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
24075 + ;;
24076 +
24077 + hpux9* | hpux10* | hpux11*)
24078 + lt_prog_compiler_wl_GCJ='-Wl,'
24079 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24080 + # not for PA HP-UX.
24081 + case $host_cpu in
24082 + hppa*64*|ia64*)
24083 + # +Z the default
24084 + ;;
24085 + *)
24086 + lt_prog_compiler_pic_GCJ='+Z'
24087 + ;;
24088 + esac
24089 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
24090 + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
24091 + ;;
24092 +
24093 + irix5* | irix6* | nonstopux*)
24094 + lt_prog_compiler_wl_GCJ='-Wl,'
24095 + # PIC (with -KPIC) is the default.
24096 + lt_prog_compiler_static_GCJ='-non_shared'
24097 + ;;
24098 +
24099 + newsos6)
24100 + lt_prog_compiler_pic_GCJ='-KPIC'
24101 + lt_prog_compiler_static_GCJ='-Bstatic'
24102 + ;;
24103 +
24104 + linux* | k*bsd*-gnu)
24105 + case $cc_basename in
24106 + icc* | ecc*)
24107 + lt_prog_compiler_wl_GCJ='-Wl,'
24108 + lt_prog_compiler_pic_GCJ='-KPIC'
24109 + lt_prog_compiler_static_GCJ='-static'
24110 + ;;
24111 + pgcc* | pgf77* | pgf90* | pgf95*)
24112 + # Portland Group compilers (*not* the Pentium gcc compiler,
24113 + # which looks to be a dead project)
24114 + lt_prog_compiler_wl_GCJ='-Wl,'
24115 + lt_prog_compiler_pic_GCJ='-fpic'
24116 + lt_prog_compiler_static_GCJ='-Bstatic'
24117 + ;;
24118 + ccc*)
24119 + lt_prog_compiler_wl_GCJ='-Wl,'
24120 + # All Alpha code is PIC.
24121 + lt_prog_compiler_static_GCJ='-non_shared'
24122 + ;;
24123 + esac
24124 + ;;
24125 +
24126 + osf3* | osf4* | osf5*)
24127 + lt_prog_compiler_wl_GCJ='-Wl,'
24128 + # All OSF/1 code is PIC.
24129 + lt_prog_compiler_static_GCJ='-non_shared'
24130 + ;;
24131 +
24132 + solaris*)
24133 + lt_prog_compiler_pic_GCJ='-KPIC'
24134 + lt_prog_compiler_static_GCJ='-Bstatic'
24135 + case $cc_basename in
24136 + f77* | f90* | f95*)
24137 + lt_prog_compiler_wl_GCJ='-Qoption ld ';;
24138 + *)
24139 + lt_prog_compiler_wl_GCJ='-Wl,';;
24140 + esac
24141 + ;;
24142 +
24143 + sunos4*)
24144 + lt_prog_compiler_wl_GCJ='-Qoption ld '
24145 + lt_prog_compiler_pic_GCJ='-PIC'
24146 + lt_prog_compiler_static_GCJ='-Bstatic'
24147 + ;;
24148 +
24149 + sysv4 | sysv4.2uw2* | sysv4.3*)
24150 + lt_prog_compiler_wl_GCJ='-Wl,'
24151 + lt_prog_compiler_pic_GCJ='-KPIC'
24152 + lt_prog_compiler_static_GCJ='-Bstatic'
24153 + ;;
24154 +
24155 + sysv4*MP*)
24156 + if test -d /usr/nec ;then
24157 + lt_prog_compiler_pic_GCJ='-Kconform_pic'
24158 + lt_prog_compiler_static_GCJ='-Bstatic'
24159 + fi
24160 + ;;
24161 +
24162 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
24163 + lt_prog_compiler_wl_GCJ='-Wl,'
24164 + lt_prog_compiler_pic_GCJ='-KPIC'
24165 + lt_prog_compiler_static_GCJ='-Bstatic'
24166 + ;;
24167 +
24168 + unicos*)
24169 + lt_prog_compiler_wl_GCJ='-Wl,'
24170 + lt_prog_compiler_can_build_shared_GCJ=no
24171 + ;;
24172 +
24173 + uts4*)
24174 + lt_prog_compiler_pic_GCJ='-pic'
24175 + lt_prog_compiler_static_GCJ='-Bstatic'
24176 + ;;
24177 +
24178 + *)
24179 + lt_prog_compiler_can_build_shared_GCJ=no
24180 + ;;
24181 + esac
24182 + fi
24183 +
24184 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
24185 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
24186 +
24187 +#
24188 +# Check to make sure the PIC flag actually works.
24189 +#
24190 +if test -n "$lt_prog_compiler_pic_GCJ"; then
24191 +
24192 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
24193 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
24194 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
24195 + echo $ECHO_N "(cached) $ECHO_C" >&6
24196 +else
24197 + lt_prog_compiler_pic_works_GCJ=no
24198 + ac_outfile=conftest.$ac_objext
24199 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24200 + lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
24201 + # Insert the option either (1) after the last *FLAGS variable, or
24202 + # (2) before a word containing "conftest.", or (3) at the end.
24203 + # Note that $ac_compile itself does not contain backslashes and begins
24204 + # with a dollar sign (not a hyphen), so the echo should work correctly.
24205 + # The option is referenced via a variable to avoid confusing sed.
24206 + lt_compile=`echo "$ac_compile" | $SED \
24207 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24208 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24209 + -e 's:$: $lt_compiler_flag:'`
24210 + (eval echo "\"\$as_me:16741: $lt_compile\"" >&5)
24211 + (eval "$lt_compile" 2>conftest.err)
24212 + ac_status=$?
24213 + cat conftest.err >&5
24214 + echo "$as_me:16745: \$? = $ac_status" >&5
24215 + if (exit $ac_status) && test -s "$ac_outfile"; then
24216 + # The compiler can only warn and ignore the option if not recognized
24217 + # So say no if there are warnings other than the usual output.
24218 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
24219 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24220 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24221 + lt_prog_compiler_pic_works_GCJ=yes
24222 + fi
24223 + fi
24224 + $rm conftest*
24225 +
24226 +fi
24227 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
24228 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
24229 +
24230 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
24231 + case $lt_prog_compiler_pic_GCJ in
24232 + "" | " "*) ;;
24233 + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
24234 + esac
24235 +else
24236 + lt_prog_compiler_pic_GCJ=
24237 + lt_prog_compiler_can_build_shared_GCJ=no
24238 +fi
24239 +
24240 +fi
24241 +case $host_os in
24242 + # For platforms which do not support PIC, -DPIC is meaningless:
24243 + *djgpp*)
24244 + lt_prog_compiler_pic_GCJ=
24245 + ;;
24246 + *)
24247 + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
24248 + ;;
24249 +esac
24250 +
24251 +#
24252 +# Check to make sure the static flag actually works.
24253 +#
24254 +wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
24255 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24256 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24257 +if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24258 + echo $ECHO_N "(cached) $ECHO_C" >&6
24259 +else
24260 + lt_prog_compiler_static_works_GCJ=no
24261 + save_LDFLAGS="$LDFLAGS"
24262 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
24263 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
24264 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
24265 + # The linker can only warn and ignore the option if not recognized
24266 + # So say no if there are warnings
24267 + if test -s conftest.err; then
24268 + # Append any errors to the config.log.
24269 + cat conftest.err 1>&5
24270 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
24271 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24272 + if diff conftest.exp conftest.er2 >/dev/null; then
24273 + lt_prog_compiler_static_works_GCJ=yes
24274 + fi
24275 + else
24276 + lt_prog_compiler_static_works_GCJ=yes
24277 + fi
24278 + fi
24279 + $rm conftest*
24280 + LDFLAGS="$save_LDFLAGS"
24281 +
24282 +fi
24283 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
24284 +echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
24285 +
24286 +if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
24287 + :
24288 +else
24289 + lt_prog_compiler_static_GCJ=
24290 +fi
24291 +
24292 +
24293 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24294 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24295 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24296 + echo $ECHO_N "(cached) $ECHO_C" >&6
24297 +else
24298 + lt_cv_prog_compiler_c_o_GCJ=no
24299 + $rm -r conftest 2>/dev/null
24300 + mkdir conftest
24301 + cd conftest
24302 + mkdir out
24303 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24304 +
24305 + lt_compiler_flag="-o out/conftest2.$ac_objext"
24306 + # Insert the option either (1) after the last *FLAGS variable, or
24307 + # (2) before a word containing "conftest.", or (3) at the end.
24308 + # Note that $ac_compile itself does not contain backslashes and begins
24309 + # with a dollar sign (not a hyphen), so the echo should work correctly.
24310 + lt_compile=`echo "$ac_compile" | $SED \
24311 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24312 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24313 + -e 's:$: $lt_compiler_flag:'`
24314 + (eval echo "\"\$as_me:16845: $lt_compile\"" >&5)
24315 + (eval "$lt_compile" 2>out/conftest.err)
24316 + ac_status=$?
24317 + cat out/conftest.err >&5
24318 + echo "$as_me:16849: \$? = $ac_status" >&5
24319 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
24320 + then
24321 + # The compiler can only warn and ignore the option if not recognized
24322 + # So say no if there are warnings
24323 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
24324 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
24325 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
24326 + lt_cv_prog_compiler_c_o_GCJ=yes
24327 + fi
24328 + fi
24329 + chmod u+w . 2>&5
24330 + $rm conftest*
24331 + # SGI C++ compiler will create directory out/ii_files/ for
24332 + # template instantiation
24333 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
24334 + $rm out/* && rmdir out
24335 + cd ..
24336 + rmdir conftest
24337 + $rm conftest*
24338 +
24339 +fi
24340 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24341 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24342 +
24343 +
24344 +hard_links="nottested"
24345 +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
24346 + # do not overwrite the value of need_locks provided by the user
24347 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24348 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24349 + hard_links=yes
24350 + $rm conftest*
24351 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
24352 + touch conftest.a
24353 + ln conftest.a conftest.b 2>&5 || hard_links=no
24354 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
24355 + { echo "$as_me:$LINENO: result: $hard_links" >&5
24356 +echo "${ECHO_T}$hard_links" >&6; }
24357 + if test "$hard_links" = no; then
24358 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24359 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24360 + need_locks=warn
24361 + fi
24362 +else
24363 + need_locks=no
24364 +fi
24365 +
24366 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24367 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24368 +
24369 + runpath_var=
24370 + allow_undefined_flag_GCJ=
24371 + enable_shared_with_static_runtimes_GCJ=no
24372 + archive_cmds_GCJ=
24373 + archive_expsym_cmds_GCJ=
24374 + old_archive_From_new_cmds_GCJ=
24375 + old_archive_from_expsyms_cmds_GCJ=
24376 + export_dynamic_flag_spec_GCJ=
24377 + whole_archive_flag_spec_GCJ=
24378 + thread_safe_flag_spec_GCJ=
24379 + hardcode_libdir_flag_spec_GCJ=
24380 + hardcode_libdir_flag_spec_ld_GCJ=
24381 + hardcode_libdir_separator_GCJ=
24382 + hardcode_direct_GCJ=no
24383 + hardcode_minus_L_GCJ=no
24384 + hardcode_shlibpath_var_GCJ=unsupported
24385 + link_all_deplibs_GCJ=unknown
24386 + hardcode_automatic_GCJ=no
24387 + module_cmds_GCJ=
24388 + module_expsym_cmds_GCJ=
24389 + always_export_symbols_GCJ=no
24390 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24391 + # include_expsyms should be a list of space-separated symbols to be *always*
24392 + # included in the symbol list
24393 + include_expsyms_GCJ=
24394 + # exclude_expsyms can be an extended regexp of symbols to exclude
24395 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
24396 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24397 + # as well as any symbol that contains `d'.
24398 + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
24399 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24400 + # platforms (ab)use it in PIC code, but their linkers get confused if
24401 + # the symbol is explicitly referenced. Since portable code cannot
24402 + # rely on this symbol name, it's probably fine to never include it in
24403 + # preloaded symbol tables.
24404 + extract_expsyms_cmds=
24405 + # Just being paranoid about ensuring that cc_basename is set.
24406 + for cc_temp in $compiler""; do
24407 + case $cc_temp in
24408 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24409 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24410 + \-*) ;;
24411 + *) break;;
24412 + esac
24413 +done
24414 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24415 +
24416 + case $host_os in
24417 + cygwin* | mingw* | pw32*)
24418 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
24419 + # When not using gcc, we currently assume that we are using
24420 + # Microsoft Visual C++.
24421 + if test "$GCC" != yes; then
24422 + with_gnu_ld=no
24423 + fi
24424 + ;;
24425 + interix*)
24426 + # we just hope/assume this is gcc and not c89 (= MSVC++)
24427 + with_gnu_ld=yes
24428 + ;;
24429 + openbsd*)
24430 + with_gnu_ld=no
24431 + ;;
24432 + esac
24433 +
24434 + ld_shlibs_GCJ=yes
24435 + if test "$with_gnu_ld" = yes; then
24436 + # If archive_cmds runs LD, not CC, wlarc should be empty
24437 + wlarc='${wl}'
24438 +
24439 + # Set some defaults for GNU ld with shared library support. These
24440 + # are reset later if shared libraries are not supported. Putting them
24441 + # here allows them to be overridden if necessary.
24442 + runpath_var=LD_RUN_PATH
24443 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
24444 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
24445 + # ancient GNU ld didn't support --whole-archive et. al.
24446 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
24447 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24448 + else
24449 + whole_archive_flag_spec_GCJ=
24450 + fi
24451 + supports_anon_versioning=no
24452 + case `$LD -v 2>/dev/null` in
24453 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
24454 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
24455 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
24456 + *\ 2.11.*) ;; # other 2.11 versions
24457 + *) supports_anon_versioning=yes ;;
24458 + esac
24459 +
24460 + # See if GNU ld supports shared libraries.
24461 + case $host_os in
24462 + aix3* | aix4* | aix5*)
24463 + # On AIX/PPC, the GNU linker is very broken
24464 + if test "$host_cpu" != ia64; then
24465 + ld_shlibs_GCJ=no
24466 + cat <<EOF 1>&2
24467 +
24468 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
24469 +*** to be unable to reliably create shared libraries on AIX.
24470 +*** Therefore, libtool is disabling shared libraries support. If you
24471 +*** really care for shared libraries, you may want to modify your PATH
24472 +*** so that a non-GNU linker is found, and then restart.
24473 +
24474 +EOF
24475 + fi
24476 + ;;
24477 +
24478 + amigaos*)
24479 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
24480 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24481 + hardcode_minus_L_GCJ=yes
24482 +
24483 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24484 + # that the semantics of dynamic libraries on AmigaOS, at least up
24485 + # to version 4, is to share data among multiple programs linked
24486 + # with the same dynamic library. Since this doesn't match the
24487 + # behavior of shared libraries on other platforms, we can't use
24488 + # them.
24489 + ld_shlibs_GCJ=no
24490 + ;;
24491 +
24492 + beos*)
24493 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24494 + allow_undefined_flag_GCJ=unsupported
24495 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24496 + # support --undefined. This deserves some investigation. FIXME
24497 + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24498 + else
24499 + ld_shlibs_GCJ=no
24500 + fi
24501 + ;;
24502 +
24503 + cygwin* | mingw* | pw32*)
24504 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24505 + # as there is no search path for DLLs.
24506 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24507 + allow_undefined_flag_GCJ=unsupported
24508 + always_export_symbols_GCJ=no
24509 + enable_shared_with_static_runtimes_GCJ=yes
24510 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24511 +
24512 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
24513 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24514 + # If the export-symbols file already is a .def file (1st line
24515 + # is EXPORTS), use it as is; otherwise, prepend...
24516 + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24517 + cp $export_symbols $output_objdir/$soname.def;
24518 + else
24519 + echo EXPORTS > $output_objdir/$soname.def;
24520 + cat $export_symbols >> $output_objdir/$soname.def;
24521 + fi~
24522 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24523 + else
24524 + ld_shlibs_GCJ=no
24525 + fi
24526 + ;;
24527 +
24528 + interix3*)
24529 + hardcode_direct_GCJ=no
24530 + hardcode_shlibpath_var_GCJ=no
24531 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24532 + export_dynamic_flag_spec_GCJ='${wl}-E'
24533 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24534 + # Instead, shared libraries are loaded at an image base (0x10000000 by
24535 + # default) and relocated if they conflict, which is a slow very memory
24536 + # consuming and fragmenting process. To avoid this, we pick a random,
24537 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24538 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24539 + archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
24540 + archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
24541 + ;;
24542 +
24543 + linux* | k*bsd*-gnu)
24544 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24545 + tmp_addflag=
24546 + case $cc_basename,$host_cpu in
24547 + pgcc*) # Portland Group C compiler
24548 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
24549 + tmp_addflag=' $pic_flag'
24550 + ;;
24551 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
24552 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
24553 + tmp_addflag=' $pic_flag -Mnomain' ;;
24554 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
24555 + tmp_addflag=' -i_dynamic' ;;
24556 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
24557 + tmp_addflag=' -i_dynamic -nofor_main' ;;
24558 + ifc* | ifort*) # Intel Fortran compiler
24559 + tmp_addflag=' -nofor_main' ;;
24560 + esac
24561 + archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24562 +
24563 + if test $supports_anon_versioning = yes; then
24564 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
24565 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24566 + $echo "local: *; };" >> $output_objdir/$libname.ver~
24567 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24568 + fi
24569 + link_all_deplibs_GCJ=no
24570 + else
24571 + ld_shlibs_GCJ=no
24572 + fi
24573 + ;;
24574 +
24575 + netbsd* | netbsdelf*-gnu)
24576 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24577 + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24578 + wlarc=
24579 + else
24580 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24581 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24582 + fi
24583 + ;;
24584 +
24585 + solaris*)
24586 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
24587 + ld_shlibs_GCJ=no
24588 + cat <<EOF 1>&2
24589 +
24590 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
24591 +*** create shared libraries on Solaris systems. Therefore, libtool
24592 +*** is disabling shared libraries support. We urge you to upgrade GNU
24593 +*** binutils to release 2.9.1 or newer. Another option is to modify
24594 +*** your PATH or compiler configuration so that the native linker is
24595 +*** used, and then restart.
24596 +
24597 +EOF
24598 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24599 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24600 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24601 + else
24602 + ld_shlibs_GCJ=no
24603 + fi
24604 + ;;
24605 +
24606 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
24607 + case `$LD -v 2>&1` in
24608 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
24609 + ld_shlibs_GCJ=no
24610 + cat <<_LT_EOF 1>&2
24611 +
24612 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24613 +*** reliably create shared libraries on SCO systems. Therefore, libtool
24614 +*** is disabling shared libraries support. We urge you to upgrade GNU
24615 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24616 +*** your PATH or compiler configuration so that the native linker is
24617 +*** used, and then restart.
24618 +
24619 +_LT_EOF
24620 + ;;
24621 + *)
24622 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24623 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24624 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24625 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24626 + else
24627 + ld_shlibs_GCJ=no
24628 + fi
24629 + ;;
24630 + esac
24631 + ;;
24632 +
24633 + sunos4*)
24634 + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24635 + wlarc=
24636 + hardcode_direct_GCJ=yes
24637 + hardcode_shlibpath_var_GCJ=no
24638 + ;;
24639 +
24640 + *)
24641 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24642 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24643 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24644 + else
24645 + ld_shlibs_GCJ=no
24646 + fi
24647 + ;;
24648 + esac
24649 +
24650 + if test "$ld_shlibs_GCJ" = no; then
24651 + runpath_var=
24652 + hardcode_libdir_flag_spec_GCJ=
24653 + export_dynamic_flag_spec_GCJ=
24654 + whole_archive_flag_spec_GCJ=
24655 + fi
24656 + else
24657 + # PORTME fill in a description of your system's linker (not GNU ld)
24658 + case $host_os in
24659 + aix3*)
24660 + allow_undefined_flag_GCJ=unsupported
24661 + always_export_symbols_GCJ=yes
24662 + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
24663 + # Note: this linker hardcodes the directories in LIBPATH if there
24664 + # are no directories specified by -L.
24665 + hardcode_minus_L_GCJ=yes
24666 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24667 + # Neither direct hardcoding nor static linking is supported with a
24668 + # broken collect2.
24669 + hardcode_direct_GCJ=unsupported
24670 + fi
24671 + ;;
24672 +
24673 + aix4* | aix5*)
24674 + if test "$host_cpu" = ia64; then
24675 + # On IA64, the linker does run time linking by default, so we don't
24676 + # have to do anything special.
24677 + aix_use_runtimelinking=no
24678 + exp_sym_flag='-Bexport'
24679 + no_entry_flag=""
24680 + else
24681 + # If we're using GNU nm, then we don't want the "-C" option.
24682 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
24683 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
24684 + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
24685 + else
24686 + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
24687 + fi
24688 + aix_use_runtimelinking=no
24689 +
24690 + # Test if we are trying to use run time linking or normal
24691 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24692 + # need to do runtime linking.
24693 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
24694 + for ld_flag in $LDFLAGS; do
24695 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
24696 + aix_use_runtimelinking=yes
24697 + break
24698 + fi
24699 + done
24700 + ;;
24701 + esac
24702 +
24703 + exp_sym_flag='-bexport'
24704 + no_entry_flag='-bnoentry'
24705 + fi
24706 +
24707 + # When large executables or shared objects are built, AIX ld can
24708 + # have problems creating the table of contents. If linking a library
24709 + # or program results in "error TOC overflow" add -mminimal-toc to
24710 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24711 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24712 +
24713 + archive_cmds_GCJ=''
24714 + hardcode_direct_GCJ=yes
24715 + hardcode_libdir_separator_GCJ=':'
24716 + link_all_deplibs_GCJ=yes
24717 +
24718 + if test "$GCC" = yes; then
24719 + case $host_os in aix4.[012]|aix4.[012].*)
24720 + # We only want to do this on AIX 4.2 and lower, the check
24721 + # below for broken collect2 doesn't work under 4.3+
24722 + collect2name=`${CC} -print-prog-name=collect2`
24723 + if test -f "$collect2name" && \
24724 + strings "$collect2name" | grep resolve_lib_name >/dev/null
24725 + then
24726 + # We have reworked collect2
24727 + hardcode_direct_GCJ=yes
24728 + else
24729 + # We have old collect2
24730 + hardcode_direct_GCJ=unsupported
24731 + # It fails to find uninstalled libraries when the uninstalled
24732 + # path is not listed in the libpath. Setting hardcode_minus_L
24733 + # to unsupported forces relinking
24734 + hardcode_minus_L_GCJ=yes
24735 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24736 + hardcode_libdir_separator_GCJ=
24737 + fi
24738 + ;;
24739 + esac
24740 + shared_flag='-shared'
24741 + if test "$aix_use_runtimelinking" = yes; then
24742 + shared_flag="$shared_flag "'${wl}-G'
24743 + fi
24744 + else
24745 + # not using gcc
24746 + if test "$host_cpu" = ia64; then
24747 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24748 + # chokes on -Wl,-G. The following line is correct:
24749 + shared_flag='-G'
24750 + else
24751 + if test "$aix_use_runtimelinking" = yes; then
24752 + shared_flag='${wl}-G'
24753 + else
24754 + shared_flag='${wl}-bM:SRE'
24755 + fi
24756 + fi
24757 + fi
24758 +
24759 + # It seems that -bexpall does not export symbols beginning with
24760 + # underscore (_), so it is better to generate a list of symbols to export.
24761 + always_export_symbols_GCJ=yes
24762 + if test "$aix_use_runtimelinking" = yes; then
24763 + # Warning - without using the other runtime loading flags (-brtl),
24764 + # -berok will link without error, but may produce a broken library.
24765 + allow_undefined_flag_GCJ='-berok'
24766 + # Determine the default libpath from the value encoded in an empty executable.
24767 + cat >conftest.$ac_ext <<_ACEOF
24768 +/* confdefs.h. */
24769 +_ACEOF
24770 +cat confdefs.h >>conftest.$ac_ext
24771 +cat >>conftest.$ac_ext <<_ACEOF
24772 +/* end confdefs.h. */
24773 +
24774 +int
24775 +main ()
24776 +{
24777 +
24778 + ;
24779 + return 0;
24780 +}
24781 +_ACEOF
24782 +rm -f conftest.$ac_objext conftest$ac_exeext
24783 +if { (ac_try="$ac_link"
24784 +case "(($ac_try" in
24785 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24786 + *) ac_try_echo=$ac_try;;
24787 +esac
24788 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24789 + (eval "$ac_link") 2>conftest.er1
24790 + ac_status=$?
24791 + grep -v '^ *+' conftest.er1 >conftest.err
24792 + rm -f conftest.er1
24793 + cat conftest.err >&5
24794 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 + (exit $ac_status); } && {
24796 + test -z "$ac_c_werror_flag" ||
24797 + test ! -s conftest.err
24798 + } && test -s conftest$ac_exeext &&
24799 + $as_test_x conftest$ac_exeext; then
24800 +
24801 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24802 +}'`
24803 +# Check for a 64-bit object if we didn't find anything.
24804 +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; }
24805 +}'`; fi
24806 +else
24807 + echo "$as_me: failed program was:" >&5
24808 +sed 's/^/| /' conftest.$ac_ext >&5
24809 +
24810 +
24811 +fi
24812 +
24813 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24814 + conftest$ac_exeext conftest.$ac_ext
24815 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24816 +
24817 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24818 + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
24819 + else
24820 + if test "$host_cpu" = ia64; then
24821 + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24822 + allow_undefined_flag_GCJ="-z nodefs"
24823 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
24824 + else
24825 + # Determine the default libpath from the value encoded in an empty executable.
24826 + cat >conftest.$ac_ext <<_ACEOF
24827 +/* confdefs.h. */
24828 +_ACEOF
24829 +cat confdefs.h >>conftest.$ac_ext
24830 +cat >>conftest.$ac_ext <<_ACEOF
24831 +/* end confdefs.h. */
24832 +
24833 +int
24834 +main ()
24835 +{
24836 +
24837 + ;
24838 + return 0;
24839 +}
24840 +_ACEOF
24841 +rm -f conftest.$ac_objext conftest$ac_exeext
24842 +if { (ac_try="$ac_link"
24843 +case "(($ac_try" in
24844 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24845 + *) ac_try_echo=$ac_try;;
24846 +esac
24847 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24848 + (eval "$ac_link") 2>conftest.er1
24849 + ac_status=$?
24850 + grep -v '^ *+' conftest.er1 >conftest.err
24851 + rm -f conftest.er1
24852 + cat conftest.err >&5
24853 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24854 + (exit $ac_status); } && {
24855 + test -z "$ac_c_werror_flag" ||
24856 + test ! -s conftest.err
24857 + } && test -s conftest$ac_exeext &&
24858 + $as_test_x conftest$ac_exeext; then
24859 +
24860 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24861 +}'`
24862 +# Check for a 64-bit object if we didn't find anything.
24863 +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; }
24864 +}'`; fi
24865 +else
24866 + echo "$as_me: failed program was:" >&5
24867 +sed 's/^/| /' conftest.$ac_ext >&5
24868 +
24869 +
24870 +fi
24871 +
24872 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24873 + conftest$ac_exeext conftest.$ac_ext
24874 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24875 +
24876 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24877 + # Warning - without using the other run time loading flags,
24878 + # -berok will link without error, but may produce a broken library.
24879 + no_undefined_flag_GCJ=' ${wl}-bernotok'
24880 + allow_undefined_flag_GCJ=' ${wl}-berok'
24881 + # Exported symbols can be pulled into shared objects from archives
24882 + whole_archive_flag_spec_GCJ='$convenience'
24883 + archive_cmds_need_lc_GCJ=yes
24884 + # This is similar to how AIX traditionally builds its shared libraries.
24885 + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
24886 + fi
24887 + fi
24888 + ;;
24889 +
24890 + amigaos*)
24891 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
24892 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24893 + hardcode_minus_L_GCJ=yes
24894 + # see comment about different semantics on the GNU ld section
24895 + ld_shlibs_GCJ=no
24896 + ;;
24897 +
24898 + bsdi[45]*)
24899 + export_dynamic_flag_spec_GCJ=-rdynamic
24900 + ;;
24901 +
24902 + cygwin* | mingw* | pw32*)
24903 + # When not using gcc, we currently assume that we are using
24904 + # Microsoft Visual C++.
24905 + # hardcode_libdir_flag_spec is actually meaningless, as there is
24906 + # no search path for DLLs.
24907 + hardcode_libdir_flag_spec_GCJ=' '
24908 + allow_undefined_flag_GCJ=unsupported
24909 + # Tell ltmain to make .lib files, not .a files.
24910 + libext=lib
24911 + # Tell ltmain to make .dll files, not .so files.
24912 + shrext_cmds=".dll"
24913 + # FIXME: Setting linknames here is a bad hack.
24914 + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24915 + # The linker will automatically build a .lib file if we build a DLL.
24916 + old_archive_From_new_cmds_GCJ='true'
24917 + # FIXME: Should let the user specify the lib program.
24918 + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
24919 + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
24920 + enable_shared_with_static_runtimes_GCJ=yes
24921 + ;;
24922 +
24923 + darwin* | rhapsody*)
24924 + case $host_os in
24925 + rhapsody* | darwin1.[012])
24926 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
24927 + ;;
24928 + *) # Darwin 1.3 on
24929 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24930 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24931 + else
24932 + case ${MACOSX_DEPLOYMENT_TARGET} in
24933 + 10.[012])
24934 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24935 + ;;
24936 + 10.*)
24937 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
24938 + ;;
24939 + esac
24940 + fi
24941 + ;;
24942 + esac
24943 + archive_cmds_need_lc_GCJ=no
24944 + hardcode_direct_GCJ=no
24945 + hardcode_automatic_GCJ=yes
24946 + hardcode_shlibpath_var_GCJ=unsupported
24947 + whole_archive_flag_spec_GCJ=''
24948 + link_all_deplibs_GCJ=yes
24949 + if test "$GCC" = yes ; then
24950 + output_verbose_link_cmd='echo'
24951 + archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24952 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24953 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24954 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24955 + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24956 + else
24957 + case $cc_basename in
24958 + xlc*)
24959 + output_verbose_link_cmd='echo'
24960 + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24961 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24962 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24963 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24964 + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
24965 + ;;
24966 + *)
24967 + ld_shlibs_GCJ=no
24968 + ;;
24969 + esac
24970 + fi
24971 + ;;
24972 +
24973 + dgux*)
24974 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24975 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
24976 + hardcode_shlibpath_var_GCJ=no
24977 + ;;
24978 +
24979 + freebsd1*)
24980 + ld_shlibs_GCJ=no
24981 + ;;
24982 +
24983 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24984 + # support. Future versions do this automatically, but an explicit c++rt0.o
24985 + # does not break anything, and helps significantly (at the cost of a little
24986 + # extra space).
24987 + freebsd2.2*)
24988 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24989 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
24990 + hardcode_direct_GCJ=yes
24991 + hardcode_shlibpath_var_GCJ=no
24992 + ;;
24993 +
24994 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24995 + freebsd2*)
24996 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24997 + hardcode_direct_GCJ=yes
24998 + hardcode_minus_L_GCJ=yes
24999 + hardcode_shlibpath_var_GCJ=no
25000 + ;;
25001 +
25002 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
25003 + freebsd* | dragonfly*)
25004 + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
25005 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25006 + hardcode_direct_GCJ=yes
25007 + hardcode_shlibpath_var_GCJ=no
25008 + ;;
25009 +
25010 + hpux9*)
25011 + if test "$GCC" = yes; then
25012 + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
25013 + else
25014 + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
25015 + fi
25016 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25017 + hardcode_libdir_separator_GCJ=:
25018 + hardcode_direct_GCJ=yes
25019 +
25020 + # hardcode_minus_L: Not really in the search PATH,
25021 + # but as the default location of the library.
25022 + hardcode_minus_L_GCJ=yes
25023 + export_dynamic_flag_spec_GCJ='${wl}-E'
25024 + ;;
25025 +
25026 + hpux10*)
25027 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25028 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25029 + else
25030 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
25031 + fi
25032 + if test "$with_gnu_ld" = no; then
25033 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25034 + hardcode_libdir_separator_GCJ=:
25035 +
25036 + hardcode_direct_GCJ=yes
25037 + export_dynamic_flag_spec_GCJ='${wl}-E'
25038 +
25039 + # hardcode_minus_L: Not really in the search PATH,
25040 + # but as the default location of the library.
25041 + hardcode_minus_L_GCJ=yes
25042 + fi
25043 + ;;
25044 +
25045 + hpux11*)
25046 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25047 + case $host_cpu in
25048 + hppa*64*)
25049 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25050 + ;;
25051 + ia64*)
25052 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25053 + ;;
25054 + *)
25055 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25056 + ;;
25057 + esac
25058 + else
25059 + case $host_cpu in
25060 + hppa*64*)
25061 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25062 + ;;
25063 + ia64*)
25064 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25065 + ;;
25066 + *)
25067 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25068 + ;;
25069 + esac
25070 + fi
25071 + if test "$with_gnu_ld" = no; then
25072 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25073 + hardcode_libdir_separator_GCJ=:
25074 +
25075 + case $host_cpu in
25076 + hppa*64*|ia64*)
25077 + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
25078 + hardcode_direct_GCJ=no
25079 + hardcode_shlibpath_var_GCJ=no
25080 + ;;
25081 + *)
25082 + hardcode_direct_GCJ=yes
25083 + export_dynamic_flag_spec_GCJ='${wl}-E'
25084 +
25085 + # hardcode_minus_L: Not really in the search PATH,
25086 + # but as the default location of the library.
25087 + hardcode_minus_L_GCJ=yes
25088 + ;;
25089 + esac
25090 + fi
25091 + ;;
25092 +
25093 + irix5* | irix6* | nonstopux*)
25094 + if test "$GCC" = yes; then
25095 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25096 + else
25097 + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25098 + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
25099 + fi
25100 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25101 + hardcode_libdir_separator_GCJ=:
25102 + link_all_deplibs_GCJ=yes
25103 + ;;
25104 +
25105 + netbsd* | netbsdelf*-gnu)
25106 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25107 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
25108 + else
25109 + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
25110 + fi
25111 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25112 + hardcode_direct_GCJ=yes
25113 + hardcode_shlibpath_var_GCJ=no
25114 + ;;
25115 +
25116 + newsos6)
25117 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25118 + hardcode_direct_GCJ=yes
25119 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25120 + hardcode_libdir_separator_GCJ=:
25121 + hardcode_shlibpath_var_GCJ=no
25122 + ;;
25123 +
25124 + openbsd*)
25125 + hardcode_direct_GCJ=yes
25126 + hardcode_shlibpath_var_GCJ=no
25127 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25128 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25129 + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
25130 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25131 + export_dynamic_flag_spec_GCJ='${wl}-E'
25132 + else
25133 + case $host_os in
25134 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
25135 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25136 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25137 + ;;
25138 + *)
25139 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25140 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25141 + ;;
25142 + esac
25143 + fi
25144 + ;;
25145 +
25146 + os2*)
25147 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25148 + hardcode_minus_L_GCJ=yes
25149 + allow_undefined_flag_GCJ=unsupported
25150 + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
25151 + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
25152 + ;;
25153 +
25154 + osf3*)
25155 + if test "$GCC" = yes; then
25156 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
25157 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25158 + else
25159 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
25160 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25161 + fi
25162 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25163 + hardcode_libdir_separator_GCJ=:
25164 + ;;
25165 +
25166 + osf4* | osf5*) # as osf3* with the addition of -msym flag
25167 + if test "$GCC" = yes; then
25168 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
25169 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25170 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25171 + else
25172 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
25173 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25174 + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
25175 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
25176 +
25177 + # Both c and cxx compiler support -rpath directly
25178 + hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
25179 + fi
25180 + hardcode_libdir_separator_GCJ=:
25181 + ;;
25182 +
25183 + solaris*)
25184 + no_undefined_flag_GCJ=' -z text'
25185 + if test "$GCC" = yes; then
25186 + wlarc='${wl}'
25187 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25188 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25189 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
25190 + else
25191 + wlarc=''
25192 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
25193 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25194 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25195 + fi
25196 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25197 + hardcode_shlibpath_var_GCJ=no
25198 + case $host_os in
25199 + solaris2.[0-5] | solaris2.[0-5].*) ;;
25200 + *)
25201 + # The compiler driver will combine linker options so we
25202 + # cannot just pass the convience library names through
25203 + # without $wl, iff we do not link with $LD.
25204 + # Luckily, gcc supports the same syntax we need for Sun Studio.
25205 + # Supported since Solaris 2.6 (maybe 2.5.1?)
25206 + case $wlarc in
25207 + '')
25208 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
25209 + *)
25210 + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
25211 + esac ;;
25212 + esac
25213 + link_all_deplibs_GCJ=yes
25214 + ;;
25215 +
25216 + sunos4*)
25217 + if test "x$host_vendor" = xsequent; then
25218 + # Use $CC to link under sequent, because it throws in some extra .o
25219 + # files that make .init and .fini sections work.
25220 + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25221 + else
25222 + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25223 + fi
25224 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25225 + hardcode_direct_GCJ=yes
25226 + hardcode_minus_L_GCJ=yes
25227 + hardcode_shlibpath_var_GCJ=no
25228 + ;;
25229 +
25230 + sysv4)
25231 + case $host_vendor in
25232 + sni)
25233 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25234 + hardcode_direct_GCJ=yes # is this really true???
25235 + ;;
25236 + siemens)
25237 + ## LD is ld it makes a PLAMLIB
25238 + ## CC just makes a GrossModule.
25239 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25240 + reload_cmds_GCJ='$CC -r -o $output$reload_objs'
25241 + hardcode_direct_GCJ=no
25242 + ;;
25243 + motorola)
25244 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25245 + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
25246 + ;;
25247 + esac
25248 + runpath_var='LD_RUN_PATH'
25249 + hardcode_shlibpath_var_GCJ=no
25250 + ;;
25251 +
25252 + sysv4.3*)
25253 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25254 + hardcode_shlibpath_var_GCJ=no
25255 + export_dynamic_flag_spec_GCJ='-Bexport'
25256 + ;;
25257 +
25258 + sysv4*MP*)
25259 + if test -d /usr/nec; then
25260 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25261 + hardcode_shlibpath_var_GCJ=no
25262 + runpath_var=LD_RUN_PATH
25263 + hardcode_runpath_var=yes
25264 + ld_shlibs_GCJ=yes
25265 + fi
25266 + ;;
25267 +
25268 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
25269 + no_undefined_flag_GCJ='${wl}-z,text'
25270 + archive_cmds_need_lc_GCJ=no
25271 + hardcode_shlibpath_var_GCJ=no
25272 + runpath_var='LD_RUN_PATH'
25273 +
25274 + if test "$GCC" = yes; then
25275 + archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25276 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25277 + else
25278 + archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25279 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25280 + fi
25281 + ;;
25282 +
25283 + sysv5* | sco3.2v5* | sco5v6*)
25284 + # Note: We can NOT use -z defs as we might desire, because we do not
25285 + # link with -lc, and that would cause any symbols used from libc to
25286 + # always be unresolved, which means just about no library would
25287 + # ever link correctly. If we're not using GNU ld we use -z text
25288 + # though, which does catch some bad symbols but isn't as heavy-handed
25289 + # as -z defs.
25290 + no_undefined_flag_GCJ='${wl}-z,text'
25291 + allow_undefined_flag_GCJ='${wl}-z,nodefs'
25292 + archive_cmds_need_lc_GCJ=no
25293 + hardcode_shlibpath_var_GCJ=no
25294 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25295 + hardcode_libdir_separator_GCJ=':'
25296 + link_all_deplibs_GCJ=yes
25297 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
25298 + runpath_var='LD_RUN_PATH'
25299 +
25300 + if test "$GCC" = yes; then
25301 + archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25302 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25303 + else
25304 + archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25305 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25306 + fi
25307 + ;;
25308 +
25309 + uts4*)
25310 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25311 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25312 + hardcode_shlibpath_var_GCJ=no
25313 + ;;
25314 +
25315 + *)
25316 + ld_shlibs_GCJ=no
25317 + ;;
25318 + esac
25319 + fi
25320 +
25321 +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25322 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25323 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
25324 +
25325 +#
25326 +# Do we need to explicitly link libc?
25327 +#
25328 +case "x$archive_cmds_need_lc_GCJ" in
25329 +x|xyes)
25330 + # Assume -lc should be added
25331 + archive_cmds_need_lc_GCJ=yes
25332 +
25333 + if test "$enable_shared" = yes && test "$GCC" = yes; then
25334 + case $archive_cmds_GCJ in
25335 + *'~'*)
25336 + # FIXME: we may have to deal with multi-command sequences.
25337 + ;;
25338 + '$CC '*)
25339 + # Test whether the compiler implicitly links with -lc since on some
25340 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
25341 + # to ld, don't add -lc before -lgcc.
25342 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25343 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25344 + $rm conftest*
25345 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25346 +
25347 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25348 + (eval $ac_compile) 2>&5
25349 + ac_status=$?
25350 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25351 + (exit $ac_status); } 2>conftest.err; then
25352 + soname=conftest
25353 + lib=conftest
25354 + libobjs=conftest.$ac_objext
25355 + deplibs=
25356 + wl=$lt_prog_compiler_wl_GCJ
25357 + pic_flag=$lt_prog_compiler_pic_GCJ
25358 + compiler_flags=-v
25359 + linker_flags=-v
25360 + verstring=
25361 + output_objdir=.
25362 + libname=conftest
25363 + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
25364 + allow_undefined_flag_GCJ=
25365 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25366 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
25367 + ac_status=$?
25368 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25369 + (exit $ac_status); }
25370 + then
25371 + archive_cmds_need_lc_GCJ=no
25372 + else
25373 + archive_cmds_need_lc_GCJ=yes
25374 + fi
25375 + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
25376 + else
25377 + cat conftest.err 1>&5
25378 + fi
25379 + $rm conftest*
25380 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25381 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25382 + ;;
25383 + esac
25384 + fi
25385 + ;;
25386 +esac
25387 +
25388 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25389 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25390 +library_names_spec=
25391 +libname_spec='lib$name'
25392 +soname_spec=
25393 +shrext_cmds=".so"
25394 +postinstall_cmds=
25395 +postuninstall_cmds=
25396 +finish_cmds=
25397 +finish_eval=
25398 +shlibpath_var=
25399 +shlibpath_overrides_runpath=unknown
25400 +version_type=none
25401 +dynamic_linker="$host_os ld.so"
25402 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
25403 +if test "$GCC" = yes; then
25404 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25405 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
25406 + # if the path contains ";" then we assume it to be the separator
25407 + # otherwise default to the standard path separator (i.e. ":") - it is
25408 + # assumed that no part of a normal pathname contains ";" but that should
25409 + # okay in the real world where ";" in dirpaths is itself problematic.
25410 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25411 + else
25412 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25413 + fi
25414 +else
25415 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
25416 +fi
25417 +need_lib_prefix=unknown
25418 +hardcode_into_libs=no
25419 +
25420 +# when you set need_version to no, make sure it does not cause -set_version
25421 +# flags to be left without arguments
25422 +need_version=unknown
25423 +
25424 +case $host_os in
25425 +aix3*)
25426 + version_type=linux
25427 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
25428 + shlibpath_var=LIBPATH
25429 +
25430 + # AIX 3 has no versioning support, so we append a major version to the name.
25431 + soname_spec='${libname}${release}${shared_ext}$major'
25432 + ;;
25433 +
25434 +aix4* | aix5*)
25435 + version_type=linux
25436 + need_lib_prefix=no
25437 + need_version=no
25438 + hardcode_into_libs=yes
25439 + if test "$host_cpu" = ia64; then
25440 + # AIX 5 supports IA64
25441 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25442 + shlibpath_var=LD_LIBRARY_PATH
25443 + else
25444 + # With GCC up to 2.95.x, collect2 would create an import file
25445 + # for dependence libraries. The import file would start with
25446 + # the line `#! .'. This would cause the generated library to
25447 + # depend on `.', always an invalid library. This was fixed in
25448 + # development snapshots of GCC prior to 3.0.
25449 + case $host_os in
25450 + aix4 | aix4.[01] | aix4.[01].*)
25451 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25452 + echo ' yes '
25453 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
25454 + :
25455 + else
25456 + can_build_shared=no
25457 + fi
25458 + ;;
25459 + esac
25460 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25461 + # soname into executable. Probably we can add versioning support to
25462 + # collect2, so additional links can be useful in future.
25463 + if test "$aix_use_runtimelinking" = yes; then
25464 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25465 + # instead of lib<name>.a to let people know that these are not
25466 + # typical AIX shared libraries.
25467 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25468 + else
25469 + # We preserve .a as extension for shared libraries through AIX4.2
25470 + # and later when we are not doing run time linking.
25471 + library_names_spec='${libname}${release}.a $libname.a'
25472 + soname_spec='${libname}${release}${shared_ext}$major'
25473 + fi
25474 + shlibpath_var=LIBPATH
25475 + fi
25476 + ;;
25477 +
25478 +amigaos*)
25479 + library_names_spec='$libname.ixlibrary $libname.a'
25480 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
25481 + 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'
25482 + ;;
25483 +
25484 +beos*)
25485 + library_names_spec='${libname}${shared_ext}'
25486 + dynamic_linker="$host_os ld.so"
25487 + shlibpath_var=LIBRARY_PATH
25488 + ;;
25489 +
25490 +bsdi[45]*)
25491 version_type=linux
25492 need_version=no
25493 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25494 - soname_spec='${libname}${release}.so$major'
25495 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25496 + soname_spec='${libname}${release}${shared_ext}$major'
25497 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
25498 shlibpath_var=LD_LIBRARY_PATH
25499 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25500 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
25501 - export_dynamic_flag_spec=-rdynamic
25502 # the default ld.so.conf also contains /usr/contrib/lib and
25503 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25504 # libtool to hard-code these into programs
25505 @@ -6487,29 +18034,56 @@
25506
25507 cygwin* | mingw* | pw32*)
25508 version_type=windows
25509 + shrext_cmds=".dll"
25510 need_version=no
25511 need_lib_prefix=no
25512 +
25513 case $GCC,$host_os in
25514 - yes,cygwin*)
25515 + yes,cygwin* | yes,mingw* | yes,pw32*)
25516 library_names_spec='$libname.dll.a'
25517 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
25518 - postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
25519 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
25520 + postinstall_cmds='base_file=`basename \${file}`~
25521 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25522 dldir=$destdir/`dirname \$dlpath`~
25523 test -d \$dldir || mkdir -p \$dldir~
25524 - $install_prog .libs/$dlname \$dldir/$dlname'
25525 - postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
25526 + $install_prog $dir/$dlname \$dldir/$dlname~
25527 + chmod a+x \$dldir/$dlname'
25528 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25529 dlpath=$dir/\$dldll~
25530 $rm \$dlpath'
25531 + shlibpath_overrides_runpath=yes
25532 +
25533 + case $host_os in
25534 + cygwin*)
25535 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25536 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25537 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
25538 + ;;
25539 + mingw*)
25540 + # MinGW DLLs use traditional 'lib' prefix
25541 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25542 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25543 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
25544 + # It is most probably a Windows format PATH printed by
25545 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
25546 + # path with ; separators, and with drive letters. We can handle the
25547 + # drive letters (cygwin fileutils understands them), so leave them,
25548 + # especially as we might pass files found there to a mingw objdump,
25549 + # which wouldn't understand a cygwinified path. Ahh.
25550 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25551 + else
25552 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25553 + fi
25554 + ;;
25555 + pw32*)
25556 + # pw32 DLLs use 'pw' prefix rather than 'lib'
25557 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25558 + ;;
25559 + esac
25560 ;;
25561 - yes,mingw*)
25562 - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
25563 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
25564 - ;;
25565 - yes,pw32*)
25566 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
25567 - ;;
25568 +
25569 *)
25570 - library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
25571 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25572 ;;
25573 esac
25574 dynamic_linker='Win32 ld.exe'
25575 @@ -6521,43 +18095,54 @@
25576 dynamic_linker="$host_os dyld"
25577 version_type=darwin
25578 need_lib_prefix=no
25579 - need_version=no
25580 - # FIXME: Relying on posixy $() will cause problems for
25581 - # cross-compilation, but unfortunately the echo tests do not
25582 - # yet detect zsh echo's removal of \ escapes.
25583 - 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)'
25584 - soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
25585 - shlibpath_overrides_runpath=yes
25586 - shlibpath_var=DYLD_LIBRARY_PATH
25587 - ;;
25588 -
25589 -freebsd1*)
25590 - dynamic_linker=no
25591 + need_version=no
25592 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25593 + soname_spec='${libname}${release}${major}$shared_ext'
25594 + shlibpath_overrides_runpath=yes
25595 + shlibpath_var=DYLD_LIBRARY_PATH
25596 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
25597 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25598 + if test "$GCC" = yes; then
25599 + 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"`
25600 + else
25601 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
25602 + fi
25603 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
25604 ;;
25605
25606 -freebsd*-gnu*)
25607 +dgux*)
25608 version_type=linux
25609 need_lib_prefix=no
25610 need_version=no
25611 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25612 - soname_spec='${libname}${release}.so$major'
25613 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25614 + soname_spec='${libname}${release}${shared_ext}$major'
25615 shlibpath_var=LD_LIBRARY_PATH
25616 - shlibpath_overrides_runpath=no
25617 - hardcode_into_libs=yes
25618 - dynamic_linker='GNU/FreeBSD ld.so'
25619 ;;
25620
25621 -freebsd*)
25622 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
25623 +freebsd1*)
25624 + dynamic_linker=no
25625 + ;;
25626 +
25627 +freebsd* | dragonfly*)
25628 + # DragonFly does not have aout. When/if they implement a new
25629 + # versioning mechanism, adjust this.
25630 + if test -x /usr/bin/objformat; then
25631 + objformat=`/usr/bin/objformat`
25632 + else
25633 + case $host_os in
25634 + freebsd[123]*) objformat=aout ;;
25635 + *) objformat=elf ;;
25636 + esac
25637 + fi
25638 version_type=freebsd-$objformat
25639 case $version_type in
25640 freebsd-elf*)
25641 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
25642 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25643 need_version=no
25644 need_lib_prefix=no
25645 ;;
25646 freebsd-*)
25647 - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
25648 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25649 need_version=yes
25650 ;;
25651 esac
25652 @@ -6566,10 +18151,19 @@
25653 freebsd2*)
25654 shlibpath_overrides_runpath=yes
25655 ;;
25656 - *)
25657 + freebsd3.[01]* | freebsdelf3.[01]*)
25658 + shlibpath_overrides_runpath=yes
25659 + hardcode_into_libs=yes
25660 + ;;
25661 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
25662 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
25663 shlibpath_overrides_runpath=no
25664 hardcode_into_libs=yes
25665 ;;
25666 + freebsd*) # from 4.6 on
25667 + shlibpath_overrides_runpath=yes
25668 + hardcode_into_libs=yes
25669 + ;;
25670 esac
25671 ;;
25672
25673 @@ -6577,8 +18171,8 @@
25674 version_type=linux
25675 need_lib_prefix=no
25676 need_version=no
25677 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
25678 - soname_spec='${libname}${release}.so$major'
25679 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25680 + soname_spec='${libname}${release}${shared_ext}$major'
25681 shlibpath_var=LD_LIBRARY_PATH
25682 hardcode_into_libs=yes
25683 ;;
25684 @@ -6586,36 +18180,87 @@
25685 hpux9* | hpux10* | hpux11*)
25686 # Give a soname corresponding to the major version so that dld.sl refuses to
25687 # link against other versions.
25688 - dynamic_linker="$host_os dld.sl"
25689 version_type=sunos
25690 need_lib_prefix=no
25691 need_version=no
25692 - shlibpath_var=SHLIB_PATH
25693 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
25694 - library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
25695 - soname_spec='${libname}${release}.sl$major'
25696 + case $host_cpu in
25697 + ia64*)
25698 + shrext_cmds='.so'
25699 + hardcode_into_libs=yes
25700 + dynamic_linker="$host_os dld.so"
25701 + shlibpath_var=LD_LIBRARY_PATH
25702 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25703 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25704 + soname_spec='${libname}${release}${shared_ext}$major'
25705 + if test "X$HPUX_IA64_MODE" = X32; then
25706 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25707 + else
25708 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
25709 + fi
25710 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25711 + ;;
25712 + hppa*64*)
25713 + shrext_cmds='.sl'
25714 + hardcode_into_libs=yes
25715 + dynamic_linker="$host_os dld.sl"
25716 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
25717 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25718 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25719 + soname_spec='${libname}${release}${shared_ext}$major'
25720 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25721 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25722 + ;;
25723 + *)
25724 + shrext_cmds='.sl'
25725 + dynamic_linker="$host_os dld.sl"
25726 + shlibpath_var=SHLIB_PATH
25727 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
25728 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25729 + soname_spec='${libname}${release}${shared_ext}$major'
25730 + ;;
25731 + esac
25732 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25733 postinstall_cmds='chmod 555 $lib'
25734 ;;
25735
25736 +interix3*)
25737 + version_type=linux
25738 + need_lib_prefix=no
25739 + need_version=no
25740 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25741 + soname_spec='${libname}${release}${shared_ext}$major'
25742 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
25743 + shlibpath_var=LD_LIBRARY_PATH
25744 + shlibpath_overrides_runpath=no
25745 + hardcode_into_libs=yes
25746 + ;;
25747 +
25748 irix5* | irix6* | nonstopux*)
25749 case $host_os in
25750 nonstopux*) version_type=nonstopux ;;
25751 - *) version_type=irix ;;
25752 + *)
25753 + if test "$lt_cv_prog_gnu_ld" = yes; then
25754 + version_type=linux
25755 + else
25756 + version_type=irix
25757 + fi ;;
25758 esac
25759 need_lib_prefix=no
25760 need_version=no
25761 - soname_spec='${libname}${release}.so$major'
25762 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
25763 + soname_spec='${libname}${release}${shared_ext}$major'
25764 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25765 case $host_os in
25766 irix5* | nonstopux*)
25767 libsuff= shlibsuff=
25768 ;;
25769 *)
25770 case $LD in # libtool.m4 will add one of these switches to LD
25771 - *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
25772 - *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
25773 - *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
25774 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
25775 + libsuff= shlibsuff= libmagic=32-bit;;
25776 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
25777 + libsuff=32 shlibsuff=N32 libmagic=N32;;
25778 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
25779 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
25780 *) libsuff= shlibsuff= libmagic=never-match;;
25781 esac
25782 ;;
25783 @@ -6624,20 +18269,21 @@
25784 shlibpath_overrides_runpath=no
25785 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25786 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
25787 + hardcode_into_libs=yes
25788 ;;
25789
25790 # No shared lib support for Linux oldld, aout, or coff.
25791 -linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
25792 +linux*oldld* | linux*aout* | linux*coff*)
25793 dynamic_linker=no
25794 ;;
25795
25796 # This must be Linux ELF.
25797 -linux-gnu*)
25798 +linux* | k*bsd*-gnu)
25799 version_type=linux
25800 need_lib_prefix=no
25801 need_version=no
25802 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25803 - soname_spec='${libname}${release}.so$major'
25804 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25805 + soname_spec='${libname}${release}${shared_ext}$major'
25806 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25807 shlibpath_var=LD_LIBRARY_PATH
25808 shlibpath_overrides_runpath=no
25809 @@ -6646,6 +18292,12 @@
25810 # before this can be enabled.
25811 hardcode_into_libs=yes
25812
25813 + # Append ld.so.conf contents to the search path
25814 + if test -f /etc/ld.so.conf; then
25815 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
25816 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
25817 + fi
25818 +
25819 # We used to test for /lib/ld.so.1 and disable shared libraries on
25820 # powerpc, because MkLinux only supported shared libraries with the
25821 # GNU dynamic linker. Since this was broken with cross compilers,
25822 @@ -6655,17 +18307,29 @@
25823 dynamic_linker='GNU/Linux ld.so'
25824 ;;
25825
25826 +netbsdelf*-gnu)
25827 + version_type=linux
25828 + need_lib_prefix=no
25829 + need_version=no
25830 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25831 + soname_spec='${libname}${release}${shared_ext}$major'
25832 + shlibpath_var=LD_LIBRARY_PATH
25833 + shlibpath_overrides_runpath=no
25834 + hardcode_into_libs=yes
25835 + dynamic_linker='NetBSD ld.elf_so'
25836 + ;;
25837 +
25838 netbsd*)
25839 version_type=sunos
25840 need_lib_prefix=no
25841 need_version=no
25842 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25843 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
25844 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25845 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25846 dynamic_linker='NetBSD (a.out) ld.so'
25847 else
25848 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
25849 - soname_spec='${libname}${release}.so$major'
25850 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25851 + soname_spec='${libname}${release}${shared_ext}$major'
25852 dynamic_linker='NetBSD ld.elf_so'
25853 fi
25854 shlibpath_var=LD_LIBRARY_PATH
25855 @@ -6675,65 +18339,73 @@
25856
25857 newsos6)
25858 version_type=linux
25859 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25860 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25861 + shlibpath_var=LD_LIBRARY_PATH
25862 + shlibpath_overrides_runpath=yes
25863 + ;;
25864 +
25865 +nto-qnx*)
25866 + version_type=linux
25867 + need_lib_prefix=no
25868 + need_version=no
25869 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25870 + soname_spec='${libname}${release}${shared_ext}$major'
25871 shlibpath_var=LD_LIBRARY_PATH
25872 shlibpath_overrides_runpath=yes
25873 ;;
25874
25875 openbsd*)
25876 version_type=sunos
25877 + sys_lib_dlsearch_path_spec="/usr/lib"
25878 need_lib_prefix=no
25879 - need_version=no
25880 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25881 + case $host_os in
25882 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
25883 + *) need_version=no ;;
25884 + esac
25885 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25886 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25887 + shlibpath_var=LD_LIBRARY_PATH
25888 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25889 - case "$host_os" in
25890 - openbsd2.[89] | openbsd2.[89].*)
25891 - shlibpath_overrides_runpath=no
25892 - ;;
25893 - *)
25894 - shlibpath_overrides_runpath=yes
25895 - ;;
25896 - esac
25897 + case $host_os in
25898 + openbsd2.[89] | openbsd2.[89].*)
25899 + shlibpath_overrides_runpath=no
25900 + ;;
25901 + *)
25902 + shlibpath_overrides_runpath=yes
25903 + ;;
25904 + esac
25905 else
25906 shlibpath_overrides_runpath=yes
25907 fi
25908 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
25909 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25910 - shlibpath_var=LD_LIBRARY_PATH
25911 ;;
25912
25913 os2*)
25914 libname_spec='$name'
25915 + shrext_cmds=".dll"
25916 need_lib_prefix=no
25917 - library_names_spec='$libname.dll $libname.a'
25918 + library_names_spec='$libname${shared_ext} $libname.a'
25919 dynamic_linker='OS/2 ld.exe'
25920 shlibpath_var=LIBPATH
25921 ;;
25922
25923 osf3* | osf4* | osf5*)
25924 version_type=osf
25925 - need_version=no
25926 need_lib_prefix=no
25927 - soname_spec='${libname}${release}.so$major'
25928 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25929 + need_version=no
25930 + soname_spec='${libname}${release}${shared_ext}$major'
25931 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25932 shlibpath_var=LD_LIBRARY_PATH
25933 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25934 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
25935 - hardcode_into_libs=yes
25936 - ;;
25937 -
25938 -sco3.2v5*)
25939 - version_type=osf
25940 - soname_spec='${libname}${release}.so$major'
25941 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25942 - shlibpath_var=LD_LIBRARY_PATH
25943 ;;
25944
25945 solaris*)
25946 version_type=linux
25947 need_lib_prefix=no
25948 need_version=no
25949 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25950 - soname_spec='${libname}${release}.so$major'
25951 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25952 + soname_spec='${libname}${release}${shared_ext}$major'
25953 shlibpath_var=LD_LIBRARY_PATH
25954 shlibpath_overrides_runpath=yes
25955 hardcode_into_libs=yes
25956 @@ -6743,7 +18415,7 @@
25957
25958 sunos4*)
25959 version_type=sunos
25960 - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
25961 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25962 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25963 shlibpath_var=LD_LIBRARY_PATH
25964 shlibpath_overrides_runpath=yes
25965 @@ -6753,10 +18425,10 @@
25966 need_version=yes
25967 ;;
25968
25969 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
25970 +sysv4 | sysv4.3*)
25971 version_type=linux
25972 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25973 - soname_spec='${libname}${release}.so$major'
25974 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25975 + soname_spec='${libname}${release}${shared_ext}$major'
25976 shlibpath_var=LD_LIBRARY_PATH
25977 case $host_vendor in
25978 sni)
25979 @@ -6777,77 +18449,87 @@
25980 esac
25981 ;;
25982
25983 -uts4*)
25984 - version_type=linux
25985 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
25986 - soname_spec='${libname}${release}.so$major'
25987 - shlibpath_var=LD_LIBRARY_PATH
25988 +sysv4*MP*)
25989 + if test -d /usr/nec ;then
25990 + version_type=linux
25991 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25992 + soname_spec='$libname${shared_ext}.$major'
25993 + shlibpath_var=LD_LIBRARY_PATH
25994 + fi
25995 ;;
25996
25997 -dgux*)
25998 - version_type=linux
25999 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
26000 + version_type=freebsd-elf
26001 need_lib_prefix=no
26002 need_version=no
26003 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
26004 - soname_spec='${libname}${release}.so$major'
26005 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26006 + soname_spec='${libname}${release}${shared_ext}$major'
26007 shlibpath_var=LD_LIBRARY_PATH
26008 + hardcode_into_libs=yes
26009 + if test "$with_gnu_ld" = yes; then
26010 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
26011 + shlibpath_overrides_runpath=no
26012 + else
26013 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
26014 + shlibpath_overrides_runpath=yes
26015 + case $host_os in
26016 + sco3.2v5*)
26017 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
26018 + ;;
26019 + esac
26020 + fi
26021 + sys_lib_dlsearch_path_spec='/usr/lib'
26022 ;;
26023
26024 -sysv4*MP*)
26025 - if test -d /usr/nec ;then
26026 - version_type=linux
26027 - library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
26028 - soname_spec='$libname.so.$major'
26029 - shlibpath_var=LD_LIBRARY_PATH
26030 - fi
26031 +uts4*)
26032 + version_type=linux
26033 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26034 + soname_spec='${libname}${release}${shared_ext}$major'
26035 + shlibpath_var=LD_LIBRARY_PATH
26036 ;;
26037
26038 *)
26039 dynamic_linker=no
26040 ;;
26041 esac
26042 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26043 -echo "${ECHO_T}$dynamic_linker" >&6
26044 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26045 +echo "${ECHO_T}$dynamic_linker" >&6; }
26046 test "$dynamic_linker" = no && can_build_shared=no
26047
26048 -# Report the final consequences.
26049 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
26050 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
26051 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
26052 -echo "${ECHO_T}$can_build_shared" >&6
26053 -
26054 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
26055 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
26056 -test "$can_build_shared" = "no" && enable_shared=no
26057 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26058 +if test "$GCC" = yes; then
26059 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26060 +fi
26061
26062 -# On AIX, shared libraries and static libraries use the same namespace, and
26063 -# are all built from PIC.
26064 -case "$host_os" in
26065 -aix3*)
26066 - test "$enable_shared" = yes && enable_static=no
26067 - if test -n "$RANLIB"; then
26068 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
26069 - postinstall_cmds='$RANLIB $lib'
26070 - fi
26071 - ;;
26072 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26073 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
26074 +hardcode_action_GCJ=
26075 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
26076 + test -n "$runpath_var_GCJ" || \
26077 + test "X$hardcode_automatic_GCJ" = "Xyes" ; then
26078
26079 -aix4*)
26080 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
26081 - test "$enable_shared" = yes && enable_static=no
26082 + # We can hardcode non-existant directories.
26083 + if test "$hardcode_direct_GCJ" != no &&
26084 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
26085 + # have to relink, otherwise we might link with an installed library
26086 + # when we should be linking with a yet-to-be-installed one
26087 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
26088 + test "$hardcode_minus_L_GCJ" != no; then
26089 + # Linking always hardcodes the temporary library directory.
26090 + hardcode_action_GCJ=relink
26091 + else
26092 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
26093 + hardcode_action_GCJ=immediate
26094 fi
26095 - ;;
26096 -esac
26097 -echo "$as_me:$LINENO: result: $enable_shared" >&5
26098 -echo "${ECHO_T}$enable_shared" >&6
26099 -
26100 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
26101 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
26102 -# Make sure either enable_shared or enable_static is yes.
26103 -test "$enable_shared" = yes || enable_static=yes
26104 -echo "$as_me:$LINENO: result: $enable_static" >&5
26105 -echo "${ECHO_T}$enable_static" >&6
26106 +else
26107 + # We cannot hardcode anything, or else we can only hardcode existing
26108 + # directories.
26109 + hardcode_action_GCJ=unsupported
26110 +fi
26111 +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
26112 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
26113
26114 -if test "$hardcode_action" = relink; then
26115 +if test "$hardcode_action_GCJ" = relink; then
26116 # Fast installation is not supported
26117 enable_fast_install=no
26118 elif test "$shlibpath_overrides_runpath" = yes ||
26119 @@ -6856,832 +18538,558 @@
26120 enable_fast_install=needless
26121 fi
26122
26123 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26124 -if test "$GCC" = yes; then
26125 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26126 -fi
26127
26128 -if test "x$enable_dlopen" != xyes; then
26129 - enable_dlopen=unknown
26130 - enable_dlopen_self=unknown
26131 - enable_dlopen_self_static=unknown
26132 -else
26133 - lt_cv_dlopen=no
26134 - lt_cv_dlopen_libs=
26135 +# The else clause should only fire when bootstrapping the
26136 +# libtool distribution, otherwise you forgot to ship ltmain.sh
26137 +# with your package, and you will get complaints that there are
26138 +# no rules to generate ltmain.sh.
26139 +if test -f "$ltmain"; then
26140 + # See if we are running on zsh, and set the options which allow our commands through
26141 + # without removal of \ escapes.
26142 + if test -n "${ZSH_VERSION+set}" ; then
26143 + setopt NO_GLOB_SUBST
26144 + fi
26145 + # Now quote all the things that may contain metacharacters while being
26146 + # careful not to overquote the AC_SUBSTed values. We take copies of the
26147 + # variables and quote the copies for generation of the libtool script.
26148 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26149 + SED SHELL STRIP \
26150 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26151 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26152 + deplibs_check_method reload_flag reload_cmds need_locks \
26153 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26154 + lt_cv_sys_global_symbol_to_c_name_address \
26155 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26156 + old_postinstall_cmds old_postuninstall_cmds \
26157 + compiler_GCJ \
26158 + CC_GCJ \
26159 + LD_GCJ \
26160 + lt_prog_compiler_wl_GCJ \
26161 + lt_prog_compiler_pic_GCJ \
26162 + lt_prog_compiler_static_GCJ \
26163 + lt_prog_compiler_no_builtin_flag_GCJ \
26164 + export_dynamic_flag_spec_GCJ \
26165 + thread_safe_flag_spec_GCJ \
26166 + whole_archive_flag_spec_GCJ \
26167 + enable_shared_with_static_runtimes_GCJ \
26168 + old_archive_cmds_GCJ \
26169 + old_archive_from_new_cmds_GCJ \
26170 + predep_objects_GCJ \
26171 + postdep_objects_GCJ \
26172 + predeps_GCJ \
26173 + postdeps_GCJ \
26174 + compiler_lib_search_path_GCJ \
26175 + archive_cmds_GCJ \
26176 + archive_expsym_cmds_GCJ \
26177 + postinstall_cmds_GCJ \
26178 + postuninstall_cmds_GCJ \
26179 + old_archive_from_expsyms_cmds_GCJ \
26180 + allow_undefined_flag_GCJ \
26181 + no_undefined_flag_GCJ \
26182 + export_symbols_cmds_GCJ \
26183 + hardcode_libdir_flag_spec_GCJ \
26184 + hardcode_libdir_flag_spec_ld_GCJ \
26185 + hardcode_libdir_separator_GCJ \
26186 + hardcode_automatic_GCJ \
26187 + module_cmds_GCJ \
26188 + module_expsym_cmds_GCJ \
26189 + lt_cv_prog_compiler_c_o_GCJ \
26190 + exclude_expsyms_GCJ \
26191 + include_expsyms_GCJ; do
26192 +
26193 + case $var in
26194 + old_archive_cmds_GCJ | \
26195 + old_archive_from_new_cmds_GCJ | \
26196 + archive_cmds_GCJ | \
26197 + archive_expsym_cmds_GCJ | \
26198 + module_cmds_GCJ | \
26199 + module_expsym_cmds_GCJ | \
26200 + old_archive_from_expsyms_cmds_GCJ | \
26201 + export_symbols_cmds_GCJ | \
26202 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
26203 + postinstall_cmds | postuninstall_cmds | \
26204 + old_postinstall_cmds | old_postuninstall_cmds | \
26205 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
26206 + # Double-quote double-evaled strings.
26207 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26208 + ;;
26209 + *)
26210 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26211 + ;;
26212 + esac
26213 + done
26214 +
26215 + case $lt_echo in
26216 + *'\$0 --fallback-echo"')
26217 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26218 + ;;
26219 + esac
26220 +
26221 +cfgfile="$ofile"
26222 +
26223 + cat <<__EOF__ >> "$cfgfile"
26224 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
26225 +
26226 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26227 +
26228 +# Shell to use when invoking shell scripts.
26229 +SHELL=$lt_SHELL
26230 +
26231 +# Whether or not to build shared libraries.
26232 +build_libtool_libs=$enable_shared
26233 +
26234 +# Whether or not to build static libraries.
26235 +build_old_libs=$enable_static
26236 +
26237 +# Whether or not to add -lc for building shared libraries.
26238 +build_libtool_need_lc=$archive_cmds_need_lc_GCJ
26239 +
26240 +# Whether or not to disallow shared libs when runtime libs are static
26241 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
26242 +
26243 +# Whether or not to optimize for fast installation.
26244 +fast_install=$enable_fast_install
26245 +
26246 +# The host system.
26247 +host_alias=$host_alias
26248 +host=$host
26249 +host_os=$host_os
26250 +
26251 +# The build system.
26252 +build_alias=$build_alias
26253 +build=$build
26254 +build_os=$build_os
26255 +
26256 +# An echo program that does not interpret backslashes.
26257 +echo=$lt_echo
26258 +
26259 +# The archiver.
26260 +AR=$lt_AR
26261 +AR_FLAGS=$lt_AR_FLAGS
26262 +
26263 +# A C compiler.
26264 +LTCC=$lt_LTCC
26265 +
26266 +# LTCC compiler flags.
26267 +LTCFLAGS=$lt_LTCFLAGS
26268 +
26269 +# A language-specific compiler.
26270 +CC=$lt_compiler_GCJ
26271 +
26272 +# Is the compiler the GNU C compiler?
26273 +with_gcc=$GCC_GCJ
26274 +
26275 +# An ERE matcher.
26276 +EGREP=$lt_EGREP
26277 +
26278 +# The linker used to build libraries.
26279 +LD=$lt_LD_GCJ
26280 +
26281 +# Whether we need hard or soft links.
26282 +LN_S=$lt_LN_S
26283 +
26284 +# A BSD-compatible nm program.
26285 +NM=$lt_NM
26286 +
26287 +# A symbol stripping program
26288 +STRIP=$lt_STRIP
26289 +
26290 +# Used to examine libraries when file_magic_cmd begins "file"
26291 +MAGIC_CMD=$MAGIC_CMD
26292 +
26293 +# Used on cygwin: DLL creation program.
26294 +DLLTOOL="$DLLTOOL"
26295 +
26296 +# Used on cygwin: object dumper.
26297 +OBJDUMP="$OBJDUMP"
26298 +
26299 +# Used on cygwin: assembler.
26300 +AS="$AS"
26301 +
26302 +# The name of the directory that contains temporary libtool files.
26303 +objdir=$objdir
26304 +
26305 +# How to create reloadable object files.
26306 +reload_flag=$lt_reload_flag
26307 +reload_cmds=$lt_reload_cmds
26308 +
26309 +# How to pass a linker flag through the compiler.
26310 +wl=$lt_lt_prog_compiler_wl_GCJ
26311 +
26312 +# Object file suffix (normally "o").
26313 +objext="$ac_objext"
26314 +
26315 +# Old archive suffix (normally "a").
26316 +libext="$libext"
26317 +
26318 +# Shared library suffix (normally ".so").
26319 +shrext_cmds='$shrext_cmds'
26320
26321 - case $host_os in
26322 - beos*)
26323 - lt_cv_dlopen="load_add_on"
26324 - lt_cv_dlopen_libs=
26325 - lt_cv_dlopen_self=yes
26326 - ;;
26327 +# Executable file suffix (normally "").
26328 +exeext="$exeext"
26329
26330 - cygwin* | mingw* | pw32*)
26331 - lt_cv_dlopen="LoadLibrary"
26332 - lt_cv_dlopen_libs=
26333 - ;;
26334 +# Additional compiler flags for building library objects.
26335 +pic_flag=$lt_lt_prog_compiler_pic_GCJ
26336 +pic_mode=$pic_mode
26337
26338 - *)
26339 - echo "$as_me:$LINENO: checking for shl_load" >&5
26340 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
26341 -if test "${ac_cv_func_shl_load+set}" = set; then
26342 - echo $ECHO_N "(cached) $ECHO_C" >&6
26343 -else
26344 - cat >conftest.$ac_ext <<_ACEOF
26345 -/* confdefs.h. */
26346 -_ACEOF
26347 -cat confdefs.h >>conftest.$ac_ext
26348 -cat >>conftest.$ac_ext <<_ACEOF
26349 -/* end confdefs.h. */
26350 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
26351 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
26352 -#define shl_load innocuous_shl_load
26353 +# What is the maximum length of a command?
26354 +max_cmd_len=$lt_cv_sys_max_cmd_len
26355
26356 -/* System header to define __stub macros and hopefully few prototypes,
26357 - which can conflict with char shl_load (); below.
26358 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26359 - <limits.h> exists even on freestanding compilers. */
26360 +# Does compiler simultaneously support -c and -o options?
26361 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26362
26363 -#ifdef __STDC__
26364 -# include <limits.h>
26365 -#else
26366 -# include <assert.h>
26367 -#endif
26368 +# Must we lock files when doing compilation?
26369 +need_locks=$lt_need_locks
26370
26371 -#undef shl_load
26372 +# Do we need the lib prefix for modules?
26373 +need_lib_prefix=$need_lib_prefix
26374
26375 -/* Override any gcc2 internal prototype to avoid an error. */
26376 -#ifdef __cplusplus
26377 -extern "C"
26378 -{
26379 -#endif
26380 -/* We use char because int might match the return type of a gcc2
26381 - builtin and then its argument prototype would still apply. */
26382 -char shl_load ();
26383 -/* The GNU C library defines this for functions which it implements
26384 - to always fail with ENOSYS. Some functions are actually named
26385 - something starting with __ and the normal name is an alias. */
26386 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
26387 -choke me
26388 -#else
26389 -char (*f) () = shl_load;
26390 -#endif
26391 -#ifdef __cplusplus
26392 -}
26393 -#endif
26394 +# Do we need a version for libraries?
26395 +need_version=$need_version
26396
26397 -int
26398 -main ()
26399 -{
26400 -return f != shl_load;
26401 - ;
26402 - return 0;
26403 -}
26404 -_ACEOF
26405 -rm -f conftest.$ac_objext conftest$ac_exeext
26406 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26407 - (eval $ac_link) 2>conftest.er1
26408 - ac_status=$?
26409 - grep -v '^ *+' conftest.er1 >conftest.err
26410 - rm -f conftest.er1
26411 - cat conftest.err >&5
26412 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26413 - (exit $ac_status); } &&
26414 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26415 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26416 - (eval $ac_try) 2>&5
26417 - ac_status=$?
26418 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 - (exit $ac_status); }; } &&
26420 - { ac_try='test -s conftest$ac_exeext'
26421 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26422 - (eval $ac_try) 2>&5
26423 - ac_status=$?
26424 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 - (exit $ac_status); }; }; then
26426 - ac_cv_func_shl_load=yes
26427 -else
26428 - echo "$as_me: failed program was:" >&5
26429 -sed 's/^/| /' conftest.$ac_ext >&5
26430 +# Whether dlopen is supported.
26431 +dlopen_support=$enable_dlopen
26432
26433 -ac_cv_func_shl_load=no
26434 -fi
26435 -rm -f conftest.err conftest.$ac_objext \
26436 - conftest$ac_exeext conftest.$ac_ext
26437 -fi
26438 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
26439 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
26440 -if test $ac_cv_func_shl_load = yes; then
26441 - lt_cv_dlopen="shl_load"
26442 -else
26443 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
26444 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
26445 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
26446 - echo $ECHO_N "(cached) $ECHO_C" >&6
26447 -else
26448 - ac_check_lib_save_LIBS=$LIBS
26449 -LIBS="-ldld $LIBS"
26450 -cat >conftest.$ac_ext <<_ACEOF
26451 -/* confdefs.h. */
26452 -_ACEOF
26453 -cat confdefs.h >>conftest.$ac_ext
26454 -cat >>conftest.$ac_ext <<_ACEOF
26455 -/* end confdefs.h. */
26456 +# Whether dlopen of programs is supported.
26457 +dlopen_self=$enable_dlopen_self
26458
26459 -/* Override any gcc2 internal prototype to avoid an error. */
26460 -#ifdef __cplusplus
26461 -extern "C"
26462 -#endif
26463 -/* We use char because int might match the return type of a gcc2
26464 - builtin and then its argument prototype would still apply. */
26465 -char shl_load ();
26466 -int
26467 -main ()
26468 -{
26469 -shl_load ();
26470 - ;
26471 - return 0;
26472 -}
26473 -_ACEOF
26474 -rm -f conftest.$ac_objext conftest$ac_exeext
26475 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26476 - (eval $ac_link) 2>conftest.er1
26477 - ac_status=$?
26478 - grep -v '^ *+' conftest.er1 >conftest.err
26479 - rm -f conftest.er1
26480 - cat conftest.err >&5
26481 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26482 - (exit $ac_status); } &&
26483 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26484 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26485 - (eval $ac_try) 2>&5
26486 - ac_status=$?
26487 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26488 - (exit $ac_status); }; } &&
26489 - { ac_try='test -s conftest$ac_exeext'
26490 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26491 - (eval $ac_try) 2>&5
26492 - ac_status=$?
26493 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26494 - (exit $ac_status); }; }; then
26495 - ac_cv_lib_dld_shl_load=yes
26496 -else
26497 - echo "$as_me: failed program was:" >&5
26498 -sed 's/^/| /' conftest.$ac_ext >&5
26499 +# Whether dlopen of statically linked programs is supported.
26500 +dlopen_self_static=$enable_dlopen_self_static
26501
26502 -ac_cv_lib_dld_shl_load=no
26503 -fi
26504 -rm -f conftest.err conftest.$ac_objext \
26505 - conftest$ac_exeext conftest.$ac_ext
26506 -LIBS=$ac_check_lib_save_LIBS
26507 -fi
26508 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
26509 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
26510 -if test $ac_cv_lib_dld_shl_load = yes; then
26511 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
26512 -else
26513 - echo "$as_me:$LINENO: checking for dlopen" >&5
26514 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
26515 -if test "${ac_cv_func_dlopen+set}" = set; then
26516 - echo $ECHO_N "(cached) $ECHO_C" >&6
26517 -else
26518 - cat >conftest.$ac_ext <<_ACEOF
26519 -/* confdefs.h. */
26520 -_ACEOF
26521 -cat confdefs.h >>conftest.$ac_ext
26522 -cat >>conftest.$ac_ext <<_ACEOF
26523 -/* end confdefs.h. */
26524 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
26525 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
26526 -#define dlopen innocuous_dlopen
26527 +# Compiler flag to prevent dynamic linking.
26528 +link_static_flag=$lt_lt_prog_compiler_static_GCJ
26529
26530 -/* System header to define __stub macros and hopefully few prototypes,
26531 - which can conflict with char dlopen (); below.
26532 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26533 - <limits.h> exists even on freestanding compilers. */
26534 +# Compiler flag to turn off builtin functions.
26535 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26536
26537 -#ifdef __STDC__
26538 -# include <limits.h>
26539 -#else
26540 -# include <assert.h>
26541 -#endif
26542 +# Compiler flag to allow reflexive dlopens.
26543 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26544
26545 -#undef dlopen
26546 +# Compiler flag to generate shared objects directly from archives.
26547 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26548
26549 -/* Override any gcc2 internal prototype to avoid an error. */
26550 -#ifdef __cplusplus
26551 -extern "C"
26552 -{
26553 -#endif
26554 -/* We use char because int might match the return type of a gcc2
26555 - builtin and then its argument prototype would still apply. */
26556 -char dlopen ();
26557 -/* The GNU C library defines this for functions which it implements
26558 - to always fail with ENOSYS. Some functions are actually named
26559 - something starting with __ and the normal name is an alias. */
26560 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
26561 -choke me
26562 -#else
26563 -char (*f) () = dlopen;
26564 -#endif
26565 -#ifdef __cplusplus
26566 -}
26567 -#endif
26568 +# Compiler flag to generate thread-safe objects.
26569 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26570
26571 -int
26572 -main ()
26573 -{
26574 -return f != dlopen;
26575 - ;
26576 - return 0;
26577 -}
26578 -_ACEOF
26579 -rm -f conftest.$ac_objext conftest$ac_exeext
26580 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26581 - (eval $ac_link) 2>conftest.er1
26582 - ac_status=$?
26583 - grep -v '^ *+' conftest.er1 >conftest.err
26584 - rm -f conftest.er1
26585 - cat conftest.err >&5
26586 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587 - (exit $ac_status); } &&
26588 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26589 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26590 - (eval $ac_try) 2>&5
26591 - ac_status=$?
26592 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 - (exit $ac_status); }; } &&
26594 - { ac_try='test -s conftest$ac_exeext'
26595 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26596 - (eval $ac_try) 2>&5
26597 - ac_status=$?
26598 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 - (exit $ac_status); }; }; then
26600 - ac_cv_func_dlopen=yes
26601 -else
26602 - echo "$as_me: failed program was:" >&5
26603 -sed 's/^/| /' conftest.$ac_ext >&5
26604 +# Library versioning type.
26605 +version_type=$version_type
26606
26607 -ac_cv_func_dlopen=no
26608 -fi
26609 -rm -f conftest.err conftest.$ac_objext \
26610 - conftest$ac_exeext conftest.$ac_ext
26611 -fi
26612 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
26613 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
26614 -if test $ac_cv_func_dlopen = yes; then
26615 - lt_cv_dlopen="dlopen"
26616 -else
26617 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
26618 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
26619 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
26620 - echo $ECHO_N "(cached) $ECHO_C" >&6
26621 -else
26622 - ac_check_lib_save_LIBS=$LIBS
26623 -LIBS="-ldl $LIBS"
26624 -cat >conftest.$ac_ext <<_ACEOF
26625 -/* confdefs.h. */
26626 -_ACEOF
26627 -cat confdefs.h >>conftest.$ac_ext
26628 -cat >>conftest.$ac_ext <<_ACEOF
26629 -/* end confdefs.h. */
26630 +# Format of library name prefix.
26631 +libname_spec=$lt_libname_spec
26632
26633 -/* Override any gcc2 internal prototype to avoid an error. */
26634 -#ifdef __cplusplus
26635 -extern "C"
26636 -#endif
26637 -/* We use char because int might match the return type of a gcc2
26638 - builtin and then its argument prototype would still apply. */
26639 -char dlopen ();
26640 -int
26641 -main ()
26642 -{
26643 -dlopen ();
26644 - ;
26645 - return 0;
26646 -}
26647 -_ACEOF
26648 -rm -f conftest.$ac_objext conftest$ac_exeext
26649 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26650 - (eval $ac_link) 2>conftest.er1
26651 - ac_status=$?
26652 - grep -v '^ *+' conftest.er1 >conftest.err
26653 - rm -f conftest.er1
26654 - cat conftest.err >&5
26655 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 - (exit $ac_status); } &&
26657 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26658 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659 - (eval $ac_try) 2>&5
26660 - ac_status=$?
26661 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 - (exit $ac_status); }; } &&
26663 - { ac_try='test -s conftest$ac_exeext'
26664 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26665 - (eval $ac_try) 2>&5
26666 - ac_status=$?
26667 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 - (exit $ac_status); }; }; then
26669 - ac_cv_lib_dl_dlopen=yes
26670 -else
26671 - echo "$as_me: failed program was:" >&5
26672 -sed 's/^/| /' conftest.$ac_ext >&5
26673 +# List of archive names. First name is the real one, the rest are links.
26674 +# The last name is the one that the linker finds with -lNAME.
26675 +library_names_spec=$lt_library_names_spec
26676 +
26677 +# The coded name of the library, if different from the real name.
26678 +soname_spec=$lt_soname_spec
26679 +
26680 +# Commands used to build and install an old-style archive.
26681 +RANLIB=$lt_RANLIB
26682 +old_archive_cmds=$lt_old_archive_cmds_GCJ
26683 +old_postinstall_cmds=$lt_old_postinstall_cmds
26684 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
26685
26686 -ac_cv_lib_dl_dlopen=no
26687 -fi
26688 -rm -f conftest.err conftest.$ac_objext \
26689 - conftest$ac_exeext conftest.$ac_ext
26690 -LIBS=$ac_check_lib_save_LIBS
26691 -fi
26692 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
26693 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
26694 -if test $ac_cv_lib_dl_dlopen = yes; then
26695 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
26696 -else
26697 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
26698 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
26699 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
26700 - echo $ECHO_N "(cached) $ECHO_C" >&6
26701 -else
26702 - ac_check_lib_save_LIBS=$LIBS
26703 -LIBS="-lsvld $LIBS"
26704 -cat >conftest.$ac_ext <<_ACEOF
26705 -/* confdefs.h. */
26706 -_ACEOF
26707 -cat confdefs.h >>conftest.$ac_ext
26708 -cat >>conftest.$ac_ext <<_ACEOF
26709 -/* end confdefs.h. */
26710 +# Create an old-style archive from a shared archive.
26711 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26712
26713 -/* Override any gcc2 internal prototype to avoid an error. */
26714 -#ifdef __cplusplus
26715 -extern "C"
26716 -#endif
26717 -/* We use char because int might match the return type of a gcc2
26718 - builtin and then its argument prototype would still apply. */
26719 -char dlopen ();
26720 -int
26721 -main ()
26722 -{
26723 -dlopen ();
26724 - ;
26725 - return 0;
26726 -}
26727 -_ACEOF
26728 -rm -f conftest.$ac_objext conftest$ac_exeext
26729 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26730 - (eval $ac_link) 2>conftest.er1
26731 - ac_status=$?
26732 - grep -v '^ *+' conftest.er1 >conftest.err
26733 - rm -f conftest.er1
26734 - cat conftest.err >&5
26735 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 - (exit $ac_status); } &&
26737 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26738 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26739 - (eval $ac_try) 2>&5
26740 - ac_status=$?
26741 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 - (exit $ac_status); }; } &&
26743 - { ac_try='test -s conftest$ac_exeext'
26744 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26745 - (eval $ac_try) 2>&5
26746 - ac_status=$?
26747 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 - (exit $ac_status); }; }; then
26749 - ac_cv_lib_svld_dlopen=yes
26750 -else
26751 - echo "$as_me: failed program was:" >&5
26752 -sed 's/^/| /' conftest.$ac_ext >&5
26753 +# Create a temporary old-style archive to link instead of a shared archive.
26754 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26755
26756 -ac_cv_lib_svld_dlopen=no
26757 -fi
26758 -rm -f conftest.err conftest.$ac_objext \
26759 - conftest$ac_exeext conftest.$ac_ext
26760 -LIBS=$ac_check_lib_save_LIBS
26761 -fi
26762 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
26763 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
26764 -if test $ac_cv_lib_svld_dlopen = yes; then
26765 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
26766 -else
26767 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
26768 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
26769 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
26770 - echo $ECHO_N "(cached) $ECHO_C" >&6
26771 -else
26772 - ac_check_lib_save_LIBS=$LIBS
26773 -LIBS="-ldld $LIBS"
26774 -cat >conftest.$ac_ext <<_ACEOF
26775 -/* confdefs.h. */
26776 -_ACEOF
26777 -cat confdefs.h >>conftest.$ac_ext
26778 -cat >>conftest.$ac_ext <<_ACEOF
26779 -/* end confdefs.h. */
26780 +# Commands used to build and install a shared archive.
26781 +archive_cmds=$lt_archive_cmds_GCJ
26782 +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26783 +postinstall_cmds=$lt_postinstall_cmds
26784 +postuninstall_cmds=$lt_postuninstall_cmds
26785
26786 -/* Override any gcc2 internal prototype to avoid an error. */
26787 -#ifdef __cplusplus
26788 -extern "C"
26789 -#endif
26790 -/* We use char because int might match the return type of a gcc2
26791 - builtin and then its argument prototype would still apply. */
26792 -char dld_link ();
26793 -int
26794 -main ()
26795 -{
26796 -dld_link ();
26797 - ;
26798 - return 0;
26799 -}
26800 -_ACEOF
26801 -rm -f conftest.$ac_objext conftest$ac_exeext
26802 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26803 - (eval $ac_link) 2>conftest.er1
26804 - ac_status=$?
26805 - grep -v '^ *+' conftest.er1 >conftest.err
26806 - rm -f conftest.er1
26807 - cat conftest.err >&5
26808 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 - (exit $ac_status); } &&
26810 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26811 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812 - (eval $ac_try) 2>&5
26813 - ac_status=$?
26814 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 - (exit $ac_status); }; } &&
26816 - { ac_try='test -s conftest$ac_exeext'
26817 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 - (eval $ac_try) 2>&5
26819 - ac_status=$?
26820 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 - (exit $ac_status); }; }; then
26822 - ac_cv_lib_dld_dld_link=yes
26823 -else
26824 - echo "$as_me: failed program was:" >&5
26825 -sed 's/^/| /' conftest.$ac_ext >&5
26826 +# Commands used to build a loadable module (assumed same as above if empty)
26827 +module_cmds=$lt_module_cmds_GCJ
26828 +module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26829
26830 -ac_cv_lib_dld_dld_link=no
26831 -fi
26832 -rm -f conftest.err conftest.$ac_objext \
26833 - conftest$ac_exeext conftest.$ac_ext
26834 -LIBS=$ac_check_lib_save_LIBS
26835 -fi
26836 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
26837 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
26838 -if test $ac_cv_lib_dld_dld_link = yes; then
26839 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
26840 -fi
26841 +# Commands to strip libraries.
26842 +old_striplib=$lt_old_striplib
26843 +striplib=$lt_striplib
26844
26845 +# Dependencies to place before the objects being linked to create a
26846 +# shared library.
26847 +predep_objects=$lt_predep_objects_GCJ
26848 +
26849 +# Dependencies to place after the objects being linked to create a
26850 +# shared library.
26851 +postdep_objects=$lt_postdep_objects_GCJ
26852 +
26853 +# Dependencies to place before the objects being linked to create a
26854 +# shared library.
26855 +predeps=$lt_predeps_GCJ
26856 +
26857 +# Dependencies to place after the objects being linked to create a
26858 +# shared library.
26859 +postdeps=$lt_postdeps_GCJ
26860 +
26861 +# The library search path used internally by the compiler when linking
26862 +# a shared library.
26863 +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26864
26865 -fi
26866 +# Method to check whether dependent libraries are shared objects.
26867 +deplibs_check_method=$lt_deplibs_check_method
26868
26869 +# Command to use when deplibs_check_method == file_magic.
26870 +file_magic_cmd=$lt_file_magic_cmd
26871
26872 -fi
26873 +# Flag that allows shared libraries with undefined symbols to be built.
26874 +allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26875
26876 +# Flag that forces no undefined symbols.
26877 +no_undefined_flag=$lt_no_undefined_flag_GCJ
26878
26879 -fi
26880 +# Commands used to finish a libtool library installation in a directory.
26881 +finish_cmds=$lt_finish_cmds
26882
26883 +# Same as above, but a single script fragment to be evaled but not shown.
26884 +finish_eval=$lt_finish_eval
26885
26886 -fi
26887 +# Take the output of nm and produce a listing of raw symbols and C names.
26888 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26889
26890 +# Transform the output of nm in a proper C declaration
26891 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26892
26893 -fi
26894 +# Transform the output of nm in a C name address pair
26895 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26896
26897 - ;;
26898 - esac
26899 +# This is the shared library runtime path variable.
26900 +runpath_var=$runpath_var
26901
26902 - if test "x$lt_cv_dlopen" != xno; then
26903 - enable_dlopen=yes
26904 - else
26905 - enable_dlopen=no
26906 - fi
26907 +# This is the shared library path variable.
26908 +shlibpath_var=$shlibpath_var
26909
26910 - case $lt_cv_dlopen in
26911 - dlopen)
26912 - save_CPPFLAGS="$CPPFLAGS"
26913 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
26914 +# Is shlibpath searched before the hard-coded library search path?
26915 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26916
26917 - save_LDFLAGS="$LDFLAGS"
26918 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
26919 +# How to hardcode a shared library path into an executable.
26920 +hardcode_action=$hardcode_action_GCJ
26921
26922 - save_LIBS="$LIBS"
26923 - LIBS="$lt_cv_dlopen_libs $LIBS"
26924 +# Whether we should hardcode library paths into libraries.
26925 +hardcode_into_libs=$hardcode_into_libs
26926
26927 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
26928 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
26929 -if test "${lt_cv_dlopen_self+set}" = set; then
26930 - echo $ECHO_N "(cached) $ECHO_C" >&6
26931 -else
26932 - if test "$cross_compiling" = yes; then :
26933 - lt_cv_dlopen_self=cross
26934 -else
26935 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
26936 - lt_status=$lt_dlunknown
26937 - cat > conftest.$ac_ext <<EOF
26938 -#line 7380 "configure"
26939 -#include "confdefs.h"
26940 +# Flag to hardcode \$libdir into a binary during linking.
26941 +# This must work even if \$libdir does not exist.
26942 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26943
26944 -#if HAVE_DLFCN_H
26945 -#include <dlfcn.h>
26946 -#endif
26947 +# If ld is used when linking, flag to hardcode \$libdir into
26948 +# a binary during linking. This must work even if \$libdir does
26949 +# not exist.
26950 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26951
26952 -#include <stdio.h>
26953 +# Whether we need a single -rpath flag with a separated argument.
26954 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26955
26956 -#ifdef RTLD_GLOBAL
26957 -# define LT_DLGLOBAL RTLD_GLOBAL
26958 -#else
26959 -# ifdef DL_GLOBAL
26960 -# define LT_DLGLOBAL DL_GLOBAL
26961 -# else
26962 -# define LT_DLGLOBAL 0
26963 -# endif
26964 -#endif
26965 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26966 +# resulting binary.
26967 +hardcode_direct=$hardcode_direct_GCJ
26968
26969 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
26970 - find out it does not work in some platform. */
26971 -#ifndef LT_DLLAZY_OR_NOW
26972 -# ifdef RTLD_LAZY
26973 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
26974 -# else
26975 -# ifdef DL_LAZY
26976 -# define LT_DLLAZY_OR_NOW DL_LAZY
26977 -# else
26978 -# ifdef RTLD_NOW
26979 -# define LT_DLLAZY_OR_NOW RTLD_NOW
26980 -# else
26981 -# ifdef DL_NOW
26982 -# define LT_DLLAZY_OR_NOW DL_NOW
26983 -# else
26984 -# define LT_DLLAZY_OR_NOW 0
26985 -# endif
26986 -# endif
26987 -# endif
26988 -# endif
26989 -#endif
26990 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26991 +# resulting binary.
26992 +hardcode_minus_L=$hardcode_minus_L_GCJ
26993
26994 -#ifdef __cplusplus
26995 -extern "C" void exit (int);
26996 -#endif
26997 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26998 +# the resulting binary.
26999 +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
27000
27001 -void fnord() { int i=42;}
27002 -int main ()
27003 -{
27004 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
27005 - int status = $lt_dlunknown;
27006 +# Set to yes if building a shared library automatically hardcodes DIR into the library
27007 +# and all subsequent libraries and executables linked against it.
27008 +hardcode_automatic=$hardcode_automatic_GCJ
27009
27010 - if (self)
27011 - {
27012 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
27013 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
27014 - /* dlclose (self); */
27015 - }
27016 +# Variables whose values should be saved in libtool wrapper scripts and
27017 +# restored at relink time.
27018 +variables_saved_for_relink="$variables_saved_for_relink"
27019
27020 - exit (status);
27021 -}
27022 -EOF
27023 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27024 - (eval $ac_link) 2>&5
27025 - ac_status=$?
27026 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27027 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
27028 - (./conftest; exit; ) 2>/dev/null
27029 - lt_status=$?
27030 - case x$lt_status in
27031 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
27032 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
27033 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
27034 - esac
27035 - else :
27036 - # compilation failed
27037 - lt_cv_dlopen_self=no
27038 - fi
27039 -fi
27040 -rm -fr conftest*
27041 +# Whether libtool must link a program against all its dependency libraries.
27042 +link_all_deplibs=$link_all_deplibs_GCJ
27043 +
27044 +# Compile-time system search path for libraries
27045 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27046 +
27047 +# Run-time system search path for libraries
27048 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27049 +
27050 +# Fix the shell variable \$srcfile for the compiler.
27051 +fix_srcfile_path="$fix_srcfile_path_GCJ"
27052 +
27053 +# Set to yes if exported symbols are required.
27054 +always_export_symbols=$always_export_symbols_GCJ
27055 +
27056 +# The commands to list exported symbols.
27057 +export_symbols_cmds=$lt_export_symbols_cmds_GCJ
27058 +
27059 +# The commands to extract the exported symbol list from a shared archive.
27060 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
27061 +
27062 +# Symbols that should not be listed in the preloaded symbols.
27063 +exclude_expsyms=$lt_exclude_expsyms_GCJ
27064 +
27065 +# Symbols that must always be exported.
27066 +include_expsyms=$lt_include_expsyms_GCJ
27067
27068 +# ### END LIBTOOL TAG CONFIG: $tagname
27069 +
27070 +__EOF__
27071
27072 -fi
27073 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
27074 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
27075
27076 - if test "x$lt_cv_dlopen_self" = xyes; then
27077 - LDFLAGS="$LDFLAGS $link_static_flag"
27078 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
27079 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
27080 -if test "${lt_cv_dlopen_self_static+set}" = set; then
27081 - echo $ECHO_N "(cached) $ECHO_C" >&6
27082 -else
27083 - if test "$cross_compiling" = yes; then :
27084 - lt_cv_dlopen_self_static=cross
27085 else
27086 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
27087 - lt_status=$lt_dlunknown
27088 - cat > conftest.$ac_ext <<EOF
27089 -#line 7478 "configure"
27090 -#include "confdefs.h"
27091 + # If there is no Makefile yet, we rely on a make rule to execute
27092 + # `config.status --recheck' to rerun these tests and create the
27093 + # libtool script then.
27094 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
27095 + if test -f "$ltmain_in"; then
27096 + test -f Makefile && make "$ltmain"
27097 + fi
27098 +fi
27099
27100 -#if HAVE_DLFCN_H
27101 -#include <dlfcn.h>
27102 -#endif
27103
27104 -#include <stdio.h>
27105 +ac_ext=c
27106 +ac_cpp='$CPP $CPPFLAGS'
27107 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27108 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27109 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
27110
27111 -#ifdef RTLD_GLOBAL
27112 -# define LT_DLGLOBAL RTLD_GLOBAL
27113 -#else
27114 -# ifdef DL_GLOBAL
27115 -# define LT_DLGLOBAL DL_GLOBAL
27116 -# else
27117 -# define LT_DLGLOBAL 0
27118 -# endif
27119 -#endif
27120 +CC="$lt_save_CC"
27121
27122 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
27123 - find out it does not work in some platform. */
27124 -#ifndef LT_DLLAZY_OR_NOW
27125 -# ifdef RTLD_LAZY
27126 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
27127 -# else
27128 -# ifdef DL_LAZY
27129 -# define LT_DLLAZY_OR_NOW DL_LAZY
27130 -# else
27131 -# ifdef RTLD_NOW
27132 -# define LT_DLLAZY_OR_NOW RTLD_NOW
27133 -# else
27134 -# ifdef DL_NOW
27135 -# define LT_DLLAZY_OR_NOW DL_NOW
27136 -# else
27137 -# define LT_DLLAZY_OR_NOW 0
27138 -# endif
27139 -# endif
27140 -# endif
27141 -# endif
27142 -#endif
27143 + else
27144 + tagname=""
27145 + fi
27146 + ;;
27147
27148 -#ifdef __cplusplus
27149 -extern "C" void exit (int);
27150 -#endif
27151 + RC)
27152
27153 -void fnord() { int i=42;}
27154 -int main ()
27155 -{
27156 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
27157 - int status = $lt_dlunknown;
27158
27159 - if (self)
27160 - {
27161 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
27162 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
27163 - /* dlclose (self); */
27164 - }
27165 +# Source file extension for RC test sources.
27166 +ac_ext=rc
27167
27168 - exit (status);
27169 -}
27170 -EOF
27171 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27172 - (eval $ac_link) 2>&5
27173 - ac_status=$?
27174 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
27176 - (./conftest; exit; ) 2>/dev/null
27177 - lt_status=$?
27178 - case x$lt_status in
27179 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
27180 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
27181 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
27182 - esac
27183 - else :
27184 - # compilation failed
27185 - lt_cv_dlopen_self_static=no
27186 - fi
27187 -fi
27188 -rm -fr conftest*
27189 +# Object file extension for compiled RC test sources.
27190 +objext=o
27191 +objext_RC=$objext
27192
27193 +# Code to be used in simple compile tests
27194 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
27195
27196 -fi
27197 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
27198 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
27199 - fi
27200 +# Code to be used in simple link tests
27201 +lt_simple_link_test_code="$lt_simple_compile_test_code"
27202
27203 - CPPFLAGS="$save_CPPFLAGS"
27204 - LDFLAGS="$save_LDFLAGS"
27205 - LIBS="$save_LIBS"
27206 - ;;
27207 - esac
27208 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
27209
27210 - case $lt_cv_dlopen_self in
27211 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
27212 - *) enable_dlopen_self=unknown ;;
27213 - esac
27214 +# If no C compiler was specified, use CC.
27215 +LTCC=${LTCC-"$CC"}
27216
27217 - case $lt_cv_dlopen_self_static in
27218 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
27219 - *) enable_dlopen_self_static=unknown ;;
27220 - esac
27221 -fi
27222 +# If no C compiler flags were specified, use CFLAGS.
27223 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
27224
27225 +# Allow CC to be a program name with arguments.
27226 +compiler=$CC
27227
27228 -if test "$enable_shared" = yes && test "$GCC" = yes; then
27229 - case $archive_cmds in
27230 - *'~'*)
27231 - # FIXME: we may have to deal with multi-command sequences.
27232 - ;;
27233 - '$CC '*)
27234 - # Test whether the compiler implicitly links with -lc since on some
27235 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
27236 - # to ld, don't add -lc before -lgcc.
27237 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
27238 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
27239 - if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
27240 - echo $ECHO_N "(cached) $ECHO_C" >&6
27241 -else
27242 - $rm conftest*
27243 - echo 'static int dummy;' > conftest.$ac_ext
27244
27245 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27246 - (eval $ac_compile) 2>&5
27247 - ac_status=$?
27248 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249 - (exit $ac_status); }; then
27250 - soname=conftest
27251 - lib=conftest
27252 - libobjs=conftest.$ac_objext
27253 - deplibs=
27254 - wl=$lt_cv_prog_cc_wl
27255 - compiler_flags=-v
27256 - linker_flags=-v
27257 - verstring=
27258 - output_objdir=.
27259 - libname=conftest
27260 - save_allow_undefined_flag=$allow_undefined_flag
27261 - allow_undefined_flag=
27262 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
27263 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
27264 - ac_status=$?
27265 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 - (exit $ac_status); }
27267 - then
27268 - lt_cv_archive_cmds_need_lc=no
27269 - else
27270 - lt_cv_archive_cmds_need_lc=yes
27271 - fi
27272 - allow_undefined_flag=$save_allow_undefined_flag
27273 - else
27274 - cat conftest.err 1>&5
27275 - fi
27276 -fi
27277 +# save warnings/boilerplate of simple test code
27278 +ac_outfile=conftest.$ac_objext
27279 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
27280 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27281 +_lt_compiler_boilerplate=`cat conftest.err`
27282 +$rm conftest*
27283 +
27284 +ac_outfile=conftest.$ac_objext
27285 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
27286 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27287 +_lt_linker_boilerplate=`cat conftest.err`
27288 +$rm conftest*
27289
27290 - echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
27291 -echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
27292 - ;;
27293 +
27294 +# Allow CC to be a program name with arguments.
27295 +lt_save_CC="$CC"
27296 +CC=${RC-"windres"}
27297 +compiler=$CC
27298 +compiler_RC=$CC
27299 +for cc_temp in $compiler""; do
27300 + case $cc_temp in
27301 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
27302 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
27303 + \-*) ;;
27304 + *) break;;
27305 esac
27306 -fi
27307 -need_lc=${lt_cv_archive_cmds_need_lc-yes}
27308 +done
27309 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
27310
27311 -# The second clause should only fire when bootstrapping the
27312 +lt_cv_prog_compiler_c_o_RC=yes
27313 +
27314 +# The else clause should only fire when bootstrapping the
27315 # libtool distribution, otherwise you forgot to ship ltmain.sh
27316 # with your package, and you will get complaints that there are
27317 # no rules to generate ltmain.sh.
27318 if test -f "$ltmain"; then
27319 - :
27320 -else
27321 - # If there is no Makefile yet, we rely on a make rule to execute
27322 - # `config.status --recheck' to rerun these tests and create the
27323 - # libtool script then.
27324 - test -f Makefile && make "$ltmain"
27325 -fi
27326 -
27327 -if test -f "$ltmain"; then
27328 - trap "$rm \"${ofile}T\"; exit 1" 1 2 15
27329 - $rm -f "${ofile}T"
27330 -
27331 - echo creating $ofile
27332 -
27333 + # See if we are running on zsh, and set the options which allow our commands through
27334 + # without removal of \ escapes.
27335 + if test -n "${ZSH_VERSION+set}" ; then
27336 + setopt NO_GLOB_SUBST
27337 + fi
27338 # Now quote all the things that may contain metacharacters while being
27339 # careful not to overquote the AC_SUBSTed values. We take copies of the
27340 # variables and quote the copies for generation of the libtool script.
27341 - for var in echo old_CC old_CFLAGS SED \
27342 - AR AR_FLAGS CC LD LN_S NM SHELL \
27343 - reload_flag reload_cmds wl \
27344 - pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
27345 - thread_safe_flag_spec whole_archive_flag_spec libname_spec \
27346 - library_names_spec soname_spec \
27347 - RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
27348 - old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
27349 - postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
27350 - old_striplib striplib file_magic_cmd export_symbols_cmds \
27351 - deplibs_check_method allow_undefined_flag no_undefined_flag \
27352 - finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
27353 - global_symbol_to_c_name_address \
27354 - hardcode_libdir_flag_spec hardcode_libdir_separator \
27355 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
27356 + SED SHELL STRIP \
27357 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
27358 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
27359 + deplibs_check_method reload_flag reload_cmds need_locks \
27360 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
27361 + lt_cv_sys_global_symbol_to_c_name_address \
27362 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
27363 - compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
27364 + old_postinstall_cmds old_postuninstall_cmds \
27365 + compiler_RC \
27366 + CC_RC \
27367 + LD_RC \
27368 + lt_prog_compiler_wl_RC \
27369 + lt_prog_compiler_pic_RC \
27370 + lt_prog_compiler_static_RC \
27371 + lt_prog_compiler_no_builtin_flag_RC \
27372 + export_dynamic_flag_spec_RC \
27373 + thread_safe_flag_spec_RC \
27374 + whole_archive_flag_spec_RC \
27375 + enable_shared_with_static_runtimes_RC \
27376 + old_archive_cmds_RC \
27377 + old_archive_from_new_cmds_RC \
27378 + predep_objects_RC \
27379 + postdep_objects_RC \
27380 + predeps_RC \
27381 + postdeps_RC \
27382 + compiler_lib_search_path_RC \
27383 + archive_cmds_RC \
27384 + archive_expsym_cmds_RC \
27385 + postinstall_cmds_RC \
27386 + postuninstall_cmds_RC \
27387 + old_archive_from_expsyms_cmds_RC \
27388 + allow_undefined_flag_RC \
27389 + no_undefined_flag_RC \
27390 + export_symbols_cmds_RC \
27391 + hardcode_libdir_flag_spec_RC \
27392 + hardcode_libdir_flag_spec_ld_RC \
27393 + hardcode_libdir_separator_RC \
27394 + hardcode_automatic_RC \
27395 + module_cmds_RC \
27396 + module_expsym_cmds_RC \
27397 + lt_cv_prog_compiler_c_o_RC \
27398 + exclude_expsyms_RC \
27399 + include_expsyms_RC; do
27400
27401 case $var in
27402 - reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
27403 - old_postinstall_cmds | old_postuninstall_cmds | \
27404 - export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
27405 - extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
27406 + old_archive_cmds_RC | \
27407 + old_archive_from_new_cmds_RC | \
27408 + archive_cmds_RC | \
27409 + archive_expsym_cmds_RC | \
27410 + module_cmds_RC | \
27411 + module_expsym_cmds_RC | \
27412 + old_archive_from_expsyms_cmds_RC | \
27413 + export_symbols_cmds_RC | \
27414 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
27415 postinstall_cmds | postuninstall_cmds | \
27416 - finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
27417 + old_postinstall_cmds | old_postuninstall_cmds | \
27418 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
27419 # Double-quote double-evaled strings.
27420 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
27421 ;;
27422 @@ -7691,46 +19099,16 @@
27423 esac
27424 done
27425
27426 - cat <<__EOF__ > "${ofile}T"
27427 -#! $SHELL
27428 -
27429 -# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27430 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
27431 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
27432 -#
27433 -# Copyright (C) 1996-2000 Free Software Foundation, Inc.
27434 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
27435 -#
27436 -# This program is free software; you can redistribute it and/or modify
27437 -# it under the terms of the GNU General Public License as published by
27438 -# the Free Software Foundation; either version 2 of the License, or
27439 -# (at your option) any later version.
27440 -#
27441 -# This program is distributed in the hope that it will be useful, but
27442 -# WITHOUT ANY WARRANTY; without even the implied warranty of
27443 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27444 -# General Public License for more details.
27445 -#
27446 -# You should have received a copy of the GNU General Public License
27447 -# along with this program; if not, write to the Free Software
27448 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27449 -#
27450 -# As a special exception to the GNU General Public License, if you
27451 -# distribute this file as part of a program that contains a
27452 -# configuration script generated by Autoconf, you may include it under
27453 -# the same distribution terms that you use for the rest of that program.
27454 -
27455 -# A sed that does not truncate output.
27456 -SED=$lt_SED
27457 -
27458 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
27459 -Xsed="${SED} -e s/^X//"
27460 + case $lt_echo in
27461 + *'\$0 --fallback-echo"')
27462 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
27463 + ;;
27464 + esac
27465
27466 -# The HP-UX ksh and POSIX shell print the target directory to stdout
27467 -# if CDPATH is set.
27468 -if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
27469 +cfgfile="$ofile"
27470
27471 -# ### BEGIN LIBTOOL CONFIG
27472 + cat <<__EOF__ >> "$cfgfile"
27473 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
27474
27475 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27476
27477 @@ -7744,7 +19122,10 @@
27478 build_old_libs=$enable_static
27479
27480 # Whether or not to add -lc for building shared libraries.
27481 -build_libtool_need_lc=$need_lc
27482 +build_libtool_need_lc=$archive_cmds_need_lc_RC
27483 +
27484 +# Whether or not to disallow shared libs when runtime libs are static
27485 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
27486
27487 # Whether or not to optimize for fast installation.
27488 fast_install=$enable_fast_install
27489 @@ -7752,6 +19133,12 @@
27490 # The host system.
27491 host_alias=$host_alias
27492 host=$host
27493 +host_os=$host_os
27494 +
27495 +# The build system.
27496 +build_alias=$build_alias
27497 +build=$build
27498 +build_os=$build_os
27499
27500 # An echo program that does not interpret backslashes.
27501 echo=$lt_echo
27502 @@ -7760,14 +19147,23 @@
27503 AR=$lt_AR
27504 AR_FLAGS=$lt_AR_FLAGS
27505
27506 -# The default C compiler.
27507 -CC=$lt_CC
27508 +# A C compiler.
27509 +LTCC=$lt_LTCC
27510 +
27511 +# LTCC compiler flags.
27512 +LTCFLAGS=$lt_LTCFLAGS
27513 +
27514 +# A language-specific compiler.
27515 +CC=$lt_compiler_RC
27516
27517 # Is the compiler the GNU C compiler?
27518 -with_gcc=$GCC
27519 +with_gcc=$GCC_RC
27520 +
27521 +# An ERE matcher.
27522 +EGREP=$lt_EGREP
27523
27524 # The linker used to build libraries.
27525 -LD=$lt_LD
27526 +LD=$lt_LD_RC
27527
27528 # Whether we need hard or soft links.
27529 LN_S=$lt_LN_S
27530 @@ -7776,7 +19172,7 @@
27531 NM=$lt_NM
27532
27533 # A symbol stripping program
27534 -STRIP=$STRIP
27535 +STRIP=$lt_STRIP
27536
27537 # Used to examine libraries when file_magic_cmd begins "file"
27538 MAGIC_CMD=$MAGIC_CMD
27539 @@ -7798,7 +19194,7 @@
27540 reload_cmds=$lt_reload_cmds
27541
27542 # How to pass a linker flag through the compiler.
27543 -wl=$lt_wl
27544 +wl=$lt_lt_prog_compiler_wl_RC
27545
27546 # Object file suffix (normally "o").
27547 objext="$ac_objext"
27548 @@ -7806,20 +19202,23 @@
27549 # Old archive suffix (normally "a").
27550 libext="$libext"
27551
27552 +# Shared library suffix (normally ".so").
27553 +shrext_cmds='$shrext_cmds'
27554 +
27555 # Executable file suffix (normally "").
27556 exeext="$exeext"
27557
27558 # Additional compiler flags for building library objects.
27559 -pic_flag=$lt_pic_flag
27560 +pic_flag=$lt_lt_prog_compiler_pic_RC
27561 pic_mode=$pic_mode
27562
27563 -# Does compiler simultaneously support -c and -o options?
27564 -compiler_c_o=$lt_compiler_c_o
27565 +# What is the maximum length of a command?
27566 +max_cmd_len=$lt_cv_sys_max_cmd_len
27567
27568 -# Can we write directly to a .lo ?
27569 -compiler_o_lo=$lt_compiler_o_lo
27570 +# Does compiler simultaneously support -c and -o options?
27571 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
27572
27573 -# Must we lock files when doing compilation ?
27574 +# Must we lock files when doing compilation?
27575 need_locks=$lt_need_locks
27576
27577 # Do we need the lib prefix for modules?
27578 @@ -7838,19 +19237,19 @@
27579 dlopen_self_static=$enable_dlopen_self_static
27580
27581 # Compiler flag to prevent dynamic linking.
27582 -link_static_flag=$lt_link_static_flag
27583 +link_static_flag=$lt_lt_prog_compiler_static_RC
27584
27585 # Compiler flag to turn off builtin functions.
27586 -no_builtin_flag=$lt_no_builtin_flag
27587 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
27588
27589 # Compiler flag to allow reflexive dlopens.
27590 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27591 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
27592
27593 # Compiler flag to generate shared objects directly from archives.
27594 -whole_archive_flag_spec=$lt_whole_archive_flag_spec
27595 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
27596
27597 # Compiler flag to generate thread-safe objects.
27598 -thread_safe_flag_spec=$lt_thread_safe_flag_spec
27599 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
27600
27601 # Library versioning type.
27602 version_type=$version_type
27603 @@ -7867,26 +19266,50 @@
27604
27605 # Commands used to build and install an old-style archive.
27606 RANLIB=$lt_RANLIB
27607 -old_archive_cmds=$lt_old_archive_cmds
27608 +old_archive_cmds=$lt_old_archive_cmds_RC
27609 old_postinstall_cmds=$lt_old_postinstall_cmds
27610 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27611
27612 # Create an old-style archive from a shared archive.
27613 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27614 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
27615
27616 # Create a temporary old-style archive to link instead of a shared archive.
27617 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27618 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
27619
27620 # Commands used to build and install a shared archive.
27621 -archive_cmds=$lt_archive_cmds
27622 -archive_expsym_cmds=$lt_archive_expsym_cmds
27623 +archive_cmds=$lt_archive_cmds_RC
27624 +archive_expsym_cmds=$lt_archive_expsym_cmds_RC
27625 postinstall_cmds=$lt_postinstall_cmds
27626 postuninstall_cmds=$lt_postuninstall_cmds
27627
27628 +# Commands used to build a loadable module (assumed same as above if empty)
27629 +module_cmds=$lt_module_cmds_RC
27630 +module_expsym_cmds=$lt_module_expsym_cmds_RC
27631 +
27632 # Commands to strip libraries.
27633 old_striplib=$lt_old_striplib
27634 striplib=$lt_striplib
27635
27636 +# Dependencies to place before the objects being linked to create a
27637 +# shared library.
27638 +predep_objects=$lt_predep_objects_RC
27639 +
27640 +# Dependencies to place after the objects being linked to create a
27641 +# shared library.
27642 +postdep_objects=$lt_postdep_objects_RC
27643 +
27644 +# Dependencies to place before the objects being linked to create a
27645 +# shared library.
27646 +predeps=$lt_predeps_RC
27647 +
27648 +# Dependencies to place after the objects being linked to create a
27649 +# shared library.
27650 +postdeps=$lt_postdeps_RC
27651 +
27652 +# The library search path used internally by the compiler when linking
27653 +# a shared library.
27654 +compiler_lib_search_path=$lt_compiler_lib_search_path_RC
27655 +
27656 # Method to check whether dependent libraries are shared objects.
27657 deplibs_check_method=$lt_deplibs_check_method
27658
27659 @@ -7894,10 +19317,10 @@
27660 file_magic_cmd=$lt_file_magic_cmd
27661
27662 # Flag that allows shared libraries with undefined symbols to be built.
27663 -allow_undefined_flag=$lt_allow_undefined_flag
27664 +allow_undefined_flag=$lt_allow_undefined_flag_RC
27665
27666 # Flag that forces no undefined symbols.
27667 -no_undefined_flag=$lt_no_undefined_flag
27668 +no_undefined_flag=$lt_no_undefined_flag_RC
27669
27670 # Commands used to finish a libtool library installation in a directory.
27671 finish_cmds=$lt_finish_cmds
27672 @@ -7906,13 +19329,13 @@
27673 finish_eval=$lt_finish_eval
27674
27675 # Take the output of nm and produce a listing of raw symbols and C names.
27676 -global_symbol_pipe=$lt_global_symbol_pipe
27677 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27678
27679 # Transform the output of nm in a proper C declaration
27680 -global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
27681 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27682
27683 # Transform the output of nm in a C name address pair
27684 -global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
27685 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27686
27687 # This is the shared library runtime path variable.
27688 runpath_var=$runpath_var
27689 @@ -7924,290 +19347,158 @@
27690 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27691
27692 # How to hardcode a shared library path into an executable.
27693 -hardcode_action=$hardcode_action
27694 +hardcode_action=$hardcode_action_RC
27695
27696 # Whether we should hardcode library paths into libraries.
27697 hardcode_into_libs=$hardcode_into_libs
27698
27699 # Flag to hardcode \$libdir into a binary during linking.
27700 # This must work even if \$libdir does not exist.
27701 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27702 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
27703 +
27704 +# If ld is used when linking, flag to hardcode \$libdir into
27705 +# a binary during linking. This must work even if \$libdir does
27706 +# not exist.
27707 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
27708
27709 # Whether we need a single -rpath flag with a separated argument.
27710 -hardcode_libdir_separator=$lt_hardcode_libdir_separator
27711 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
27712
27713 -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
27714 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
27715 # resulting binary.
27716 -hardcode_direct=$hardcode_direct
27717 +hardcode_direct=$hardcode_direct_RC
27718
27719 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
27720 # resulting binary.
27721 -hardcode_minus_L=$hardcode_minus_L
27722 +hardcode_minus_L=$hardcode_minus_L_RC
27723
27724 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
27725 # the resulting binary.
27726 -hardcode_shlibpath_var=$hardcode_shlibpath_var
27727 +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
27728 +
27729 +# Set to yes if building a shared library automatically hardcodes DIR into the library
27730 +# and all subsequent libraries and executables linked against it.
27731 +hardcode_automatic=$hardcode_automatic_RC
27732
27733 # Variables whose values should be saved in libtool wrapper scripts and
27734 # restored at relink time.
27735 variables_saved_for_relink="$variables_saved_for_relink"
27736
27737 -# Whether libtool must link a program against all its dependency libraries.
27738 -link_all_deplibs=$link_all_deplibs
27739 +# Whether libtool must link a program against all its dependency libraries.
27740 +link_all_deplibs=$link_all_deplibs_RC
27741 +
27742 +# Compile-time system search path for libraries
27743 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27744 +
27745 +# Run-time system search path for libraries
27746 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27747 +
27748 +# Fix the shell variable \$srcfile for the compiler.
27749 +fix_srcfile_path="$fix_srcfile_path_RC"
27750 +
27751 +# Set to yes if exported symbols are required.
27752 +always_export_symbols=$always_export_symbols_RC
27753 +
27754 +# The commands to list exported symbols.
27755 +export_symbols_cmds=$lt_export_symbols_cmds_RC
27756 +
27757 +# The commands to extract the exported symbol list from a shared archive.
27758 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
27759 +
27760 +# Symbols that should not be listed in the preloaded symbols.
27761 +exclude_expsyms=$lt_exclude_expsyms_RC
27762 +
27763 +# Symbols that must always be exported.
27764 +include_expsyms=$lt_include_expsyms_RC
27765 +
27766 +# ### END LIBTOOL TAG CONFIG: $tagname
27767 +
27768 +__EOF__
27769 +
27770 +
27771 +else
27772 + # If there is no Makefile yet, we rely on a make rule to execute
27773 + # `config.status --recheck' to rerun these tests and create the
27774 + # libtool script then.
27775 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
27776 + if test -f "$ltmain_in"; then
27777 + test -f Makefile && make "$ltmain"
27778 + fi
27779 +fi
27780 +
27781 +
27782 +ac_ext=c
27783 +ac_cpp='$CPP $CPPFLAGS'
27784 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27785 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27786 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
27787 +
27788 +CC="$lt_save_CC"
27789 +
27790 + ;;
27791 +
27792 + *)
27793 + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
27794 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27795 + { (exit 1); exit 1; }; }
27796 + ;;
27797 + esac
27798 +
27799 + # Append the new tag name to the list of available tags.
27800 + if test -n "$tagname" ; then
27801 + available_tags="$available_tags $tagname"
27802 + fi
27803 + fi
27804 + done
27805 + IFS="$lt_save_ifs"
27806 +
27807 + # Now substitute the updated list of available tags.
27808 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
27809 + mv "${ofile}T" "$ofile"
27810 + chmod +x "$ofile"
27811 + else
27812 + rm -f "${ofile}T"
27813 + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
27814 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
27815 + { (exit 1); exit 1; }; }
27816 + fi
27817 +fi
27818
27819 -# Compile-time system search path for libraries
27820 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27821
27822 -# Run-time system search path for libraries
27823 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27824
27825 -# Fix the shell variable \$srcfile for the compiler.
27826 -fix_srcfile_path="$fix_srcfile_path"
27827 +# This can be used to rebuild libtool when needed
27828 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
27829
27830 -# Set to yes if exported symbols are required.
27831 -always_export_symbols=$always_export_symbols
27832 +# Always use our own libtool.
27833 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
27834
27835 -# The commands to list exported symbols.
27836 -export_symbols_cmds=$lt_export_symbols_cmds
27837 +# Prevent multiple expansion
27838
27839 -# The commands to extract the exported symbol list from a shared archive.
27840 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
27841
27842 -# Symbols that should not be listed in the preloaded symbols.
27843 -exclude_expsyms=$lt_exclude_expsyms
27844
27845 -# Symbols that must always be exported.
27846 -include_expsyms=$lt_include_expsyms
27847
27848 -# ### END LIBTOOL CONFIG
27849
27850 -__EOF__
27851
27852 - case $host_os in
27853 - aix3*)
27854 - cat <<\EOF >> "${ofile}T"
27855
27856 -# AIX sometimes has problems with the GCC collect2 program. For some
27857 -# reason, if we set the COLLECT_NAMES environment variable, the problems
27858 -# vanish in a puff of smoke.
27859 -if test "X${COLLECT_NAMES+set}" != Xset; then
27860 - COLLECT_NAMES=
27861 - export COLLECT_NAMES
27862 -fi
27863 -EOF
27864 - ;;
27865 - esac
27866
27867 - case $host_os in
27868 - cygwin* | mingw* | pw32* | os2*)
27869 - cat <<'EOF' >> "${ofile}T"
27870 - # This is a source program that is used to create dlls on Windows
27871 - # Don't remove nor modify the starting and closing comments
27872 -# /* ltdll.c starts here */
27873 -# #define WIN32_LEAN_AND_MEAN
27874 -# #include <windows.h>
27875 -# #undef WIN32_LEAN_AND_MEAN
27876 -# #include <stdio.h>
27877 -#
27878 -# #ifndef __CYGWIN__
27879 -# # ifdef __CYGWIN32__
27880 -# # define __CYGWIN__ __CYGWIN32__
27881 -# # endif
27882 -# #endif
27883 -#
27884 -# #ifdef __cplusplus
27885 -# extern "C" {
27886 -# #endif
27887 -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
27888 -# #ifdef __cplusplus
27889 -# }
27890 -# #endif
27891 -#
27892 -# #ifdef __CYGWIN__
27893 -# #include <cygwin/cygwin_dll.h>
27894 -# DECLARE_CYGWIN_DLL( DllMain );
27895 -# #endif
27896 -# HINSTANCE __hDllInstance_base;
27897 -#
27898 -# BOOL APIENTRY
27899 -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
27900 -# {
27901 -# __hDllInstance_base = hInst;
27902 -# return TRUE;
27903 -# }
27904 -# /* ltdll.c ends here */
27905 - # This is a source program that is used to create import libraries
27906 - # on Windows for dlls which lack them. Don't remove nor modify the
27907 - # starting and closing comments
27908 -# /* impgen.c starts here */
27909 -# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
27910 -#
27911 -# This file is part of GNU libtool.
27912 -#
27913 -# This program is free software; you can redistribute it and/or modify
27914 -# it under the terms of the GNU General Public License as published by
27915 -# the Free Software Foundation; either version 2 of the License, or
27916 -# (at your option) any later version.
27917 -#
27918 -# This program is distributed in the hope that it will be useful,
27919 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
27920 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27921 -# GNU General Public License for more details.
27922 -#
27923 -# You should have received a copy of the GNU General Public License
27924 -# along with this program; if not, write to the Free Software
27925 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27926 -# */
27927 -#
27928 -# #include <stdio.h> /* for printf() */
27929 -# #include <unistd.h> /* for open(), lseek(), read() */
27930 -# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
27931 -# #include <string.h> /* for strdup() */
27932 -#
27933 -# /* O_BINARY isn't required (or even defined sometimes) under Unix */
27934 -# #ifndef O_BINARY
27935 -# #define O_BINARY 0
27936 -# #endif
27937 -#
27938 -# static unsigned int
27939 -# pe_get16 (fd, offset)
27940 -# int fd;
27941 -# int offset;
27942 -# {
27943 -# unsigned char b[2];
27944 -# lseek (fd, offset, SEEK_SET);
27945 -# read (fd, b, 2);
27946 -# return b[0] + (b[1]<<8);
27947 -# }
27948 -#
27949 -# static unsigned int
27950 -# pe_get32 (fd, offset)
27951 -# int fd;
27952 -# int offset;
27953 -# {
27954 -# unsigned char b[4];
27955 -# lseek (fd, offset, SEEK_SET);
27956 -# read (fd, b, 4);
27957 -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
27958 -# }
27959 -#
27960 -# static unsigned int
27961 -# pe_as32 (ptr)
27962 -# void *ptr;
27963 -# {
27964 -# unsigned char *b = ptr;
27965 -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
27966 -# }
27967 -#
27968 -# int
27969 -# main (argc, argv)
27970 -# int argc;
27971 -# char *argv[];
27972 -# {
27973 -# int dll;
27974 -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
27975 -# unsigned long export_rva, export_size, nsections, secptr, expptr;
27976 -# unsigned long name_rvas, nexp;
27977 -# unsigned char *expdata, *erva;
27978 -# char *filename, *dll_name;
27979 -#
27980 -# filename = argv[1];
27981 -#
27982 -# dll = open(filename, O_RDONLY|O_BINARY);
27983 -# if (dll < 1)
27984 -# return 1;
27985 -#
27986 -# dll_name = filename;
27987 -#
27988 -# for (i=0; filename[i]; i++)
27989 -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
27990 -# dll_name = filename + i +1;
27991 -#
27992 -# pe_header_offset = pe_get32 (dll, 0x3c);
27993 -# opthdr_ofs = pe_header_offset + 4 + 20;
27994 -# num_entries = pe_get32 (dll, opthdr_ofs + 92);
27995 -#
27996 -# if (num_entries < 1) /* no exports */
27997 -# return 1;
27998 -#
27999 -# export_rva = pe_get32 (dll, opthdr_ofs + 96);
28000 -# export_size = pe_get32 (dll, opthdr_ofs + 100);
28001 -# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
28002 -# secptr = (pe_header_offset + 4 + 20 +
28003 -# pe_get16 (dll, pe_header_offset + 4 + 16));
28004 -#
28005 -# expptr = 0;
28006 -# for (i = 0; i < nsections; i++)
28007 -# {
28008 -# char sname[8];
28009 -# unsigned long secptr1 = secptr + 40 * i;
28010 -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
28011 -# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
28012 -# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
28013 -# lseek(dll, secptr1, SEEK_SET);
28014 -# read(dll, sname, 8);
28015 -# if (vaddr <= export_rva && vaddr+vsize > export_rva)
28016 -# {
28017 -# expptr = fptr + (export_rva - vaddr);
28018 -# if (export_rva + export_size > vaddr + vsize)
28019 -# export_size = vsize - (export_rva - vaddr);
28020 -# break;
28021 -# }
28022 -# }
28023 -#
28024 -# expdata = (unsigned char*)malloc(export_size);
28025 -# lseek (dll, expptr, SEEK_SET);
28026 -# read (dll, expdata, export_size);
28027 -# erva = expdata - export_rva;
28028 -#
28029 -# nexp = pe_as32 (expdata+24);
28030 -# name_rvas = pe_as32 (expdata+32);
28031 -#
28032 -# printf ("EXPORTS\n");
28033 -# for (i = 0; i<nexp; i++)
28034 -# {
28035 -# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
28036 -# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
28037 -# }
28038 -#
28039 -# return 0;
28040 -# }
28041 -# /* impgen.c ends here */
28042
28043 -EOF
28044 - ;;
28045 - esac
28046
28047 - # We use sed instead of cat because bash on DJGPP gets confused if
28048 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
28049 - # text mode, it properly converts lines to CR/LF. This bash problem
28050 - # is reportedly fixed, but why not run on old versions too?
28051 - sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
28052
28053 - mv -f "${ofile}T" "$ofile" || \
28054 - (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
28055 - chmod +x "$ofile"
28056 -fi
28057
28058
28059
28060
28061
28062 -# This can be used to rebuild libtool when needed
28063 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
28064
28065 -# Always use our own libtool.
28066 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
28067
28068 -# Prevent multiple expansion
28069
28070
28071
28072
28073 # Extract the first word of "perl", so it can be a program name with args.
28074 set dummy perl; ac_word=$2
28075 -echo "$as_me:$LINENO: checking for $ac_word" >&5
28076 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28077 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
28078 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28079 if test "${ac_cv_path_PERL+set}" = set; then
28080 echo $ECHO_N "(cached) $ECHO_C" >&6
28081 else
28082 @@ -8222,42 +19513,43 @@
28083 IFS=$as_save_IFS
28084 test -z "$as_dir" && as_dir=.
28085 for ac_exec_ext in '' $ac_executable_extensions; do
28086 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28087 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28088 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
28089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28090 break 2
28091 fi
28092 done
28093 done
28094 +IFS=$as_save_IFS
28095
28096 ;;
28097 esac
28098 fi
28099 PERL=$ac_cv_path_PERL
28100 -
28101 if test -n "$PERL"; then
28102 - echo "$as_me:$LINENO: result: $PERL" >&5
28103 -echo "${ECHO_T}$PERL" >&6
28104 + { echo "$as_me:$LINENO: result: $PERL" >&5
28105 +echo "${ECHO_T}$PERL" >&6; }
28106 else
28107 - echo "$as_me:$LINENO: result: no" >&5
28108 -echo "${ECHO_T}no" >&6
28109 + { echo "$as_me:$LINENO: result: no" >&5
28110 +echo "${ECHO_T}no" >&6; }
28111 fi
28112
28113
28114
28115
28116 +
28117 if test "${ac_cv_header_asm_errno_h+set}" = set; then
28118 - echo "$as_me:$LINENO: checking for asm/errno.h" >&5
28119 -echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6
28120 + { echo "$as_me:$LINENO: checking for asm/errno.h" >&5
28121 +echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6; }
28122 if test "${ac_cv_header_asm_errno_h+set}" = set; then
28123 echo $ECHO_N "(cached) $ECHO_C" >&6
28124 fi
28125 -echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
28126 -echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6
28127 +{ echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
28128 +echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6; }
28129 else
28130 # Is the header compilable?
28131 -echo "$as_me:$LINENO: checking asm/errno.h usability" >&5
28132 -echo $ECHO_N "checking asm/errno.h usability... $ECHO_C" >&6
28133 +{ echo "$as_me:$LINENO: checking asm/errno.h usability" >&5
28134 +echo $ECHO_N "checking asm/errno.h usability... $ECHO_C" >&6; }
28135 cat >conftest.$ac_ext <<_ACEOF
28136 /* confdefs.h. */
28137 _ACEOF
28138 @@ -8268,40 +19560,37 @@
28139 #include <asm/errno.h>
28140 _ACEOF
28141 rm -f conftest.$ac_objext
28142 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28143 - (eval $ac_compile) 2>conftest.er1
28144 +if { (ac_try="$ac_compile"
28145 +case "(($ac_try" in
28146 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28147 + *) ac_try_echo=$ac_try;;
28148 +esac
28149 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28150 + (eval "$ac_compile") 2>conftest.er1
28151 ac_status=$?
28152 grep -v '^ *+' conftest.er1 >conftest.err
28153 rm -f conftest.er1
28154 cat conftest.err >&5
28155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156 - (exit $ac_status); } &&
28157 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28158 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28159 - (eval $ac_try) 2>&5
28160 - ac_status=$?
28161 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162 - (exit $ac_status); }; } &&
28163 - { ac_try='test -s conftest.$ac_objext'
28164 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28165 - (eval $ac_try) 2>&5
28166 - ac_status=$?
28167 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 - (exit $ac_status); }; }; then
28169 + (exit $ac_status); } && {
28170 + test -z "$ac_c_werror_flag" ||
28171 + test ! -s conftest.err
28172 + } && test -s conftest.$ac_objext; then
28173 ac_header_compiler=yes
28174 else
28175 echo "$as_me: failed program was:" >&5
28176 sed 's/^/| /' conftest.$ac_ext >&5
28177
28178 -ac_header_compiler=no
28179 + ac_header_compiler=no
28180 fi
28181 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28182 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28183 -echo "${ECHO_T}$ac_header_compiler" >&6
28184 +
28185 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28186 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28187 +echo "${ECHO_T}$ac_header_compiler" >&6; }
28188
28189 # Is the header present?
28190 -echo "$as_me:$LINENO: checking asm/errno.h presence" >&5
28191 -echo $ECHO_N "checking asm/errno.h presence... $ECHO_C" >&6
28192 +{ echo "$as_me:$LINENO: checking asm/errno.h presence" >&5
28193 +echo $ECHO_N "checking asm/errno.h presence... $ECHO_C" >&6; }
28194 cat >conftest.$ac_ext <<_ACEOF
28195 /* confdefs.h. */
28196 _ACEOF
28197 @@ -8310,24 +19599,22 @@
28198 /* end confdefs.h. */
28199 #include <asm/errno.h>
28200 _ACEOF
28201 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28202 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28203 +if { (ac_try="$ac_cpp conftest.$ac_ext"
28204 +case "(($ac_try" in
28205 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28206 + *) ac_try_echo=$ac_try;;
28207 +esac
28208 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28209 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28210 ac_status=$?
28211 grep -v '^ *+' conftest.er1 >conftest.err
28212 rm -f conftest.er1
28213 cat conftest.err >&5
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 - (exit $ac_status); } >/dev/null; then
28216 - if test -s conftest.err; then
28217 - ac_cpp_err=$ac_c_preproc_warn_flag
28218 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28219 - else
28220 - ac_cpp_err=
28221 - fi
28222 -else
28223 - ac_cpp_err=yes
28224 -fi
28225 -if test -z "$ac_cpp_err"; then
28226 + (exit $ac_status); } >/dev/null && {
28227 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28228 + test ! -s conftest.err
28229 + }; then
28230 ac_header_preproc=yes
28231 else
28232 echo "$as_me: failed program was:" >&5
28233 @@ -8335,9 +19622,10 @@
28234
28235 ac_header_preproc=no
28236 fi
28237 +
28238 rm -f conftest.err conftest.$ac_ext
28239 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28240 -echo "${ECHO_T}$ac_header_preproc" >&6
28241 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28242 +echo "${ECHO_T}$ac_header_preproc" >&6; }
28243
28244 # So? What about this header?
28245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28246 @@ -8361,25 +19649,18 @@
28247 echo "$as_me: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&2;}
28248 { echo "$as_me:$LINENO: WARNING: asm/errno.h: in the future, the compiler will take precedence" >&5
28249 echo "$as_me: WARNING: asm/errno.h: in the future, the compiler will take precedence" >&2;}
28250 - (
28251 - cat <<\_ASBOX
28252 -## ------------------------------------------ ##
28253 -## Report this to the AC_PACKAGE_NAME lists. ##
28254 -## ------------------------------------------ ##
28255 -_ASBOX
28256 - ) |
28257 - sed "s/^/$as_me: WARNING: /" >&2
28258 +
28259 ;;
28260 esac
28261 -echo "$as_me:$LINENO: checking for asm/errno.h" >&5
28262 -echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6
28263 +{ echo "$as_me:$LINENO: checking for asm/errno.h" >&5
28264 +echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6; }
28265 if test "${ac_cv_header_asm_errno_h+set}" = set; then
28266 echo $ECHO_N "(cached) $ECHO_C" >&6
28267 else
28268 ac_cv_header_asm_errno_h=$ac_header_preproc
28269 fi
28270 -echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
28271 -echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6
28272 +{ echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
28273 +echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6; }
28274
28275 fi
28276 if test $ac_cv_header_asm_errno_h = yes; then
28277 @@ -8394,17 +19675,17 @@
28278
28279
28280 if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
28281 - echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
28282 -echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6
28283 + { echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
28284 +echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6; }
28285 if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
28286 echo $ECHO_N "(cached) $ECHO_C" >&6
28287 fi
28288 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
28289 -echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6
28290 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
28291 +echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6; }
28292 else
28293 # Is the header compilable?
28294 -echo "$as_me:$LINENO: checking linux/atmsap.h usability" >&5
28295 -echo $ECHO_N "checking linux/atmsap.h usability... $ECHO_C" >&6
28296 +{ echo "$as_me:$LINENO: checking linux/atmsap.h usability" >&5
28297 +echo $ECHO_N "checking linux/atmsap.h usability... $ECHO_C" >&6; }
28298 cat >conftest.$ac_ext <<_ACEOF
28299 /* confdefs.h. */
28300 _ACEOF
28301 @@ -8415,40 +19696,37 @@
28302 #include <linux/atmsap.h>
28303 _ACEOF
28304 rm -f conftest.$ac_objext
28305 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28306 - (eval $ac_compile) 2>conftest.er1
28307 +if { (ac_try="$ac_compile"
28308 +case "(($ac_try" in
28309 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28310 + *) ac_try_echo=$ac_try;;
28311 +esac
28312 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28313 + (eval "$ac_compile") 2>conftest.er1
28314 ac_status=$?
28315 grep -v '^ *+' conftest.er1 >conftest.err
28316 rm -f conftest.er1
28317 cat conftest.err >&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 - (exit $ac_status); } &&
28320 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28321 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28322 - (eval $ac_try) 2>&5
28323 - ac_status=$?
28324 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 - (exit $ac_status); }; } &&
28326 - { ac_try='test -s conftest.$ac_objext'
28327 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28328 - (eval $ac_try) 2>&5
28329 - ac_status=$?
28330 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28331 - (exit $ac_status); }; }; then
28332 + (exit $ac_status); } && {
28333 + test -z "$ac_c_werror_flag" ||
28334 + test ! -s conftest.err
28335 + } && test -s conftest.$ac_objext; then
28336 ac_header_compiler=yes
28337 else
28338 echo "$as_me: failed program was:" >&5
28339 sed 's/^/| /' conftest.$ac_ext >&5
28340
28341 -ac_header_compiler=no
28342 + ac_header_compiler=no
28343 fi
28344 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28345 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28346 -echo "${ECHO_T}$ac_header_compiler" >&6
28347 +
28348 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28349 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28350 +echo "${ECHO_T}$ac_header_compiler" >&6; }
28351
28352 # Is the header present?
28353 -echo "$as_me:$LINENO: checking linux/atmsap.h presence" >&5
28354 -echo $ECHO_N "checking linux/atmsap.h presence... $ECHO_C" >&6
28355 +{ echo "$as_me:$LINENO: checking linux/atmsap.h presence" >&5
28356 +echo $ECHO_N "checking linux/atmsap.h presence... $ECHO_C" >&6; }
28357 cat >conftest.$ac_ext <<_ACEOF
28358 /* confdefs.h. */
28359 _ACEOF
28360 @@ -8457,24 +19735,22 @@
28361 /* end confdefs.h. */
28362 #include <linux/atmsap.h>
28363 _ACEOF
28364 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28365 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28366 +if { (ac_try="$ac_cpp conftest.$ac_ext"
28367 +case "(($ac_try" in
28368 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28369 + *) ac_try_echo=$ac_try;;
28370 +esac
28371 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28372 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28373 ac_status=$?
28374 grep -v '^ *+' conftest.er1 >conftest.err
28375 rm -f conftest.er1
28376 cat conftest.err >&5
28377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378 - (exit $ac_status); } >/dev/null; then
28379 - if test -s conftest.err; then
28380 - ac_cpp_err=$ac_c_preproc_warn_flag
28381 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28382 - else
28383 - ac_cpp_err=
28384 - fi
28385 -else
28386 - ac_cpp_err=yes
28387 -fi
28388 -if test -z "$ac_cpp_err"; then
28389 + (exit $ac_status); } >/dev/null && {
28390 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28391 + test ! -s conftest.err
28392 + }; then
28393 ac_header_preproc=yes
28394 else
28395 echo "$as_me: failed program was:" >&5
28396 @@ -8482,9 +19758,10 @@
28397
28398 ac_header_preproc=no
28399 fi
28400 +
28401 rm -f conftest.err conftest.$ac_ext
28402 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28403 -echo "${ECHO_T}$ac_header_preproc" >&6
28404 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28405 +echo "${ECHO_T}$ac_header_preproc" >&6; }
28406
28407 # So? What about this header?
28408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28409 @@ -8508,25 +19785,18 @@
28410 echo "$as_me: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&2;}
28411 { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: in the future, the compiler will take precedence" >&5
28412 echo "$as_me: WARNING: linux/atmsap.h: in the future, the compiler will take precedence" >&2;}
28413 - (
28414 - cat <<\_ASBOX
28415 -## ------------------------------------------ ##
28416 -## Report this to the AC_PACKAGE_NAME lists. ##
28417 -## ------------------------------------------ ##
28418 -_ASBOX
28419 - ) |
28420 - sed "s/^/$as_me: WARNING: /" >&2
28421 +
28422 ;;
28423 esac
28424 -echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
28425 -echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6
28426 +{ echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
28427 +echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6; }
28428 if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
28429 echo $ECHO_N "(cached) $ECHO_C" >&6
28430 else
28431 ac_cv_header_linux_atmsap_h=$ac_header_preproc
28432 fi
28433 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
28434 -echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6
28435 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
28436 +echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6; }
28437
28438 fi
28439 if test $ac_cv_header_linux_atmsap_h = yes; then
28440 @@ -8541,8 +19811,8 @@
28441
28442
28443
28444 -echo "$as_me:$LINENO: checking for main in -lresolv" >&5
28445 -echo $ECHO_N "checking for main in -lresolv... $ECHO_C" >&6
28446 +{ echo "$as_me:$LINENO: checking for main in -lresolv" >&5
28447 +echo $ECHO_N "checking for main in -lresolv... $ECHO_C" >&6; }
28448 if test "${ac_cv_lib_resolv_main+set}" = set; then
28449 echo $ECHO_N "(cached) $ECHO_C" >&6
28450 else
28451 @@ -8559,45 +19829,43 @@
28452 int
28453 main ()
28454 {
28455 -main ();
28456 +return main ();
28457 ;
28458 return 0;
28459 }
28460 _ACEOF
28461 rm -f conftest.$ac_objext conftest$ac_exeext
28462 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28463 - (eval $ac_link) 2>conftest.er1
28464 +if { (ac_try="$ac_link"
28465 +case "(($ac_try" in
28466 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28467 + *) ac_try_echo=$ac_try;;
28468 +esac
28469 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28470 + (eval "$ac_link") 2>conftest.er1
28471 ac_status=$?
28472 grep -v '^ *+' conftest.er1 >conftest.err
28473 rm -f conftest.er1
28474 cat conftest.err >&5
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 - (exit $ac_status); } &&
28477 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28478 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28479 - (eval $ac_try) 2>&5
28480 - ac_status=$?
28481 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482 - (exit $ac_status); }; } &&
28483 - { ac_try='test -s conftest$ac_exeext'
28484 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28485 - (eval $ac_try) 2>&5
28486 - ac_status=$?
28487 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488 - (exit $ac_status); }; }; then
28489 + (exit $ac_status); } && {
28490 + test -z "$ac_c_werror_flag" ||
28491 + test ! -s conftest.err
28492 + } && test -s conftest$ac_exeext &&
28493 + $as_test_x conftest$ac_exeext; then
28494 ac_cv_lib_resolv_main=yes
28495 else
28496 echo "$as_me: failed program was:" >&5
28497 sed 's/^/| /' conftest.$ac_ext >&5
28498
28499 -ac_cv_lib_resolv_main=no
28500 + ac_cv_lib_resolv_main=no
28501 fi
28502 -rm -f conftest.err conftest.$ac_objext \
28503 +
28504 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28505 conftest$ac_exeext conftest.$ac_ext
28506 LIBS=$ac_check_lib_save_LIBS
28507 fi
28508 -echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
28509 -echo "${ECHO_T}$ac_cv_lib_resolv_main" >&6
28510 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
28511 +echo "${ECHO_T}$ac_cv_lib_resolv_main" >&6; }
28512 if test $ac_cv_lib_resolv_main = yes; then
28513 cat >>confdefs.h <<_ACEOF
28514 #define HAVE_LIBRESOLV 1
28515 @@ -8633,10 +19901,9 @@
28516
28517
28518
28519 -# Check whether --with-uni or --without-uni was given.
28520 +# Check whether --with-uni was given.
28521 if test "${with_uni+set}" = set; then
28522 - withval="$with_uni"
28523 -
28524 + withval=$with_uni;
28525 case "$with_uni" in
28526 "3.0" ) cat >>confdefs.h <<\_ACEOF
28527 #define UNI30 1
28528 @@ -8668,12 +19935,12 @@
28529 _ACEOF
28530
28531
28532 -fi;
28533 +fi
28534
28535 -# Check whether --enable-allow_uni30 or --disable-allow_uni30 was given.
28536 -if test "${enable_allow_uni30+set}" = set; then
28537 - enableval="$enable_allow_uni30"
28538
28539 +# Check whether --enable-allow_uni30 was given.
28540 +if test "${enable_allow_uni30+set}" = set; then
28541 + enableval=$enable_allow_uni30;
28542 if test "$with_uni" = "3.1" ; then
28543 cat >>confdefs.h <<\_ACEOF
28544 #define ALLOW_UNI30 1
28545 @@ -8685,12 +19952,12 @@
28546 fi
28547
28548
28549 -fi;
28550 +fi
28551 +
28552
28553 -# Check whether --enable-q2963_1 or --disable-q2963_1 was given.
28554 +# Check whether --enable-q2963_1 was given.
28555 if test "${enable_q2963_1+set}" = set; then
28556 - enableval="$enable_q2963_1"
28557 -
28558 + enableval=$enable_q2963_1;
28559 if test "$with_uni" = "4.0" ; then
28560 cat >>confdefs.h <<\_ACEOF
28561 #define Q2963_1 1
28562 @@ -8702,52 +19969,52 @@
28563 fi
28564
28565
28566 -fi;
28567 +fi
28568 +
28569
28570 -# Check whether --enable-cisco or --disable-cisco was given.
28571 +# Check whether --enable-cisco was given.
28572 if test "${enable_cisco+set}" = set; then
28573 - enableval="$enable_cisco"
28574 - cat >>confdefs.h <<\_ACEOF
28575 + enableval=$enable_cisco; cat >>confdefs.h <<\_ACEOF
28576 #define CISCO 1
28577 _ACEOF
28578
28579
28580 -fi;
28581 +fi
28582 +
28583
28584 -# Check whether --enable-thomflex or --disable-thomflex was given.
28585 +# Check whether --enable-thomflex was given.
28586 if test "${enable_thomflex+set}" = set; then
28587 - enableval="$enable_thomflex"
28588 - cat >>confdefs.h <<\_ACEOF
28589 + enableval=$enable_thomflex; cat >>confdefs.h <<\_ACEOF
28590 #define THOMFLEX 1
28591 _ACEOF
28592
28593
28594 -fi;
28595 +fi
28596 +
28597
28598 cat >>confdefs.h <<\_ACEOF
28599 #define BROKEN_POLL 1
28600 _ACEOF
28601
28602
28603 -# Check whether --enable-mpoa_1_1 or --disable-mpoa_1_1 was given.
28604 +# Check whether --enable-mpoa_1_1 was given.
28605 if test "${enable_mpoa_1_1+set}" = set; then
28606 - enableval="$enable_mpoa_1_1"
28607 - cat >>confdefs.h <<\_ACEOF
28608 + enableval=$enable_mpoa_1_1; cat >>confdefs.h <<\_ACEOF
28609 #define MPOA_1_1 1
28610 _ACEOF
28611
28612
28613 -fi;
28614 +fi
28615 +
28616
28617 -# Check whether --enable-mpr or --disable-mpr was given.
28618 +# Check whether --enable-mpr was given.
28619 if test "${enable_mpr+set}" = set; then
28620 - enableval="$enable_mpr"
28621 -
28622 + enableval=$enable_mpr;
28623 case "$enable_mpr" in
28624 "" | y | ye | yes | Y | YE | YES )
28625
28626 -echo "$as_me:$LINENO: checking for main in -lmpr" >&5
28627 -echo $ECHO_N "checking for main in -lmpr... $ECHO_C" >&6
28628 +{ echo "$as_me:$LINENO: checking for main in -lmpr" >&5
28629 +echo $ECHO_N "checking for main in -lmpr... $ECHO_C" >&6; }
28630 if test "${ac_cv_lib_mpr_main+set}" = set; then
28631 echo $ECHO_N "(cached) $ECHO_C" >&6
28632 else
28633 @@ -8764,45 +20031,43 @@
28634 int
28635 main ()
28636 {
28637 -main ();
28638 +return main ();
28639 ;
28640 return 0;
28641 }
28642 _ACEOF
28643 rm -f conftest.$ac_objext conftest$ac_exeext
28644 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28645 - (eval $ac_link) 2>conftest.er1
28646 +if { (ac_try="$ac_link"
28647 +case "(($ac_try" in
28648 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28649 + *) ac_try_echo=$ac_try;;
28650 +esac
28651 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28652 + (eval "$ac_link") 2>conftest.er1
28653 ac_status=$?
28654 grep -v '^ *+' conftest.er1 >conftest.err
28655 rm -f conftest.er1
28656 cat conftest.err >&5
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 - (exit $ac_status); } &&
28659 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28660 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28661 - (eval $ac_try) 2>&5
28662 - ac_status=$?
28663 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 - (exit $ac_status); }; } &&
28665 - { ac_try='test -s conftest$ac_exeext'
28666 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28667 - (eval $ac_try) 2>&5
28668 - ac_status=$?
28669 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 - (exit $ac_status); }; }; then
28671 + (exit $ac_status); } && {
28672 + test -z "$ac_c_werror_flag" ||
28673 + test ! -s conftest.err
28674 + } && test -s conftest$ac_exeext &&
28675 + $as_test_x conftest$ac_exeext; then
28676 ac_cv_lib_mpr_main=yes
28677 else
28678 echo "$as_me: failed program was:" >&5
28679 sed 's/^/| /' conftest.$ac_ext >&5
28680
28681 -ac_cv_lib_mpr_main=no
28682 + ac_cv_lib_mpr_main=no
28683 fi
28684 -rm -f conftest.err conftest.$ac_objext \
28685 +
28686 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28687 conftest$ac_exeext conftest.$ac_ext
28688 LIBS=$ac_check_lib_save_LIBS
28689 fi
28690 -echo "$as_me:$LINENO: result: $ac_cv_lib_mpr_main" >&5
28691 -echo "${ECHO_T}$ac_cv_lib_mpr_main" >&6
28692 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpr_main" >&5
28693 +echo "${ECHO_T}$ac_cv_lib_mpr_main" >&6; }
28694 if test $ac_cv_lib_mpr_main = yes; then
28695 cat >>confdefs.h <<_ACEOF
28696 #define HAVE_LIBMPR 1
28697 @@ -8822,10 +20087,12 @@
28698 esac
28699
28700
28701 -fi;
28702 +fi
28703 +
28704 +
28705
28706 +ac_config_files="$ac_config_files Makefile doc/Makefile m4/Makefile src/Makefile src/include/Makefile src/lib/Makefile src/arpd/Makefile"
28707
28708 - ac_config_files="$ac_config_files Makefile doc/Makefile m4/Makefile src/Makefile src/include/Makefile src/lib/Makefile src/arpd/Makefile"
28709 cat >confcache <<\_ACEOF
28710 # This file is a shell script that caches the results of configure
28711 # tests run on this system so they can be shared between configure
28712 @@ -8844,39 +20111,58 @@
28713
28714 # The following way of writing the cache mishandles newlines in values,
28715 # but we know of no workaround that is simple, portable, and efficient.
28716 -# So, don't put newlines in cache variables' values.
28717 +# So, we kill variables containing newlines.
28718 # Ultrix sh set writes to stderr and can't be redirected directly,
28719 # and sets the high bit in the cache file unless we assign to the vars.
28720 -{
28721 +(
28722 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28723 + eval ac_val=\$$ac_var
28724 + case $ac_val in #(
28725 + *${as_nl}*)
28726 + case $ac_var in #(
28727 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
28728 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
28729 + esac
28730 + case $ac_var in #(
28731 + _ | IFS | as_nl) ;; #(
28732 + *) $as_unset $ac_var ;;
28733 + esac ;;
28734 + esac
28735 + done
28736 +
28737 (set) 2>&1 |
28738 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
28739 - *ac_space=\ *)
28740 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
28741 + *${as_nl}ac_space=\ *)
28742 # `set' does not quote correctly, so add quotes (double-quote
28743 # substitution turns \\\\ into \\, and sed turns \\ into \).
28744 sed -n \
28745 "s/'/'\\\\''/g;
28746 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28747 - ;;
28748 + ;; #(
28749 *)
28750 # `set' quotes correctly as required by POSIX, so do not add quotes.
28751 - sed -n \
28752 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28753 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28754 ;;
28755 - esac;
28756 -} |
28757 + esac |
28758 + sort
28759 +) |
28760 sed '
28761 + /^ac_cv_env_/b end
28762 t clear
28763 - : clear
28764 + :clear
28765 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28766 t end
28767 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28768 - : end' >>confcache
28769 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
28770 - if test -w $cache_file; then
28771 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28772 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28773 + :end' >>confcache
28774 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
28775 + if test -w "$cache_file"; then
28776 + test "x$cache_file" != "x/dev/null" &&
28777 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
28778 +echo "$as_me: updating cache $cache_file" >&6;}
28779 cat confcache >$cache_file
28780 else
28781 - echo "not updating unwritable cache $cache_file"
28782 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
28783 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
28784 fi
28785 fi
28786 rm -f confcache
28787 @@ -8885,38 +20171,45 @@
28788 # Let make expand exec_prefix.
28789 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
28790
28791 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
28792 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28793 -# trailing colons and then remove the whole line if VPATH becomes empty
28794 -# (actually we leave an empty line to preserve line numbers).
28795 -if test "x$srcdir" = x.; then
28796 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
28797 -s/:*\$(srcdir):*/:/;
28798 -s/:*\${srcdir}:*/:/;
28799 -s/:*@srcdir@:*/:/;
28800 -s/^\([^=]*=[ ]*\):*/\1/;
28801 -s/:*$//;
28802 -s/^[^=]*=[ ]*$//;
28803 -}'
28804 -fi
28805 -
28806 DEFS=-DHAVE_CONFIG_H
28807
28808 ac_libobjs=
28809 ac_ltlibobjs=
28810 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
28811 # 1. Remove the extension, and $U if already installed.
28812 - ac_i=`echo "$ac_i" |
28813 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
28814 - # 2. Add them.
28815 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
28816 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
28817 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
28818 + ac_i=`echo "$ac_i" | sed "$ac_script"`
28819 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
28820 + # will be set to the directory where LIBOBJS objects are built.
28821 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
28822 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
28823 done
28824 LIBOBJS=$ac_libobjs
28825
28826 LTLIBOBJS=$ac_ltlibobjs
28827
28828
28829 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28830 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
28831 +Usually this means the macro was only invoked conditionally." >&5
28832 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
28833 +Usually this means the macro was only invoked conditionally." >&2;}
28834 + { (exit 1); exit 1; }; }
28835 +fi
28836 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28837 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28838 +Usually this means the macro was only invoked conditionally." >&5
28839 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28840 +Usually this means the macro was only invoked conditionally." >&2;}
28841 + { (exit 1); exit 1; }; }
28842 +fi
28843 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
28844 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
28845 +Usually this means the macro was only invoked conditionally." >&5
28846 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
28847 +Usually this means the macro was only invoked conditionally." >&2;}
28848 + { (exit 1); exit 1; }; }
28849 +fi
28850
28851 : ${CONFIG_STATUS=./config.status}
28852 ac_clean_files_save=$ac_clean_files
28853 @@ -8941,17 +20234,45 @@
28854 ## M4sh Initialization. ##
28855 ## --------------------- ##
28856
28857 -# Be Bourne compatible
28858 +# Be more Bourne compatible
28859 +DUALCASE=1; export DUALCASE # for MKS sh
28860 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28861 emulate sh
28862 NULLCMD=:
28863 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28864 # is contrary to our usage. Disable this feature.
28865 alias -g '${1+"$@"}'='"$@"'
28866 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28867 - set -o posix
28868 + setopt NO_GLOB_SUBST
28869 +else
28870 + case `(set -o) 2>/dev/null` in
28871 + *posix*) set -o posix ;;
28872 +esac
28873 +
28874 +fi
28875 +
28876 +
28877 +
28878 +
28879 +# PATH needs CR
28880 +# Avoid depending upon Character Ranges.
28881 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28882 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28883 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28884 +as_cr_digits='0123456789'
28885 +as_cr_alnum=$as_cr_Letters$as_cr_digits
28886 +
28887 +# The user is always right.
28888 +if test "${PATH_SEPARATOR+set}" != set; then
28889 + echo "#! /bin/sh" >conf$$.sh
28890 + echo "exit 0" >>conf$$.sh
28891 + chmod +x conf$$.sh
28892 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28893 + PATH_SEPARATOR=';'
28894 + else
28895 + PATH_SEPARATOR=:
28896 + fi
28897 + rm -f conf$$.sh
28898 fi
28899 -DUALCASE=1; export DUALCASE # for MKS sh
28900
28901 # Support unset when possible.
28902 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28903 @@ -8961,8 +20282,43 @@
28904 fi
28905
28906
28907 +# IFS
28908 +# We need space, tab and new line, in precisely that order. Quoting is
28909 +# there to prevent editors from complaining about space-tab.
28910 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
28911 +# splitting by setting IFS to empty value.)
28912 +as_nl='
28913 +'
28914 +IFS=" "" $as_nl"
28915 +
28916 +# Find who we are. Look in the path if we contain no directory separator.
28917 +case $0 in
28918 + *[\\/]* ) as_myself=$0 ;;
28919 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28920 +for as_dir in $PATH
28921 +do
28922 + IFS=$as_save_IFS
28923 + test -z "$as_dir" && as_dir=.
28924 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
28925 +done
28926 +IFS=$as_save_IFS
28927 +
28928 + ;;
28929 +esac
28930 +# We did not find ourselves, most probably we were run as `sh COMMAND'
28931 +# in which case we are not to be found in the path.
28932 +if test "x$as_myself" = x; then
28933 + as_myself=$0
28934 +fi
28935 +if test ! -f "$as_myself"; then
28936 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
28937 + { (exit 1); exit 1; }
28938 +fi
28939 +
28940 # Work around bugs in pre-3.0 UWIN ksh.
28941 -$as_unset ENV MAIL MAILPATH
28942 +for as_var in ENV MAIL MAILPATH
28943 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
28944 +done
28945 PS1='$ '
28946 PS2='> '
28947 PS4='+ '
28948 @@ -8976,18 +20332,19 @@
28949 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28950 eval $as_var=C; export $as_var
28951 else
28952 - $as_unset $as_var
28953 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
28954 fi
28955 done
28956
28957 # Required to use basename.
28958 -if expr a : '\(a\)' >/dev/null 2>&1; then
28959 +if expr a : '\(a\)' >/dev/null 2>&1 &&
28960 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
28961 as_expr=expr
28962 else
28963 as_expr=false
28964 fi
28965
28966 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
28967 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
28968 as_basename=basename
28969 else
28970 as_basename=false
28971 @@ -8995,159 +20352,120 @@
28972
28973
28974 # Name of the executable.
28975 -as_me=`$as_basename "$0" ||
28976 +as_me=`$as_basename -- "$0" ||
28977 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28978 X"$0" : 'X\(//\)$' \| \
28979 - X"$0" : 'X\(/\)$' \| \
28980 - . : '\(.\)' 2>/dev/null ||
28981 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
28982 echo X/"$0" |
28983 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28984 - /^X\/\(\/\/\)$/{ s//\1/; q; }
28985 - /^X\/\(\/\).*/{ s//\1/; q; }
28986 - s/.*/./; q'`
28987 -
28988 -
28989 -# PATH needs CR, and LINENO needs CR and PATH.
28990 -# Avoid depending upon Character Ranges.
28991 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28992 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28993 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28994 -as_cr_digits='0123456789'
28995 -as_cr_alnum=$as_cr_Letters$as_cr_digits
28996 + sed '/^.*\/\([^/][^/]*\)\/*$/{
28997 + s//\1/
28998 + q
28999 + }
29000 + /^X\/\(\/\/\)$/{
29001 + s//\1/
29002 + q
29003 + }
29004 + /^X\/\(\/\).*/{
29005 + s//\1/
29006 + q
29007 + }
29008 + s/.*/./; q'`
29009
29010 -# The user is always right.
29011 -if test "${PATH_SEPARATOR+set}" != set; then
29012 - echo "#! /bin/sh" >conf$$.sh
29013 - echo "exit 0" >>conf$$.sh
29014 - chmod +x conf$$.sh
29015 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
29016 - PATH_SEPARATOR=';'
29017 - else
29018 - PATH_SEPARATOR=:
29019 - fi
29020 - rm -f conf$$.sh
29021 -fi
29022 +# CDPATH.
29023 +$as_unset CDPATH
29024
29025
29026 - as_lineno_1=$LINENO
29027 - as_lineno_2=$LINENO
29028 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29029 - test "x$as_lineno_1" != "x$as_lineno_2" &&
29030 - test "x$as_lineno_3" = "x$as_lineno_2" || {
29031 - # Find who we are. Look in the path if we contain no path at all
29032 - # relative or not.
29033 - case $0 in
29034 - *[\\/]* ) as_myself=$0 ;;
29035 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29036 -for as_dir in $PATH
29037 -do
29038 - IFS=$as_save_IFS
29039 - test -z "$as_dir" && as_dir=.
29040 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29041 -done
29042
29043 - ;;
29044 - esac
29045 - # We did not find ourselves, most probably we were run as `sh COMMAND'
29046 - # in which case we are not to be found in the path.
29047 - if test "x$as_myself" = x; then
29048 - as_myself=$0
29049 - fi
29050 - if test ! -f "$as_myself"; then
29051 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
29052 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
29053 - { (exit 1); exit 1; }; }
29054 - fi
29055 - case $CONFIG_SHELL in
29056 - '')
29057 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29058 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
29059 -do
29060 - IFS=$as_save_IFS
29061 - test -z "$as_dir" && as_dir=.
29062 - for as_base in sh bash ksh sh5; do
29063 - case $as_dir in
29064 - /*)
29065 - if ("$as_dir/$as_base" -c '
29066 as_lineno_1=$LINENO
29067 as_lineno_2=$LINENO
29068 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29069 test "x$as_lineno_1" != "x$as_lineno_2" &&
29070 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
29071 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
29072 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
29073 - CONFIG_SHELL=$as_dir/$as_base
29074 - export CONFIG_SHELL
29075 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
29076 - fi;;
29077 - esac
29078 - done
29079 -done
29080 -;;
29081 - esac
29082 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
29083
29084 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29085 # uniformly replaced by the line number. The first 'sed' inserts a
29086 - # line-number line before each line; the second 'sed' does the real
29087 - # work. The second script uses 'N' to pair each line-number line
29088 - # with the numbered line, and appends trailing '-' during
29089 - # substitution so that $LINENO is not a special case at line end.
29090 + # line-number line after each line using $LINENO; the second 'sed'
29091 + # does the real work. The second script uses 'N' to pair each
29092 + # line-number line with the line containing $LINENO, and appends
29093 + # trailing '-' during substitution so that $LINENO is not a special
29094 + # case at line end.
29095 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29096 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
29097 - sed '=' <$as_myself |
29098 + # scripts with optimization help from Paolo Bonzini. Blame Lee
29099 + # E. McMahon (1931-1989) for sed's syntax. :-)
29100 + sed -n '
29101 + p
29102 + /[$]LINENO/=
29103 + ' <$as_myself |
29104 sed '
29105 + s/[$]LINENO.*/&-/
29106 + t lineno
29107 + b
29108 + :lineno
29109 N
29110 - s,$,-,
29111 - : loop
29112 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
29113 + :loop
29114 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
29115 t loop
29116 - s,-$,,
29117 - s,^['$as_cr_digits']*\n,,
29118 + s/-\n.*//
29119 ' >$as_me.lineno &&
29120 - chmod +x $as_me.lineno ||
29121 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
29122 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
29123 + chmod +x "$as_me.lineno" ||
29124 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
29125 { (exit 1); exit 1; }; }
29126
29127 # Don't try to exec as it changes $[0], causing all sort of problems
29128 # (the dirname of $[0] is not the place where we might find the
29129 - # original and so on. Autoconf is especially sensible to this).
29130 - . ./$as_me.lineno
29131 + # original and so on. Autoconf is especially sensitive to this).
29132 + . "./$as_me.lineno"
29133 # Exit status is that of the last command.
29134 exit
29135 }
29136
29137
29138 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
29139 - *c*,-n*) ECHO_N= ECHO_C='
29140 -' ECHO_T=' ' ;;
29141 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
29142 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
29143 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
29144 + as_dirname=dirname
29145 +else
29146 + as_dirname=false
29147 +fi
29148 +
29149 +ECHO_C= ECHO_N= ECHO_T=
29150 +case `echo -n x` in
29151 +-n*)
29152 + case `echo 'x\c'` in
29153 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
29154 + *) ECHO_C='\c';;
29155 + esac;;
29156 +*)
29157 + ECHO_N='-n';;
29158 esac
29159
29160 -if expr a : '\(a\)' >/dev/null 2>&1; then
29161 +if expr a : '\(a\)' >/dev/null 2>&1 &&
29162 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
29163 as_expr=expr
29164 else
29165 as_expr=false
29166 fi
29167
29168 rm -f conf$$ conf$$.exe conf$$.file
29169 +if test -d conf$$.dir; then
29170 + rm -f conf$$.dir/conf$$.file
29171 +else
29172 + rm -f conf$$.dir
29173 + mkdir conf$$.dir
29174 +fi
29175 echo >conf$$.file
29176 if ln -s conf$$.file conf$$ 2>/dev/null; then
29177 - # We could just check for DJGPP; but this test a) works b) is more generic
29178 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
29179 - if test -f conf$$.exe; then
29180 - # Don't use ln at all; we don't have any links
29181 + as_ln_s='ln -s'
29182 + # ... but there are two gotchas:
29183 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29184 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29185 + # In both cases, we have to default to `cp -p'.
29186 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
29187 as_ln_s='cp -p'
29188 - else
29189 - as_ln_s='ln -s'
29190 - fi
29191 elif ln conf$$.file conf$$ 2>/dev/null; then
29192 as_ln_s=ln
29193 else
29194 as_ln_s='cp -p'
29195 fi
29196 -rm -f conf$$ conf$$.exe conf$$.file
29197 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
29198 +rmdir conf$$.dir 2>/dev/null
29199
29200 if mkdir -p . 2>/dev/null; then
29201 as_mkdir_p=:
29202 @@ -9155,8 +20473,29 @@
29203 test -d ./-p && rmdir ./-p
29204 as_mkdir_p=false
29205 fi
29206 -
29207 -as_executable_p="test -f"
29208 +
29209 +if test -x / >/dev/null 2>&1; then
29210 + as_test_x='test -x'
29211 +else
29212 + if ls -dL / >/dev/null 2>&1; then
29213 + as_ls_L_option=L
29214 + else
29215 + as_ls_L_option=
29216 + fi
29217 + as_test_x='
29218 + eval sh -c '\''
29219 + if test -d "$1"; then
29220 + test -d "$1/.";
29221 + else
29222 + case $1 in
29223 + -*)set "./$1";;
29224 + esac;
29225 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
29226 + ???[sx]*):;;*)false;;esac;fi
29227 + '\'' sh
29228 + '
29229 +fi
29230 +as_executable_p=$as_test_x
29231
29232 # Sed expression to map a string onto a valid CPP name.
29233 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29234 @@ -9165,31 +20504,14 @@
29235 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29236
29237
29238 -# IFS
29239 -# We need space, tab and new line, in precisely that order.
29240 -as_nl='
29241 -'
29242 -IFS=" $as_nl"
29243 -
29244 -# CDPATH.
29245 -$as_unset CDPATH
29246 -
29247 exec 6>&1
29248
29249 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
29250 +# Save the log message, to keep $[0] and so on meaningful, and to
29251 # report actual input values of CONFIG_FILES etc. instead of their
29252 -# values after options handling. Logging --version etc. is OK.
29253 -exec 5>>config.log
29254 -{
29255 - echo
29256 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29257 -## Running $as_me. ##
29258 -_ASBOX
29259 -} >&5
29260 -cat >&5 <<_CSEOF
29261 -
29262 +# values after options handling.
29263 +ac_log="
29264 This file was extended by $as_me, which was
29265 -generated by GNU Autoconf 2.59. Invocation command line was
29266 +generated by GNU Autoconf 2.61. Invocation command line was
29267
29268 CONFIG_FILES = $CONFIG_FILES
29269 CONFIG_HEADERS = $CONFIG_HEADERS
29270 @@ -9197,30 +20519,20 @@
29271 CONFIG_COMMANDS = $CONFIG_COMMANDS
29272 $ $0 $@
29273
29274 -_CSEOF
29275 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
29276 -echo >&5
29277 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
29278 +"
29279 +
29280 _ACEOF
29281
29282 +cat >>$CONFIG_STATUS <<_ACEOF
29283 # Files that config.status was made for.
29284 -if test -n "$ac_config_files"; then
29285 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
29286 -fi
29287 -
29288 -if test -n "$ac_config_headers"; then
29289 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
29290 -fi
29291 -
29292 -if test -n "$ac_config_links"; then
29293 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
29294 -fi
29295 +config_files="$ac_config_files"
29296 +config_headers="$ac_config_headers"
29297 +config_commands="$ac_config_commands"
29298
29299 -if test -n "$ac_config_commands"; then
29300 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
29301 -fi
29302 +_ACEOF
29303
29304 cat >>$CONFIG_STATUS <<\_ACEOF
29305 -
29306 ac_cs_usage="\
29307 \`$as_me' instantiates files from templates according to the
29308 current configuration.
29309 @@ -9228,7 +20540,7 @@
29310 Usage: $0 [OPTIONS] [FILE]...
29311
29312 -h, --help print this help, then exit
29313 - -V, --version print version number, then exit
29314 + -V, --version print version number and configuration settings, then exit
29315 -q, --quiet do not print progress messages
29316 -d, --debug don't remove temporary files
29317 --recheck update $as_me by reconfiguring in the same conditions
29318 @@ -9247,19 +20559,21 @@
29319 $config_commands
29320
29321 Report bugs to <bug-autoconf@gnu.org>."
29322 -_ACEOF
29323
29324 +_ACEOF
29325 cat >>$CONFIG_STATUS <<_ACEOF
29326 ac_cs_version="\\
29327 config.status
29328 -configured by $0, generated by GNU Autoconf 2.59,
29329 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
29330 +configured by $0, generated by GNU Autoconf 2.61,
29331 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
29332
29333 -Copyright (C) 2003 Free Software Foundation, Inc.
29334 +Copyright (C) 2006 Free Software Foundation, Inc.
29335 This config.status script is free software; the Free Software Foundation
29336 gives unlimited permission to copy, distribute and modify it."
29337 -srcdir=$srcdir
29338 -INSTALL="$INSTALL"
29339 +
29340 +ac_pwd='$ac_pwd'
29341 +srcdir='$srcdir'
29342 +INSTALL='$INSTALL'
29343 _ACEOF
29344
29345 cat >>$CONFIG_STATUS <<\_ACEOF
29346 @@ -9270,39 +20584,24 @@
29347 do
29348 case $1 in
29349 --*=*)
29350 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
29351 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
29352 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
29353 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
29354 ac_shift=:
29355 ;;
29356 - -*)
29357 + *)
29358 ac_option=$1
29359 ac_optarg=$2
29360 ac_shift=shift
29361 ;;
29362 - *) # This is not an option, so the user has probably given explicit
29363 - # arguments.
29364 - ac_option=$1
29365 - ac_need_defaults=false;;
29366 esac
29367
29368 case $ac_option in
29369 # Handling of the options.
29370 -_ACEOF
29371 -cat >>$CONFIG_STATUS <<\_ACEOF
29372 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29373 ac_cs_recheck=: ;;
29374 - --version | --vers* | -V )
29375 - echo "$ac_cs_version"; exit 0 ;;
29376 - --he | --h)
29377 - # Conflict between --help and --header
29378 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
29379 -Try \`$0 --help' for more information." >&5
29380 -echo "$as_me: error: ambiguous option: $1
29381 -Try \`$0 --help' for more information." >&2;}
29382 - { (exit 1); exit 1; }; };;
29383 - --help | --hel | -h )
29384 - echo "$ac_cs_usage"; exit 0 ;;
29385 - --debug | --d* | -d )
29386 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
29387 + echo "$ac_cs_version"; exit ;;
29388 + --debug | --debu | --deb | --de | --d | -d )
29389 debug=: ;;
29390 --file | --fil | --fi | --f )
29391 $ac_shift
29392 @@ -9312,18 +20611,24 @@
29393 $ac_shift
29394 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
29395 ac_need_defaults=false;;
29396 + --he | --h)
29397 + # Conflict between --help and --header
29398 + { echo "$as_me: error: ambiguous option: $1
29399 +Try \`$0 --help' for more information." >&2
29400 + { (exit 1); exit 1; }; };;
29401 + --help | --hel | -h )
29402 + echo "$ac_cs_usage"; exit ;;
29403 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29404 | -silent | --silent | --silen | --sile | --sil | --si | --s)
29405 ac_cs_silent=: ;;
29406
29407 # This is an error.
29408 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
29409 -Try \`$0 --help' for more information." >&5
29410 -echo "$as_me: error: unrecognized option: $1
29411 -Try \`$0 --help' for more information." >&2;}
29412 + -*) { echo "$as_me: error: unrecognized option: $1
29413 +Try \`$0 --help' for more information." >&2
29414 { (exit 1); exit 1; }; } ;;
29415
29416 - *) ac_config_targets="$ac_config_targets $1" ;;
29417 + *) ac_config_targets="$ac_config_targets $1"
29418 + ac_need_defaults=false ;;
29419
29420 esac
29421 shift
29422 @@ -9339,43 +20644,55 @@
29423 _ACEOF
29424 cat >>$CONFIG_STATUS <<_ACEOF
29425 if \$ac_cs_recheck; then
29426 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29427 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29428 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29429 + CONFIG_SHELL=$SHELL
29430 + export CONFIG_SHELL
29431 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29432 fi
29433
29434 _ACEOF
29435 +cat >>$CONFIG_STATUS <<\_ACEOF
29436 +exec 5>>config.log
29437 +{
29438 + echo
29439 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29440 +## Running $as_me. ##
29441 +_ASBOX
29442 + echo "$ac_log"
29443 +} >&5
29444
29445 +_ACEOF
29446 cat >>$CONFIG_STATUS <<_ACEOF
29447 #
29448 -# INIT-COMMANDS section.
29449 +# INIT-COMMANDS
29450 #
29451 -
29452 -
29453 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29454
29455 _ACEOF
29456
29457 -
29458 -
29459 cat >>$CONFIG_STATUS <<\_ACEOF
29460 +
29461 +# Handling of arguments.
29462 for ac_config_target in $ac_config_targets
29463 do
29464 - case "$ac_config_target" in
29465 - # Handling of arguments.
29466 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
29467 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
29468 - "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
29469 - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
29470 - "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
29471 - "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
29472 - "src/arpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/arpd/Makefile" ;;
29473 - "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
29474 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
29475 + case $ac_config_target in
29476 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
29477 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
29478 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
29479 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
29480 + "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
29481 + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
29482 + "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
29483 + "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
29484 + "src/arpd/Makefile") CONFIG_FILES="$CONFIG_FILES src/arpd/Makefile" ;;
29485 +
29486 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29487 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29488 { (exit 1); exit 1; }; };;
29489 esac
29490 done
29491
29492 +
29493 # If the user did not use the arguments to specify the items to instantiate,
29494 # then the envvar interface is used. Set only those that are not.
29495 # We use the long form for the default assignment because of an extremely
29496 @@ -9387,335 +20704,471 @@
29497 fi
29498
29499 # Have a temporary directory for convenience. Make it in the build tree
29500 -# simply because there is no reason to put it here, and in addition,
29501 +# simply because there is no reason against having it here, and in addition,
29502 # creating and moving files from /tmp can sometimes cause problems.
29503 -# Create a temporary directory, and hook for its removal unless debugging.
29504 +# Hook for its removal unless debugging.
29505 +# Note that there is a small window in which the directory will not be cleaned:
29506 +# after its creation but before its name has been assigned to `$tmp'.
29507 $debug ||
29508 {
29509 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29510 + tmp=
29511 + trap 'exit_status=$?
29512 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
29513 +' 0
29514 trap '{ (exit 1); exit 1; }' 1 2 13 15
29515 }
29516 -
29517 # Create a (secure) tmp directory for tmp files.
29518
29519 {
29520 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29521 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
29522 test -n "$tmp" && test -d "$tmp"
29523 } ||
29524 {
29525 - tmp=./confstat$$-$RANDOM
29526 - (umask 077 && mkdir $tmp)
29527 + tmp=./conf$$-$RANDOM
29528 + (umask 077 && mkdir "$tmp")
29529 } ||
29530 {
29531 echo "$me: cannot create a temporary directory in ." >&2
29532 { (exit 1); exit 1; }
29533 }
29534
29535 -_ACEOF
29536 -
29537 -cat >>$CONFIG_STATUS <<_ACEOF
29538 -
29539 #
29540 -# CONFIG_FILES section.
29541 +# Set up the sed scripts for CONFIG_FILES section.
29542 #
29543
29544 # No need to generate the scripts if there are no CONFIG_FILES.
29545 # This happens for instance when ./config.status config.h
29546 -if test -n "\$CONFIG_FILES"; then
29547 - # Protect against being on the right side of a sed subst in config.status.
29548 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29549 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29550 -s,@SHELL@,$SHELL,;t t
29551 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29552 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29553 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29554 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29555 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29556 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29557 -s,@exec_prefix@,$exec_prefix,;t t
29558 -s,@prefix@,$prefix,;t t
29559 -s,@program_transform_name@,$program_transform_name,;t t
29560 -s,@bindir@,$bindir,;t t
29561 -s,@sbindir@,$sbindir,;t t
29562 -s,@libexecdir@,$libexecdir,;t t
29563 -s,@datadir@,$datadir,;t t
29564 -s,@sysconfdir@,$sysconfdir,;t t
29565 -s,@sharedstatedir@,$sharedstatedir,;t t
29566 -s,@localstatedir@,$localstatedir,;t t
29567 -s,@libdir@,$libdir,;t t
29568 -s,@includedir@,$includedir,;t t
29569 -s,@oldincludedir@,$oldincludedir,;t t
29570 -s,@infodir@,$infodir,;t t
29571 -s,@mandir@,$mandir,;t t
29572 -s,@build_alias@,$build_alias,;t t
29573 -s,@host_alias@,$host_alias,;t t
29574 -s,@target_alias@,$target_alias,;t t
29575 -s,@DEFS@,$DEFS,;t t
29576 -s,@ECHO_C@,$ECHO_C,;t t
29577 -s,@ECHO_N@,$ECHO_N,;t t
29578 -s,@ECHO_T@,$ECHO_T,;t t
29579 -s,@LIBS@,$LIBS,;t t
29580 -s,@build@,$build,;t t
29581 -s,@build_cpu@,$build_cpu,;t t
29582 -s,@build_vendor@,$build_vendor,;t t
29583 -s,@build_os@,$build_os,;t t
29584 -s,@host@,$host,;t t
29585 -s,@host_cpu@,$host_cpu,;t t
29586 -s,@host_vendor@,$host_vendor,;t t
29587 -s,@host_os@,$host_os,;t t
29588 -s,@target@,$target,;t t
29589 -s,@target_cpu@,$target_cpu,;t t
29590 -s,@target_vendor@,$target_vendor,;t t
29591 -s,@target_os@,$target_os,;t t
29592 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29593 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29594 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29595 -s,@PACKAGE@,$PACKAGE,;t t
29596 -s,@VERSION@,$VERSION,;t t
29597 -s,@ACLOCAL@,$ACLOCAL,;t t
29598 -s,@AUTOCONF@,$AUTOCONF,;t t
29599 -s,@AUTOMAKE@,$AUTOMAKE,;t t
29600 -s,@AUTOHEADER@,$AUTOHEADER,;t t
29601 -s,@MAKEINFO@,$MAKEINFO,;t t
29602 -s,@SET_MAKE@,$SET_MAKE,;t t
29603 -s,@LIBVER_CURRENT@,$LIBVER_CURRENT,;t t
29604 -s,@LIBVER_REVISION@,$LIBVER_REVISION,;t t
29605 -s,@LIBVER_AGE@,$LIBVER_AGE,;t t
29606 -s,@CC@,$CC,;t t
29607 -s,@CFLAGS@,$CFLAGS,;t t
29608 -s,@LDFLAGS@,$LDFLAGS,;t t
29609 -s,@CPPFLAGS@,$CPPFLAGS,;t t
29610 -s,@ac_ct_CC@,$ac_ct_CC,;t t
29611 -s,@EXEEXT@,$EXEEXT,;t t
29612 -s,@OBJEXT@,$OBJEXT,;t t
29613 -s,@LEX@,$LEX,;t t
29614 -s,@LEXLIB@,$LEXLIB,;t t
29615 -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
29616 -s,@YACC@,$YACC,;t t
29617 -s,@LN_S@,$LN_S,;t t
29618 -s,@ECHO@,$ECHO,;t t
29619 -s,@RANLIB@,$RANLIB,;t t
29620 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29621 -s,@STRIP@,$STRIP,;t t
29622 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29623 -s,@CPP@,$CPP,;t t
29624 -s,@EGREP@,$EGREP,;t t
29625 -s,@LIBTOOL@,$LIBTOOL,;t t
29626 -s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
29627 -s,@PERL@,$PERL,;t t
29628 -s,@LIBOBJS@,$LIBOBJS,;t t
29629 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29630 -CEOF
29631 -
29632 -_ACEOF
29633 -
29634 - cat >>$CONFIG_STATUS <<\_ACEOF
29635 - # Split the substitutions into bite-sized pieces for seds with
29636 - # small command number limits, like on Digital OSF/1 and HP-UX.
29637 - ac_max_sed_lines=48
29638 - ac_sed_frag=1 # Number of current file.
29639 - ac_beg=1 # First line for current file.
29640 - ac_end=$ac_max_sed_lines # Line after last line for current file.
29641 - ac_more_lines=:
29642 - ac_sed_cmds=
29643 - while $ac_more_lines; do
29644 - if test $ac_beg -gt 1; then
29645 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29646 - else
29647 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29648 - fi
29649 - if test ! -s $tmp/subs.frag; then
29650 - ac_more_lines=false
29651 - else
29652 - # The purpose of the label and of the branching condition is to
29653 - # speed up the sed processing (if there are no `@' at all, there
29654 - # is no need to browse any of the substitutions).
29655 - # These are the two extra sed commands mentioned above.
29656 - (echo ':t
29657 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
29658 - if test -z "$ac_sed_cmds"; then
29659 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
29660 - else
29661 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29662 - fi
29663 - ac_sed_frag=`expr $ac_sed_frag + 1`
29664 - ac_beg=$ac_end
29665 - ac_end=`expr $ac_end + $ac_max_sed_lines`
29666 - fi
29667 - done
29668 - if test -z "$ac_sed_cmds"; then
29669 - ac_sed_cmds=cat
29670 +if test -n "$CONFIG_FILES"; then
29671 +
29672 +_ACEOF
29673 +
29674 +
29675 +
29676 +ac_delim='%!_!# '
29677 +for ac_last_try in false false false false false :; do
29678 + cat >conf$$subs.sed <<_ACEOF
29679 +SHELL!$SHELL$ac_delim
29680 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
29681 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
29682 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
29683 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
29684 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
29685 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
29686 +exec_prefix!$exec_prefix$ac_delim
29687 +prefix!$prefix$ac_delim
29688 +program_transform_name!$program_transform_name$ac_delim
29689 +bindir!$bindir$ac_delim
29690 +sbindir!$sbindir$ac_delim
29691 +libexecdir!$libexecdir$ac_delim
29692 +datarootdir!$datarootdir$ac_delim
29693 +datadir!$datadir$ac_delim
29694 +sysconfdir!$sysconfdir$ac_delim
29695 +sharedstatedir!$sharedstatedir$ac_delim
29696 +localstatedir!$localstatedir$ac_delim
29697 +includedir!$includedir$ac_delim
29698 +oldincludedir!$oldincludedir$ac_delim
29699 +docdir!$docdir$ac_delim
29700 +infodir!$infodir$ac_delim
29701 +htmldir!$htmldir$ac_delim
29702 +dvidir!$dvidir$ac_delim
29703 +pdfdir!$pdfdir$ac_delim
29704 +psdir!$psdir$ac_delim
29705 +libdir!$libdir$ac_delim
29706 +localedir!$localedir$ac_delim
29707 +mandir!$mandir$ac_delim
29708 +DEFS!$DEFS$ac_delim
29709 +ECHO_C!$ECHO_C$ac_delim
29710 +ECHO_N!$ECHO_N$ac_delim
29711 +ECHO_T!$ECHO_T$ac_delim
29712 +LIBS!$LIBS$ac_delim
29713 +build_alias!$build_alias$ac_delim
29714 +host_alias!$host_alias$ac_delim
29715 +target_alias!$target_alias$ac_delim
29716 +build!$build$ac_delim
29717 +build_cpu!$build_cpu$ac_delim
29718 +build_vendor!$build_vendor$ac_delim
29719 +build_os!$build_os$ac_delim
29720 +host!$host$ac_delim
29721 +host_cpu!$host_cpu$ac_delim
29722 +host_vendor!$host_vendor$ac_delim
29723 +host_os!$host_os$ac_delim
29724 +target!$target$ac_delim
29725 +target_cpu!$target_cpu$ac_delim
29726 +target_vendor!$target_vendor$ac_delim
29727 +target_os!$target_os$ac_delim
29728 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
29729 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
29730 +INSTALL_DATA!$INSTALL_DATA$ac_delim
29731 +CYGPATH_W!$CYGPATH_W$ac_delim
29732 +PACKAGE!$PACKAGE$ac_delim
29733 +VERSION!$VERSION$ac_delim
29734 +ACLOCAL!$ACLOCAL$ac_delim
29735 +AUTOCONF!$AUTOCONF$ac_delim
29736 +AUTOMAKE!$AUTOMAKE$ac_delim
29737 +AUTOHEADER!$AUTOHEADER$ac_delim
29738 +MAKEINFO!$MAKEINFO$ac_delim
29739 +install_sh!$install_sh$ac_delim
29740 +STRIP!$STRIP$ac_delim
29741 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
29742 +mkdir_p!$mkdir_p$ac_delim
29743 +AWK!$AWK$ac_delim
29744 +SET_MAKE!$SET_MAKE$ac_delim
29745 +am__leading_dot!$am__leading_dot$ac_delim
29746 +AMTAR!$AMTAR$ac_delim
29747 +am__tar!$am__tar$ac_delim
29748 +am__untar!$am__untar$ac_delim
29749 +LIBVER_CURRENT!$LIBVER_CURRENT$ac_delim
29750 +LIBVER_REVISION!$LIBVER_REVISION$ac_delim
29751 +LIBVER_AGE!$LIBVER_AGE$ac_delim
29752 +CC!$CC$ac_delim
29753 +CFLAGS!$CFLAGS$ac_delim
29754 +LDFLAGS!$LDFLAGS$ac_delim
29755 +CPPFLAGS!$CPPFLAGS$ac_delim
29756 +ac_ct_CC!$ac_ct_CC$ac_delim
29757 +EXEEXT!$EXEEXT$ac_delim
29758 +OBJEXT!$OBJEXT$ac_delim
29759 +DEPDIR!$DEPDIR$ac_delim
29760 +am__include!$am__include$ac_delim
29761 +am__quote!$am__quote$ac_delim
29762 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
29763 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
29764 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
29765 +CCDEPMODE!$CCDEPMODE$ac_delim
29766 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
29767 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
29768 +LEX!$LEX$ac_delim
29769 +LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
29770 +LEXLIB!$LEXLIB$ac_delim
29771 +YACC!$YACC$ac_delim
29772 +YFLAGS!$YFLAGS$ac_delim
29773 +GREP!$GREP$ac_delim
29774 +EGREP!$EGREP$ac_delim
29775 +LN_S!$LN_S$ac_delim
29776 +_ACEOF
29777 +
29778 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
29779 + break
29780 + elif $ac_last_try; then
29781 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29782 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29783 + { (exit 1); exit 1; }; }
29784 + else
29785 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29786 fi
29787 -fi # test -n "$CONFIG_FILES"
29788 +done
29789 +
29790 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29791 +if test -n "$ac_eof"; then
29792 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29793 + ac_eof=`expr $ac_eof + 1`
29794 +fi
29795 +
29796 +cat >>$CONFIG_STATUS <<_ACEOF
29797 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
29798 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29799 +_ACEOF
29800 +sed '
29801 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29802 +s/^/s,@/; s/!/@,|#_!!_#|/
29803 +:n
29804 +t n
29805 +s/'"$ac_delim"'$/,g/; t
29806 +s/$/\\/; p
29807 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29808 +' >>$CONFIG_STATUS <conf$$subs.sed
29809 +rm -f conf$$subs.sed
29810 +cat >>$CONFIG_STATUS <<_ACEOF
29811 +CEOF$ac_eof
29812 +_ACEOF
29813 +
29814 +
29815 +ac_delim='%!_!# '
29816 +for ac_last_try in false false false false false :; do
29817 + cat >conf$$subs.sed <<_ACEOF
29818 +ECHO!$ECHO$ac_delim
29819 +AR!$AR$ac_delim
29820 +RANLIB!$RANLIB$ac_delim
29821 +CPP!$CPP$ac_delim
29822 +CXX!$CXX$ac_delim
29823 +CXXFLAGS!$CXXFLAGS$ac_delim
29824 +ac_ct_CXX!$ac_ct_CXX$ac_delim
29825 +CXXDEPMODE!$CXXDEPMODE$ac_delim
29826 +am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
29827 +am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
29828 +CXXCPP!$CXXCPP$ac_delim
29829 +F77!$F77$ac_delim
29830 +FFLAGS!$FFLAGS$ac_delim
29831 +ac_ct_F77!$ac_ct_F77$ac_delim
29832 +LIBTOOL!$LIBTOOL$ac_delim
29833 +LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
29834 +PERL!$PERL$ac_delim
29835 +LIBOBJS!$LIBOBJS$ac_delim
29836 +LTLIBOBJS!$LTLIBOBJS$ac_delim
29837 +_ACEOF
29838 +
29839 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
29840 + break
29841 + elif $ac_last_try; then
29842 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
29843 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
29844 + { (exit 1); exit 1; }; }
29845 + else
29846 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29847 + fi
29848 +done
29849 +
29850 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
29851 +if test -n "$ac_eof"; then
29852 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
29853 + ac_eof=`expr $ac_eof + 1`
29854 +fi
29855
29856 +cat >>$CONFIG_STATUS <<_ACEOF
29857 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
29858 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
29859 _ACEOF
29860 +sed '
29861 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
29862 +s/^/s,@/; s/!/@,|#_!!_#|/
29863 +:n
29864 +t n
29865 +s/'"$ac_delim"'$/,g/; t
29866 +s/$/\\/; p
29867 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
29868 +' >>$CONFIG_STATUS <conf$$subs.sed
29869 +rm -f conf$$subs.sed
29870 +cat >>$CONFIG_STATUS <<_ACEOF
29871 +:end
29872 +s/|#_!!_#|//g
29873 +CEOF$ac_eof
29874 +_ACEOF
29875 +
29876 +
29877 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
29878 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29879 +# trailing colons and then remove the whole line if VPATH becomes empty
29880 +# (actually we leave an empty line to preserve line numbers).
29881 +if test "x$srcdir" = x.; then
29882 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
29883 +s/:*\$(srcdir):*/:/
29884 +s/:*\${srcdir}:*/:/
29885 +s/:*@srcdir@:*/:/
29886 +s/^\([^=]*=[ ]*\):*/\1/
29887 +s/:*$//
29888 +s/^[^=]*=[ ]*$//
29889 +}'
29890 +fi
29891 +
29892 cat >>$CONFIG_STATUS <<\_ACEOF
29893 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
29894 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29895 - case $ac_file in
29896 - - | *:- | *:-:* ) # input from stdin
29897 - cat >$tmp/stdin
29898 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29899 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29900 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29901 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29902 - * ) ac_file_in=$ac_file.in ;;
29903 +fi # test -n "$CONFIG_FILES"
29904 +
29905 +
29906 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
29907 +do
29908 + case $ac_tag in
29909 + :[FHLC]) ac_mode=$ac_tag; continue;;
29910 + esac
29911 + case $ac_mode$ac_tag in
29912 + :[FHL]*:*);;
29913 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
29914 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
29915 + { (exit 1); exit 1; }; };;
29916 + :[FH]-) ac_tag=-:-;;
29917 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
29918 + esac
29919 + ac_save_IFS=$IFS
29920 + IFS=:
29921 + set x $ac_tag
29922 + IFS=$ac_save_IFS
29923 + shift
29924 + ac_file=$1
29925 + shift
29926 +
29927 + case $ac_mode in
29928 + :L) ac_source=$1;;
29929 + :[FH])
29930 + ac_file_inputs=
29931 + for ac_f
29932 + do
29933 + case $ac_f in
29934 + -) ac_f="$tmp/stdin";;
29935 + *) # Look for the file first in the build tree, then in the source tree
29936 + # (if the path is not absolute). The absolute path cannot be DOS-style,
29937 + # because $ac_f cannot contain `:'.
29938 + test -f "$ac_f" ||
29939 + case $ac_f in
29940 + [\\/$]*) false;;
29941 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29942 + esac ||
29943 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
29944 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
29945 + { (exit 1); exit 1; }; };;
29946 + esac
29947 + ac_file_inputs="$ac_file_inputs $ac_f"
29948 + done
29949 +
29950 + # Let's still pretend it is `configure' which instantiates (i.e., don't
29951 + # use $as_me), people would be surprised to read:
29952 + # /* config.h. Generated by config.status. */
29953 + configure_input="Generated from "`IFS=:
29954 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
29955 + if test x"$ac_file" != x-; then
29956 + configure_input="$ac_file. $configure_input"
29957 + { echo "$as_me:$LINENO: creating $ac_file" >&5
29958 +echo "$as_me: creating $ac_file" >&6;}
29959 + fi
29960 +
29961 + case $ac_tag in
29962 + *:-:* | *:-) cat >"$tmp/stdin";;
29963 + esac
29964 + ;;
29965 esac
29966
29967 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29968 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
29969 + ac_dir=`$as_dirname -- "$ac_file" ||
29970 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29971 X"$ac_file" : 'X\(//\)[^/]' \| \
29972 X"$ac_file" : 'X\(//\)$' \| \
29973 - X"$ac_file" : 'X\(/\)' \| \
29974 - . : '\(.\)' 2>/dev/null ||
29975 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29976 echo X"$ac_file" |
29977 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29978 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29979 - /^X\(\/\/\)$/{ s//\1/; q; }
29980 - /^X\(\/\).*/{ s//\1/; q; }
29981 - s/.*/./; q'`
29982 - { if $as_mkdir_p; then
29983 - mkdir -p "$ac_dir"
29984 - else
29985 - as_dir="$ac_dir"
29986 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29987 + s//\1/
29988 + q
29989 + }
29990 + /^X\(\/\/\)[^/].*/{
29991 + s//\1/
29992 + q
29993 + }
29994 + /^X\(\/\/\)$/{
29995 + s//\1/
29996 + q
29997 + }
29998 + /^X\(\/\).*/{
29999 + s//\1/
30000 + q
30001 + }
30002 + s/.*/./; q'`
30003 + { as_dir="$ac_dir"
30004 + case $as_dir in #(
30005 + -*) as_dir=./$as_dir;;
30006 + esac
30007 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
30008 as_dirs=
30009 - while test ! -d "$as_dir"; do
30010 - as_dirs="$as_dir $as_dirs"
30011 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
30012 + while :; do
30013 + case $as_dir in #(
30014 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
30015 + *) as_qdir=$as_dir;;
30016 + esac
30017 + as_dirs="'$as_qdir' $as_dirs"
30018 + as_dir=`$as_dirname -- "$as_dir" ||
30019 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30020 X"$as_dir" : 'X\(//\)[^/]' \| \
30021 X"$as_dir" : 'X\(//\)$' \| \
30022 - X"$as_dir" : 'X\(/\)' \| \
30023 - . : '\(.\)' 2>/dev/null ||
30024 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30025 echo X"$as_dir" |
30026 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30027 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30028 - /^X\(\/\/\)$/{ s//\1/; q; }
30029 - /^X\(\/\).*/{ s//\1/; q; }
30030 - s/.*/./; q'`
30031 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30032 + s//\1/
30033 + q
30034 + }
30035 + /^X\(\/\/\)[^/].*/{
30036 + s//\1/
30037 + q
30038 + }
30039 + /^X\(\/\/\)$/{
30040 + s//\1/
30041 + q
30042 + }
30043 + /^X\(\/\).*/{
30044 + s//\1/
30045 + q
30046 + }
30047 + s/.*/./; q'`
30048 + test -d "$as_dir" && break
30049 done
30050 - test ! -n "$as_dirs" || mkdir $as_dirs
30051 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30052 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30053 + test -z "$as_dirs" || eval "mkdir $as_dirs"
30054 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30055 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
30056 { (exit 1); exit 1; }; }; }
30057 -
30058 ac_builddir=.
30059
30060 -if test "$ac_dir" != .; then
30061 +case "$ac_dir" in
30062 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
30063 +*)
30064 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30065 - # A "../" for each directory in $ac_dir_suffix.
30066 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30067 -else
30068 - ac_dir_suffix= ac_top_builddir=
30069 -fi
30070 + # A ".." for each directory in $ac_dir_suffix.
30071 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
30072 + case $ac_top_builddir_sub in
30073 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
30074 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
30075 + esac ;;
30076 +esac
30077 +ac_abs_top_builddir=$ac_pwd
30078 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
30079 +# for backward compatibility:
30080 +ac_top_builddir=$ac_top_build_prefix
30081
30082 case $srcdir in
30083 - .) # No --srcdir option. We are building in place.
30084 + .) # We are building in place.
30085 ac_srcdir=.
30086 - if test -z "$ac_top_builddir"; then
30087 - ac_top_srcdir=.
30088 - else
30089 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
30090 - fi ;;
30091 - [\\/]* | ?:[\\/]* ) # Absolute path.
30092 + ac_top_srcdir=$ac_top_builddir_sub
30093 + ac_abs_top_srcdir=$ac_pwd ;;
30094 + [\\/]* | ?:[\\/]* ) # Absolute name.
30095 ac_srcdir=$srcdir$ac_dir_suffix;
30096 - ac_top_srcdir=$srcdir ;;
30097 - *) # Relative path.
30098 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
30099 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
30100 + ac_top_srcdir=$srcdir
30101 + ac_abs_top_srcdir=$srcdir ;;
30102 + *) # Relative name.
30103 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
30104 + ac_top_srcdir=$ac_top_build_prefix$srcdir
30105 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
30106 esac
30107 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
30108
30109 -# Do not use `cd foo && pwd` to compute absolute paths, because
30110 -# the directories may not exist.
30111 -case `pwd` in
30112 -.) ac_abs_builddir="$ac_dir";;
30113 -*)
30114 - case "$ac_dir" in
30115 - .) ac_abs_builddir=`pwd`;;
30116 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
30117 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
30118 - esac;;
30119 -esac
30120 -case $ac_abs_builddir in
30121 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
30122 -*)
30123 - case ${ac_top_builddir}. in
30124 - .) ac_abs_top_builddir=$ac_abs_builddir;;
30125 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
30126 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
30127 - esac;;
30128 -esac
30129 -case $ac_abs_builddir in
30130 -.) ac_abs_srcdir=$ac_srcdir;;
30131 -*)
30132 - case $ac_srcdir in
30133 - .) ac_abs_srcdir=$ac_abs_builddir;;
30134 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
30135 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
30136 - esac;;
30137 -esac
30138 -case $ac_abs_builddir in
30139 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
30140 -*)
30141 - case $ac_top_srcdir in
30142 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
30143 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
30144 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
30145 - esac;;
30146 -esac
30147
30148 + case $ac_mode in
30149 + :F)
30150 + #
30151 + # CONFIG_FILE
30152 + #
30153
30154 case $INSTALL in
30155 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
30156 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
30157 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
30158 esac
30159 +_ACEOF
30160
30161 - # Let's still pretend it is `configure' which instantiates (i.e., don't
30162 - # use $as_me), people would be surprised to read:
30163 - # /* config.h. Generated by config.status. */
30164 - if test x"$ac_file" = x-; then
30165 - configure_input=
30166 - else
30167 - configure_input="$ac_file. "
30168 - fi
30169 - configure_input=$configure_input"Generated from `echo $ac_file_in |
30170 - sed 's,.*/,,'` by configure."
30171 -
30172 - # First look for the input files in the build tree, otherwise in the
30173 - # src tree.
30174 - ac_file_inputs=`IFS=:
30175 - for f in $ac_file_in; do
30176 - case $f in
30177 - -) echo $tmp/stdin ;;
30178 - [\\/$]*)
30179 - # Absolute (can't be DOS-style, as IFS=:)
30180 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30181 -echo "$as_me: error: cannot find input file: $f" >&2;}
30182 - { (exit 1); exit 1; }; }
30183 - echo "$f";;
30184 - *) # Relative
30185 - if test -f "$f"; then
30186 - # Build tree
30187 - echo "$f"
30188 - elif test -f "$srcdir/$f"; then
30189 - # Source tree
30190 - echo "$srcdir/$f"
30191 - else
30192 - # /dev/null tree
30193 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30194 -echo "$as_me: error: cannot find input file: $f" >&2;}
30195 - { (exit 1); exit 1; }; }
30196 - fi;;
30197 - esac
30198 - done` || { (exit 1); exit 1; }
30199 -
30200 - if test x"$ac_file" != x-; then
30201 - { echo "$as_me:$LINENO: creating $ac_file" >&5
30202 -echo "$as_me: creating $ac_file" >&6;}
30203 - rm -f "$ac_file"
30204 - fi
30205 +cat >>$CONFIG_STATUS <<\_ACEOF
30206 +# If the template does not know about datarootdir, expand it.
30207 +# FIXME: This hack should be removed a few years after 2.60.
30208 +ac_datarootdir_hack=; ac_datarootdir_seen=
30209 +
30210 +case `sed -n '/datarootdir/ {
30211 + p
30212 + q
30213 +}
30214 +/@datadir@/p
30215 +/@docdir@/p
30216 +/@infodir@/p
30217 +/@localedir@/p
30218 +/@mandir@/p
30219 +' $ac_file_inputs` in
30220 +*datarootdir*) ac_datarootdir_seen=yes;;
30221 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
30222 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30223 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30224 +_ACEOF
30225 +cat >>$CONFIG_STATUS <<_ACEOF
30226 + ac_datarootdir_hack='
30227 + s&@datadir@&$datadir&g
30228 + s&@docdir@&$docdir&g
30229 + s&@infodir@&$infodir&g
30230 + s&@localedir@&$localedir&g
30231 + s&@mandir@&$mandir&g
30232 + s&\\\${datarootdir}&$datarootdir&g' ;;
30233 +esac
30234 _ACEOF
30235 +
30236 +# Neutralize VPATH when `$srcdir' = `.'.
30237 +# Shell code in configure.ac might set extrasub.
30238 +# FIXME: do we really want to maintain this feature?
30239 cat >>$CONFIG_STATUS <<_ACEOF
30240 sed "$ac_vpsub
30241 $extrasub
30242 @@ -9723,370 +21176,299 @@
30243 cat >>$CONFIG_STATUS <<\_ACEOF
30244 :t
30245 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30246 -s,@configure_input@,$configure_input,;t t
30247 -s,@srcdir@,$ac_srcdir,;t t
30248 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
30249 -s,@top_srcdir@,$ac_top_srcdir,;t t
30250 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
30251 -s,@builddir@,$ac_builddir,;t t
30252 -s,@abs_builddir@,$ac_abs_builddir,;t t
30253 -s,@top_builddir@,$ac_top_builddir,;t t
30254 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
30255 -s,@INSTALL@,$ac_INSTALL,;t t
30256 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
30257 - rm -f $tmp/stdin
30258 - if test x"$ac_file" != x-; then
30259 - mv $tmp/out $ac_file
30260 - else
30261 - cat $tmp/out
30262 - rm -f $tmp/out
30263 - fi
30264 -
30265 -done
30266 -_ACEOF
30267 -cat >>$CONFIG_STATUS <<\_ACEOF
30268 -
30269 -#
30270 -# CONFIG_HEADER section.
30271 -#
30272 -
30273 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
30274 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
30275 -#
30276 -# ac_d sets the value in "#define NAME VALUE" lines.
30277 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
30278 -ac_dB='[ ].*$,\1#\2'
30279 -ac_dC=' '
30280 -ac_dD=',;t'
30281 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
30282 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
30283 -ac_uB='$,\1#\2define\3'
30284 -ac_uC=' '
30285 -ac_uD=',;t'
30286 +s&@configure_input@&$configure_input&;t t
30287 +s&@top_builddir@&$ac_top_builddir_sub&;t t
30288 +s&@srcdir@&$ac_srcdir&;t t
30289 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
30290 +s&@top_srcdir@&$ac_top_srcdir&;t t
30291 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
30292 +s&@builddir@&$ac_builddir&;t t
30293 +s&@abs_builddir@&$ac_abs_builddir&;t t
30294 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
30295 +s&@INSTALL@&$ac_INSTALL&;t t
30296 +$ac_datarootdir_hack
30297 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
30298 +
30299 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30300 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
30301 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
30302 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30303 +which seems to be undefined. Please make sure it is defined." >&5
30304 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30305 +which seems to be undefined. Please make sure it is defined." >&2;}
30306
30307 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
30308 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30309 + rm -f "$tmp/stdin"
30310 case $ac_file in
30311 - - | *:- | *:-:* ) # input from stdin
30312 - cat >$tmp/stdin
30313 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30314 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30315 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
30316 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
30317 - * ) ac_file_in=$ac_file.in ;;
30318 + -) cat "$tmp/out"; rm -f "$tmp/out";;
30319 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
30320 esac
30321 -
30322 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
30323 -echo "$as_me: creating $ac_file" >&6;}
30324 -
30325 - # First look for the input files in the build tree, otherwise in the
30326 - # src tree.
30327 - ac_file_inputs=`IFS=:
30328 - for f in $ac_file_in; do
30329 - case $f in
30330 - -) echo $tmp/stdin ;;
30331 - [\\/$]*)
30332 - # Absolute (can't be DOS-style, as IFS=:)
30333 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30334 -echo "$as_me: error: cannot find input file: $f" >&2;}
30335 - { (exit 1); exit 1; }; }
30336 - # Do quote $f, to prevent DOS paths from being IFS'd.
30337 - echo "$f";;
30338 - *) # Relative
30339 - if test -f "$f"; then
30340 - # Build tree
30341 - echo "$f"
30342 - elif test -f "$srcdir/$f"; then
30343 - # Source tree
30344 - echo "$srcdir/$f"
30345 - else
30346 - # /dev/null tree
30347 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30348 -echo "$as_me: error: cannot find input file: $f" >&2;}
30349 - { (exit 1); exit 1; }; }
30350 - fi;;
30351 - esac
30352 - done` || { (exit 1); exit 1; }
30353 - # Remove the trailing spaces.
30354 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
30355 -
30356 + ;;
30357 + :H)
30358 + #
30359 + # CONFIG_HEADER
30360 + #
30361 _ACEOF
30362
30363 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
30364 -# `conftest.undefs', that substitutes the proper values into
30365 -# config.h.in to produce config.h. The first handles `#define'
30366 -# templates, and the second `#undef' templates.
30367 -# And first: Protect against being on the right side of a sed subst in
30368 -# config.status. Protect against being in an unquoted here document
30369 -# in config.status.
30370 -rm -f conftest.defines conftest.undefs
30371 -# Using a here document instead of a string reduces the quoting nightmare.
30372 -# Putting comments in sed scripts is not portable.
30373 -#
30374 -# `end' is used to avoid that the second main sed command (meant for
30375 -# 0-ary CPP macros) applies to n-ary macro definitions.
30376 -# See the Autoconf documentation for `clear'.
30377 -cat >confdef2sed.sed <<\_ACEOF
30378 -s/[\\&,]/\\&/g
30379 -s,[\\$`],\\&,g
30380 -t clear
30381 -: clear
30382 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
30383 -t end
30384 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
30385 -: end
30386 -_ACEOF
30387 -# If some macros were called several times there might be several times
30388 -# the same #defines, which is useless. Nevertheless, we may not want to
30389 -# sort them, since we want the *last* AC-DEFINE to be honored.
30390 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
30391 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
30392 -rm -f confdef2sed.sed
30393 +# Transform confdefs.h into a sed script `conftest.defines', that
30394 +# substitutes the proper values into config.h.in to produce config.h.
30395 +rm -f conftest.defines conftest.tail
30396 +# First, append a space to every undef/define line, to ease matching.
30397 +echo 's/$/ /' >conftest.defines
30398 +# Then, protect against being on the right side of a sed subst, or in
30399 +# an unquoted here document, in config.status. If some macros were
30400 +# called several times there might be several #defines for the same
30401 +# symbol, which is useless. But do not sort them, since the last
30402 +# AC_DEFINE must be honored.
30403 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
30404 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
30405 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
30406 +# PARAMS is the parameter list in the macro definition--in most cases, it's
30407 +# just an empty string.
30408 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
30409 +ac_dB='\\)[ (].*,\\1define\\2'
30410 +ac_dC=' '
30411 +ac_dD=' ,'
30412 +
30413 +uniq confdefs.h |
30414 + sed -n '
30415 + t rset
30416 + :rset
30417 + s/^[ ]*#[ ]*define[ ][ ]*//
30418 + t ok
30419 + d
30420 + :ok
30421 + s/[\\&,]/\\&/g
30422 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
30423 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
30424 + ' >>conftest.defines
30425
30426 -# This sed command replaces #undef with comments. This is necessary, for
30427 +# Remove the space that was appended to ease matching.
30428 +# Then replace #undef with comments. This is necessary, for
30429 # example, in the case of _POSIX_SOURCE, which is predefined and required
30430 # on some systems where configure will not decide to define it.
30431 -cat >>conftest.undefs <<\_ACEOF
30432 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
30433 -_ACEOF
30434 +# (The regexp can be short, since the line contains either #define or #undef.)
30435 +echo 's/ $//
30436 +s,^[ #]*u.*,/* & */,' >>conftest.defines
30437 +
30438 +# Break up conftest.defines:
30439 +ac_max_sed_lines=50
30440 +
30441 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
30442 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
30443 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
30444 +# et cetera.
30445 +ac_in='$ac_file_inputs'
30446 +ac_out='"$tmp/out1"'
30447 +ac_nxt='"$tmp/out2"'
30448
30449 -# Break up conftest.defines because some shells have a limit on the size
30450 -# of here documents, and old seds have small limits too (100 cmds).
30451 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
30452 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
30453 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
30454 -echo ' :' >>$CONFIG_STATUS
30455 -rm -f conftest.tail
30456 -while grep . conftest.defines >/dev/null
30457 -do
30458 - # Write a limited-size here document to $tmp/defines.sed.
30459 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
30460 - # Speed up: don't consider the non `#define' lines.
30461 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
30462 - # Work around the forget-to-reset-the-flag bug.
30463 - echo 't clr' >>$CONFIG_STATUS
30464 - echo ': clr' >>$CONFIG_STATUS
30465 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
30466 +while :
30467 +do
30468 + # Write a here document:
30469 + cat >>$CONFIG_STATUS <<_ACEOF
30470 + # First, check the format of the line:
30471 + cat >"\$tmp/defines.sed" <<\\CEOF
30472 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
30473 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
30474 +b
30475 +:def
30476 +_ACEOF
30477 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
30478 echo 'CEOF
30479 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
30480 - rm -f $tmp/in
30481 - mv $tmp/out $tmp/in
30482 -' >>$CONFIG_STATUS
30483 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
30484 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
30485 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
30486 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
30487 + grep . conftest.tail >/dev/null || break
30488 rm -f conftest.defines
30489 mv conftest.tail conftest.defines
30490 done
30491 -rm -f conftest.defines
30492 -echo ' fi # grep' >>$CONFIG_STATUS
30493 -echo >>$CONFIG_STATUS
30494 -
30495 -# Break up conftest.undefs because some shells have a limit on the size
30496 -# of here documents, and old seds have small limits too (100 cmds).
30497 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
30498 -rm -f conftest.tail
30499 -while grep . conftest.undefs >/dev/null
30500 -do
30501 - # Write a limited-size here document to $tmp/undefs.sed.
30502 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
30503 - # Speed up: don't consider the non `#undef'
30504 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
30505 - # Work around the forget-to-reset-the-flag bug.
30506 - echo 't clr' >>$CONFIG_STATUS
30507 - echo ': clr' >>$CONFIG_STATUS
30508 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
30509 - echo 'CEOF
30510 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
30511 - rm -f $tmp/in
30512 - mv $tmp/out $tmp/in
30513 -' >>$CONFIG_STATUS
30514 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
30515 - rm -f conftest.undefs
30516 - mv conftest.tail conftest.undefs
30517 -done
30518 -rm -f conftest.undefs
30519 +rm -f conftest.defines conftest.tail
30520
30521 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
30522 cat >>$CONFIG_STATUS <<\_ACEOF
30523 - # Let's still pretend it is `configure' which instantiates (i.e., don't
30524 - # use $as_me), people would be surprised to read:
30525 - # /* config.h. Generated by config.status. */
30526 - if test x"$ac_file" = x-; then
30527 - echo "/* Generated by configure. */" >$tmp/config.h
30528 - else
30529 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
30530 - fi
30531 - cat $tmp/in >>$tmp/config.h
30532 - rm -f $tmp/in
30533 if test x"$ac_file" != x-; then
30534 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
30535 + echo "/* $configure_input */" >"$tmp/config.h"
30536 + cat "$ac_result" >>"$tmp/config.h"
30537 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
30538 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30539 echo "$as_me: $ac_file is unchanged" >&6;}
30540 else
30541 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
30542 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30543 - X"$ac_file" : 'X\(//\)[^/]' \| \
30544 - X"$ac_file" : 'X\(//\)$' \| \
30545 - X"$ac_file" : 'X\(/\)' \| \
30546 - . : '\(.\)' 2>/dev/null ||
30547 -echo X"$ac_file" |
30548 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30549 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30550 - /^X\(\/\/\)$/{ s//\1/; q; }
30551 - /^X\(\/\).*/{ s//\1/; q; }
30552 - s/.*/./; q'`
30553 - { if $as_mkdir_p; then
30554 - mkdir -p "$ac_dir"
30555 - else
30556 - as_dir="$ac_dir"
30557 - as_dirs=
30558 - while test ! -d "$as_dir"; do
30559 - as_dirs="$as_dir $as_dirs"
30560 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
30561 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30562 - X"$as_dir" : 'X\(//\)[^/]' \| \
30563 - X"$as_dir" : 'X\(//\)$' \| \
30564 - X"$as_dir" : 'X\(/\)' \| \
30565 - . : '\(.\)' 2>/dev/null ||
30566 -echo X"$as_dir" |
30567 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30568 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30569 - /^X\(\/\/\)$/{ s//\1/; q; }
30570 - /^X\(\/\).*/{ s//\1/; q; }
30571 - s/.*/./; q'`
30572 - done
30573 - test ! -n "$as_dirs" || mkdir $as_dirs
30574 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30575 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30576 - { (exit 1); exit 1; }; }; }
30577 -
30578 rm -f $ac_file
30579 - mv $tmp/config.h $ac_file
30580 + mv "$tmp/config.h" $ac_file
30581 fi
30582 else
30583 - cat $tmp/config.h
30584 - rm -f $tmp/config.h
30585 + echo "/* $configure_input */"
30586 + cat "$ac_result"
30587 fi
30588 + rm -f "$tmp/out12"
30589 +# Compute $ac_file's index in $config_headers.
30590 +_am_stamp_count=1
30591 +for _am_header in $config_headers :; do
30592 + case $_am_header in
30593 + $ac_file | $ac_file:* )
30594 + break ;;
30595 + * )
30596 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
30597 + esac
30598 done
30599 -_ACEOF
30600 -cat >>$CONFIG_STATUS <<\_ACEOF
30601 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
30602 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30603 + X$ac_file : 'X\(//\)[^/]' \| \
30604 + X$ac_file : 'X\(//\)$' \| \
30605 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
30606 +echo X$ac_file |
30607 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30608 + s//\1/
30609 + q
30610 + }
30611 + /^X\(\/\/\)[^/].*/{
30612 + s//\1/
30613 + q
30614 + }
30615 + /^X\(\/\/\)$/{
30616 + s//\1/
30617 + q
30618 + }
30619 + /^X\(\/\).*/{
30620 + s//\1/
30621 + q
30622 + }
30623 + s/.*/./; q'`/stamp-h$_am_stamp_count
30624 + ;;
30625 +
30626 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
30627 +echo "$as_me: executing $ac_file commands" >&6;}
30628 + ;;
30629 + esac
30630
30631 -#
30632 -# CONFIG_COMMANDS section.
30633 -#
30634 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
30635 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
30636 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
30637 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
30638 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30639 - X"$ac_dest" : 'X\(//\)[^/]' \| \
30640 - X"$ac_dest" : 'X\(//\)$' \| \
30641 - X"$ac_dest" : 'X\(/\)' \| \
30642 - . : '\(.\)' 2>/dev/null ||
30643 -echo X"$ac_dest" |
30644 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30645 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30646 - /^X\(\/\/\)$/{ s//\1/; q; }
30647 - /^X\(\/\).*/{ s//\1/; q; }
30648 - s/.*/./; q'`
30649 - { if $as_mkdir_p; then
30650 - mkdir -p "$ac_dir"
30651 +
30652 + case $ac_file$ac_mode in
30653 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
30654 + # Strip MF so we end up with the name of the file.
30655 + mf=`echo "$mf" | sed -e 's/:.*$//'`
30656 + # Check whether this is an Automake generated Makefile or not.
30657 + # We used to match only the files named `Makefile.in', but
30658 + # some people rename them; so instead we look at the file content.
30659 + # Grep'ing the first line is not enough: some people post-process
30660 + # each Makefile.in and add a new line on top of each file to say so.
30661 + # So let's grep whole file.
30662 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
30663 + dirpart=`$as_dirname -- "$mf" ||
30664 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30665 + X"$mf" : 'X\(//\)[^/]' \| \
30666 + X"$mf" : 'X\(//\)$' \| \
30667 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
30668 +echo X"$mf" |
30669 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30670 + s//\1/
30671 + q
30672 + }
30673 + /^X\(\/\/\)[^/].*/{
30674 + s//\1/
30675 + q
30676 + }
30677 + /^X\(\/\/\)$/{
30678 + s//\1/
30679 + q
30680 + }
30681 + /^X\(\/\).*/{
30682 + s//\1/
30683 + q
30684 + }
30685 + s/.*/./; q'`
30686 else
30687 - as_dir="$ac_dir"
30688 + continue
30689 + fi
30690 + # Extract the definition of DEPDIR, am__include, and am__quote
30691 + # from the Makefile without running `make'.
30692 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
30693 + test -z "$DEPDIR" && continue
30694 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
30695 + test -z "am__include" && continue
30696 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
30697 + # When using ansi2knr, U may be empty or an underscore; expand it
30698 + U=`sed -n 's/^U = //p' < "$mf"`
30699 + # Find all dependency output files, they are included files with
30700 + # $(DEPDIR) in their names. We invoke sed twice because it is the
30701 + # simplest approach to changing $(DEPDIR) to its actual value in the
30702 + # expansion.
30703 + for file in `sed -n "
30704 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30705 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30706 + # Make sure the directory exists.
30707 + test -f "$dirpart/$file" && continue
30708 + fdir=`$as_dirname -- "$file" ||
30709 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30710 + X"$file" : 'X\(//\)[^/]' \| \
30711 + X"$file" : 'X\(//\)$' \| \
30712 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
30713 +echo X"$file" |
30714 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30715 + s//\1/
30716 + q
30717 + }
30718 + /^X\(\/\/\)[^/].*/{
30719 + s//\1/
30720 + q
30721 + }
30722 + /^X\(\/\/\)$/{
30723 + s//\1/
30724 + q
30725 + }
30726 + /^X\(\/\).*/{
30727 + s//\1/
30728 + q
30729 + }
30730 + s/.*/./; q'`
30731 + { as_dir=$dirpart/$fdir
30732 + case $as_dir in #(
30733 + -*) as_dir=./$as_dir;;
30734 + esac
30735 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
30736 as_dirs=
30737 - while test ! -d "$as_dir"; do
30738 - as_dirs="$as_dir $as_dirs"
30739 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
30740 + while :; do
30741 + case $as_dir in #(
30742 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
30743 + *) as_qdir=$as_dir;;
30744 + esac
30745 + as_dirs="'$as_qdir' $as_dirs"
30746 + as_dir=`$as_dirname -- "$as_dir" ||
30747 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30748 X"$as_dir" : 'X\(//\)[^/]' \| \
30749 X"$as_dir" : 'X\(//\)$' \| \
30750 - X"$as_dir" : 'X\(/\)' \| \
30751 - . : '\(.\)' 2>/dev/null ||
30752 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30753 echo X"$as_dir" |
30754 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30755 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30756 - /^X\(\/\/\)$/{ s//\1/; q; }
30757 - /^X\(\/\).*/{ s//\1/; q; }
30758 - s/.*/./; q'`
30759 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30760 + s//\1/
30761 + q
30762 + }
30763 + /^X\(\/\/\)[^/].*/{
30764 + s//\1/
30765 + q
30766 + }
30767 + /^X\(\/\/\)$/{
30768 + s//\1/
30769 + q
30770 + }
30771 + /^X\(\/\).*/{
30772 + s//\1/
30773 + q
30774 + }
30775 + s/.*/./; q'`
30776 + test -d "$as_dir" && break
30777 done
30778 - test ! -n "$as_dirs" || mkdir $as_dirs
30779 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30780 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30781 + test -z "$as_dirs" || eval "mkdir $as_dirs"
30782 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30783 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
30784 { (exit 1); exit 1; }; }; }
30785 + # echo "creating $dirpart/$file"
30786 + echo '# dummy' > "$dirpart/$file"
30787 + done
30788 +done
30789 + ;;
30790
30791 - ac_builddir=.
30792 -
30793 -if test "$ac_dir" != .; then
30794 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30795 - # A "../" for each directory in $ac_dir_suffix.
30796 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30797 -else
30798 - ac_dir_suffix= ac_top_builddir=
30799 -fi
30800 -
30801 -case $srcdir in
30802 - .) # No --srcdir option. We are building in place.
30803 - ac_srcdir=.
30804 - if test -z "$ac_top_builddir"; then
30805 - ac_top_srcdir=.
30806 - else
30807 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
30808 - fi ;;
30809 - [\\/]* | ?:[\\/]* ) # Absolute path.
30810 - ac_srcdir=$srcdir$ac_dir_suffix;
30811 - ac_top_srcdir=$srcdir ;;
30812 - *) # Relative path.
30813 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
30814 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
30815 -esac
30816 -
30817 -# Do not use `cd foo && pwd` to compute absolute paths, because
30818 -# the directories may not exist.
30819 -case `pwd` in
30820 -.) ac_abs_builddir="$ac_dir";;
30821 -*)
30822 - case "$ac_dir" in
30823 - .) ac_abs_builddir=`pwd`;;
30824 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
30825 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
30826 - esac;;
30827 -esac
30828 -case $ac_abs_builddir in
30829 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
30830 -*)
30831 - case ${ac_top_builddir}. in
30832 - .) ac_abs_top_builddir=$ac_abs_builddir;;
30833 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
30834 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
30835 - esac;;
30836 -esac
30837 -case $ac_abs_builddir in
30838 -.) ac_abs_srcdir=$ac_srcdir;;
30839 -*)
30840 - case $ac_srcdir in
30841 - .) ac_abs_srcdir=$ac_abs_builddir;;
30842 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
30843 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
30844 - esac;;
30845 -esac
30846 -case $ac_abs_builddir in
30847 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
30848 -*)
30849 - case $ac_top_srcdir in
30850 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
30851 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
30852 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
30853 - esac;;
30854 -esac
30855 -
30856 -
30857 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30858 -echo "$as_me: executing $ac_dest commands" >&6;}
30859 - case $ac_dest in
30860 - default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
30861 esac
30862 -done
30863 -_ACEOF
30864 +done # for ac_tag
30865
30866 -cat >>$CONFIG_STATUS <<\_ACEOF
30867
30868 { (exit 0); exit 0; }
30869 _ACEOF
30870 Index: linux-atm-2.4.1/depcomp
30871 ===================================================================
30872 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
30873 +++ linux-atm-2.4.1/depcomp 2007-10-20 19:19:19.558743075 +0200
30874 @@ -0,0 +1,530 @@
30875 +#! /bin/sh
30876 +# depcomp - compile a program generating dependencies as side-effects
30877 +
30878 +scriptversion=2005-07-09.11
30879 +
30880 +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
30881 +
30882 +# This program is free software; you can redistribute it and/or modify
30883 +# it under the terms of the GNU General Public License as published by
30884 +# the Free Software Foundation; either version 2, or (at your option)
30885 +# any later version.
30886 +
30887 +# This program is distributed in the hope that it will be useful,
30888 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
30889 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30890 +# GNU General Public License for more details.
30891 +
30892 +# You should have received a copy of the GNU General Public License
30893 +# along with this program; if not, write to the Free Software
30894 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
30895 +# 02110-1301, USA.
30896 +
30897 +# As a special exception to the GNU General Public License, if you
30898 +# distribute this file as part of a program that contains a
30899 +# configuration script generated by Autoconf, you may include it under
30900 +# the same distribution terms that you use for the rest of that program.
30901 +
30902 +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
30903 +
30904 +case $1 in
30905 + '')
30906 + echo "$0: No command. Try \`$0 --help' for more information." 1>&2
30907 + exit 1;
30908 + ;;
30909 + -h | --h*)
30910 + cat <<\EOF
30911 +Usage: depcomp [--help] [--version] PROGRAM [ARGS]
30912 +
30913 +Run PROGRAMS ARGS to compile a file, generating dependencies
30914 +as side-effects.
30915 +
30916 +Environment variables:
30917 + depmode Dependency tracking mode.
30918 + source Source file read by `PROGRAMS ARGS'.
30919 + object Object file output by `PROGRAMS ARGS'.
30920 + DEPDIR directory where to store dependencies.
30921 + depfile Dependency file to output.
30922 + tmpdepfile Temporary file to use when outputing dependencies.
30923 + libtool Whether libtool is used (yes/no).
30924 +
30925 +Report bugs to <bug-automake@gnu.org>.
30926 +EOF
30927 + exit $?
30928 + ;;
30929 + -v | --v*)
30930 + echo "depcomp $scriptversion"
30931 + exit $?
30932 + ;;
30933 +esac
30934 +
30935 +if test -z "$depmode" || test -z "$source" || test -z "$object"; then
30936 + echo "depcomp: Variables source, object and depmode must be set" 1>&2
30937 + exit 1
30938 +fi
30939 +
30940 +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
30941 +depfile=${depfile-`echo "$object" |
30942 + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
30943 +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
30944 +
30945 +rm -f "$tmpdepfile"
30946 +
30947 +# Some modes work just like other modes, but use different flags. We
30948 +# parameterize here, but still list the modes in the big case below,
30949 +# to make depend.m4 easier to write. Note that we *cannot* use a case
30950 +# here, because this file can only contain one case statement.
30951 +if test "$depmode" = hp; then
30952 + # HP compiler uses -M and no extra arg.
30953 + gccflag=-M
30954 + depmode=gcc
30955 +fi
30956 +
30957 +if test "$depmode" = dashXmstdout; then
30958 + # This is just like dashmstdout with a different argument.
30959 + dashmflag=-xM
30960 + depmode=dashmstdout
30961 +fi
30962 +
30963 +case "$depmode" in
30964 +gcc3)
30965 +## gcc 3 implements dependency tracking that does exactly what
30966 +## we want. Yay! Note: for some reason libtool 1.4 doesn't like
30967 +## it if -MD -MP comes after the -MF stuff. Hmm.
30968 + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
30969 + stat=$?
30970 + if test $stat -eq 0; then :
30971 + else
30972 + rm -f "$tmpdepfile"
30973 + exit $stat
30974 + fi
30975 + mv "$tmpdepfile" "$depfile"
30976 + ;;
30977 +
30978 +gcc)
30979 +## There are various ways to get dependency output from gcc. Here's
30980 +## why we pick this rather obscure method:
30981 +## - Don't want to use -MD because we'd like the dependencies to end
30982 +## up in a subdir. Having to rename by hand is ugly.
30983 +## (We might end up doing this anyway to support other compilers.)
30984 +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
30985 +## -MM, not -M (despite what the docs say).
30986 +## - Using -M directly means running the compiler twice (even worse
30987 +## than renaming).
30988 + if test -z "$gccflag"; then
30989 + gccflag=-MD,
30990 + fi
30991 + "$@" -Wp,"$gccflag$tmpdepfile"
30992 + stat=$?
30993 + if test $stat -eq 0; then :
30994 + else
30995 + rm -f "$tmpdepfile"
30996 + exit $stat
30997 + fi
30998 + rm -f "$depfile"
30999 + echo "$object : \\" > "$depfile"
31000 + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
31001 +## The second -e expression handles DOS-style file names with drive letters.
31002 + sed -e 's/^[^:]*: / /' \
31003 + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
31004 +## This next piece of magic avoids the `deleted header file' problem.
31005 +## The problem is that when a header file which appears in a .P file
31006 +## is deleted, the dependency causes make to die (because there is
31007 +## typically no way to rebuild the header). We avoid this by adding
31008 +## dummy dependencies for each header file. Too bad gcc doesn't do
31009 +## this for us directly.
31010 + tr ' ' '
31011 +' < "$tmpdepfile" |
31012 +## Some versions of gcc put a space before the `:'. On the theory
31013 +## that the space means something, we add a space to the output as
31014 +## well.
31015 +## Some versions of the HPUX 10.20 sed can't process this invocation
31016 +## correctly. Breaking it into two sed invocations is a workaround.
31017 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
31018 + rm -f "$tmpdepfile"
31019 + ;;
31020 +
31021 +hp)
31022 + # This case exists only to let depend.m4 do its work. It works by
31023 + # looking at the text of this script. This case will never be run,
31024 + # since it is checked for above.
31025 + exit 1
31026 + ;;
31027 +
31028 +sgi)
31029 + if test "$libtool" = yes; then
31030 + "$@" "-Wp,-MDupdate,$tmpdepfile"
31031 + else
31032 + "$@" -MDupdate "$tmpdepfile"
31033 + fi
31034 + stat=$?
31035 + if test $stat -eq 0; then :
31036 + else
31037 + rm -f "$tmpdepfile"
31038 + exit $stat
31039 + fi
31040 + rm -f "$depfile"
31041 +
31042 + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
31043 + echo "$object : \\" > "$depfile"
31044 +
31045 + # Clip off the initial element (the dependent). Don't try to be
31046 + # clever and replace this with sed code, as IRIX sed won't handle
31047 + # lines with more than a fixed number of characters (4096 in
31048 + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
31049 + # the IRIX cc adds comments like `#:fec' to the end of the
31050 + # dependency line.
31051 + tr ' ' '
31052 +' < "$tmpdepfile" \
31053 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
31054 + tr '
31055 +' ' ' >> $depfile
31056 + echo >> $depfile
31057 +
31058 + # The second pass generates a dummy entry for each header file.
31059 + tr ' ' '
31060 +' < "$tmpdepfile" \
31061 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
31062 + >> $depfile
31063 + else
31064 + # The sourcefile does not contain any dependencies, so just
31065 + # store a dummy comment line, to avoid errors with the Makefile
31066 + # "include basename.Plo" scheme.
31067 + echo "#dummy" > "$depfile"
31068 + fi
31069 + rm -f "$tmpdepfile"
31070 + ;;
31071 +
31072 +aix)
31073 + # The C for AIX Compiler uses -M and outputs the dependencies
31074 + # in a .u file. In older versions, this file always lives in the
31075 + # current directory. Also, the AIX compiler puts `$object:' at the
31076 + # start of each line; $object doesn't have directory information.
31077 + # Version 6 uses the directory in both cases.
31078 + stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
31079 + tmpdepfile="$stripped.u"
31080 + if test "$libtool" = yes; then
31081 + "$@" -Wc,-M
31082 + else
31083 + "$@" -M
31084 + fi
31085 + stat=$?
31086 +
31087 + if test -f "$tmpdepfile"; then :
31088 + else
31089 + stripped=`echo "$stripped" | sed 's,^.*/,,'`
31090 + tmpdepfile="$stripped.u"
31091 + fi
31092 +
31093 + if test $stat -eq 0; then :
31094 + else
31095 + rm -f "$tmpdepfile"
31096 + exit $stat
31097 + fi
31098 +
31099 + if test -f "$tmpdepfile"; then
31100 + outname="$stripped.o"
31101 + # Each line is of the form `foo.o: dependent.h'.
31102 + # Do two passes, one to just change these to
31103 + # `$object: dependent.h' and one to simply `dependent.h:'.
31104 + sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
31105 + sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
31106 + else
31107 + # The sourcefile does not contain any dependencies, so just
31108 + # store a dummy comment line, to avoid errors with the Makefile
31109 + # "include basename.Plo" scheme.
31110 + echo "#dummy" > "$depfile"
31111 + fi
31112 + rm -f "$tmpdepfile"
31113 + ;;
31114 +
31115 +icc)
31116 + # Intel's C compiler understands `-MD -MF file'. However on
31117 + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
31118 + # ICC 7.0 will fill foo.d with something like
31119 + # foo.o: sub/foo.c
31120 + # foo.o: sub/foo.h
31121 + # which is wrong. We want:
31122 + # sub/foo.o: sub/foo.c
31123 + # sub/foo.o: sub/foo.h
31124 + # sub/foo.c:
31125 + # sub/foo.h:
31126 + # ICC 7.1 will output
31127 + # foo.o: sub/foo.c sub/foo.h
31128 + # and will wrap long lines using \ :
31129 + # foo.o: sub/foo.c ... \
31130 + # sub/foo.h ... \
31131 + # ...
31132 +
31133 + "$@" -MD -MF "$tmpdepfile"
31134 + stat=$?
31135 + if test $stat -eq 0; then :
31136 + else
31137 + rm -f "$tmpdepfile"
31138 + exit $stat
31139 + fi
31140 + rm -f "$depfile"
31141 + # Each line is of the form `foo.o: dependent.h',
31142 + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
31143 + # Do two passes, one to just change these to
31144 + # `$object: dependent.h' and one to simply `dependent.h:'.
31145 + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
31146 + # Some versions of the HPUX 10.20 sed can't process this invocation
31147 + # correctly. Breaking it into two sed invocations is a workaround.
31148 + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
31149 + sed -e 's/$/ :/' >> "$depfile"
31150 + rm -f "$tmpdepfile"
31151 + ;;
31152 +
31153 +tru64)
31154 + # The Tru64 compiler uses -MD to generate dependencies as a side
31155 + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
31156 + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
31157 + # dependencies in `foo.d' instead, so we check for that too.
31158 + # Subdirectories are respected.
31159 + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
31160 + test "x$dir" = "x$object" && dir=
31161 + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
31162 +
31163 + if test "$libtool" = yes; then
31164 + # With Tru64 cc, shared objects can also be used to make a
31165 + # static library. This mecanism is used in libtool 1.4 series to
31166 + # handle both shared and static libraries in a single compilation.
31167 + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
31168 + #
31169 + # With libtool 1.5 this exception was removed, and libtool now
31170 + # generates 2 separate objects for the 2 libraries. These two
31171 + # compilations output dependencies in in $dir.libs/$base.o.d and
31172 + # in $dir$base.o.d. We have to check for both files, because
31173 + # one of the two compilations can be disabled. We should prefer
31174 + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
31175 + # automatically cleaned when .libs/ is deleted, while ignoring
31176 + # the former would cause a distcleancheck panic.
31177 + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
31178 + tmpdepfile2=$dir$base.o.d # libtool 1.5
31179 + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
31180 + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
31181 + "$@" -Wc,-MD
31182 + else
31183 + tmpdepfile1=$dir$base.o.d
31184 + tmpdepfile2=$dir$base.d
31185 + tmpdepfile3=$dir$base.d
31186 + tmpdepfile4=$dir$base.d
31187 + "$@" -MD
31188 + fi
31189 +
31190 + stat=$?
31191 + if test $stat -eq 0; then :
31192 + else
31193 + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
31194 + exit $stat
31195 + fi
31196 +
31197 + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
31198 + do
31199 + test -f "$tmpdepfile" && break
31200 + done
31201 + if test -f "$tmpdepfile"; then
31202 + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
31203 + # That's a tab and a space in the [].
31204 + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
31205 + else
31206 + echo "#dummy" > "$depfile"
31207 + fi
31208 + rm -f "$tmpdepfile"
31209 + ;;
31210 +
31211 +#nosideeffect)
31212 + # This comment above is used by automake to tell side-effect
31213 + # dependency tracking mechanisms from slower ones.
31214 +
31215 +dashmstdout)
31216 + # Important note: in order to support this mode, a compiler *must*
31217 + # always write the preprocessed file to stdout, regardless of -o.
31218 + "$@" || exit $?
31219 +
31220 + # Remove the call to Libtool.
31221 + if test "$libtool" = yes; then
31222 + while test $1 != '--mode=compile'; do
31223 + shift
31224 + done
31225 + shift
31226 + fi
31227 +
31228 + # Remove `-o $object'.
31229 + IFS=" "
31230 + for arg
31231 + do
31232 + case $arg in
31233 + -o)
31234 + shift
31235 + ;;
31236 + $object)
31237 + shift
31238 + ;;
31239 + *)
31240 + set fnord "$@" "$arg"
31241 + shift # fnord
31242 + shift # $arg
31243 + ;;
31244 + esac
31245 + done
31246 +
31247 + test -z "$dashmflag" && dashmflag=-M
31248 + # Require at least two characters before searching for `:'
31249 + # in the target name. This is to cope with DOS-style filenames:
31250 + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
31251 + "$@" $dashmflag |
31252 + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
31253 + rm -f "$depfile"
31254 + cat < "$tmpdepfile" > "$depfile"
31255 + tr ' ' '
31256 +' < "$tmpdepfile" | \
31257 +## Some versions of the HPUX 10.20 sed can't process this invocation
31258 +## correctly. Breaking it into two sed invocations is a workaround.
31259 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
31260 + rm -f "$tmpdepfile"
31261 + ;;
31262 +
31263 +dashXmstdout)
31264 + # This case only exists to satisfy depend.m4. It is never actually
31265 + # run, as this mode is specially recognized in the preamble.
31266 + exit 1
31267 + ;;
31268 +
31269 +makedepend)
31270 + "$@" || exit $?
31271 + # Remove any Libtool call
31272 + if test "$libtool" = yes; then
31273 + while test $1 != '--mode=compile'; do
31274 + shift
31275 + done
31276 + shift
31277 + fi
31278 + # X makedepend
31279 + shift
31280 + cleared=no
31281 + for arg in "$@"; do
31282 + case $cleared in
31283 + no)
31284 + set ""; shift
31285 + cleared=yes ;;
31286 + esac
31287 + case "$arg" in
31288 + -D*|-I*)
31289 + set fnord "$@" "$arg"; shift ;;
31290 + # Strip any option that makedepend may not understand. Remove
31291 + # the object too, otherwise makedepend will parse it as a source file.
31292 + -*|$object)
31293 + ;;
31294 + *)
31295 + set fnord "$@" "$arg"; shift ;;
31296 + esac
31297 + done
31298 + obj_suffix="`echo $object | sed 's/^.*\././'`"
31299 + touch "$tmpdepfile"
31300 + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
31301 + rm -f "$depfile"
31302 + cat < "$tmpdepfile" > "$depfile"
31303 + sed '1,2d' "$tmpdepfile" | tr ' ' '
31304 +' | \
31305 +## Some versions of the HPUX 10.20 sed can't process this invocation
31306 +## correctly. Breaking it into two sed invocations is a workaround.
31307 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
31308 + rm -f "$tmpdepfile" "$tmpdepfile".bak
31309 + ;;
31310 +
31311 +cpp)
31312 + # Important note: in order to support this mode, a compiler *must*
31313 + # always write the preprocessed file to stdout.
31314 + "$@" || exit $?
31315 +
31316 + # Remove the call to Libtool.
31317 + if test "$libtool" = yes; then
31318 + while test $1 != '--mode=compile'; do
31319 + shift
31320 + done
31321 + shift
31322 + fi
31323 +
31324 + # Remove `-o $object'.
31325 + IFS=" "
31326 + for arg
31327 + do
31328 + case $arg in
31329 + -o)
31330 + shift
31331 + ;;
31332 + $object)
31333 + shift
31334 + ;;
31335 + *)
31336 + set fnord "$@" "$arg"
31337 + shift # fnord
31338 + shift # $arg
31339 + ;;
31340 + esac
31341 + done
31342 +
31343 + "$@" -E |
31344 + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
31345 + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
31346 + sed '$ s: \\$::' > "$tmpdepfile"
31347 + rm -f "$depfile"
31348 + echo "$object : \\" > "$depfile"
31349 + cat < "$tmpdepfile" >> "$depfile"
31350 + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
31351 + rm -f "$tmpdepfile"
31352 + ;;
31353 +
31354 +msvisualcpp)
31355 + # Important note: in order to support this mode, a compiler *must*
31356 + # always write the preprocessed file to stdout, regardless of -o,
31357 + # because we must use -o when running libtool.
31358 + "$@" || exit $?
31359 + IFS=" "
31360 + for arg
31361 + do
31362 + case "$arg" in
31363 + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
31364 + set fnord "$@"
31365 + shift
31366 + shift
31367 + ;;
31368 + *)
31369 + set fnord "$@" "$arg"
31370 + shift
31371 + shift
31372 + ;;
31373 + esac
31374 + done
31375 + "$@" -E |
31376 + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
31377 + rm -f "$depfile"
31378 + echo "$object : \\" > "$depfile"
31379 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
31380 + echo " " >> "$depfile"
31381 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
31382 + rm -f "$tmpdepfile"
31383 + ;;
31384 +
31385 +none)
31386 + exec "$@"
31387 + ;;
31388 +
31389 +*)
31390 + echo "Unknown depmode $depmode" 1>&2
31391 + exit 1
31392 + ;;
31393 +esac
31394 +
31395 +exit 0
31396 +
31397 +# Local Variables:
31398 +# mode: shell-script
31399 +# sh-indentation: 2
31400 +# eval: (add-hook 'write-file-hooks 'time-stamp)
31401 +# time-stamp-start: "scriptversion="
31402 +# time-stamp-format: "%:y-%02m-%02d.%02H"
31403 +# time-stamp-end: "$"
31404 +# End:
31405 Index: linux-atm-2.4.1/doc/Makefile.in
31406 ===================================================================
31407 --- linux-atm-2.4.1.orig/doc/Makefile.in 2007-10-20 19:19:17.606631822 +0200
31408 +++ linux-atm-2.4.1/doc/Makefile.in 2007-10-20 19:19:19.586744666 +0200
31409 @@ -1,6 +1,8 @@
31410 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
31411 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
31412 +# @configure_input@
31413
31414 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
31415 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
31416 +# 2003, 2004, 2005 Free Software Foundation, Inc.
31417 # This Makefile.in is free software; the Free Software Foundation
31418 # gives unlimited permission to copy and/or distribute it,
31419 # with or without modifications, as long as this notice is preserved.
31420 @@ -10,198 +12,310 @@
31421 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
31422 # PARTICULAR PURPOSE.
31423
31424 -
31425 -SHELL = @SHELL@
31426 -
31427 +@SET_MAKE@
31428 srcdir = @srcdir@
31429 top_srcdir = @top_srcdir@
31430 VPATH = @srcdir@
31431 -prefix = @prefix@
31432 -exec_prefix = @exec_prefix@
31433 -
31434 -bindir = @bindir@
31435 -sbindir = @sbindir@
31436 -libexecdir = @libexecdir@
31437 -datadir = @datadir@
31438 -sysconfdir = @sysconfdir@
31439 -sharedstatedir = @sharedstatedir@
31440 -localstatedir = @localstatedir@
31441 -libdir = @libdir@
31442 -infodir = @infodir@
31443 -mandir = @mandir@
31444 -includedir = @includedir@
31445 -oldincludedir = /usr/include
31446 -
31447 -DESTDIR =
31448 -
31449 pkgdatadir = $(datadir)/@PACKAGE@
31450 pkglibdir = $(libdir)/@PACKAGE@
31451 pkgincludedir = $(includedir)/@PACKAGE@
31452 -
31453 top_builddir = ..
31454 -
31455 -ACLOCAL = @ACLOCAL@
31456 -AUTOCONF = @AUTOCONF@
31457 -AUTOMAKE = @AUTOMAKE@
31458 -AUTOHEADER = @AUTOHEADER@
31459 -
31460 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
31461 INSTALL = @INSTALL@
31462 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
31463 -INSTALL_DATA = @INSTALL_DATA@
31464 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
31465 -transform = @program_transform_name@
31466 -
31467 +install_sh_DATA = $(install_sh) -c -m 644
31468 +install_sh_PROGRAM = $(install_sh) -c
31469 +install_sh_SCRIPT = $(install_sh) -c
31470 +INSTALL_HEADER = $(INSTALL_DATA)
31471 +transform = $(program_transform_name)
31472 NORMAL_INSTALL = :
31473 PRE_INSTALL = :
31474 POST_INSTALL = :
31475 NORMAL_UNINSTALL = :
31476 PRE_UNINSTALL = :
31477 POST_UNINSTALL = :
31478 -build_alias = @build_alias@
31479 build_triplet = @build@
31480 -host_alias = @host_alias@
31481 host_triplet = @host@
31482 -target_alias = @target_alias@
31483 target_triplet = @target@
31484 +subdir = doc
31485 +DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
31486 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
31487 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
31488 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
31489 + $(ACLOCAL_M4)
31490 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
31491 +CONFIG_HEADER = $(top_builddir)/config.h
31492 +CONFIG_CLEAN_FILES =
31493 +SOURCES =
31494 +DIST_SOURCES =
31495 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
31496 +ACLOCAL = @ACLOCAL@
31497 +AMDEP_FALSE = @AMDEP_FALSE@
31498 +AMDEP_TRUE = @AMDEP_TRUE@
31499 +AMTAR = @AMTAR@
31500 AR = @AR@
31501 -AS = @AS@
31502 +AUTOCONF = @AUTOCONF@
31503 +AUTOHEADER = @AUTOHEADER@
31504 +AUTOMAKE = @AUTOMAKE@
31505 +AWK = @AWK@
31506 CC = @CC@
31507 +CCDEPMODE = @CCDEPMODE@
31508 +CFLAGS = @CFLAGS@
31509 +CPP = @CPP@
31510 +CPPFLAGS = @CPPFLAGS@
31511 CXX = @CXX@
31512 CXXCPP = @CXXCPP@
31513 -DLLTOOL = @DLLTOOL@
31514 +CXXDEPMODE = @CXXDEPMODE@
31515 +CXXFLAGS = @CXXFLAGS@
31516 +CYGPATH_W = @CYGPATH_W@
31517 +DEFS = @DEFS@
31518 +DEPDIR = @DEPDIR@
31519 ECHO = @ECHO@
31520 +ECHO_C = @ECHO_C@
31521 +ECHO_N = @ECHO_N@
31522 +ECHO_T = @ECHO_T@
31523 EGREP = @EGREP@
31524 EXEEXT = @EXEEXT@
31525 F77 = @F77@
31526 -GCJ = @GCJ@
31527 -GCJFLAGS = @GCJFLAGS@
31528 -HAVE_LIB = @HAVE_LIB@
31529 +FFLAGS = @FFLAGS@
31530 +GREP = @GREP@
31531 +INSTALL_DATA = @INSTALL_DATA@
31532 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
31533 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
31534 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
31535 +LDFLAGS = @LDFLAGS@
31536 LEX = @LEX@
31537 -LIB = @LIB@
31538 +LEXLIB = @LEXLIB@
31539 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
31540 +LIBOBJS = @LIBOBJS@
31541 +LIBS = @LIBS@
31542 LIBTOOL = @LIBTOOL@
31543 LIBTOOL_DEPS = @LIBTOOL_DEPS@
31544 LIBVER_AGE = @LIBVER_AGE@
31545 LIBVER_CURRENT = @LIBVER_CURRENT@
31546 LIBVER_REVISION = @LIBVER_REVISION@
31547 LN_S = @LN_S@
31548 -LTLIB = @LTLIB@
31549 +LTLIBOBJS = @LTLIBOBJS@
31550 MAKEINFO = @MAKEINFO@
31551 -OBJDUMP = @OBJDUMP@
31552 OBJEXT = @OBJEXT@
31553 PACKAGE = @PACKAGE@
31554 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
31555 +PACKAGE_NAME = @PACKAGE_NAME@
31556 +PACKAGE_STRING = @PACKAGE_STRING@
31557 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
31558 +PACKAGE_VERSION = @PACKAGE_VERSION@
31559 +PATH_SEPARATOR = @PATH_SEPARATOR@
31560 PERL = @PERL@
31561 RANLIB = @RANLIB@
31562 -RC = @RC@
31563 +SET_MAKE = @SET_MAKE@
31564 +SHELL = @SHELL@
31565 STRIP = @STRIP@
31566 VERSION = @VERSION@
31567 YACC = @YACC@
31568 -
31569 +YFLAGS = @YFLAGS@
31570 +ac_ct_CC = @ac_ct_CC@
31571 +ac_ct_CXX = @ac_ct_CXX@
31572 +ac_ct_F77 = @ac_ct_F77@
31573 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
31574 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
31575 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
31576 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
31577 +am__include = @am__include@
31578 +am__leading_dot = @am__leading_dot@
31579 +am__quote = @am__quote@
31580 +am__tar = @am__tar@
31581 +am__untar = @am__untar@
31582 +bindir = @bindir@
31583 +build = @build@
31584 +build_alias = @build_alias@
31585 +build_cpu = @build_cpu@
31586 +build_os = @build_os@
31587 +build_vendor = @build_vendor@
31588 +datadir = @datadir@
31589 +datarootdir = @datarootdir@
31590 +docdir = @docdir@
31591 +dvidir = @dvidir@
31592 +exec_prefix = @exec_prefix@
31593 +host = @host@
31594 +host_alias = @host_alias@
31595 +host_cpu = @host_cpu@
31596 +host_os = @host_os@
31597 +host_vendor = @host_vendor@
31598 +htmldir = @htmldir@
31599 +includedir = @includedir@
31600 +infodir = @infodir@
31601 +install_sh = @install_sh@
31602 +libdir = @libdir@
31603 +libexecdir = @libexecdir@
31604 +localedir = @localedir@
31605 +localstatedir = @localstatedir@
31606 +mandir = @mandir@
31607 +mkdir_p = @mkdir_p@
31608 +oldincludedir = @oldincludedir@
31609 +pdfdir = @pdfdir@
31610 +prefix = @prefix@
31611 +program_transform_name = @program_transform_name@
31612 +psdir = @psdir@
31613 +sbindir = @sbindir@
31614 +sharedstatedir = @sharedstatedir@
31615 +sysconfdir = @sysconfdir@
31616 +target = @target@
31617 +target_alias = @target_alias@
31618 +target_cpu = @target_cpu@
31619 +target_os = @target_os@
31620 +target_vendor = @target_vendor@
31621 EXTRA_DIST = README.CLP README.tc atm-linux-howto.sgml atm-linux-howto.txt
31622 -
31623 HOWTO = atm-linux-howto.sgml
31624 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
31625 -CONFIG_HEADER = ../config.h
31626 -CONFIG_CLEAN_FILES =
31627 -DIST_COMMON = README Makefile.am Makefile.in
31628 -
31629 +all: all-am
31630
31631 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
31632 -
31633 -TAR = tar
31634 -GZIP_ENV = --best
31635 -all: all-redirect
31636 .SUFFIXES:
31637 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
31638 - cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile
31639 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
31640 + @for dep in $?; do \
31641 + case '$(am__configure_deps)' in \
31642 + *$$dep*) \
31643 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
31644 + && exit 0; \
31645 + exit 1;; \
31646 + esac; \
31647 + done; \
31648 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
31649 + cd $(top_srcdir) && \
31650 + $(AUTOMAKE) --gnu doc/Makefile
31651 +.PRECIOUS: Makefile
31652 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
31653 + @case '$?' in \
31654 + *config.status*) \
31655 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
31656 + *) \
31657 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
31658 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
31659 + esac;
31660 +
31661 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
31662 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
31663 +
31664 +$(top_srcdir)/configure: $(am__configure_deps)
31665 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
31666 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
31667 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
31668 +
31669 +mostlyclean-libtool:
31670 + -rm -f *.lo
31671
31672 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
31673 - cd $(top_builddir) \
31674 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
31675 +clean-libtool:
31676 + -rm -rf .libs _libs
31677
31678 +distclean-libtool:
31679 + -rm -f libtool
31680 +uninstall-info-am:
31681 tags: TAGS
31682 TAGS:
31683
31684 +ctags: CTAGS
31685 +CTAGS:
31686
31687 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
31688 -
31689 -subdir = doc
31690
31691 distdir: $(DISTFILES)
31692 - here=`cd $(top_builddir) && pwd`; \
31693 - top_distdir=`cd $(top_distdir) && pwd`; \
31694 - distdir=`cd $(distdir) && pwd`; \
31695 - cd $(top_srcdir) \
31696 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile
31697 - @for file in $(DISTFILES); do \
31698 - d=$(srcdir); \
31699 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
31700 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
31701 + list='$(DISTFILES)'; for file in $$list; do \
31702 + case $$file in \
31703 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
31704 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
31705 + esac; \
31706 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
31707 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
31708 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
31709 + dir="/$$dir"; \
31710 + $(mkdir_p) "$(distdir)$$dir"; \
31711 + else \
31712 + dir=''; \
31713 + fi; \
31714 if test -d $$d/$$file; then \
31715 - cp -pr $$d/$$file $(distdir)/$$file; \
31716 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
31717 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
31718 + fi; \
31719 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
31720 else \
31721 test -f $(distdir)/$$file \
31722 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
31723 - || cp -p $$d/$$file $(distdir)/$$file || :; \
31724 + || cp -p $$d/$$file $(distdir)/$$file \
31725 + || exit 1; \
31726 fi; \
31727 done
31728 -info-am:
31729 -info: info-am
31730 -dvi-am:
31731 -dvi: dvi-am
31732 check-am: all-am
31733 check: check-am
31734 -installcheck-am:
31735 -installcheck: installcheck-am
31736 -install-exec-am:
31737 +all-am: Makefile
31738 +installdirs:
31739 +install: install-am
31740 install-exec: install-exec-am
31741 -
31742 -install-data-am:
31743 install-data: install-data-am
31744 +uninstall: uninstall-am
31745
31746 install-am: all-am
31747 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
31748 -install: install-am
31749 -uninstall-am:
31750 -uninstall: uninstall-am
31751 -all-am: Makefile
31752 -all-redirect: all-am
31753 -install-strip:
31754 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
31755 -installdirs:
31756 -
31757
31758 +installcheck: installcheck-am
31759 +install-strip:
31760 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
31761 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
31762 + `test -z '$(STRIP)' || \
31763 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
31764 mostlyclean-generic:
31765
31766 clean-generic:
31767
31768 distclean-generic:
31769 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
31770 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
31771 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
31772
31773 maintainer-clean-generic:
31774 -mostlyclean-am: mostlyclean-generic
31775 + @echo "This command is intended for maintainers to use"
31776 + @echo "it deletes files that may require special tools to rebuild."
31777 +clean-am: clean-generic clean-libtool mostlyclean-am
31778
31779 -mostlyclean: mostlyclean-am
31780 +distclean: distclean-am
31781 + -rm -f Makefile
31782 +distclean-am: clean-am distclean-generic distclean-libtool
31783
31784 -clean-am: clean-generic mostlyclean-am
31785 +dvi: dvi-am
31786
31787 -clean: clean-am
31788 +dvi-am:
31789
31790 -distclean-am: distclean-generic clean-am
31791 - -rm -f libtool
31792 +info: info-am
31793
31794 -distclean: distclean-am
31795 +info-am:
31796
31797 -maintainer-clean-am: maintainer-clean-generic distclean-am
31798 - @echo "This command is intended for maintainers to use;"
31799 - @echo "it deletes files that may require special tools to rebuild."
31800 +install-data-am:
31801 +
31802 +install-exec-am:
31803 +
31804 +install-info: install-info-am
31805 +
31806 +install-man:
31807 +
31808 +installcheck-am:
31809
31810 maintainer-clean: maintainer-clean-am
31811 + -rm -f Makefile
31812 +maintainer-clean-am: distclean-am maintainer-clean-generic
31813
31814 -.PHONY: tags distdir info-am info dvi-am dvi check check-am \
31815 -installcheck-am installcheck install-exec-am install-exec \
31816 -install-data-am install-data install-am install uninstall-am uninstall \
31817 -all-redirect all-am all installdirs mostlyclean-generic \
31818 -distclean-generic clean-generic maintainer-clean-generic clean \
31819 -mostlyclean distclean maintainer-clean
31820 +mostlyclean: mostlyclean-am
31821 +
31822 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
31823 +
31824 +pdf-am:
31825 +
31826 +ps-am:
31827 +
31828 +uninstall-am: uninstall-info-am
31829 +
31830 +.PHONY: all all-am check check-am clean clean-generic clean-libtool \
31831 + distclean distclean-generic distclean-libtool distdir dvi \
31832 + dvi-am html html-am info info-am install install-am \
31833 + install-data install-data-am install-exec install-exec-am \
31834 + install-info install-info-am install-man install-strip \
31835 + installcheck installcheck-am installdirs maintainer-clean \
31836 + maintainer-clean-generic mostlyclean mostlyclean-generic \
31837 + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
31838 + uninstall-info-am
31839
31840
31841 atm-linux-howto/atm-linux-howto.html: ${HOWTO}
31842 @@ -231,7 +345,6 @@
31843
31844 clean:
31845 -rm -rf atm-linux-howto/ *.ps *.pdf *.rtf *.out
31846 -
31847 # Tell versions [3.59,3.63) of GNU make to not export all variables.
31848 # Otherwise a system limit (for SysV at least) may be exceeded.
31849 .NOEXPORT:
31850 Index: linux-atm-2.4.1/ltmain.sh
31851 ===================================================================
31852 --- linux-atm-2.4.1.orig/ltmain.sh 2007-10-20 19:19:11.774299458 +0200
31853 +++ linux-atm-2.4.1/ltmain.sh 2007-10-20 19:19:19.598745350 +0200
31854 @@ -1,7 +1,7 @@
31855 # ltmain.sh - Provide generalized library-building support services.
31856 # NOTE: Changing this file will not affect anything until you rerun configure.
31857 #
31858 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
31859 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
31860 # Free Software Foundation, Inc.
31861 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
31862 #
31863 @@ -17,13 +17,41 @@
31864 #
31865 # You should have received a copy of the GNU General Public License
31866 # along with this program; if not, write to the Free Software
31867 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
31868 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
31869 #
31870 # As a special exception to the GNU General Public License, if you
31871 # distribute this file as part of a program that contains a
31872 # configuration script generated by Autoconf, you may include it under
31873 # the same distribution terms that you use for the rest of that program.
31874
31875 +basename="s,^.*/,,g"
31876 +
31877 +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
31878 +# is ksh but when the shell is invoked as "sh" and the current value of
31879 +# the _XPG environment variable is not equal to 1 (one), the special
31880 +# positional parameter $0, within a function call, is the name of the
31881 +# function.
31882 +progpath="$0"
31883 +
31884 +# The name of this program:
31885 +progname=`echo "$progpath" | $SED $basename`
31886 +modename="$progname"
31887 +
31888 +# Global variables:
31889 +EXIT_SUCCESS=0
31890 +EXIT_FAILURE=1
31891 +
31892 +PROGRAM=ltmain.sh
31893 +PACKAGE=libtool
31894 +VERSION="1.5.22 Debian 1.5.22-4"
31895 +TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
31896 +
31897 +# See if we are running on zsh, and set the options which allow our
31898 +# commands through without removal of \ escapes.
31899 +if test -n "${ZSH_VERSION+set}" ; then
31900 + setopt NO_GLOB_SUBST
31901 +fi
31902 +
31903 # Check that we have a working $echo.
31904 if test "X$1" = X--no-reexec; then
31905 # Discard the --no-reexec flag, and continue.
31906 @@ -36,7 +64,7 @@
31907 :
31908 else
31909 # Restart under the correct shell, and then maybe $echo will work.
31910 - exec $SHELL "$0" --no-reexec ${1+"$@"}
31911 + exec $SHELL "$progpath" --no-reexec ${1+"$@"}
31912 fi
31913
31914 if test "X$1" = X--fallback-echo; then
31915 @@ -45,19 +73,9 @@
31916 cat <<EOF
31917 $*
31918 EOF
31919 - exit 0
31920 + exit $EXIT_SUCCESS
31921 fi
31922
31923 -# The name of this program.
31924 -progname=`$echo "$0" | ${SED} 's%^.*/%%'`
31925 -modename="$progname"
31926 -
31927 -# Constants.
31928 -PROGRAM=ltmain.sh
31929 -PACKAGE=libtool
31930 -VERSION=1.4.3
31931 -TIMESTAMP=" (1.922.2.111 2002/10/23 02:54:36)"
31932 -
31933 default_mode=
31934 help="Try \`$progname --help' for more information."
31935 magic="%%%MAGIC variable%%%"
31936 @@ -69,17 +87,18 @@
31937 # metacharacters that are still active within double-quoted strings.
31938 Xsed="${SED}"' -e 1s/^X//'
31939 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
31940 -# test EBCDIC or ASCII
31941 -case `echo A|od -x` in
31942 - *[Cc]1*) # EBCDIC based system
31943 - SP2NL="tr '\100' '\n'"
31944 - NL2SP="tr '\r\n' '\100\100'"
31945 - ;;
31946 - *) # Assume ASCII based system
31947 - SP2NL="tr '\040' '\012'"
31948 - NL2SP="tr '\015\012' '\040\040'"
31949 - ;;
31950 -esac
31951 +# test EBCDIC or ASCII
31952 +case `echo X|tr X '\101'` in
31953 + A) # ASCII based system
31954 + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
31955 + SP2NL='tr \040 \012'
31956 + NL2SP='tr \015\012 \040\040'
31957 + ;;
31958 + *) # EBCDIC based system
31959 + SP2NL='tr \100 \n'
31960 + NL2SP='tr \r\n \100\100'
31961 + ;;
31962 +esac
31963
31964 # NLS nuisances.
31965 # Only set LANG and LC_ALL to C if already set.
31966 @@ -94,12 +113,14 @@
31967 fi
31968
31969 # Make sure IFS has a sensible default
31970 -: ${IFS=" "}
31971 +lt_nl='
31972 +'
31973 +IFS=" $lt_nl"
31974
31975 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
31976 - echo "$modename: not configured to build any kind of library" 1>&2
31977 - echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
31978 - exit 1
31979 + $echo "$modename: not configured to build any kind of library" 1>&2
31980 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
31981 + exit $EXIT_FAILURE
31982 fi
31983
31984 # Global variables.
31985 @@ -111,11 +132,268 @@
31986 show="$echo"
31987 show_help=
31988 execute_dlfiles=
31989 +duplicate_deps=no
31990 +preserve_args=
31991 lo2o="s/\\.lo\$/.${objext}/"
31992 o2lo="s/\\.${objext}\$/.lo/"
31993
31994 +#####################################
31995 +# Shell function definitions:
31996 +# This seems to be the best place for them
31997 +
31998 +# func_mktempdir [string]
31999 +# Make a temporary directory that won't clash with other running
32000 +# libtool processes, and avoids race conditions if possible. If
32001 +# given, STRING is the basename for that directory.
32002 +func_mktempdir ()
32003 +{
32004 + my_template="${TMPDIR-/tmp}/${1-$progname}"
32005 +
32006 + if test "$run" = ":"; then
32007 + # Return a directory name, but don't create it in dry-run mode
32008 + my_tmpdir="${my_template}-$$"
32009 + else
32010 +
32011 + # If mktemp works, use that first and foremost
32012 + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
32013 +
32014 + if test ! -d "$my_tmpdir"; then
32015 + # Failing that, at least try and use $RANDOM to avoid a race
32016 + my_tmpdir="${my_template}-${RANDOM-0}$$"
32017 +
32018 + save_mktempdir_umask=`umask`
32019 + umask 0077
32020 + $mkdir "$my_tmpdir"
32021 + umask $save_mktempdir_umask
32022 + fi
32023 +
32024 + # If we're not in dry-run mode, bomb out on failure
32025 + test -d "$my_tmpdir" || {
32026 + $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
32027 + exit $EXIT_FAILURE
32028 + }
32029 + fi
32030 +
32031 + $echo "X$my_tmpdir" | $Xsed
32032 +}
32033 +
32034 +
32035 +# func_win32_libid arg
32036 +# return the library type of file 'arg'
32037 +#
32038 +# Need a lot of goo to handle *both* DLLs and import libs
32039 +# Has to be a shell function in order to 'eat' the argument
32040 +# that is supplied when $file_magic_command is called.
32041 +func_win32_libid ()
32042 +{
32043 + win32_libid_type="unknown"
32044 + win32_fileres=`file -L $1 2>/dev/null`
32045 + case $win32_fileres in
32046 + *ar\ archive\ import\ library*) # definitely import
32047 + win32_libid_type="x86 archive import"
32048 + ;;
32049 + *ar\ archive*) # could be an import, or static
32050 + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
32051 + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
32052 + win32_nmres=`eval $NM -f posix -A $1 | \
32053 + $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
32054 + case $win32_nmres in
32055 + import*) win32_libid_type="x86 archive import";;
32056 + *) win32_libid_type="x86 archive static";;
32057 + esac
32058 + fi
32059 + ;;
32060 + *DLL*)
32061 + win32_libid_type="x86 DLL"
32062 + ;;
32063 + *executable*) # but shell scripts are "executable" too...
32064 + case $win32_fileres in
32065 + *MS\ Windows\ PE\ Intel*)
32066 + win32_libid_type="x86 DLL"
32067 + ;;
32068 + esac
32069 + ;;
32070 + esac
32071 + $echo $win32_libid_type
32072 +}
32073 +
32074 +
32075 +# func_infer_tag arg
32076 +# Infer tagged configuration to use if any are available and
32077 +# if one wasn't chosen via the "--tag" command line option.
32078 +# Only attempt this if the compiler in the base compile
32079 +# command doesn't match the default compiler.
32080 +# arg is usually of the form 'gcc ...'
32081 +func_infer_tag ()
32082 +{
32083 + if test -n "$available_tags" && test -z "$tagname"; then
32084 + CC_quoted=
32085 + for arg in $CC; do
32086 + case $arg in
32087 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32088 + arg="\"$arg\""
32089 + ;;
32090 + esac
32091 + CC_quoted="$CC_quoted $arg"
32092 + done
32093 + case $@ in
32094 + # Blanks in the command may have been stripped by the calling shell,
32095 + # but not from the CC environment variable when configure was run.
32096 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
32097 + # Blanks at the start of $base_compile will cause this to fail
32098 + # if we don't check for them as well.
32099 + *)
32100 + for z in $available_tags; do
32101 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
32102 + # Evaluate the configuration.
32103 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
32104 + CC_quoted=
32105 + for arg in $CC; do
32106 + # Double-quote args containing other shell metacharacters.
32107 + case $arg in
32108 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32109 + arg="\"$arg\""
32110 + ;;
32111 + esac
32112 + CC_quoted="$CC_quoted $arg"
32113 + done
32114 + case "$@ " in
32115 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
32116 + # The compiler in the base compile command matches
32117 + # the one in the tagged configuration.
32118 + # Assume this is the tagged configuration we want.
32119 + tagname=$z
32120 + break
32121 + ;;
32122 + esac
32123 + fi
32124 + done
32125 + # If $tagname still isn't set, then no tagged configuration
32126 + # was found and let the user know that the "--tag" command
32127 + # line option must be used.
32128 + if test -z "$tagname"; then
32129 + $echo "$modename: unable to infer tagged configuration"
32130 + $echo "$modename: specify a tag with \`--tag'" 1>&2
32131 + exit $EXIT_FAILURE
32132 +# else
32133 +# $echo "$modename: using $tagname tagged configuration"
32134 + fi
32135 + ;;
32136 + esac
32137 + fi
32138 +}
32139 +
32140 +
32141 +# func_extract_an_archive dir oldlib
32142 +func_extract_an_archive ()
32143 +{
32144 + f_ex_an_ar_dir="$1"; shift
32145 + f_ex_an_ar_oldlib="$1"
32146 +
32147 + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
32148 + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
32149 + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
32150 + :
32151 + else
32152 + $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
32153 + exit $EXIT_FAILURE
32154 + fi
32155 +}
32156 +
32157 +# func_extract_archives gentop oldlib ...
32158 +func_extract_archives ()
32159 +{
32160 + my_gentop="$1"; shift
32161 + my_oldlibs=${1+"$@"}
32162 + my_oldobjs=""
32163 + my_xlib=""
32164 + my_xabs=""
32165 + my_xdir=""
32166 + my_status=""
32167 +
32168 + $show "${rm}r $my_gentop"
32169 + $run ${rm}r "$my_gentop"
32170 + $show "$mkdir $my_gentop"
32171 + $run $mkdir "$my_gentop"
32172 + my_status=$?
32173 + if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
32174 + exit $my_status
32175 + fi
32176 +
32177 + for my_xlib in $my_oldlibs; do
32178 + # Extract the objects.
32179 + case $my_xlib in
32180 + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
32181 + *) my_xabs=`pwd`"/$my_xlib" ;;
32182 + esac
32183 + my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
32184 + my_xdir="$my_gentop/$my_xlib"
32185 +
32186 + $show "${rm}r $my_xdir"
32187 + $run ${rm}r "$my_xdir"
32188 + $show "$mkdir $my_xdir"
32189 + $run $mkdir "$my_xdir"
32190 + exit_status=$?
32191 + if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
32192 + exit $exit_status
32193 + fi
32194 + case $host in
32195 + *-darwin*)
32196 + $show "Extracting $my_xabs"
32197 + # Do not bother doing anything if just a dry run
32198 + if test -z "$run"; then
32199 + darwin_orig_dir=`pwd`
32200 + cd $my_xdir || exit $?
32201 + darwin_archive=$my_xabs
32202 + darwin_curdir=`pwd`
32203 + darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
32204 + darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
32205 + if test -n "$darwin_arches"; then
32206 + darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
32207 + darwin_arch=
32208 + $show "$darwin_base_archive has multiple architectures $darwin_arches"
32209 + for darwin_arch in $darwin_arches ; do
32210 + mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
32211 + lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
32212 + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
32213 + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
32214 + cd "$darwin_curdir"
32215 + $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
32216 + done # $darwin_arches
32217 + ## Okay now we have a bunch of thin objects, gotta fatten them up :)
32218 + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
32219 + darwin_file=
32220 + darwin_files=
32221 + for darwin_file in $darwin_filelist; do
32222 + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
32223 + lipo -create -output "$darwin_file" $darwin_files
32224 + done # $darwin_filelist
32225 + ${rm}r unfat-$$
32226 + cd "$darwin_orig_dir"
32227 + else
32228 + cd "$darwin_orig_dir"
32229 + func_extract_an_archive "$my_xdir" "$my_xabs"
32230 + fi # $darwin_arches
32231 + fi # $run
32232 + ;;
32233 + *)
32234 + func_extract_an_archive "$my_xdir" "$my_xabs"
32235 + ;;
32236 + esac
32237 + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
32238 + done
32239 + func_extract_archives_result="$my_oldobjs"
32240 +}
32241 +# End of Shell function definitions
32242 +#####################################
32243 +
32244 +# Darwin sucks
32245 +eval std_shrext=\"$shrext_cmds\"
32246 +
32247 +disable_libs=no
32248 +
32249 # Parse our command line options once, thoroughly.
32250 -while test $# -gt 0
32251 +while test "$#" -gt 0
32252 do
32253 arg="$1"
32254 shift
32255 @@ -131,6 +409,34 @@
32256 execute_dlfiles)
32257 execute_dlfiles="$execute_dlfiles $arg"
32258 ;;
32259 + tag)
32260 + tagname="$arg"
32261 + preserve_args="${preserve_args}=$arg"
32262 +
32263 + # Check whether tagname contains only valid characters
32264 + case $tagname in
32265 + *[!-_A-Za-z0-9,/]*)
32266 + $echo "$progname: invalid tag name: $tagname" 1>&2
32267 + exit $EXIT_FAILURE
32268 + ;;
32269 + esac
32270 +
32271 + case $tagname in
32272 + CC)
32273 + # Don't test for the "default" C tag, as we know, it's there, but
32274 + # not specially marked.
32275 + ;;
32276 + *)
32277 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
32278 + taglist="$taglist $tagname"
32279 + # Evaluate the configuration.
32280 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
32281 + else
32282 + $echo "$progname: ignoring unknown tag $tagname" 1>&2
32283 + fi
32284 + ;;
32285 + esac
32286 + ;;
32287 *)
32288 eval "$prev=\$arg"
32289 ;;
32290 @@ -148,18 +454,27 @@
32291 ;;
32292
32293 --version)
32294 - echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
32295 - exit 0
32296 + $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
32297 + $echo
32298 + $echo "Copyright (C) 2005 Free Software Foundation, Inc."
32299 + $echo "This is free software; see the source for copying conditions. There is NO"
32300 + $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
32301 + exit $?
32302 ;;
32303
32304 --config)
32305 - ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
32306 - exit 0
32307 + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
32308 + # Now print the configurations for the tags.
32309 + for tagname in $taglist; do
32310 + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
32311 + done
32312 + exit $?
32313 ;;
32314
32315 --debug)
32316 - echo "$progname: enabling shell trace mode"
32317 + $echo "$progname: enabling shell trace mode"
32318 set -x
32319 + preserve_args="$preserve_args $arg"
32320 ;;
32321
32322 --dry-run | -n)
32323 @@ -167,18 +482,18 @@
32324 ;;
32325
32326 --features)
32327 - echo "host: $host"
32328 + $echo "host: $host"
32329 if test "$build_libtool_libs" = yes; then
32330 - echo "enable shared libraries"
32331 + $echo "enable shared libraries"
32332 else
32333 - echo "disable shared libraries"
32334 + $echo "disable shared libraries"
32335 fi
32336 if test "$build_old_libs" = yes; then
32337 - echo "enable static libraries"
32338 + $echo "enable static libraries"
32339 else
32340 - echo "disable static libraries"
32341 + $echo "disable static libraries"
32342 fi
32343 - exit 0
32344 + exit $?
32345 ;;
32346
32347 --finish) mode="finish" ;;
32348 @@ -190,6 +505,19 @@
32349
32350 --quiet | --silent)
32351 show=:
32352 + preserve_args="$preserve_args $arg"
32353 + ;;
32354 +
32355 + --tag)
32356 + prevopt="--tag"
32357 + prev=tag
32358 + preserve_args="$preserve_args --tag"
32359 + ;;
32360 + --tag=*)
32361 + set tag "$optarg" ${1+"$@"}
32362 + shift
32363 + prev=tag
32364 + preserve_args="$preserve_args --tag"
32365 ;;
32366
32367 -dlopen)
32368 @@ -200,7 +528,7 @@
32369 -*)
32370 $echo "$modename: unrecognized option \`$arg'" 1>&2
32371 $echo "$help" 1>&2
32372 - exit 1
32373 + exit $EXIT_FAILURE
32374 ;;
32375
32376 *)
32377 @@ -213,9 +541,21 @@
32378 if test -n "$prevopt"; then
32379 $echo "$modename: option \`$prevopt' requires an argument" 1>&2
32380 $echo "$help" 1>&2
32381 - exit 1
32382 + exit $EXIT_FAILURE
32383 fi
32384
32385 +case $disable_libs in
32386 +no)
32387 + ;;
32388 +shared)
32389 + build_libtool_libs=no
32390 + build_old_libs=yes
32391 + ;;
32392 +static)
32393 + build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
32394 + ;;
32395 +esac
32396 +
32397 # If this variable is set in any of the actions, the command in it
32398 # will be execed at the end. This prevents here-documents from being
32399 # left over by shells.
32400 @@ -225,8 +565,10 @@
32401
32402 # Infer the operation mode.
32403 if test -z "$mode"; then
32404 + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
32405 + $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
32406 case $nonopt in
32407 - *cc | *++ | gcc* | *-gcc* | g++* | xlc*)
32408 + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
32409 mode=link
32410 for arg
32411 do
32412 @@ -267,7 +609,7 @@
32413 if test -n "$execute_dlfiles" && test "$mode" != execute; then
32414 $echo "$modename: unrecognized option \`-dlopen'" 1>&2
32415 $echo "$help" 1>&2
32416 - exit 1
32417 + exit $EXIT_FAILURE
32418 fi
32419
32420 # Change the help message to a mode-specific one.
32421 @@ -281,158 +623,127 @@
32422 modename="$modename: compile"
32423 # Get the compilation command and the source file.
32424 base_compile=
32425 - prev=
32426 - lastarg=
32427 - srcfile="$nonopt"
32428 + srcfile="$nonopt" # always keep a non-empty value in "srcfile"
32429 + suppress_opt=yes
32430 suppress_output=
32431 + arg_mode=normal
32432 + libobj=
32433 + later=
32434
32435 - user_target=no
32436 for arg
32437 do
32438 - case $prev in
32439 - "") ;;
32440 - xcompiler)
32441 - # Aesthetically quote the previous argument.
32442 - prev=
32443 - lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
32444 -
32445 - case $arg in
32446 - # Double-quote args containing other shell metacharacters.
32447 - # Many Bourne shells cannot handle close brackets correctly
32448 - # in scan sets, so we specify it separately.
32449 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32450 - arg="\"$arg\""
32451 - ;;
32452 - esac
32453 -
32454 - # Add the previous argument to base_compile.
32455 - if test -z "$base_compile"; then
32456 - base_compile="$lastarg"
32457 - else
32458 - base_compile="$base_compile $lastarg"
32459 - fi
32460 - continue
32461 + case $arg_mode in
32462 + arg )
32463 + # do not "continue". Instead, add this to base_compile
32464 + lastarg="$arg"
32465 + arg_mode=normal
32466 ;;
32467 - esac
32468
32469 - # Accept any command-line options.
32470 - case $arg in
32471 - -o)
32472 - if test "$user_target" != "no"; then
32473 - $echo "$modename: you cannot specify \`-o' more than once" 1>&2
32474 - exit 1
32475 - fi
32476 - user_target=next
32477 - ;;
32478 -
32479 - -static)
32480 - build_old_libs=yes
32481 + target )
32482 + libobj="$arg"
32483 + arg_mode=normal
32484 continue
32485 ;;
32486
32487 - -prefer-pic)
32488 - pic_mode=yes
32489 - continue
32490 - ;;
32491 + normal )
32492 + # Accept any command-line options.
32493 + case $arg in
32494 + -o)
32495 + if test -n "$libobj" ; then
32496 + $echo "$modename: you cannot specify \`-o' more than once" 1>&2
32497 + exit $EXIT_FAILURE
32498 + fi
32499 + arg_mode=target
32500 + continue
32501 + ;;
32502
32503 - -prefer-non-pic)
32504 - pic_mode=no
32505 - continue
32506 - ;;
32507 + -static | -prefer-pic | -prefer-non-pic)
32508 + later="$later $arg"
32509 + continue
32510 + ;;
32511
32512 - -Xcompiler)
32513 - prev=xcompiler
32514 - continue
32515 - ;;
32516 + -no-suppress)
32517 + suppress_opt=no
32518 + continue
32519 + ;;
32520
32521 - -Wc,*)
32522 - args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
32523 - lastarg=
32524 - save_ifs="$IFS"; IFS=','
32525 - for arg in $args; do
32526 - IFS="$save_ifs"
32527 + -Xcompiler)
32528 + arg_mode=arg # the next one goes into the "base_compile" arg list
32529 + continue # The current "srcfile" will either be retained or
32530 + ;; # replaced later. I would guess that would be a bug.
32531 +
32532 + -Wc,*)
32533 + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
32534 + lastarg=
32535 + save_ifs="$IFS"; IFS=','
32536 + for arg in $args; do
32537 + IFS="$save_ifs"
32538
32539 - # Double-quote args containing other shell metacharacters.
32540 - # Many Bourne shells cannot handle close brackets correctly
32541 - # in scan sets, so we specify it separately.
32542 - case $arg in
32543 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32544 - arg="\"$arg\""
32545 - ;;
32546 - esac
32547 - lastarg="$lastarg $arg"
32548 - done
32549 - IFS="$save_ifs"
32550 - lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
32551 + # Double-quote args containing other shell metacharacters.
32552 + # Many Bourne shells cannot handle close brackets correctly
32553 + # in scan sets, so we specify it separately.
32554 + case $arg in
32555 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32556 + arg="\"$arg\""
32557 + ;;
32558 + esac
32559 + lastarg="$lastarg $arg"
32560 + done
32561 + IFS="$save_ifs"
32562 + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
32563
32564 - # Add the arguments to base_compile.
32565 - if test -z "$base_compile"; then
32566 - base_compile="$lastarg"
32567 - else
32568 + # Add the arguments to base_compile.
32569 base_compile="$base_compile $lastarg"
32570 - fi
32571 - continue
32572 - ;;
32573 - esac
32574 + continue
32575 + ;;
32576
32577 - case $user_target in
32578 - next)
32579 - # The next one is the -o target name
32580 - user_target=yes
32581 - continue
32582 - ;;
32583 - yes)
32584 - # We got the output file
32585 - user_target=set
32586 - libobj="$arg"
32587 - continue
32588 + * )
32589 + # Accept the current argument as the source file.
32590 + # The previous "srcfile" becomes the current argument.
32591 + #
32592 + lastarg="$srcfile"
32593 + srcfile="$arg"
32594 + ;;
32595 + esac # case $arg
32596 ;;
32597 - esac
32598 -
32599 - # Accept the current argument as the source file.
32600 - lastarg="$srcfile"
32601 - srcfile="$arg"
32602 + esac # case $arg_mode
32603
32604 # Aesthetically quote the previous argument.
32605 -
32606 - # Backslashify any backslashes, double quotes, and dollar signs.
32607 - # These are the only characters that are still specially
32608 - # interpreted inside of double-quoted scrings.
32609 lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
32610
32611 + case $lastarg in
32612 # Double-quote args containing other shell metacharacters.
32613 # Many Bourne shells cannot handle close brackets correctly
32614 - # in scan sets, so we specify it separately.
32615 - case $lastarg in
32616 + # in scan sets, and some SunOS ksh mistreat backslash-escaping
32617 + # in scan sets (worked around with variable expansion),
32618 + # and furthermore cannot handle '|' '&' '(' ')' in scan sets
32619 + # at all, so we specify them separately.
32620 *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32621 lastarg="\"$lastarg\""
32622 ;;
32623 esac
32624
32625 - # Add the previous argument to base_compile.
32626 - if test -z "$base_compile"; then
32627 - base_compile="$lastarg"
32628 - else
32629 - base_compile="$base_compile $lastarg"
32630 - fi
32631 - done
32632 + base_compile="$base_compile $lastarg"
32633 + done # for arg
32634
32635 - case $user_target in
32636 - set)
32637 + case $arg_mode in
32638 + arg)
32639 + $echo "$modename: you must specify an argument for -Xcompile"
32640 + exit $EXIT_FAILURE
32641 ;;
32642 - no)
32643 - # Get the name of the library object.
32644 - libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
32645 + target)
32646 + $echo "$modename: you must specify a target with \`-o'" 1>&2
32647 + exit $EXIT_FAILURE
32648 ;;
32649 *)
32650 - $echo "$modename: you must specify a target with \`-o'" 1>&2
32651 - exit 1
32652 + # Get the name of the library object.
32653 + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
32654 ;;
32655 esac
32656
32657 # Recognize several different file suffixes.
32658 # If the user specifies -o file.o, it is replaced with file.lo
32659 - xform='[cCFSfmso]'
32660 + xform='[cCFSifmso]'
32661 case $libobj in
32662 *.ada) xform=ada ;;
32663 *.adb) xform=adb ;;
32664 @@ -440,10 +751,13 @@
32665 *.asm) xform=asm ;;
32666 *.c++) xform=c++ ;;
32667 *.cc) xform=cc ;;
32668 + *.ii) xform=ii ;;
32669 + *.class) xform=class ;;
32670 *.cpp) xform=cpp ;;
32671 *.cxx) xform=cxx ;;
32672 *.f90) xform=f90 ;;
32673 *.for) xform=for ;;
32674 + *.java) xform=java ;;
32675 esac
32676
32677 libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
32678 @@ -452,25 +766,63 @@
32679 *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
32680 *)
32681 $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
32682 - exit 1
32683 + exit $EXIT_FAILURE
32684 ;;
32685 esac
32686
32687 + func_infer_tag $base_compile
32688 +
32689 + for arg in $later; do
32690 + case $arg in
32691 + -static)
32692 + build_old_libs=yes
32693 + continue
32694 + ;;
32695 +
32696 + -prefer-pic)
32697 + pic_mode=yes
32698 + continue
32699 + ;;
32700 +
32701 + -prefer-non-pic)
32702 + pic_mode=no
32703 + continue
32704 + ;;
32705 + esac
32706 + done
32707 +
32708 + qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
32709 + case $qlibobj in
32710 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32711 + qlibobj="\"$qlibobj\"" ;;
32712 + esac
32713 + test "X$libobj" != "X$qlibobj" \
32714 + && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
32715 + && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
32716 + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
32717 + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
32718 + if test "X$xdir" = "X$obj"; then
32719 + xdir=
32720 + else
32721 + xdir=$xdir/
32722 + fi
32723 + lobj=${xdir}$objdir/$objname
32724 +
32725 if test -z "$base_compile"; then
32726 $echo "$modename: you must specify a compilation command" 1>&2
32727 $echo "$help" 1>&2
32728 - exit 1
32729 + exit $EXIT_FAILURE
32730 fi
32731
32732 # Delete any leftover library objects.
32733 if test "$build_old_libs" = yes; then
32734 - removelist="$obj $libobj"
32735 + removelist="$obj $lobj $libobj ${libobj}T"
32736 else
32737 - removelist="$libobj"
32738 + removelist="$lobj $libobj ${libobj}T"
32739 fi
32740
32741 $run $rm $removelist
32742 - trap "$run $rm $removelist; exit 1" 1 2 15
32743 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
32744
32745 # On Cygwin there's no "real" PIC flag so we must build both object types
32746 case $host_os in
32747 @@ -489,8 +841,9 @@
32748 output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
32749 lockfile="$output_obj.lock"
32750 removelist="$removelist $output_obj $lockfile"
32751 - trap "$run $rm $removelist; exit 1" 1 2 15
32752 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
32753 else
32754 + output_obj=
32755 need_locks=no
32756 lockfile=
32757 fi
32758 @@ -498,13 +851,13 @@
32759 # Lock this critical section if it is needed
32760 # We use this script file to make the link, it avoids creating a new file
32761 if test "$need_locks" = yes; then
32762 - until $run ln "$0" "$lockfile" 2>/dev/null; do
32763 + until $run ln "$progpath" "$lockfile" 2>/dev/null; do
32764 $show "Waiting for $lockfile to be removed"
32765 sleep 2
32766 done
32767 elif test "$need_locks" = warn; then
32768 if test -f "$lockfile"; then
32769 - echo "\
32770 + $echo "\
32771 *** ERROR, $lockfile exists and contains:
32772 `cat $lockfile 2>/dev/null`
32773
32774 @@ -516,14 +869,33 @@
32775 compiler."
32776
32777 $run $rm $removelist
32778 - exit 1
32779 + exit $EXIT_FAILURE
32780 fi
32781 - echo $srcfile > "$lockfile"
32782 + $echo "$srcfile" > "$lockfile"
32783 fi
32784
32785 if test -n "$fix_srcfile_path"; then
32786 eval srcfile=\"$fix_srcfile_path\"
32787 fi
32788 + qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
32789 + case $qsrcfile in
32790 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
32791 + qsrcfile="\"$qsrcfile\"" ;;
32792 + esac
32793 +
32794 + $run $rm "$libobj" "${libobj}T"
32795 +
32796 + # Create a libtool object file (analogous to a ".la" file),
32797 + # but don't create it if we're doing a dry run.
32798 + test -z "$run" && cat > ${libobj}T <<EOF
32799 +# $libobj - a libtool object file
32800 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
32801 +#
32802 +# Please DO NOT delete this file!
32803 +# It is necessary for linking the library.
32804 +
32805 +# Name of the PIC object.
32806 +EOF
32807
32808 # Only build a PIC object if we are building libtool libraries.
32809 if test "$build_libtool_libs" = yes; then
32810 @@ -531,53 +903,38 @@
32811 fbsd_hideous_sh_bug=$base_compile
32812
32813 if test "$pic_mode" != no; then
32814 - # All platforms use -DPIC, to notify preprocessed assembler code.
32815 - command="$base_compile $srcfile $pic_flag -DPIC"
32816 + command="$base_compile $qsrcfile $pic_flag"
32817 else
32818 # Don't build PIC code
32819 - command="$base_compile $srcfile"
32820 + command="$base_compile $qsrcfile"
32821 fi
32822 - if test "$build_old_libs" = yes; then
32823 - lo_libobj="$libobj"
32824 - dir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
32825 - if test "X$dir" = "X$libobj"; then
32826 - dir="$objdir"
32827 - else
32828 - dir="$dir/$objdir"
32829 - fi
32830 - libobj="$dir/"`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
32831
32832 - if test -d "$dir"; then
32833 - $show "$rm $libobj"
32834 - $run $rm $libobj
32835 - else
32836 - $show "$mkdir $dir"
32837 - $run $mkdir $dir
32838 - status=$?
32839 - if test $status -ne 0 && test ! -d $dir; then
32840 - exit $status
32841 - fi
32842 + if test ! -d "${xdir}$objdir"; then
32843 + $show "$mkdir ${xdir}$objdir"
32844 + $run $mkdir ${xdir}$objdir
32845 + exit_status=$?
32846 + if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
32847 + exit $exit_status
32848 fi
32849 fi
32850 - if test "$compiler_o_lo" = yes; then
32851 - output_obj="$libobj"
32852 - command="$command -o $output_obj"
32853 - elif test "$compiler_c_o" = yes; then
32854 - output_obj="$obj"
32855 - command="$command -o $output_obj"
32856 +
32857 + if test -z "$output_obj"; then
32858 + # Place PIC objects in $objdir
32859 + command="$command -o $lobj"
32860 fi
32861
32862 - $run $rm "$output_obj"
32863 + $run $rm "$lobj" "$output_obj"
32864 +
32865 $show "$command"
32866 if $run eval "$command"; then :
32867 else
32868 test -n "$output_obj" && $run $rm $removelist
32869 - exit 1
32870 + exit $EXIT_FAILURE
32871 fi
32872
32873 if test "$need_locks" = warn &&
32874 - test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
32875 - echo "\
32876 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
32877 + $echo "\
32878 *** ERROR, $lockfile contains:
32879 `cat $lockfile 2>/dev/null`
32880
32881 @@ -592,13 +949,13 @@
32882 compiler."
32883
32884 $run $rm $removelist
32885 - exit 1
32886 + exit $EXIT_FAILURE
32887 fi
32888
32889 # Just move the object if needed, then go on to compile the next one
32890 - if test x"$output_obj" != x"$libobj"; then
32891 - $show "$mv $output_obj $libobj"
32892 - if $run $mv $output_obj $libobj; then :
32893 + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
32894 + $show "$mv $output_obj $lobj"
32895 + if $run $mv $output_obj $lobj; then :
32896 else
32897 error=$?
32898 $run $rm $removelist
32899 @@ -606,77 +963,50 @@
32900 fi
32901 fi
32902
32903 - # If we have no pic_flag, then copy the object into place and finish.
32904 - if (test -z "$pic_flag" || test "$pic_mode" != default) &&
32905 - test "$build_old_libs" = yes; then
32906 - # Rename the .lo from within objdir to obj
32907 - if test -f $obj; then
32908 - $show $rm $obj
32909 - $run $rm $obj
32910 - fi
32911 + # Append the name of the PIC object to the libtool object file.
32912 + test -z "$run" && cat >> ${libobj}T <<EOF
32913 +pic_object='$objdir/$objname'
32914
32915 - $show "$mv $libobj $obj"
32916 - if $run $mv $libobj $obj; then :
32917 - else
32918 - error=$?
32919 - $run $rm $removelist
32920 - exit $error
32921 - fi
32922 +EOF
32923
32924 - xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
32925 - if test "X$xdir" = "X$obj"; then
32926 - xdir="."
32927 - else
32928 - xdir="$xdir"
32929 - fi
32930 - baseobj=`$echo "X$obj" | $Xsed -e "s%.*/%%"`
32931 - libobj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
32932 - # Now arrange that obj and lo_libobj become the same file
32933 - $show "(cd $xdir && $LN_S $baseobj $libobj)"
32934 - if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
32935 - # Unlock the critical section if it was locked
32936 - if test "$need_locks" != no; then
32937 - $run $rm "$lockfile"
32938 - fi
32939 - exit 0
32940 - else
32941 - error=$?
32942 - $run $rm $removelist
32943 - exit $error
32944 - fi
32945 + # Allow error messages only from the first compilation.
32946 + if test "$suppress_opt" = yes; then
32947 + suppress_output=' >/dev/null 2>&1'
32948 fi
32949 + else
32950 + # No PIC object so indicate it doesn't exist in the libtool
32951 + # object file.
32952 + test -z "$run" && cat >> ${libobj}T <<EOF
32953 +pic_object=none
32954
32955 - # Allow error messages only from the first compilation.
32956 - suppress_output=' >/dev/null 2>&1'
32957 +EOF
32958 fi
32959
32960 # Only build a position-dependent object if we build old libraries.
32961 if test "$build_old_libs" = yes; then
32962 if test "$pic_mode" != yes; then
32963 # Don't build PIC code
32964 - command="$base_compile $srcfile"
32965 + command="$base_compile $qsrcfile"
32966 else
32967 - # All platforms use -DPIC, to notify preprocessed assembler code.
32968 - command="$base_compile $srcfile $pic_flag -DPIC"
32969 + command="$base_compile $qsrcfile $pic_flag"
32970 fi
32971 if test "$compiler_c_o" = yes; then
32972 command="$command -o $obj"
32973 - output_obj="$obj"
32974 fi
32975
32976 # Suppress compiler output if we already did a PIC compilation.
32977 command="$command$suppress_output"
32978 - $run $rm "$output_obj"
32979 + $run $rm "$obj" "$output_obj"
32980 $show "$command"
32981 if $run eval "$command"; then :
32982 else
32983 $run $rm $removelist
32984 - exit 1
32985 + exit $EXIT_FAILURE
32986 fi
32987
32988 if test "$need_locks" = warn &&
32989 - test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
32990 - echo "\
32991 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
32992 + $echo "\
32993 *** ERROR, $lockfile contains:
32994 `cat $lockfile 2>/dev/null`
32995
32996 @@ -691,11 +1021,11 @@
32997 compiler."
32998
32999 $run $rm $removelist
33000 - exit 1
33001 + exit $EXIT_FAILURE
33002 fi
33003
33004 # Just move the object if needed
33005 - if test x"$output_obj" != x"$obj"; then
33006 + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
33007 $show "$mv $output_obj $obj"
33008 if $run $mv $output_obj $obj; then :
33009 else
33010 @@ -705,29 +1035,31 @@
33011 fi
33012 fi
33013
33014 - # Create an invalid libtool object if no PIC, so that we do not
33015 - # accidentally link it into a program.
33016 - if test "$build_libtool_libs" != yes; then
33017 - $show "echo timestamp > $libobj"
33018 - $run eval "echo timestamp > \$libobj" || exit $?
33019 - else
33020 - # Move the .lo from within objdir
33021 - $show "$mv $libobj $lo_libobj"
33022 - if $run $mv $libobj $lo_libobj; then :
33023 - else
33024 - error=$?
33025 - $run $rm $removelist
33026 - exit $error
33027 - fi
33028 - fi
33029 + # Append the name of the non-PIC object the libtool object file.
33030 + # Only append if the libtool object file exists.
33031 + test -z "$run" && cat >> ${libobj}T <<EOF
33032 +# Name of the non-PIC object.
33033 +non_pic_object='$objname'
33034 +
33035 +EOF
33036 + else
33037 + # Append the name of the non-PIC object the libtool object file.
33038 + # Only append if the libtool object file exists.
33039 + test -z "$run" && cat >> ${libobj}T <<EOF
33040 +# Name of the non-PIC object.
33041 +non_pic_object=none
33042 +
33043 +EOF
33044 fi
33045
33046 + $run $mv "${libobj}T" "${libobj}"
33047 +
33048 # Unlock the critical section if it was locked
33049 if test "$need_locks" != no; then
33050 $run $rm "$lockfile"
33051 fi
33052
33053 - exit 0
33054 + exit $EXIT_SUCCESS
33055 ;;
33056
33057 # libtool link mode
33058 @@ -738,7 +1070,7 @@
33059 # It is impossible to link a dll without this setting, and
33060 # we shouldn't force the makefile maintainer to figure out
33061 # which system we are compiling for in order to pass an extra
33062 - # flag for every libtool invokation.
33063 + # flag for every libtool invocation.
33064 # allow_undefined=no
33065
33066 # FIXME: Unfortunately, there are problems with the above when trying
33067 @@ -753,6 +1085,7 @@
33068 ;;
33069 esac
33070 libtool_args="$nonopt"
33071 + base_compile="$nonopt $@"
33072 compile_command="$nonopt"
33073 finalize_command="$nonopt"
33074
33075 @@ -783,6 +1116,9 @@
33076 module=no
33077 no_install=no
33078 objs=
33079 + non_pic_objects=
33080 + notinst_path= # paths that contain not-installed libtool libraries
33081 + precious_files_regex=
33082 prefer_static_libs=no
33083 preload=no
33084 prev=
33085 @@ -794,6 +1130,9 @@
33086 temp_rpath=
33087 thread_safe=no
33088 vinfo=
33089 + vinfo_number=no
33090 +
33091 + func_infer_tag $base_compile
33092
33093 # We need to know -static, to get the right output filenames.
33094 for arg
33095 @@ -807,14 +1146,15 @@
33096 if test -n "$link_static_flag"; then
33097 dlopen_self=$dlopen_self_static
33098 fi
33099 + prefer_static_libs=yes
33100 else
33101 if test -z "$pic_flag" && test -n "$link_static_flag"; then
33102 dlopen_self=$dlopen_self_static
33103 fi
33104 + prefer_static_libs=built
33105 fi
33106 build_libtool_libs=no
33107 build_old_libs=yes
33108 - prefer_static_libs=yes
33109 break
33110 ;;
33111 esac
33112 @@ -824,7 +1164,7 @@
33113 test -n "$old_archive_from_new_cmds" && build_old_libs=yes
33114
33115 # Go through the arguments, transforming them on the way.
33116 - while test $# -gt 0; do
33117 + while test "$#" -gt 0; do
33118 arg="$1"
33119 shift
33120 case $arg in
33121 @@ -889,7 +1229,7 @@
33122 export_symbols="$arg"
33123 if test ! -f "$arg"; then
33124 $echo "$modename: symbol file \`$arg' does not exist"
33125 - exit 1
33126 + exit $EXIT_FAILURE
33127 fi
33128 prev=
33129 continue
33130 @@ -904,18 +1244,135 @@
33131 prev=
33132 continue
33133 ;;
33134 + precious_regex)
33135 + precious_files_regex="$arg"
33136 + prev=
33137 + continue
33138 + ;;
33139 release)
33140 release="-$arg"
33141 prev=
33142 continue
33143 ;;
33144 + objectlist)
33145 + if test -f "$arg"; then
33146 + save_arg=$arg
33147 + moreargs=
33148 + for fil in `cat $save_arg`
33149 + do
33150 +# moreargs="$moreargs $fil"
33151 + arg=$fil
33152 + # A libtool-controlled object.
33153 +
33154 + # Check to see that this really is a libtool object.
33155 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
33156 + pic_object=
33157 + non_pic_object=
33158 +
33159 + # Read the .lo file
33160 + # If there is no directory component, then add one.
33161 + case $arg in
33162 + */* | *\\*) . $arg ;;
33163 + *) . ./$arg ;;
33164 + esac
33165 +
33166 + if test -z "$pic_object" || \
33167 + test -z "$non_pic_object" ||
33168 + test "$pic_object" = none && \
33169 + test "$non_pic_object" = none; then
33170 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
33171 + exit $EXIT_FAILURE
33172 + fi
33173 +
33174 + # Extract subdirectory from the argument.
33175 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
33176 + if test "X$xdir" = "X$arg"; then
33177 + xdir=
33178 + else
33179 + xdir="$xdir/"
33180 + fi
33181 +
33182 + if test "$pic_object" != none; then
33183 + # Prepend the subdirectory the object is found in.
33184 + pic_object="$xdir$pic_object"
33185 +
33186 + if test "$prev" = dlfiles; then
33187 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
33188 + dlfiles="$dlfiles $pic_object"
33189 + prev=
33190 + continue
33191 + else
33192 + # If libtool objects are unsupported, then we need to preload.
33193 + prev=dlprefiles
33194 + fi
33195 + fi
33196 +
33197 + # CHECK ME: I think I busted this. -Ossama
33198 + if test "$prev" = dlprefiles; then
33199 + # Preload the old-style object.
33200 + dlprefiles="$dlprefiles $pic_object"
33201 + prev=
33202 + fi
33203 +
33204 + # A PIC object.
33205 + libobjs="$libobjs $pic_object"
33206 + arg="$pic_object"
33207 + fi
33208 +
33209 + # Non-PIC object.
33210 + if test "$non_pic_object" != none; then
33211 + # Prepend the subdirectory the object is found in.
33212 + non_pic_object="$xdir$non_pic_object"
33213 +
33214 + # A standard non-PIC object
33215 + non_pic_objects="$non_pic_objects $non_pic_object"
33216 + if test -z "$pic_object" || test "$pic_object" = none ; then
33217 + arg="$non_pic_object"
33218 + fi
33219 + else
33220 + # If the PIC object exists, use it instead.
33221 + # $xdir was prepended to $pic_object above.
33222 + non_pic_object="$pic_object"
33223 + non_pic_objects="$non_pic_objects $non_pic_object"
33224 + fi
33225 + else
33226 + # Only an error if not doing a dry-run.
33227 + if test -z "$run"; then
33228 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
33229 + exit $EXIT_FAILURE
33230 + else
33231 + # Dry-run case.
33232 +
33233 + # Extract subdirectory from the argument.
33234 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
33235 + if test "X$xdir" = "X$arg"; then
33236 + xdir=
33237 + else
33238 + xdir="$xdir/"
33239 + fi
33240 +
33241 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
33242 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
33243 + libobjs="$libobjs $pic_object"
33244 + non_pic_objects="$non_pic_objects $non_pic_object"
33245 + fi
33246 + fi
33247 + done
33248 + else
33249 + $echo "$modename: link input file \`$save_arg' does not exist"
33250 + exit $EXIT_FAILURE
33251 + fi
33252 + arg=$save_arg
33253 + prev=
33254 + continue
33255 + ;;
33256 rpath | xrpath)
33257 # We need an absolute path.
33258 case $arg in
33259 [\\/]* | [A-Za-z]:[\\/]*) ;;
33260 *)
33261 $echo "$modename: only absolute run-paths are allowed" 1>&2
33262 - exit 1
33263 + exit $EXIT_FAILURE
33264 ;;
33265 esac
33266 if test "$prev" = rpath; then
33267 @@ -947,13 +1404,33 @@
33268 finalize_command="$finalize_command $wl$qarg"
33269 continue
33270 ;;
33271 + xcclinker)
33272 + linker_flags="$linker_flags $qarg"
33273 + compiler_flags="$compiler_flags $qarg"
33274 + prev=
33275 + compile_command="$compile_command $qarg"
33276 + finalize_command="$finalize_command $qarg"
33277 + continue
33278 + ;;
33279 + shrext)
33280 + shrext_cmds="$arg"
33281 + prev=
33282 + continue
33283 + ;;
33284 + darwin_framework|darwin_framework_skip)
33285 + test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
33286 + compile_command="$compile_command $arg"
33287 + finalize_command="$finalize_command $arg"
33288 + prev=
33289 + continue
33290 + ;;
33291 *)
33292 eval "$prev=\"\$arg\""
33293 prev=
33294 continue
33295 ;;
33296 esac
33297 - fi # test -n $prev
33298 + fi # test -n "$prev"
33299
33300 prevarg="$arg"
33301
33302 @@ -995,7 +1472,7 @@
33303 -export-symbols | -export-symbols-regex)
33304 if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
33305 $echo "$modename: more than one -exported-symbols argument is not allowed"
33306 - exit 1
33307 + exit $EXIT_FAILURE
33308 fi
33309 if test "X$arg" = "X-export-symbols"; then
33310 prev=expsyms
33311 @@ -1005,16 +1482,28 @@
33312 continue
33313 ;;
33314
33315 + -framework|-arch|-isysroot)
33316 + case " $CC " in
33317 + *" ${arg} ${1} "* | *" ${arg} ${1} "*)
33318 + prev=darwin_framework_skip ;;
33319 + *) compiler_flags="$compiler_flags $arg"
33320 + prev=darwin_framework ;;
33321 + esac
33322 + compile_command="$compile_command $arg"
33323 + finalize_command="$finalize_command $arg"
33324 + continue
33325 + ;;
33326 +
33327 -inst-prefix-dir)
33328 - prev=inst_prefix
33329 - continue
33330 - ;;
33331 + prev=inst_prefix
33332 + continue
33333 + ;;
33334
33335 # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
33336 # so, if we see these flags be careful not to treat them like -L
33337 -L[A-Z][A-Z]*:*)
33338 case $with_gcc/$host in
33339 - no/*-*-irix* | no/*-*-nonstopux*)
33340 + no/*-*-irix* | /*-*-irix*)
33341 compile_command="$compile_command $arg"
33342 finalize_command="$finalize_command $arg"
33343 ;;
33344 @@ -1031,7 +1520,8 @@
33345 absdir=`cd "$dir" && pwd`
33346 if test -z "$absdir"; then
33347 $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
33348 - exit 1
33349 + absdir="$dir"
33350 + notinst_path="$notinst_path $dir"
33351 fi
33352 dir="$absdir"
33353 ;;
33354 @@ -1045,10 +1535,15 @@
33355 esac
33356 case $host in
33357 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
33358 + testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
33359 case :$dllsearchpath: in
33360 *":$dir:"*) ;;
33361 *) dllsearchpath="$dllsearchpath:$dir";;
33362 esac
33363 + case :$dllsearchpath: in
33364 + *":$testbindir:"*) ;;
33365 + *) dllsearchpath="$dllsearchpath:$testbindir";;
33366 + esac
33367 ;;
33368 esac
33369 continue
33370 @@ -1057,36 +1552,98 @@
33371 -l*)
33372 if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
33373 case $host in
33374 - *-*-cygwin* | *-*-pw32* | *-*-beos*)
33375 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
33376 # These systems don't actually have a C or math library (as such)
33377 continue
33378 ;;
33379 - *-*-mingw* | *-*-os2*)
33380 + *-*-os2*)
33381 # These systems don't actually have a C library (as such)
33382 test "X$arg" = "X-lc" && continue
33383 ;;
33384 - *-*-openbsd* | *-*-freebsd*)
33385 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
33386 # Do not include libc due to us having libc/libc_r.
33387 test "X$arg" = "X-lc" && continue
33388 ;;
33389 - esac
33390 - elif test "X$arg" = "X-lc_r"; then
33391 - case $host in
33392 - *-*-openbsd* | *-*-freebsd*)
33393 - # Do not include libc_r directly, use -pthread flag.
33394 + *-*-rhapsody* | *-*-darwin1.[012])
33395 + # Rhapsody C and math libraries are in the System framework
33396 + deplibs="$deplibs -framework System"
33397 continue
33398 ;;
33399 + *-*-sco3.2v5* | *-*-sco5v6*)
33400 + # Causes problems with __ctype
33401 + test "X$arg" = "X-lc" && continue
33402 + ;;
33403 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
33404 + # Compiler inserts libc in the correct place for threads to work
33405 + test "X$arg" = "X-lc" && continue
33406 + ;;
33407 esac
33408 + elif test "X$arg" = "X-lc_r"; then
33409 + case $host in
33410 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
33411 + # Do not include libc_r directly, use -pthread flag.
33412 + continue
33413 + ;;
33414 + esac
33415 fi
33416 deplibs="$deplibs $arg"
33417 continue
33418 ;;
33419
33420 + # Tru64 UNIX uses -model [arg] to determine the layout of C++
33421 + # classes, name mangling, and exception handling.
33422 + -model)
33423 + compile_command="$compile_command $arg"
33424 + compiler_flags="$compiler_flags $arg"
33425 + finalize_command="$finalize_command $arg"
33426 + prev=xcompiler
33427 + continue
33428 + ;;
33429 +
33430 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
33431 + compiler_flags="$compiler_flags $arg"
33432 + compile_command="$compile_command $arg"
33433 + finalize_command="$finalize_command $arg"
33434 + continue
33435 + ;;
33436 +
33437 -module)
33438 module=yes
33439 continue
33440 ;;
33441
33442 + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
33443 + # -r[0-9][0-9]* specifies the processor on the SGI compiler
33444 + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
33445 + # +DA*, +DD* enable 64-bit mode on the HP compiler
33446 + # -q* pass through compiler args for the IBM compiler
33447 + # -m* pass through architecture-specific compiler args for GCC
33448 + # -m*, -t[45]*, -txscale* pass through architecture-specific
33449 + # compiler args for GCC
33450 + # -pg pass through profiling flag for GCC
33451 + # @file GCC response files
33452 + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
33453 + -t[45]*|-txscale*|@*)
33454 +
33455 + # Unknown arguments in both finalize_command and compile_command need
33456 + # to be aesthetically quoted because they are evaled later.
33457 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
33458 + case $arg in
33459 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
33460 + arg="\"$arg\""
33461 + ;;
33462 + esac
33463 + compile_command="$compile_command $arg"
33464 + finalize_command="$finalize_command $arg"
33465 + compiler_flags="$compiler_flags $arg"
33466 + continue
33467 + ;;
33468 +
33469 + -shrext)
33470 + prev=shrext
33471 + continue
33472 + ;;
33473 +
33474 -no-fast-install)
33475 fast_install=no
33476 continue
33477 @@ -1111,8 +1668,18 @@
33478 continue
33479 ;;
33480
33481 + -objectlist)
33482 + prev=objectlist
33483 + continue
33484 + ;;
33485 +
33486 -o) prev=output ;;
33487
33488 + -precious-files-regex)
33489 + prev=precious_regex
33490 + continue
33491 + ;;
33492 +
33493 -release)
33494 prev=release
33495 continue
33496 @@ -1135,7 +1702,7 @@
33497 [\\/]* | [A-Za-z]:[\\/]*) ;;
33498 *)
33499 $echo "$modename: only absolute run-paths are allowed" 1>&2
33500 - exit 1
33501 + exit $EXIT_FAILURE
33502 ;;
33503 esac
33504 case "$xrpath " in
33505 @@ -1163,6 +1730,11 @@
33506 prev=vinfo
33507 continue
33508 ;;
33509 + -version-number)
33510 + prev=vinfo
33511 + vinfo_number=yes
33512 + continue
33513 + ;;
33514
33515 -Wc,*)
33516 args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
33517 @@ -1211,6 +1783,11 @@
33518 continue
33519 ;;
33520
33521 + -XCClinker)
33522 + prev=xcclinker
33523 + continue
33524 + ;;
33525 +
33526 # Some other compiler flag.
33527 -* | +*)
33528 # Unknown arguments in both finalize_command and compile_command need
33529 @@ -1223,29 +1800,106 @@
33530 esac
33531 ;;
33532
33533 - *.lo | *.$objext)
33534 - # A library or standard object.
33535 - if test "$prev" = dlfiles; then
33536 - # This file was specified with -dlopen.
33537 - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
33538 - dlfiles="$dlfiles $arg"
33539 - prev=
33540 - continue
33541 - else
33542 - # If libtool objects are unsupported, then we need to preload.
33543 - prev=dlprefiles
33544 + *.$objext)
33545 + # A standard object.
33546 + objs="$objs $arg"
33547 + ;;
33548 +
33549 + *.lo)
33550 + # A libtool-controlled object.
33551 +
33552 + # Check to see that this really is a libtool object.
33553 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
33554 + pic_object=
33555 + non_pic_object=
33556 +
33557 + # Read the .lo file
33558 + # If there is no directory component, then add one.
33559 + case $arg in
33560 + */* | *\\*) . $arg ;;
33561 + *) . ./$arg ;;
33562 + esac
33563 +
33564 + if test -z "$pic_object" || \
33565 + test -z "$non_pic_object" ||
33566 + test "$pic_object" = none && \
33567 + test "$non_pic_object" = none; then
33568 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
33569 + exit $EXIT_FAILURE
33570 + fi
33571 +
33572 + # Extract subdirectory from the argument.
33573 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
33574 + if test "X$xdir" = "X$arg"; then
33575 + xdir=
33576 + else
33577 + xdir="$xdir/"
33578 + fi
33579 +
33580 + if test "$pic_object" != none; then
33581 + # Prepend the subdirectory the object is found in.
33582 + pic_object="$xdir$pic_object"
33583 +
33584 + if test "$prev" = dlfiles; then
33585 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
33586 + dlfiles="$dlfiles $pic_object"
33587 + prev=
33588 + continue
33589 + else
33590 + # If libtool objects are unsupported, then we need to preload.
33591 + prev=dlprefiles
33592 + fi
33593 + fi
33594 +
33595 + # CHECK ME: I think I busted this. -Ossama
33596 + if test "$prev" = dlprefiles; then
33597 + # Preload the old-style object.
33598 + dlprefiles="$dlprefiles $pic_object"
33599 + prev=
33600 + fi
33601 +
33602 + # A PIC object.
33603 + libobjs="$libobjs $pic_object"
33604 + arg="$pic_object"
33605 fi
33606 - fi
33607
33608 - if test "$prev" = dlprefiles; then
33609 - # Preload the old-style object.
33610 - dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"`
33611 - prev=
33612 + # Non-PIC object.
33613 + if test "$non_pic_object" != none; then
33614 + # Prepend the subdirectory the object is found in.
33615 + non_pic_object="$xdir$non_pic_object"
33616 +
33617 + # A standard non-PIC object
33618 + non_pic_objects="$non_pic_objects $non_pic_object"
33619 + if test -z "$pic_object" || test "$pic_object" = none ; then
33620 + arg="$non_pic_object"
33621 + fi
33622 + else
33623 + # If the PIC object exists, use it instead.
33624 + # $xdir was prepended to $pic_object above.
33625 + non_pic_object="$pic_object"
33626 + non_pic_objects="$non_pic_objects $non_pic_object"
33627 + fi
33628 else
33629 - case $arg in
33630 - *.lo) libobjs="$libobjs $arg" ;;
33631 - *) objs="$objs $arg" ;;
33632 - esac
33633 + # Only an error if not doing a dry-run.
33634 + if test -z "$run"; then
33635 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
33636 + exit $EXIT_FAILURE
33637 + else
33638 + # Dry-run case.
33639 +
33640 + # Extract subdirectory from the argument.
33641 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
33642 + if test "X$xdir" = "X$arg"; then
33643 + xdir=
33644 + else
33645 + xdir="$xdir/"
33646 + fi
33647 +
33648 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
33649 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
33650 + libobjs="$libobjs $pic_object"
33651 + non_pic_objects="$non_pic_objects $non_pic_object"
33652 + fi
33653 fi
33654 ;;
33655
33656 @@ -1296,7 +1950,7 @@
33657 if test -n "$prev"; then
33658 $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
33659 $echo "$help" 1>&2
33660 - exit 1
33661 + exit $EXIT_FAILURE
33662 fi
33663
33664 if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
33665 @@ -1305,6 +1959,7 @@
33666 finalize_command="$finalize_command $arg"
33667 fi
33668
33669 + oldlibs=
33670 # calculate the name of the file, without its directory
33671 outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
33672 libobjs_save="$libobjs"
33673 @@ -1325,12 +1980,12 @@
33674 output_objdir="$output_objdir/$objdir"
33675 fi
33676 # Create the object directory.
33677 - if test ! -d $output_objdir; then
33678 + if test ! -d "$output_objdir"; then
33679 $show "$mkdir $output_objdir"
33680 $run $mkdir $output_objdir
33681 - status=$?
33682 - if test $status -ne 0 && test ! -d $output_objdir; then
33683 - exit $status
33684 + exit_status=$?
33685 + if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
33686 + exit $exit_status
33687 fi
33688 fi
33689
33690 @@ -1339,7 +1994,7 @@
33691 "")
33692 $echo "$modename: you must specify an output file" 1>&2
33693 $echo "$help" 1>&2
33694 - exit 1
33695 + exit $EXIT_FAILURE
33696 ;;
33697 *.$libext) linkmode=oldlib ;;
33698 *.lo | *.$objext) linkmode=obj ;;
33699 @@ -1347,7 +2002,17 @@
33700 *) linkmode=prog ;; # Anything else should be a program.
33701 esac
33702
33703 + case $host in
33704 + *cygwin* | *mingw* | *pw32*)
33705 + # don't eliminate duplications in $postdeps and $predeps
33706 + duplicate_compiler_generated_deps=yes
33707 + ;;
33708 + *)
33709 + duplicate_compiler_generated_deps=$duplicate_deps
33710 + ;;
33711 + esac
33712 specialdeplibs=
33713 +
33714 libs=
33715 # Find all interdependent deplibs by searching for libraries
33716 # that are linked more than once (e.g. -la -lb -la)
33717 @@ -1359,12 +2024,30 @@
33718 fi
33719 libs="$libs $deplib"
33720 done
33721 +
33722 + if test "$linkmode" = lib; then
33723 + libs="$predeps $libs $compiler_lib_search_path $postdeps"
33724 +
33725 + # Compute libraries that are listed more than once in $predeps
33726 + # $postdeps and mark them as special (i.e., whose duplicates are
33727 + # not to be eliminated).
33728 + pre_post_deps=
33729 + if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
33730 + for pre_post_dep in $predeps $postdeps; do
33731 + case "$pre_post_deps " in
33732 + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
33733 + esac
33734 + pre_post_deps="$pre_post_deps $pre_post_dep"
33735 + done
33736 + fi
33737 + pre_post_deps=
33738 + fi
33739 +
33740 deplibs=
33741 newdependency_libs=
33742 newlib_search_path=
33743 need_relink=no # whether we're linking any uninstalled libtool libraries
33744 notinst_deplibs= # not-installed libtool libraries
33745 - notinst_path= # paths that contain not-installed libtool libraries
33746 case $linkmode in
33747 lib)
33748 passes="conv link"
33749 @@ -1373,7 +2056,7 @@
33750 *.la) ;;
33751 *)
33752 $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
33753 - exit 1
33754 + exit $EXIT_FAILURE
33755 ;;
33756 esac
33757 done
33758 @@ -1390,39 +2073,58 @@
33759 ;;
33760 esac
33761 for pass in $passes; do
33762 - if test $linkmode = prog; then
33763 - # Determine which files to process
33764 + if test "$linkmode,$pass" = "lib,link" ||
33765 + test "$linkmode,$pass" = "prog,scan"; then
33766 + libs="$deplibs"
33767 + deplibs=
33768 + fi
33769 + if test "$linkmode" = prog; then
33770 case $pass in
33771 - dlopen)
33772 - libs="$dlfiles"
33773 - save_deplibs="$deplibs" # Collect dlpreopened libraries
33774 - deplibs=
33775 - ;;
33776 + dlopen) libs="$dlfiles" ;;
33777 dlpreopen) libs="$dlprefiles" ;;
33778 - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
33779 + link)
33780 + libs="$deplibs %DEPLIBS%"
33781 + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
33782 + ;;
33783 esac
33784 fi
33785 + if test "$pass" = dlopen; then
33786 + # Collect dlpreopened libraries
33787 + save_deplibs="$deplibs"
33788 + deplibs=
33789 + fi
33790 for deplib in $libs; do
33791 lib=
33792 found=no
33793 case $deplib in
33794 - -l*)
33795 - if test $linkmode = oldlib && test $linkmode = obj; then
33796 - $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2
33797 - continue
33798 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
33799 + if test "$linkmode,$pass" = "prog,link"; then
33800 + compile_deplibs="$deplib $compile_deplibs"
33801 + finalize_deplibs="$deplib $finalize_deplibs"
33802 + else
33803 + compiler_flags="$compiler_flags $deplib"
33804 fi
33805 - if test $pass = conv; then
33806 - deplibs="$deplib $deplibs"
33807 + continue
33808 + ;;
33809 + -l*)
33810 + if test "$linkmode" != lib && test "$linkmode" != prog; then
33811 + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
33812 continue
33813 fi
33814 name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
33815 for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
33816 - # Search the libtool library
33817 - lib="$searchdir/lib${name}.la"
33818 - if test -f "$lib"; then
33819 - found=yes
33820 - break
33821 - fi
33822 + for search_ext in .la $std_shrext .so .a; do
33823 + # Search the libtool library
33824 + lib="$searchdir/lib${name}${search_ext}"
33825 + if test -f "$lib"; then
33826 + if test "$search_ext" = ".la"; then
33827 + found=yes
33828 + else
33829 + found=no
33830 + fi
33831 + break 2
33832 + fi
33833 + done
33834 done
33835 if test "$found" != yes; then
33836 # deplib doesn't seem to be a libtool library
33837 @@ -1431,40 +2133,76 @@
33838 finalize_deplibs="$deplib $finalize_deplibs"
33839 else
33840 deplibs="$deplib $deplibs"
33841 - test $linkmode = lib && newdependency_libs="$deplib $newdependency_libs"
33842 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
33843 fi
33844 continue
33845 + else # deplib is a libtool library
33846 + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
33847 + # We need to do some special things here, and not later.
33848 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
33849 + case " $predeps $postdeps " in
33850 + *" $deplib "*)
33851 + if (${SED} -e '2q' $lib |
33852 + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
33853 + library_names=
33854 + old_library=
33855 + case $lib in
33856 + */* | *\\*) . $lib ;;
33857 + *) . ./$lib ;;
33858 + esac
33859 + for l in $old_library $library_names; do
33860 + ll="$l"
33861 + done
33862 + if test "X$ll" = "X$old_library" ; then # only static version available
33863 + found=no
33864 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
33865 + test "X$ladir" = "X$lib" && ladir="."
33866 + lib=$ladir/$old_library
33867 + if test "$linkmode,$pass" = "prog,link"; then
33868 + compile_deplibs="$deplib $compile_deplibs"
33869 + finalize_deplibs="$deplib $finalize_deplibs"
33870 + else
33871 + deplibs="$deplib $deplibs"
33872 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
33873 + fi
33874 + continue
33875 + fi
33876 + fi
33877 + ;;
33878 + *) ;;
33879 + esac
33880 + fi
33881 fi
33882 ;; # -l
33883 -L*)
33884 case $linkmode in
33885 lib)
33886 deplibs="$deplib $deplibs"
33887 - test $pass = conv && continue
33888 + test "$pass" = conv && continue
33889 newdependency_libs="$deplib $newdependency_libs"
33890 newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
33891 ;;
33892 prog)
33893 - if test $pass = conv; then
33894 + if test "$pass" = conv; then
33895 deplibs="$deplib $deplibs"
33896 continue
33897 fi
33898 - if test $pass = scan; then
33899 + if test "$pass" = scan; then
33900 deplibs="$deplib $deplibs"
33901 - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
33902 else
33903 compile_deplibs="$deplib $compile_deplibs"
33904 finalize_deplibs="$deplib $finalize_deplibs"
33905 fi
33906 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
33907 ;;
33908 *)
33909 - $echo "$modename: warning: \`-L' is ignored for archives/objects: $deplib" 1>&2
33910 + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
33911 ;;
33912 esac # linkmode
33913 continue
33914 ;; # -L
33915 -R*)
33916 - if test $pass = link; then
33917 + if test "$pass" = link; then
33918 dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
33919 # Make sure the xrpath contains only unique directories.
33920 case "$xrpath " in
33921 @@ -1477,30 +2215,45 @@
33922 ;;
33923 *.la) lib="$deplib" ;;
33924 *.$libext)
33925 - if test $pass = conv; then
33926 + if test "$pass" = conv; then
33927 deplibs="$deplib $deplibs"
33928 continue
33929 fi
33930 case $linkmode in
33931 lib)
33932 - if test "$deplibs_check_method" != pass_all; then
33933 - echo
33934 - echo "*** Warning: Trying to link with static lib archive $deplib."
33935 - echo "*** I have the capability to make that library automatically link in when"
33936 - echo "*** you link to this library. But I can only do this if you have a"
33937 - echo "*** shared version of the library, which you do not appear to have"
33938 - echo "*** because the file extensions .$libext of this argument makes me believe"
33939 - echo "*** that it is just a static archive that I should not used here."
33940 + valid_a_lib=no
33941 + case $deplibs_check_method in
33942 + match_pattern*)
33943 + set dummy $deplibs_check_method
33944 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
33945 + if eval $echo \"$deplib\" 2>/dev/null \
33946 + | $SED 10q \
33947 + | $EGREP "$match_pattern_regex" > /dev/null; then
33948 + valid_a_lib=yes
33949 + fi
33950 + ;;
33951 + pass_all)
33952 + valid_a_lib=yes
33953 + ;;
33954 + esac
33955 + if test "$valid_a_lib" != yes; then
33956 + $echo
33957 + $echo "*** Warning: Trying to link with static lib archive $deplib."
33958 + $echo "*** I have the capability to make that library automatically link in when"
33959 + $echo "*** you link to this library. But I can only do this if you have a"
33960 + $echo "*** shared version of the library, which you do not appear to have"
33961 + $echo "*** because the file extensions .$libext of this argument makes me believe"
33962 + $echo "*** that it is just a static archive that I should not used here."
33963 else
33964 - echo
33965 - echo "*** Warning: Linking the shared library $output against the"
33966 - echo "*** static library $deplib is not portable!"
33967 + $echo
33968 + $echo "*** Warning: Linking the shared library $output against the"
33969 + $echo "*** static library $deplib is not portable!"
33970 deplibs="$deplib $deplibs"
33971 fi
33972 continue
33973 ;;
33974 prog)
33975 - if test $pass != link; then
33976 + if test "$pass" != link; then
33977 deplibs="$deplib $deplibs"
33978 else
33979 compile_deplibs="$deplib $compile_deplibs"
33980 @@ -1511,14 +2264,18 @@
33981 esac # linkmode
33982 ;; # *.$libext
33983 *.lo | *.$objext)
33984 - if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
33985 - # If there is no dlopen support or we're linking statically,
33986 - # we need to preload.
33987 - newdlprefiles="$newdlprefiles $deplib"
33988 - compile_deplibs="$deplib $compile_deplibs"
33989 - finalize_deplibs="$deplib $finalize_deplibs"
33990 - else
33991 - newdlfiles="$newdlfiles $deplib"
33992 + if test "$pass" = conv; then
33993 + deplibs="$deplib $deplibs"
33994 + elif test "$linkmode" = prog; then
33995 + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
33996 + # If there is no dlopen support or we're linking statically,
33997 + # we need to preload.
33998 + newdlprefiles="$newdlprefiles $deplib"
33999 + compile_deplibs="$deplib $compile_deplibs"
34000 + finalize_deplibs="$deplib $finalize_deplibs"
34001 + else
34002 + newdlfiles="$newdlfiles $deplib"
34003 + fi
34004 fi
34005 continue
34006 ;;
34007 @@ -1527,17 +2284,17 @@
34008 continue
34009 ;;
34010 esac # case $deplib
34011 - if test $found = yes || test -f "$lib"; then :
34012 + if test "$found" = yes || test -f "$lib"; then :
34013 else
34014 - $echo "$modename: cannot find the library \`$lib'" 1>&2
34015 - exit 1
34016 + $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
34017 + exit $EXIT_FAILURE
34018 fi
34019
34020 # Check to see that this really is a libtool archive.
34021 - if (${SED} -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
34022 + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
34023 else
34024 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
34025 - exit 1
34026 + exit $EXIT_FAILURE
34027 fi
34028
34029 ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
34030 @@ -1550,8 +2307,11 @@
34031 library_names=
34032 old_library=
34033 # If the library was installed with an old release of libtool,
34034 - # it will not redefine variable installed.
34035 + # it will not redefine variables installed, or shouldnotlink
34036 installed=yes
34037 + shouldnotlink=no
34038 + avoidtemprpath=
34039 +
34040
34041 # Read the .la file
34042 case $lib in
34043 @@ -1561,19 +2321,18 @@
34044
34045 if test "$linkmode,$pass" = "lib,link" ||
34046 test "$linkmode,$pass" = "prog,scan" ||
34047 - { test $linkmode = oldlib && test $linkmode = obj; }; then
34048 - # Add dl[pre]opened files of deplib
34049 + { test "$linkmode" != prog && test "$linkmode" != lib; }; then
34050 test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
34051 test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
34052 fi
34053
34054 - if test $pass = conv; then
34055 + if test "$pass" = conv; then
34056 # Only check for convenience libraries
34057 deplibs="$lib $deplibs"
34058 if test -z "$libdir"; then
34059 if test -z "$old_library"; then
34060 $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
34061 - exit 1
34062 + exit $EXIT_FAILURE
34063 fi
34064 # It is a libtool convenience library, so add in its objects.
34065 convenience="$convenience $ladir/$objdir/$old_library"
34066 @@ -1588,13 +2347,14 @@
34067 fi
34068 tmp_libs="$tmp_libs $deplib"
34069 done
34070 - elif test $linkmode != prog && test $linkmode != lib; then
34071 + elif test "$linkmode" != prog && test "$linkmode" != lib; then
34072 $echo "$modename: \`$lib' is not a convenience library" 1>&2
34073 - exit 1
34074 + exit $EXIT_FAILURE
34075 fi
34076 continue
34077 fi # $pass = conv
34078
34079 +
34080 # Get the name of the library we link against.
34081 linklib=
34082 for l in $old_library $library_names; do
34083 @@ -1602,19 +2362,23 @@
34084 done
34085 if test -z "$linklib"; then
34086 $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
34087 - exit 1
34088 + exit $EXIT_FAILURE
34089 fi
34090
34091 # This library was specified with -dlopen.
34092 - if test $pass = dlopen; then
34093 + if test "$pass" = dlopen; then
34094 if test -z "$libdir"; then
34095 $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
34096 - exit 1
34097 + exit $EXIT_FAILURE
34098 fi
34099 - if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
34100 + if test -z "$dlname" ||
34101 + test "$dlopen_support" != yes ||
34102 + test "$build_libtool_libs" = no; then
34103 # If there is no dlname, no dlopen support or we're linking
34104 - # statically, we need to preload.
34105 - dlprefiles="$dlprefiles $lib"
34106 + # statically, we need to preload. We also need to preload any
34107 + # dependent libraries so libltdl's deplib preloader doesn't
34108 + # bomb out in the load deplibs phase.
34109 + dlprefiles="$dlprefiles $lib $dependency_libs"
34110 else
34111 newdlfiles="$newdlfiles $lib"
34112 fi
34113 @@ -1646,19 +2410,27 @@
34114 dir="$libdir"
34115 absdir="$libdir"
34116 fi
34117 + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
34118 else
34119 - dir="$ladir/$objdir"
34120 - absdir="$abs_ladir/$objdir"
34121 - # Remove this search path later
34122 - notinst_path="$notinst_path $abs_ladir"
34123 + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
34124 + dir="$ladir"
34125 + absdir="$abs_ladir"
34126 + # Remove this search path later
34127 + notinst_path="$notinst_path $abs_ladir"
34128 + else
34129 + dir="$ladir/$objdir"
34130 + absdir="$abs_ladir/$objdir"
34131 + # Remove this search path later
34132 + notinst_path="$notinst_path $abs_ladir"
34133 + fi
34134 fi # $installed = yes
34135 name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
34136
34137 # This library was specified with -dlpreopen.
34138 - if test $pass = dlpreopen; then
34139 + if test "$pass" = dlpreopen; then
34140 if test -z "$libdir"; then
34141 $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
34142 - exit 1
34143 + exit $EXIT_FAILURE
34144 fi
34145 # Prefer using a static library (so that no silly _DYNAMIC symbols
34146 # are required to link).
34147 @@ -1674,18 +2446,19 @@
34148
34149 if test -z "$libdir"; then
34150 # Link the convenience library
34151 - if test $linkmode = lib; then
34152 + if test "$linkmode" = lib; then
34153 deplibs="$dir/$old_library $deplibs"
34154 elif test "$linkmode,$pass" = "prog,link"; then
34155 compile_deplibs="$dir/$old_library $compile_deplibs"
34156 finalize_deplibs="$dir/$old_library $finalize_deplibs"
34157 else
34158 - deplibs="$lib $deplibs"
34159 + deplibs="$lib $deplibs" # used for prog,scan pass
34160 fi
34161 continue
34162 fi
34163
34164 - if test $linkmode = prog && test $pass != link; then
34165 +
34166 + if test "$linkmode" = prog && test "$pass" != link; then
34167 newlib_search_path="$newlib_search_path $ladir"
34168 deplibs="$lib $deplibs"
34169
34170 @@ -1701,7 +2474,7 @@
34171 -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
34172 esac
34173 # Need to link against all dependency_libs?
34174 - if test $linkalldeplibs = yes; then
34175 + if test "$linkalldeplibs" = yes; then
34176 deplibs="$deplib $deplibs"
34177 else
34178 # Need to hardcode shared library paths
34179 @@ -1718,13 +2491,19 @@
34180 continue
34181 fi # $linkmode = prog...
34182
34183 - link_static=no # Whether the deplib will be linked statically
34184 - if test -n "$library_names" &&
34185 - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
34186 - # Link against this shared library
34187 + if test "$linkmode,$pass" = "prog,link"; then
34188 + if test -n "$library_names" &&
34189 + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
34190 + # We need to hardcode the library path
34191 + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
34192 + # Make sure the rpath contains only unique directories.
34193 + case "$temp_rpath " in
34194 + *" $dir "*) ;;
34195 + *" $absdir "*) ;;
34196 + *) temp_rpath="$temp_rpath $absdir" ;;
34197 + esac
34198 + fi
34199
34200 - if test "$linkmode,$pass" = "prog,link" ||
34201 - { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
34202 # Hardcode the library path.
34203 # Skip directories that are in the system default run-time
34204 # search path.
34205 @@ -1746,17 +2525,6 @@
34206 esac
34207 ;;
34208 esac
34209 - if test $linkmode = prog; then
34210 - # We need to hardcode the library path
34211 - if test -n "$shlibpath_var"; then
34212 - # Make sure the rpath contains only unique directories.
34213 - case "$temp_rpath " in
34214 - *" $dir "*) ;;
34215 - *" $absdir "*) ;;
34216 - *) temp_rpath="$temp_rpath $dir" ;;
34217 - esac
34218 - fi
34219 - fi
34220 fi # $linkmode,$pass = prog,link...
34221
34222 if test "$alldeplibs" = yes &&
34223 @@ -1766,11 +2534,56 @@
34224 # We only need to search for static libraries
34225 continue
34226 fi
34227 + fi
34228
34229 + link_static=no # Whether the deplib will be linked statically
34230 + use_static_libs=$prefer_static_libs
34231 + if test "$use_static_libs" = built && test "$installed" = yes ; then
34232 + use_static_libs=no
34233 + fi
34234 + if test -n "$library_names" &&
34235 + { test "$use_static_libs" = no || test -z "$old_library"; }; then
34236 if test "$installed" = no; then
34237 notinst_deplibs="$notinst_deplibs $lib"
34238 need_relink=yes
34239 fi
34240 + # This is a shared library
34241 +
34242 + # Warn about portability, can't link against -module's on
34243 + # some systems (darwin)
34244 + if test "$shouldnotlink" = yes && test "$pass" = link ; then
34245 + $echo
34246 + if test "$linkmode" = prog; then
34247 + $echo "*** Warning: Linking the executable $output against the loadable module"
34248 + else
34249 + $echo "*** Warning: Linking the shared library $output against the loadable module"
34250 + fi
34251 + $echo "*** $linklib is not portable!"
34252 + fi
34253 + if test "$linkmode" = lib &&
34254 + test "$hardcode_into_libs" = yes; then
34255 + # Hardcode the library path.
34256 + # Skip directories that are in the system default run-time
34257 + # search path.
34258 + case " $sys_lib_dlsearch_path " in
34259 + *" $absdir "*) ;;
34260 + *)
34261 + case "$compile_rpath " in
34262 + *" $absdir "*) ;;
34263 + *) compile_rpath="$compile_rpath $absdir"
34264 + esac
34265 + ;;
34266 + esac
34267 + case " $sys_lib_dlsearch_path " in
34268 + *" $libdir "*) ;;
34269 + *)
34270 + case "$finalize_rpath " in
34271 + *" $libdir "*) ;;
34272 + *) finalize_rpath="$finalize_rpath $libdir"
34273 + esac
34274 + ;;
34275 + esac
34276 + fi
34277
34278 if test -n "$old_archive_from_expsyms_cmds"; then
34279 # figure out the soname
34280 @@ -1784,7 +2597,7 @@
34281 elif test -n "$soname_spec"; then
34282 # bleh windows
34283 case $host in
34284 - *cygwin*)
34285 + *cygwin* | mingw*)
34286 major=`expr $current - $age`
34287 versuffix="-$major"
34288 ;;
34289 @@ -1796,17 +2609,18 @@
34290
34291 # Make a new name for the extract_expsyms_cmds to use
34292 soroot="$soname"
34293 - soname=`echo $soroot | ${SED} -e 's/^.*\///'`
34294 - newlib="libimp-`echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
34295 + soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
34296 + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
34297
34298 # If the library has no export list, then create one now
34299 if test -f "$output_objdir/$soname-def"; then :
34300 else
34301 $show "extracting exported symbol list from \`$soname'"
34302 save_ifs="$IFS"; IFS='~'
34303 - eval cmds=\"$extract_expsyms_cmds\"
34304 + cmds=$extract_expsyms_cmds
34305 for cmd in $cmds; do
34306 IFS="$save_ifs"
34307 + eval cmd=\"$cmd\"
34308 $show "$cmd"
34309 $run eval "$cmd" || exit $?
34310 done
34311 @@ -1817,9 +2631,10 @@
34312 if test -f "$output_objdir/$newlib"; then :; else
34313 $show "generating import library for \`$soname'"
34314 save_ifs="$IFS"; IFS='~'
34315 - eval cmds=\"$old_archive_from_expsyms_cmds\"
34316 + cmds=$old_archive_from_expsyms_cmds
34317 for cmd in $cmds; do
34318 IFS="$save_ifs"
34319 + eval cmd=\"$cmd\"
34320 $show "$cmd"
34321 $run eval "$cmd" || exit $?
34322 done
34323 @@ -1828,9 +2643,9 @@
34324 # make sure the library variables are pointing to the new library
34325 dir=$output_objdir
34326 linklib=$newlib
34327 - fi # test -n $old_archive_from_expsyms_cmds
34328 + fi # test -n "$old_archive_from_expsyms_cmds"
34329
34330 - if test $linkmode = prog || test "$mode" != relink; then
34331 + if test "$linkmode" = prog || test "$mode" != relink; then
34332 add_shlibpath=
34333 add_dir=
34334 add=
34335 @@ -1839,6 +2654,26 @@
34336 immediate | unsupported)
34337 if test "$hardcode_direct" = no; then
34338 add="$dir/$linklib"
34339 + case $host in
34340 + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
34341 + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
34342 + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
34343 + *-*-unixware7*) add_dir="-L$dir" ;;
34344 + *-*-darwin* )
34345 + # if the lib is a module then we can not link against
34346 + # it, someone is ignoring the new warnings I added
34347 + if /usr/bin/file -L $add 2> /dev/null |
34348 + $EGREP ": [^:]* bundle" >/dev/null ; then
34349 + $echo "** Warning, lib $linklib is a module, not a shared library"
34350 + if test -z "$old_library" ; then
34351 + $echo
34352 + $echo "** And there doesn't seem to be a static archive available"
34353 + $echo "** The link will probably fail, sorry"
34354 + else
34355 + add="$dir/$old_library"
34356 + fi
34357 + fi
34358 + esac
34359 elif test "$hardcode_minus_L" = no; then
34360 case $host in
34361 *-*-sunos*) add_shlibpath="$dir" ;;
34362 @@ -1859,10 +2694,10 @@
34363 add_dir="-L$dir"
34364 # Try looking first in the location we're being installed to.
34365 if test -n "$inst_prefix_dir"; then
34366 - case "$libdir" in
34367 - [\/]*)
34368 - add_dir="-L$inst_prefix_dir$libdir $add_dir"
34369 - ;;
34370 + case $libdir in
34371 + [\\/]*)
34372 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
34373 + ;;
34374 esac
34375 fi
34376 add="-l$name"
34377 @@ -1878,7 +2713,7 @@
34378
34379 if test "$lib_linked" != yes; then
34380 $echo "$modename: configuration error: unsupported hardcode properties"
34381 - exit 1
34382 + exit $EXIT_FAILURE
34383 fi
34384
34385 if test -n "$add_shlibpath"; then
34386 @@ -1887,7 +2722,7 @@
34387 *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
34388 esac
34389 fi
34390 - if test $linkmode = prog; then
34391 + if test "$linkmode" = prog; then
34392 test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
34393 test -n "$add" && compile_deplibs="$add $compile_deplibs"
34394 else
34395 @@ -1904,7 +2739,7 @@
34396 fi
34397 fi
34398
34399 - if test $linkmode = prog || test "$mode" = relink; then
34400 + if test "$linkmode" = prog || test "$mode" = relink; then
34401 add_shlibpath=
34402 add_dir=
34403 add=
34404 @@ -1920,21 +2755,28 @@
34405 *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
34406 esac
34407 add="-l$name"
34408 + elif test "$hardcode_automatic" = yes; then
34409 + if test -n "$inst_prefix_dir" &&
34410 + test -f "$inst_prefix_dir$libdir/$linklib" ; then
34411 + add="$inst_prefix_dir$libdir/$linklib"
34412 + else
34413 + add="$libdir/$linklib"
34414 + fi
34415 else
34416 # We cannot seem to hardcode it, guess we'll fake it.
34417 add_dir="-L$libdir"
34418 # Try looking first in the location we're being installed to.
34419 if test -n "$inst_prefix_dir"; then
34420 - case "$libdir" in
34421 - [\/]*)
34422 - add_dir="-L$inst_prefix_dir$libdir $add_dir"
34423 - ;;
34424 + case $libdir in
34425 + [\\/]*)
34426 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
34427 + ;;
34428 esac
34429 fi
34430 add="-l$name"
34431 fi
34432
34433 - if test $linkmode = prog; then
34434 + if test "$linkmode" = prog; then
34435 test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
34436 test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
34437 else
34438 @@ -1942,16 +2784,7 @@
34439 test -n "$add" && deplibs="$add $deplibs"
34440 fi
34441 fi
34442 - elif test $linkmode = prog; then
34443 - if test "$alldeplibs" = yes &&
34444 - { test "$deplibs_check_method" = pass_all ||
34445 - { test "$build_libtool_libs" = yes &&
34446 - test -n "$library_names"; }; }; then
34447 - # We only need to search for static libraries
34448 - continue
34449 - fi
34450 -
34451 - # Try to link the static library
34452 + elif test "$linkmode" = prog; then
34453 # Here we assume that one of hardcode_direct or hardcode_minus_L
34454 # is not unsupported. This is valid on all known static and
34455 # shared platforms.
34456 @@ -1971,21 +2804,21 @@
34457
34458 # Just print a warning and add the library to dependency_libs so
34459 # that the program can be linked against the static library.
34460 - echo
34461 - echo "*** Warning: This system can not link to static lib archive $lib."
34462 - echo "*** I have the capability to make that library automatically link in when"
34463 - echo "*** you link to this library. But I can only do this if you have a"
34464 - echo "*** shared version of the library, which you do not appear to have."
34465 + $echo
34466 + $echo "*** Warning: This system can not link to static lib archive $lib."
34467 + $echo "*** I have the capability to make that library automatically link in when"
34468 + $echo "*** you link to this library. But I can only do this if you have a"
34469 + $echo "*** shared version of the library, which you do not appear to have."
34470 if test "$module" = yes; then
34471 - echo "*** But as you try to build a module library, libtool will still create "
34472 - echo "*** a static module, that should work as long as the dlopening application"
34473 - echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
34474 + $echo "*** But as you try to build a module library, libtool will still create "
34475 + $echo "*** a static module, that should work as long as the dlopening application"
34476 + $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
34477 if test -z "$global_symbol_pipe"; then
34478 - echo
34479 - echo "*** However, this would only work if libtool was able to extract symbol"
34480 - echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
34481 - echo "*** not find such a program. So, this module is probably useless."
34482 - echo "*** \`nm' from GNU binutils and a full rebuild may help."
34483 + $echo
34484 + $echo "*** However, this would only work if libtool was able to extract symbol"
34485 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
34486 + $echo "*** not find such a program. So, this module is probably useless."
34487 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
34488 fi
34489 if test "$build_old_libs" = no; then
34490 build_libtool_libs=module
34491 @@ -1995,17 +2828,16 @@
34492 fi
34493 fi
34494 else
34495 - convenience="$convenience $dir/$old_library"
34496 - old_convenience="$old_convenience $dir/$old_library"
34497 deplibs="$dir/$old_library $deplibs"
34498 link_static=yes
34499 fi
34500 fi # link shared/static library?
34501
34502 - if test $linkmode = lib; then
34503 + if test "$linkmode" = lib; then
34504 if test -n "$dependency_libs" &&
34505 - { test $hardcode_into_libs != yes || test $build_old_libs = yes ||
34506 - test $link_static = yes; }; then
34507 + { test "$hardcode_into_libs" != yes ||
34508 + test "$build_old_libs" = yes ||
34509 + test "$link_static" = yes; }; then
34510 # Extract -R from dependency_libs
34511 temp_deplibs=
34512 for libdir in $dependency_libs; do
34513 @@ -2036,7 +2868,7 @@
34514 tmp_libs="$tmp_libs $deplib"
34515 done
34516
34517 - if test $link_all_deplibs != no; then
34518 + if test "$link_all_deplibs" != no; then
34519 # Add the search paths of all dependency libraries
34520 for deplib in $dependency_libs; do
34521 case $deplib in
34522 @@ -2056,38 +2888,83 @@
34523 ;;
34524 esac
34525 if grep "^installed=no" $deplib > /dev/null; then
34526 - path="-L$absdir/$objdir"
34527 + path="$absdir/$objdir"
34528 else
34529 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
34530 if test -z "$libdir"; then
34531 $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
34532 - exit 1
34533 + exit $EXIT_FAILURE
34534 fi
34535 if test "$absdir" != "$libdir"; then
34536 $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
34537 fi
34538 - path="-L$absdir"
34539 + path="$absdir"
34540 fi
34541 + depdepl=
34542 + case $host in
34543 + *-*-darwin*)
34544 + # we do not want to link against static libs,
34545 + # but need to link against shared
34546 + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
34547 + if test -n "$deplibrary_names" ; then
34548 + for tmp in $deplibrary_names ; do
34549 + depdepl=$tmp
34550 + done
34551 + if test -f "$path/$depdepl" ; then
34552 + depdepl="$path/$depdepl"
34553 + fi
34554 + # do not add paths which are already there
34555 + case " $newlib_search_path " in
34556 + *" $path "*) ;;
34557 + *) newlib_search_path="$newlib_search_path $path";;
34558 + esac
34559 + fi
34560 + path=""
34561 + ;;
34562 + *)
34563 + path="-L$path"
34564 + ;;
34565 + esac
34566 + ;;
34567 + -l*)
34568 + case $host in
34569 + *-*-darwin*)
34570 + # Again, we only want to link against shared libraries
34571 + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
34572 + for tmp in $newlib_search_path ; do
34573 + if test -f "$tmp/lib$tmp_libs.dylib" ; then
34574 + eval depdepl="$tmp/lib$tmp_libs.dylib"
34575 + break
34576 + fi
34577 + done
34578 + path=""
34579 + ;;
34580 + *) continue ;;
34581 + esac
34582 ;;
34583 *) continue ;;
34584 esac
34585 case " $deplibs " in
34586 *" $path "*) ;;
34587 - *) deplibs="$deplibs $path" ;;
34588 + *) deplibs="$path $deplibs" ;;
34589 + esac
34590 + case " $deplibs " in
34591 + *" $depdepl "*) ;;
34592 + *) deplibs="$depdepl $deplibs" ;;
34593 esac
34594 done
34595 fi # link_all_deplibs != no
34596 fi # linkmode = lib
34597 done # for deplib in $libs
34598 - if test $pass = dlpreopen; then
34599 + dependency_libs="$newdependency_libs"
34600 + if test "$pass" = dlpreopen; then
34601 # Link the dlpreopened libraries before other libraries
34602 for deplib in $save_deplibs; do
34603 deplibs="$deplib $deplibs"
34604 done
34605 fi
34606 - if test $pass != dlopen; then
34607 - test $pass != scan && dependency_libs="$newdependency_libs"
34608 - if test $pass != conv; then
34609 + if test "$pass" != dlopen; then
34610 + if test "$pass" != conv; then
34611 # Make sure lib_search_path contains only unique directories.
34612 lib_search_path=
34613 for dir in $newlib_search_path; do
34614 @@ -2109,9 +2986,30 @@
34615 eval tmp_libs=\"\$$var\"
34616 new_libs=
34617 for deplib in $tmp_libs; do
34618 + # FIXME: Pedantically, this is the right thing to do, so
34619 + # that some nasty dependency loop isn't accidentally
34620 + # broken:
34621 + #new_libs="$deplib $new_libs"
34622 + # Pragmatically, this seems to cause very few problems in
34623 + # practice:
34624 case $deplib in
34625 -L*) new_libs="$deplib $new_libs" ;;
34626 + -R*) ;;
34627 *)
34628 + # And here is the reason: when a library appears more
34629 + # than once as an explicit dependence of a library, or
34630 + # is implicitly linked in more than once by the
34631 + # compiler, it is considered special, and multiple
34632 + # occurrences thereof are not removed. Compare this
34633 + # with having the same library being listed as a
34634 + # dependency of multiple other libraries: in this case,
34635 + # we know (pedantically, we assume) the library does not
34636 + # need to be listed more than once, so we keep only the
34637 + # last copy. This is not always right, but it is rare
34638 + # enough that we require users that really mean to play
34639 + # such unportable linking tricks to link the library
34640 + # using -Wl,-lname, so that libtool does not consider it
34641 + # for duplicate removal.
34642 case " $specialdeplibs " in
34643 *" $deplib "*) new_libs="$deplib $new_libs" ;;
34644 *)
34645 @@ -2139,19 +3037,32 @@
34646 eval $var=\"$tmp_libs\"
34647 done # for var
34648 fi
34649 - if test "$pass" = "conv" &&
34650 - { test "$linkmode" = "lib" || test "$linkmode" = "prog"; }; then
34651 - libs="$deplibs" # reset libs
34652 - deplibs=
34653 - fi
34654 + # Last step: remove runtime libs from dependency_libs
34655 + # (they stay in deplibs)
34656 + tmp_libs=
34657 + for i in $dependency_libs ; do
34658 + case " $predeps $postdeps $compiler_lib_search_path " in
34659 + *" $i "*)
34660 + i=""
34661 + ;;
34662 + esac
34663 + if test -n "$i" ; then
34664 + tmp_libs="$tmp_libs $i"
34665 + fi
34666 + done
34667 + dependency_libs=$tmp_libs
34668 done # for pass
34669 - if test $linkmode = prog; then
34670 + if test "$linkmode" = prog; then
34671 dlfiles="$newdlfiles"
34672 dlprefiles="$newdlprefiles"
34673 fi
34674
34675 case $linkmode in
34676 oldlib)
34677 + if test -n "$deplibs"; then
34678 + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
34679 + fi
34680 +
34681 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
34682 $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
34683 fi
34684 @@ -2165,7 +3076,7 @@
34685 fi
34686
34687 if test -n "$vinfo"; then
34688 - $echo "$modename: warning: \`-version-info' is ignored for archives" 1>&2
34689 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
34690 fi
34691
34692 if test -n "$release"; then
34693 @@ -2187,17 +3098,19 @@
34694 case $outputname in
34695 lib*)
34696 name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
34697 + eval shared_ext=\"$shrext_cmds\"
34698 eval libname=\"$libname_spec\"
34699 ;;
34700 *)
34701 if test "$module" = no; then
34702 $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
34703 $echo "$help" 1>&2
34704 - exit 1
34705 + exit $EXIT_FAILURE
34706 fi
34707 if test "$need_lib_prefix" != no; then
34708 # Add the "lib" prefix for modules if required
34709 name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
34710 + eval shared_ext=\"$shrext_cmds\"
34711 eval libname=\"$libname_spec\"
34712 else
34713 libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
34714 @@ -2208,11 +3121,11 @@
34715 if test -n "$objs"; then
34716 if test "$deplibs_check_method" != pass_all; then
34717 $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
34718 - exit 1
34719 + exit $EXIT_FAILURE
34720 else
34721 - echo
34722 - echo "*** Warning: Linking the shared library $output against the non-libtool"
34723 - echo "*** objects $objs is not portable!"
34724 + $echo
34725 + $echo "*** Warning: Linking the shared library $output against the non-libtool"
34726 + $echo "*** objects $objs is not portable!"
34727 libobjs="$libobjs $objs"
34728 fi
34729 fi
34730 @@ -2222,7 +3135,7 @@
34731 fi
34732
34733 set dummy $rpath
34734 - if test $# -gt 2; then
34735 + if test "$#" -gt 2; then
34736 $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
34737 fi
34738 install_libdir="$2"
34739 @@ -2231,14 +3144,16 @@
34740 if test -z "$rpath"; then
34741 if test "$build_libtool_libs" = yes; then
34742 # Building a libtool convenience library.
34743 - libext=al
34744 + # Some compilers have problems with a `.al' extension so
34745 + # convenience libraries should have the same extension an
34746 + # archive normally would.
34747 oldlibs="$output_objdir/$libname.$libext $oldlibs"
34748 build_libtool_libs=convenience
34749 build_old_libs=yes
34750 fi
34751
34752 if test -n "$vinfo"; then
34753 - $echo "$modename: warning: \`-version-info' is ignored for convenience libraries" 1>&2
34754 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
34755 fi
34756
34757 if test -n "$release"; then
34758 @@ -2254,45 +3169,87 @@
34759 if test -n "$8"; then
34760 $echo "$modename: too many parameters to \`-version-info'" 1>&2
34761 $echo "$help" 1>&2
34762 - exit 1
34763 + exit $EXIT_FAILURE
34764 fi
34765
34766 - current="$2"
34767 - revision="$3"
34768 - age="$4"
34769 + # convert absolute version numbers to libtool ages
34770 + # this retains compatibility with .la files and attempts
34771 + # to make the code below a bit more comprehensible
34772 +
34773 + case $vinfo_number in
34774 + yes)
34775 + number_major="$2"
34776 + number_minor="$3"
34777 + number_revision="$4"
34778 + #
34779 + # There are really only two kinds -- those that
34780 + # use the current revision as the major version
34781 + # and those that subtract age and use age as
34782 + # a minor version. But, then there is irix
34783 + # which has an extra 1 added just for fun
34784 + #
34785 + case $version_type in
34786 + darwin|linux|osf|windows)
34787 + current=`expr $number_major + $number_minor`
34788 + age="$number_minor"
34789 + revision="$number_revision"
34790 + ;;
34791 + freebsd-aout|freebsd-elf|sunos)
34792 + current="$number_major"
34793 + revision="$number_minor"
34794 + age="0"
34795 + ;;
34796 + irix|nonstopux)
34797 + current=`expr $number_major + $number_minor - 1`
34798 + age="$number_minor"
34799 + revision="$number_minor"
34800 + ;;
34801 + *)
34802 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
34803 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
34804 + exit $EXIT_FAILURE
34805 + ;;
34806 + esac
34807 + ;;
34808 + no)
34809 + current="$2"
34810 + revision="$3"
34811 + age="$4"
34812 + ;;
34813 + esac
34814
34815 # Check that each of the things are valid numbers.
34816 case $current in
34817 - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
34818 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
34819 *)
34820 - $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
34821 + $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
34822 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
34823 - exit 1
34824 + exit $EXIT_FAILURE
34825 ;;
34826 esac
34827
34828 case $revision in
34829 - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
34830 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
34831 *)
34832 - $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
34833 + $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
34834 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
34835 - exit 1
34836 + exit $EXIT_FAILURE
34837 ;;
34838 esac
34839
34840 case $age in
34841 - 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
34842 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
34843 *)
34844 - $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
34845 + $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
34846 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
34847 - exit 1
34848 + exit $EXIT_FAILURE
34849 ;;
34850 esac
34851
34852 - if test $age -gt $current; then
34853 + if test "$age" -gt "$current"; then
34854 $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
34855 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
34856 - exit 1
34857 + exit $EXIT_FAILURE
34858 fi
34859
34860 # Calculate the version variables.
34861 @@ -2309,7 +3266,7 @@
34862 versuffix="$major.$age.$revision"
34863 # Darwin ld doesn't like 0 for these options...
34864 minor_current=`expr $current + 1`
34865 - verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
34866 + verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
34867 ;;
34868
34869 freebsd-aout)
34870 @@ -2333,7 +3290,7 @@
34871
34872 # Add in all the interfaces that we are compatible with.
34873 loop=$revision
34874 - while test $loop != 0; do
34875 + while test "$loop" -ne 0; do
34876 iface=`expr $revision - $loop`
34877 loop=`expr $loop - 1`
34878 verstring="$verstring_prefix$major.$iface:$verstring"
34879 @@ -2356,7 +3313,7 @@
34880
34881 # Add in all the interfaces that we are compatible with.
34882 loop=$age
34883 - while test $loop != 0; do
34884 + while test "$loop" -ne 0; do
34885 iface=`expr $current - $loop`
34886 loop=`expr $loop - 1`
34887 verstring="$verstring:${iface}.0"
34888 @@ -2380,20 +3337,19 @@
34889
34890 *)
34891 $echo "$modename: unknown library version type \`$version_type'" 1>&2
34892 - echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
34893 - exit 1
34894 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
34895 + exit $EXIT_FAILURE
34896 ;;
34897 esac
34898
34899 # Clear the version info if we defaulted, and they specified a release.
34900 if test -z "$vinfo" && test -n "$release"; then
34901 major=
34902 - verstring="0.0"
34903 case $version_type in
34904 darwin)
34905 # we can't check for "0.0" in archive_cmds due to quoting
34906 # problems, so we reset it completely
34907 - verstring=""
34908 + verstring=
34909 ;;
34910 *)
34911 verstring="0.0"
34912 @@ -2427,9 +3383,30 @@
34913 fi
34914
34915 if test "$mode" != relink; then
34916 - # Remove our outputs.
34917 - $show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
34918 - $run ${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*
34919 + # Remove our outputs, but don't remove object files since they
34920 + # may have been created when compiling PIC objects.
34921 + removelist=
34922 + tempremovelist=`$echo "$output_objdir/*"`
34923 + for p in $tempremovelist; do
34924 + case $p in
34925 + *.$objext)
34926 + ;;
34927 + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
34928 + if test "X$precious_files_regex" != "X"; then
34929 + if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
34930 + then
34931 + continue
34932 + fi
34933 + fi
34934 + removelist="$removelist $p"
34935 + ;;
34936 + *) ;;
34937 + esac
34938 + done
34939 + if test -n "$removelist"; then
34940 + $show "${rm}r $removelist"
34941 + $run ${rm}r $removelist
34942 + fi
34943 fi
34944
34945 # Now set the variables for building old libraries.
34946 @@ -2442,9 +3419,9 @@
34947
34948 # Eliminate all temporary directories.
34949 for path in $notinst_path; do
34950 - lib_search_path=`echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
34951 - deplibs=`echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
34952 - dependency_libs=`echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
34953 + lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
34954 + deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
34955 + dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
34956 done
34957
34958 if test -n "$xrpath"; then
34959 @@ -2457,7 +3434,7 @@
34960 *) finalize_rpath="$finalize_rpath $libdir" ;;
34961 esac
34962 done
34963 - if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
34964 + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
34965 dependency_libs="$temp_xrpath $dependency_libs"
34966 fi
34967 fi
34968 @@ -2495,12 +3472,18 @@
34969 *-*-netbsd*)
34970 # Don't link with libc until the a.out ld.so is fixed.
34971 ;;
34972 - *-*-openbsd* | *-*-freebsd*)
34973 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
34974 # Do not include libc due to us having libc/libc_r.
34975 ;;
34976 - *)
34977 + *-*-sco3.2v5* | *-*-sco5v6*)
34978 + # Causes problems with __ctype
34979 + ;;
34980 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
34981 + # Compiler inserts libc in the correct place for threads to work
34982 + ;;
34983 + *)
34984 # Add libc to deplibs on all other systems if necessary.
34985 - if test $build_libtool_need_lc = "yes"; then
34986 + if test "$build_libtool_need_lc" = "yes"; then
34987 deplibs="$deplibs -lc"
34988 fi
34989 ;;
34990 @@ -2527,7 +3510,7 @@
34991 # This might be a little naive. We might want to check
34992 # whether the library exists or not. But this is on
34993 # osf3 & osf4 and I'm not really sure... Just
34994 - # implementing what was already the behaviour.
34995 + # implementing what was already the behavior.
34996 newdeplibs=$deplibs
34997 ;;
34998 test_compile)
34999 @@ -2540,68 +3523,88 @@
35000 int main() { return 0; }
35001 EOF
35002 $rm conftest
35003 - $CC -o conftest conftest.c $deplibs
35004 - if test $? -eq 0 ; then
35005 + $LTCC $LTCFLAGS -o conftest conftest.c $deplibs
35006 + if test "$?" -eq 0 ; then
35007 ldd_output=`ldd conftest`
35008 for i in $deplibs; do
35009 - name="`expr $i : '-l\(.*\)'`"
35010 + name=`expr $i : '-l\(.*\)'`
35011 # If $name is empty we are operating on a -L argument.
35012 - if test -n "$name" && test "$name" != "0"; then
35013 - libname=`eval \\$echo \"$libname_spec\"`
35014 - deplib_matches=`eval \\$echo \"$library_names_spec\"`
35015 - set dummy $deplib_matches
35016 - deplib_match=$2
35017 - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
35018 - newdeplibs="$newdeplibs $i"
35019 - else
35020 - droppeddeps=yes
35021 - echo
35022 - echo "*** Warning: dynamic linker does not accept needed library $i."
35023 - echo "*** I have the capability to make that library automatically link in when"
35024 - echo "*** you link to this library. But I can only do this if you have a"
35025 - echo "*** shared version of the library, which I believe you do not have"
35026 - echo "*** because a test_compile did reveal that the linker did not use it for"
35027 - echo "*** its dynamic dependency list that programs get resolved with at runtime."
35028 + if test "$name" != "" && test "$name" -ne "0"; then
35029 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35030 + case " $predeps $postdeps " in
35031 + *" $i "*)
35032 + newdeplibs="$newdeplibs $i"
35033 + i=""
35034 + ;;
35035 + esac
35036 + fi
35037 + if test -n "$i" ; then
35038 + libname=`eval \\$echo \"$libname_spec\"`
35039 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
35040 + set dummy $deplib_matches
35041 + deplib_match=$2
35042 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
35043 + newdeplibs="$newdeplibs $i"
35044 + else
35045 + droppeddeps=yes
35046 + $echo
35047 + $echo "*** Warning: dynamic linker does not accept needed library $i."
35048 + $echo "*** I have the capability to make that library automatically link in when"
35049 + $echo "*** you link to this library. But I can only do this if you have a"
35050 + $echo "*** shared version of the library, which I believe you do not have"
35051 + $echo "*** because a test_compile did reveal that the linker did not use it for"
35052 + $echo "*** its dynamic dependency list that programs get resolved with at runtime."
35053 + fi
35054 fi
35055 else
35056 newdeplibs="$newdeplibs $i"
35057 fi
35058 done
35059 else
35060 - # Error occured in the first compile. Let's try to salvage
35061 + # Error occurred in the first compile. Let's try to salvage
35062 # the situation: Compile a separate program for each library.
35063 for i in $deplibs; do
35064 - name="`expr $i : '-l\(.*\)'`"
35065 - # If $name is empty we are operating on a -L argument.
35066 - if test -n "$name" && test "$name" != "0"; then
35067 + name=`expr $i : '-l\(.*\)'`
35068 + # If $name is empty we are operating on a -L argument.
35069 + if test "$name" != "" && test "$name" != "0"; then
35070 $rm conftest
35071 - $CC -o conftest conftest.c $i
35072 + $LTCC $LTCFLAGS -o conftest conftest.c $i
35073 # Did it work?
35074 - if test $? -eq 0 ; then
35075 + if test "$?" -eq 0 ; then
35076 ldd_output=`ldd conftest`
35077 - libname=`eval \\$echo \"$libname_spec\"`
35078 - deplib_matches=`eval \\$echo \"$library_names_spec\"`
35079 - set dummy $deplib_matches
35080 - deplib_match=$2
35081 - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
35082 - newdeplibs="$newdeplibs $i"
35083 - else
35084 - droppeddeps=yes
35085 - echo
35086 - echo "*** Warning: dynamic linker does not accept needed library $i."
35087 - echo "*** I have the capability to make that library automatically link in when"
35088 - echo "*** you link to this library. But I can only do this if you have a"
35089 - echo "*** shared version of the library, which you do not appear to have"
35090 - echo "*** because a test_compile did reveal that the linker did not use this one"
35091 - echo "*** as a dynamic dependency that programs can get resolved with at runtime."
35092 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35093 + case " $predeps $postdeps " in
35094 + *" $i "*)
35095 + newdeplibs="$newdeplibs $i"
35096 + i=""
35097 + ;;
35098 + esac
35099 + fi
35100 + if test -n "$i" ; then
35101 + libname=`eval \\$echo \"$libname_spec\"`
35102 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
35103 + set dummy $deplib_matches
35104 + deplib_match=$2
35105 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
35106 + newdeplibs="$newdeplibs $i"
35107 + else
35108 + droppeddeps=yes
35109 + $echo
35110 + $echo "*** Warning: dynamic linker does not accept needed library $i."
35111 + $echo "*** I have the capability to make that library automatically link in when"
35112 + $echo "*** you link to this library. But I can only do this if you have a"
35113 + $echo "*** shared version of the library, which you do not appear to have"
35114 + $echo "*** because a test_compile did reveal that the linker did not use this one"
35115 + $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
35116 + fi
35117 fi
35118 else
35119 droppeddeps=yes
35120 - echo
35121 - echo "*** Warning! Library $i is needed by this library but I was not able to"
35122 - echo "*** make it link in! You will probably need to install it or some"
35123 - echo "*** library that it depends on before this library will be fully"
35124 - echo "*** functional. Installing it before continuing would be even better."
35125 + $echo
35126 + $echo "*** Warning! Library $i is needed by this library but I was not able to"
35127 + $echo "*** make it link in! You will probably need to install it or some"
35128 + $echo "*** library that it depends on before this library will be fully"
35129 + $echo "*** functional. Installing it before continuing would be even better."
35130 fi
35131 else
35132 newdeplibs="$newdeplibs $i"
35133 @@ -2613,13 +3616,22 @@
35134 set dummy $deplibs_check_method
35135 file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
35136 for a_deplib in $deplibs; do
35137 - name="`expr $a_deplib : '-l\(.*\)'`"
35138 + name=`expr $a_deplib : '-l\(.*\)'`
35139 # If $name is empty we are operating on a -L argument.
35140 - if test -n "$name" && test "$name" != "0"; then
35141 - libname=`eval \\$echo \"$libname_spec\"`
35142 - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
35143 - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
35144 - for potent_lib in $potential_libs; do
35145 + if test "$name" != "" && test "$name" != "0"; then
35146 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35147 + case " $predeps $postdeps " in
35148 + *" $a_deplib "*)
35149 + newdeplibs="$newdeplibs $a_deplib"
35150 + a_deplib=""
35151 + ;;
35152 + esac
35153 + fi
35154 + if test -n "$a_deplib" ; then
35155 + libname=`eval \\$echo \"$libname_spec\"`
35156 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
35157 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
35158 + for potent_lib in $potential_libs; do
35159 # Follow soft links.
35160 if ls -lLd "$potent_lib" 2>/dev/null \
35161 | grep " -> " >/dev/null; then
35162 @@ -2640,26 +3652,27 @@
35163 done
35164 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
35165 | ${SED} 10q \
35166 - | egrep "$file_magic_regex" > /dev/null; then
35167 + | $EGREP "$file_magic_regex" > /dev/null; then
35168 newdeplibs="$newdeplibs $a_deplib"
35169 a_deplib=""
35170 break 2
35171 fi
35172 - done
35173 - done
35174 + done
35175 + done
35176 + fi
35177 if test -n "$a_deplib" ; then
35178 droppeddeps=yes
35179 - echo
35180 - echo "*** Warning: linker path does not have real file for library $a_deplib."
35181 - echo "*** I have the capability to make that library automatically link in when"
35182 - echo "*** you link to this library. But I can only do this if you have a"
35183 - echo "*** shared version of the library, which you do not appear to have"
35184 - echo "*** because I did check the linker path looking for a file starting"
35185 + $echo
35186 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
35187 + $echo "*** I have the capability to make that library automatically link in when"
35188 + $echo "*** you link to this library. But I can only do this if you have a"
35189 + $echo "*** shared version of the library, which you do not appear to have"
35190 + $echo "*** because I did check the linker path looking for a file starting"
35191 if test -z "$potlib" ; then
35192 - echo "*** with $libname but no candidates were found. (...for file magic test)"
35193 + $echo "*** with $libname but no candidates were found. (...for file magic test)"
35194 else
35195 - echo "*** with $libname and none of the candidates passed a file format test"
35196 - echo "*** using a file magic. Last file checked: $potlib"
35197 + $echo "*** with $libname and none of the candidates passed a file format test"
35198 + $echo "*** using a file magic. Last file checked: $potlib"
35199 fi
35200 fi
35201 else
35202 @@ -2672,36 +3685,46 @@
35203 set dummy $deplibs_check_method
35204 match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
35205 for a_deplib in $deplibs; do
35206 - name="`expr $a_deplib : '-l\(.*\)'`"
35207 + name=`expr $a_deplib : '-l\(.*\)'`
35208 # If $name is empty we are operating on a -L argument.
35209 if test -n "$name" && test "$name" != "0"; then
35210 - libname=`eval \\$echo \"$libname_spec\"`
35211 - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
35212 - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
35213 - for potent_lib in $potential_libs; do
35214 - potlib="$potent_lib" # see symlink-check below in file_magic test
35215 - if eval echo \"$potent_lib\" 2>/dev/null \
35216 - | ${SED} 10q \
35217 - | egrep "$match_pattern_regex" > /dev/null; then
35218 - newdeplibs="$newdeplibs $a_deplib"
35219 - a_deplib=""
35220 - break 2
35221 - fi
35222 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35223 + case " $predeps $postdeps " in
35224 + *" $a_deplib "*)
35225 + newdeplibs="$newdeplibs $a_deplib"
35226 + a_deplib=""
35227 + ;;
35228 + esac
35229 + fi
35230 + if test -n "$a_deplib" ; then
35231 + libname=`eval \\$echo \"$libname_spec\"`
35232 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
35233 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
35234 + for potent_lib in $potential_libs; do
35235 + potlib="$potent_lib" # see symlink-check above in file_magic test
35236 + if eval $echo \"$potent_lib\" 2>/dev/null \
35237 + | ${SED} 10q \
35238 + | $EGREP "$match_pattern_regex" > /dev/null; then
35239 + newdeplibs="$newdeplibs $a_deplib"
35240 + a_deplib=""
35241 + break 2
35242 + fi
35243 + done
35244 done
35245 - done
35246 + fi
35247 if test -n "$a_deplib" ; then
35248 droppeddeps=yes
35249 - echo
35250 - echo "*** Warning: linker path does not have real file for library $a_deplib."
35251 - echo "*** I have the capability to make that library automatically link in when"
35252 - echo "*** you link to this library. But I can only do this if you have a"
35253 - echo "*** shared version of the library, which you do not appear to have"
35254 - echo "*** because I did check the linker path looking for a file starting"
35255 + $echo
35256 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
35257 + $echo "*** I have the capability to make that library automatically link in when"
35258 + $echo "*** you link to this library. But I can only do this if you have a"
35259 + $echo "*** shared version of the library, which you do not appear to have"
35260 + $echo "*** because I did check the linker path looking for a file starting"
35261 if test -z "$potlib" ; then
35262 - echo "*** with $libname but no candidates were found. (...for regex pattern test)"
35263 + $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
35264 else
35265 - echo "*** with $libname and none of the candidates passed a file format test"
35266 - echo "*** using a regex pattern. Last file checked: $potlib"
35267 + $echo "*** with $libname and none of the candidates passed a file format test"
35268 + $echo "*** using a regex pattern. Last file checked: $potlib"
35269 fi
35270 fi
35271 else
35272 @@ -2712,16 +3735,23 @@
35273 ;;
35274 none | unknown | *)
35275 newdeplibs=""
35276 - if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
35277 - -e 's/ -[LR][^ ]*//g' -e 's/[ ]//g' |
35278 - grep . >/dev/null; then
35279 - echo
35280 + tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
35281 + -e 's/ -[LR][^ ]*//g'`
35282 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
35283 + for i in $predeps $postdeps ; do
35284 + # can't use Xsed below, because $i might contain '/'
35285 + tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
35286 + done
35287 + fi
35288 + if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
35289 + | grep . >/dev/null; then
35290 + $echo
35291 if test "X$deplibs_check_method" = "Xnone"; then
35292 - echo "*** Warning: inter-library dependencies are not supported in this platform."
35293 + $echo "*** Warning: inter-library dependencies are not supported in this platform."
35294 else
35295 - echo "*** Warning: inter-library dependencies are not known to be supported."
35296 + $echo "*** Warning: inter-library dependencies are not known to be supported."
35297 fi
35298 - echo "*** All declared inter-library dependencies are being dropped."
35299 + $echo "*** All declared inter-library dependencies are being dropped."
35300 droppeddeps=yes
35301 fi
35302 ;;
35303 @@ -2741,17 +3771,17 @@
35304
35305 if test "$droppeddeps" = yes; then
35306 if test "$module" = yes; then
35307 - echo
35308 - echo "*** Warning: libtool could not satisfy all declared inter-library"
35309 - echo "*** dependencies of module $libname. Therefore, libtool will create"
35310 - echo "*** a static module, that should work as long as the dlopening"
35311 - echo "*** application is linked with the -dlopen flag."
35312 + $echo
35313 + $echo "*** Warning: libtool could not satisfy all declared inter-library"
35314 + $echo "*** dependencies of module $libname. Therefore, libtool will create"
35315 + $echo "*** a static module, that should work as long as the dlopening"
35316 + $echo "*** application is linked with the -dlopen flag."
35317 if test -z "$global_symbol_pipe"; then
35318 - echo
35319 - echo "*** However, this would only work if libtool was able to extract symbol"
35320 - echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
35321 - echo "*** not find such a program. So, this module is probably useless."
35322 - echo "*** \`nm' from GNU binutils and a full rebuild may help."
35323 + $echo
35324 + $echo "*** However, this would only work if libtool was able to extract symbol"
35325 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
35326 + $echo "*** not find such a program. So, this module is probably useless."
35327 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
35328 fi
35329 if test "$build_old_libs" = no; then
35330 oldlibs="$output_objdir/$libname.$libext"
35331 @@ -2761,16 +3791,16 @@
35332 build_libtool_libs=no
35333 fi
35334 else
35335 - echo "*** The inter-library dependencies that have been dropped here will be"
35336 - echo "*** automatically added whenever a program is linked with this library"
35337 - echo "*** or is declared to -dlopen it."
35338 -
35339 - if test $allow_undefined = no; then
35340 - echo
35341 - echo "*** Since this library must not contain undefined symbols,"
35342 - echo "*** because either the platform does not support them or"
35343 - echo "*** it was explicitly requested with -no-undefined,"
35344 - echo "*** libtool will only create a static version of it."
35345 + $echo "*** The inter-library dependencies that have been dropped here will be"
35346 + $echo "*** automatically added whenever a program is linked with this library"
35347 + $echo "*** or is declared to -dlopen it."
35348 +
35349 + if test "$allow_undefined" = no; then
35350 + $echo
35351 + $echo "*** Since this library must not contain undefined symbols,"
35352 + $echo "*** because either the platform does not support them or"
35353 + $echo "*** it was explicitly requested with -no-undefined,"
35354 + $echo "*** libtool will only create a static version of it."
35355 if test "$build_old_libs" = no; then
35356 oldlibs="$output_objdir/$libname.$libext"
35357 build_libtool_libs=module
35358 @@ -2785,6 +3815,35 @@
35359 deplibs=$newdeplibs
35360 fi
35361
35362 +
35363 + # move library search paths that coincide with paths to not yet
35364 + # installed libraries to the beginning of the library search list
35365 + new_libs=
35366 + for path in $notinst_path; do
35367 + case " $new_libs " in
35368 + *" -L$path/$objdir "*) ;;
35369 + *)
35370 + case " $deplibs " in
35371 + *" -L$path/$objdir "*)
35372 + new_libs="$new_libs -L$path/$objdir" ;;
35373 + esac
35374 + ;;
35375 + esac
35376 + done
35377 + for deplib in $deplibs; do
35378 + case $deplib in
35379 + -L*)
35380 + case " $new_libs " in
35381 + *" $deplib "*) ;;
35382 + *) new_libs="$new_libs $deplib" ;;
35383 + esac
35384 + ;;
35385 + *) new_libs="$new_libs $deplib" ;;
35386 + esac
35387 + done
35388 + deplibs="$new_libs"
35389 +
35390 +
35391 # All the library-specific variables (install_libdir is set above).
35392 library_names=
35393 old_library=
35394 @@ -2792,7 +3851,7 @@
35395
35396 # Test again, we may have decided not to build it any more
35397 if test "$build_libtool_libs" = yes; then
35398 - if test $hardcode_into_libs = yes; then
35399 + if test "$hardcode_into_libs" = yes; then
35400 # Hardcode the library paths
35401 hardcode_libdirs=
35402 dep_rpath=
35403 @@ -2828,7 +3887,11 @@
35404 if test -n "$hardcode_libdir_separator" &&
35405 test -n "$hardcode_libdirs"; then
35406 libdir="$hardcode_libdirs"
35407 - eval dep_rpath=\"$hardcode_libdir_flag_spec\"
35408 + if test -n "$hardcode_libdir_flag_spec_ld"; then
35409 + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
35410 + else
35411 + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
35412 + fi
35413 fi
35414 if test -n "$runpath_var" && test -n "$perm_rpath"; then
35415 # We should set the runpath_var.
35416 @@ -2848,6 +3911,7 @@
35417 fi
35418
35419 # Get the real and link names of the library.
35420 + eval shared_ext=\"$shrext_cmds\"
35421 eval library_names=\"$library_names_spec\"
35422 set dummy $library_names
35423 realname="$2"
35424 @@ -2858,31 +3922,17 @@
35425 else
35426 soname="$realname"
35427 fi
35428 - test -z "$dlname" && dlname=$soname
35429 + if test -z "$dlname"; then
35430 + dlname=$soname
35431 + fi
35432
35433 lib="$output_objdir/$realname"
35434 + linknames=
35435 for link
35436 do
35437 linknames="$linknames $link"
35438 done
35439
35440 - # Ensure that we have .o objects for linkers which dislike .lo
35441 - # (e.g. aix) in case we are running --disable-static
35442 - for obj in $libobjs; do
35443 - xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
35444 - if test "X$xdir" = "X$obj"; then
35445 - xdir="."
35446 - else
35447 - xdir="$xdir"
35448 - fi
35449 - baseobj=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
35450 - oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
35451 - if test ! -f $xdir/$oldobj; then
35452 - $show "(cd $xdir && ${LN_S} $baseobj $oldobj)"
35453 - $run eval '(cd $xdir && ${LN_S} $baseobj $oldobj)' || exit $?
35454 - fi
35455 - done
35456 -
35457 # Use standard objects if they are pic
35458 test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
35459
35460 @@ -2892,17 +3942,29 @@
35461 $show "generating symbol list for \`$libname.la'"
35462 export_symbols="$output_objdir/$libname.exp"
35463 $run $rm $export_symbols
35464 - eval cmds=\"$export_symbols_cmds\"
35465 + cmds=$export_symbols_cmds
35466 save_ifs="$IFS"; IFS='~'
35467 for cmd in $cmds; do
35468 IFS="$save_ifs"
35469 - $show "$cmd"
35470 - $run eval "$cmd" || exit $?
35471 + eval cmd=\"$cmd\"
35472 + if len=`expr "X$cmd" : ".*"` &&
35473 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
35474 + $show "$cmd"
35475 + $run eval "$cmd" || exit $?
35476 + skipped_export=false
35477 + else
35478 + # The command line is too long to execute in one step.
35479 + $show "using reloadable object file for export list..."
35480 + skipped_export=:
35481 + # Break out early, otherwise skipped_export may be
35482 + # set to false by a later but shorter cmd.
35483 + break
35484 + fi
35485 done
35486 IFS="$save_ifs"
35487 if test -n "$export_symbols_regex"; then
35488 - $show "egrep -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
35489 - $run eval 'egrep -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
35490 + $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
35491 + $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
35492 $show "$mv \"${export_symbols}T\" \"$export_symbols\""
35493 $run eval '$mv "${export_symbols}T" "$export_symbols"'
35494 fi
35495 @@ -2913,46 +3975,30 @@
35496 $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
35497 fi
35498
35499 + tmp_deplibs=
35500 + for test_deplib in $deplibs; do
35501 + case " $convenience " in
35502 + *" $test_deplib "*) ;;
35503 + *)
35504 + tmp_deplibs="$tmp_deplibs $test_deplib"
35505 + ;;
35506 + esac
35507 + done
35508 + deplibs="$tmp_deplibs"
35509 +
35510 if test -n "$convenience"; then
35511 if test -n "$whole_archive_flag_spec"; then
35512 + save_libobjs=$libobjs
35513 eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
35514 else
35515 gentop="$output_objdir/${outputname}x"
35516 - $show "${rm}r $gentop"
35517 - $run ${rm}r "$gentop"
35518 - $show "mkdir $gentop"
35519 - $run mkdir "$gentop"
35520 - status=$?
35521 - if test $status -ne 0 && test ! -d "$gentop"; then
35522 - exit $status
35523 - fi
35524 generated="$generated $gentop"
35525
35526 - for xlib in $convenience; do
35527 - # Extract the objects.
35528 - case $xlib in
35529 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
35530 - *) xabs=`pwd`"/$xlib" ;;
35531 - esac
35532 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
35533 - xdir="$gentop/$xlib"
35534 -
35535 - $show "${rm}r $xdir"
35536 - $run ${rm}r "$xdir"
35537 - $show "mkdir $xdir"
35538 - $run mkdir "$xdir"
35539 - status=$?
35540 - if test $status -ne 0 && test ! -d "$xdir"; then
35541 - exit $status
35542 - fi
35543 - $show "(cd $xdir && $AR x $xabs)"
35544 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
35545 -
35546 - libobjs="$libobjs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
35547 - done
35548 + func_extract_archives $gentop $convenience
35549 + libobjs="$libobjs $func_extract_archives_result"
35550 fi
35551 fi
35552 -
35553 +
35554 if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
35555 eval flag=\"$thread_safe_flag_spec\"
35556 linker_flags="$linker_flags $flag"
35557 @@ -2964,34 +4010,175 @@
35558 fi
35559
35560 # Do each of the archive commands.
35561 + if test "$module" = yes && test -n "$module_cmds" ; then
35562 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
35563 + eval test_cmds=\"$module_expsym_cmds\"
35564 + cmds=$module_expsym_cmds
35565 + else
35566 + eval test_cmds=\"$module_cmds\"
35567 + cmds=$module_cmds
35568 + fi
35569 + else
35570 if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
35571 - eval cmds=\"$archive_expsym_cmds\"
35572 + eval test_cmds=\"$archive_expsym_cmds\"
35573 + cmds=$archive_expsym_cmds
35574 + else
35575 + eval test_cmds=\"$archive_cmds\"
35576 + cmds=$archive_cmds
35577 + fi
35578 + fi
35579 +
35580 + if test "X$skipped_export" != "X:" &&
35581 + len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
35582 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
35583 + :
35584 else
35585 - save_deplibs="$deplibs"
35586 - for conv in $convenience; do
35587 - tmp_deplibs=
35588 - for test_deplib in $deplibs; do
35589 - if test "$test_deplib" != "$conv"; then
35590 - tmp_deplibs="$tmp_deplibs $test_deplib"
35591 + # The command line is too long to link in one step, link piecewise.
35592 + $echo "creating reloadable object files..."
35593 +
35594 + # Save the value of $output and $libobjs because we want to
35595 + # use them later. If we have whole_archive_flag_spec, we
35596 + # want to use save_libobjs as it was before
35597 + # whole_archive_flag_spec was expanded, because we can't
35598 + # assume the linker understands whole_archive_flag_spec.
35599 + # This may have to be revisited, in case too many
35600 + # convenience libraries get linked in and end up exceeding
35601 + # the spec.
35602 + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
35603 + save_libobjs=$libobjs
35604 + fi
35605 + save_output=$output
35606 + output_la=`$echo "X$output" | $Xsed -e "$basename"`
35607 +
35608 + # Clear the reloadable object creation command queue and
35609 + # initialize k to one.
35610 + test_cmds=
35611 + concat_cmds=
35612 + objlist=
35613 + delfiles=
35614 + last_robj=
35615 + k=1
35616 + output=$output_objdir/$output_la-${k}.$objext
35617 + # Loop over the list of objects to be linked.
35618 + for obj in $save_libobjs
35619 + do
35620 + eval test_cmds=\"$reload_cmds $objlist $last_robj\"
35621 + if test "X$objlist" = X ||
35622 + { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
35623 + test "$len" -le "$max_cmd_len"; }; then
35624 + objlist="$objlist $obj"
35625 + else
35626 + # The command $test_cmds is almost too long, add a
35627 + # command to the queue.
35628 + if test "$k" -eq 1 ; then
35629 + # The first file doesn't have a previous command to add.
35630 + eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
35631 + else
35632 + # All subsequent reloadable object files will link in
35633 + # the last one created.
35634 + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
35635 fi
35636 - done
35637 - deplibs="$tmp_deplibs"
35638 + last_robj=$output_objdir/$output_la-${k}.$objext
35639 + k=`expr $k + 1`
35640 + output=$output_objdir/$output_la-${k}.$objext
35641 + objlist=$obj
35642 + len=1
35643 + fi
35644 + done
35645 + # Handle the remaining objects by creating one last
35646 + # reloadable object file. All subsequent reloadable object
35647 + # files will link in the last one created.
35648 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
35649 + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
35650 +
35651 + if ${skipped_export-false}; then
35652 + $show "generating symbol list for \`$libname.la'"
35653 + export_symbols="$output_objdir/$libname.exp"
35654 + $run $rm $export_symbols
35655 + libobjs=$output
35656 + # Append the command to create the export file.
35657 + eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
35658 + fi
35659 +
35660 + # Set up a command to remove the reloadable object files
35661 + # after they are used.
35662 + i=0
35663 + while test "$i" -lt "$k"
35664 + do
35665 + i=`expr $i + 1`
35666 + delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
35667 + done
35668 +
35669 + $echo "creating a temporary reloadable object file: $output"
35670 +
35671 + # Loop through the commands generated above and execute them.
35672 + save_ifs="$IFS"; IFS='~'
35673 + for cmd in $concat_cmds; do
35674 + IFS="$save_ifs"
35675 + $show "$cmd"
35676 + $run eval "$cmd" || exit $?
35677 done
35678 - eval cmds=\"$archive_cmds\"
35679 - deplibs="$save_deplibs"
35680 + IFS="$save_ifs"
35681 +
35682 + libobjs=$output
35683 + # Restore the value of output.
35684 + output=$save_output
35685 +
35686 + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
35687 + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
35688 + fi
35689 + # Expand the library linking commands again to reset the
35690 + # value of $libobjs for piecewise linking.
35691 +
35692 + # Do each of the archive commands.
35693 + if test "$module" = yes && test -n "$module_cmds" ; then
35694 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
35695 + cmds=$module_expsym_cmds
35696 + else
35697 + cmds=$module_cmds
35698 + fi
35699 + else
35700 + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
35701 + cmds=$archive_expsym_cmds
35702 + else
35703 + cmds=$archive_cmds
35704 + fi
35705 + fi
35706 +
35707 + # Append the command to remove the reloadable object files
35708 + # to the just-reset $cmds.
35709 + eval cmds=\"\$cmds~\$rm $delfiles\"
35710 fi
35711 save_ifs="$IFS"; IFS='~'
35712 for cmd in $cmds; do
35713 IFS="$save_ifs"
35714 + eval cmd=\"$cmd\"
35715 $show "$cmd"
35716 - $run eval "$cmd" || exit $?
35717 + $run eval "$cmd" || {
35718 + lt_exit=$?
35719 +
35720 + # Restore the uninstalled library and exit
35721 + if test "$mode" = relink; then
35722 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
35723 + fi
35724 +
35725 + exit $lt_exit
35726 + }
35727 done
35728 IFS="$save_ifs"
35729
35730 # Restore the uninstalled library and exit
35731 if test "$mode" = relink; then
35732 $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
35733 - exit 0
35734 +
35735 + if test -n "$convenience"; then
35736 + if test -z "$whole_archive_flag_spec"; then
35737 + $show "${rm}r $gentop"
35738 + $run ${rm}r "$gentop"
35739 + fi
35740 + fi
35741 +
35742 + exit $EXIT_SUCCESS
35743 fi
35744
35745 # Create links to the real library.
35746 @@ -3039,7 +4226,7 @@
35747 *.lo)
35748 if test -n "$objs$old_deplibs"; then
35749 $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
35750 - exit 1
35751 + exit $EXIT_FAILURE
35752 fi
35753 libobj="$output"
35754 obj=`$echo "X$output" | $Xsed -e "$lo2o"`
35755 @@ -3068,38 +4255,10 @@
35756 eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
35757 else
35758 gentop="$output_objdir/${obj}x"
35759 - $show "${rm}r $gentop"
35760 - $run ${rm}r "$gentop"
35761 - $show "mkdir $gentop"
35762 - $run mkdir "$gentop"
35763 - status=$?
35764 - if test $status -ne 0 && test ! -d "$gentop"; then
35765 - exit $status
35766 - fi
35767 generated="$generated $gentop"
35768
35769 - for xlib in $convenience; do
35770 - # Extract the objects.
35771 - case $xlib in
35772 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
35773 - *) xabs=`pwd`"/$xlib" ;;
35774 - esac
35775 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
35776 - xdir="$gentop/$xlib"
35777 -
35778 - $show "${rm}r $xdir"
35779 - $run ${rm}r "$xdir"
35780 - $show "mkdir $xdir"
35781 - $run mkdir "$xdir"
35782 - status=$?
35783 - if test $status -ne 0 && test ! -d "$xdir"; then
35784 - exit $status
35785 - fi
35786 - $show "(cd $xdir && $AR x $xabs)"
35787 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
35788 -
35789 - reload_conv_objs="$reload_objs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
35790 - done
35791 + func_extract_archives $gentop $convenience
35792 + reload_conv_objs="$reload_objs $func_extract_archives_result"
35793 fi
35794 fi
35795
35796 @@ -3107,10 +4266,11 @@
35797 reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
35798
35799 output="$obj"
35800 - eval cmds=\"$reload_cmds\"
35801 + cmds=$reload_cmds
35802 save_ifs="$IFS"; IFS='~'
35803 for cmd in $cmds; do
35804 IFS="$save_ifs"
35805 + eval cmd=\"$cmd\"
35806 $show "$cmd"
35807 $run eval "$cmd" || exit $?
35808 done
35809 @@ -3123,7 +4283,7 @@
35810 $run ${rm}r $gentop
35811 fi
35812
35813 - exit 0
35814 + exit $EXIT_SUCCESS
35815 fi
35816
35817 if test "$build_libtool_libs" != yes; then
35818 @@ -3134,37 +4294,24 @@
35819
35820 # Create an invalid libtool object if no PIC, so that we don't
35821 # accidentally link it into a program.
35822 - $show "echo timestamp > $libobj"
35823 - $run eval "echo timestamp > $libobj" || exit $?
35824 - exit 0
35825 + # $show "echo timestamp > $libobj"
35826 + # $run eval "echo timestamp > $libobj" || exit $?
35827 + exit $EXIT_SUCCESS
35828 fi
35829
35830 if test -n "$pic_flag" || test "$pic_mode" != default; then
35831 # Only do commands if we really have different PIC objects.
35832 reload_objs="$libobjs $reload_conv_objs"
35833 output="$libobj"
35834 - eval cmds=\"$reload_cmds\"
35835 + cmds=$reload_cmds
35836 save_ifs="$IFS"; IFS='~'
35837 for cmd in $cmds; do
35838 IFS="$save_ifs"
35839 + eval cmd=\"$cmd\"
35840 $show "$cmd"
35841 $run eval "$cmd" || exit $?
35842 done
35843 IFS="$save_ifs"
35844 - else
35845 - # Just create a symlink.
35846 - $show $rm $libobj
35847 - $run $rm $libobj
35848 - xdir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
35849 - if test "X$xdir" = "X$libobj"; then
35850 - xdir="."
35851 - else
35852 - xdir="$xdir"
35853 - fi
35854 - baseobj=`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
35855 - oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
35856 - $show "(cd $xdir && $LN_S $oldobj $baseobj)"
35857 - $run eval '(cd $xdir && $LN_S $oldobj $baseobj)' || exit $?
35858 fi
35859
35860 if test -n "$gentop"; then
35861 @@ -3172,12 +4319,12 @@
35862 $run ${rm}r $gentop
35863 fi
35864
35865 - exit 0
35866 + exit $EXIT_SUCCESS
35867 ;;
35868
35869 prog)
35870 case $host in
35871 - *cygwin*) output=`echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
35872 + *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
35873 esac
35874 if test -n "$vinfo"; then
35875 $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
35876 @@ -3199,16 +4346,48 @@
35877 # On Rhapsody replace the C library is the System framework
35878 compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
35879 finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
35880 - case $host in
35881 - *darwin*)
35882 - # Don't allow lazy linking, it breaks C++ global constructors
35883 - compile_command="$compile_command ${wl}-bind_at_load"
35884 - finalize_command="$finalize_command ${wl}-bind_at_load"
35885 - ;;
35886 - esac
35887 ;;
35888 esac
35889
35890 + case $host in
35891 + *darwin*)
35892 + # Don't allow lazy linking, it breaks C++ global constructors
35893 + if test "$tagname" = CXX ; then
35894 + compile_command="$compile_command ${wl}-bind_at_load"
35895 + finalize_command="$finalize_command ${wl}-bind_at_load"
35896 + fi
35897 + ;;
35898 + esac
35899 +
35900 +
35901 + # move library search paths that coincide with paths to not yet
35902 + # installed libraries to the beginning of the library search list
35903 + new_libs=
35904 + for path in $notinst_path; do
35905 + case " $new_libs " in
35906 + *" -L$path/$objdir "*) ;;
35907 + *)
35908 + case " $compile_deplibs " in
35909 + *" -L$path/$objdir "*)
35910 + new_libs="$new_libs -L$path/$objdir" ;;
35911 + esac
35912 + ;;
35913 + esac
35914 + done
35915 + for deplib in $compile_deplibs; do
35916 + case $deplib in
35917 + -L*)
35918 + case " $new_libs " in
35919 + *" $deplib "*) ;;
35920 + *) new_libs="$new_libs $deplib" ;;
35921 + esac
35922 + ;;
35923 + *) new_libs="$new_libs $deplib" ;;
35924 + esac
35925 + done
35926 + compile_deplibs="$new_libs"
35927 +
35928 +
35929 compile_command="$compile_command $compile_deplibs"
35930 finalize_command="$finalize_command $finalize_deplibs"
35931
35932 @@ -3253,10 +4432,15 @@
35933 fi
35934 case $host in
35935 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
35936 + testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
35937 case :$dllsearchpath: in
35938 *":$libdir:"*) ;;
35939 *) dllsearchpath="$dllsearchpath:$libdir";;
35940 esac
35941 + case :$dllsearchpath: in
35942 + *":$testbindir:"*) ;;
35943 + *) dllsearchpath="$dllsearchpath:$testbindir";;
35944 + esac
35945 ;;
35946 esac
35947 done
35948 @@ -3359,31 +4543,43 @@
35949 done
35950
35951 if test -n "$exclude_expsyms"; then
35952 - $run eval 'egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
35953 + $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
35954 $run eval '$mv "$nlist"T "$nlist"'
35955 fi
35956
35957 if test -n "$export_symbols_regex"; then
35958 - $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T'
35959 + $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
35960 $run eval '$mv "$nlist"T "$nlist"'
35961 fi
35962
35963 # Prepare the list of exported symbols
35964 if test -z "$export_symbols"; then
35965 - export_symbols="$output_objdir/$output.exp"
35966 + export_symbols="$output_objdir/$outputname.exp"
35967 $run $rm $export_symbols
35968 - $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
35969 + $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
35970 + case $host in
35971 + *cygwin* | *mingw* )
35972 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
35973 + $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
35974 + ;;
35975 + esac
35976 else
35977 - $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
35978 - $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
35979 + $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
35980 + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
35981 $run eval 'mv "$nlist"T "$nlist"'
35982 + case $host in
35983 + *cygwin* | *mingw* )
35984 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
35985 + $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
35986 + ;;
35987 + esac
35988 fi
35989 fi
35990
35991 for arg in $dlprefiles; do
35992 $show "extracting global C symbols from \`$arg'"
35993 - name=`echo "$arg" | ${SED} -e 's%^.*/%%'`
35994 - $run eval 'echo ": $name " >> "$nlist"'
35995 + name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
35996 + $run eval '$echo ": $name " >> "$nlist"'
35997 $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
35998 done
35999
36000 @@ -3392,7 +4588,7 @@
36001 test -f "$nlist" || : > "$nlist"
36002
36003 if test -n "$exclude_expsyms"; then
36004 - egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
36005 + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
36006 $mv "$nlist"T "$nlist"
36007 fi
36008
36009 @@ -3412,7 +4608,7 @@
36010 if test -f "$nlist"S; then
36011 eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
36012 else
36013 - echo '/* NONE */' >> "$output_objdir/$dlsyms"
36014 + $echo '/* NONE */' >> "$output_objdir/$dlsyms"
36015 fi
36016
36017 $echo >> "$output_objdir/$dlsyms" "\
36018 @@ -3427,7 +4623,26 @@
36019 #endif
36020
36021 /* The mapping between symbol names and symbols. */
36022 +"
36023 +
36024 + case $host in
36025 + *cygwin* | *mingw* )
36026 + $echo >> "$output_objdir/$dlsyms" "\
36027 +/* DATA imports from DLLs on WIN32 can't be const, because
36028 + runtime relocations are performed -- see ld's documentation
36029 + on pseudo-relocs */
36030 +struct {
36031 +"
36032 + ;;
36033 + * )
36034 + $echo >> "$output_objdir/$dlsyms" "\
36035 const struct {
36036 +"
36037 + ;;
36038 + esac
36039 +
36040 +
36041 + $echo >> "$output_objdir/$dlsyms" "\
36042 const char *name;
36043 lt_ptr address;
36044 }
36045 @@ -3464,30 +4679,43 @@
36046 *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
36047 case "$compile_command " in
36048 *" -static "*) ;;
36049 - *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";;
36050 + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
36051 esac;;
36052 *-*-hpux*)
36053 case "$compile_command " in
36054 *" -static "*) ;;
36055 - *) pic_flag_for_symtable=" $pic_flag -DPIC";;
36056 + *) pic_flag_for_symtable=" $pic_flag";;
36057 esac
36058 esac
36059
36060 # Now compile the dynamic symbol file.
36061 - $show "(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
36062 - $run eval '(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
36063 + $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
36064 + $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
36065
36066 # Clean up the generated files.
36067 $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
36068 $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
36069
36070 # Transform the symbol file into the correct name.
36071 - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36072 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36073 + case $host in
36074 + *cygwin* | *mingw* )
36075 + if test -f "$output_objdir/${outputname}.def" ; then
36076 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
36077 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
36078 + else
36079 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36080 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36081 + fi
36082 + ;;
36083 + * )
36084 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36085 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
36086 + ;;
36087 + esac
36088 ;;
36089 *)
36090 $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
36091 - exit 1
36092 + exit $EXIT_FAILURE
36093 ;;
36094 esac
36095 else
36096 @@ -3500,7 +4728,7 @@
36097 finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
36098 fi
36099
36100 - if test $need_relink = no || test "$build_libtool_libs" != yes; then
36101 + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
36102 # Replace the output file specification.
36103 compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
36104 link_command="$compile_command$compile_rpath"
36105 @@ -3508,7 +4736,7 @@
36106 # We have no uninstalled library dependencies, so finalize right now.
36107 $show "$link_command"
36108 $run eval "$link_command"
36109 - status=$?
36110 + exit_status=$?
36111
36112 # Delete the generated files.
36113 if test -n "$dlsyms"; then
36114 @@ -3516,7 +4744,7 @@
36115 $run $rm "$output_objdir/${outputname}S.${objext}"
36116 fi
36117
36118 - exit $status
36119 + exit $exit_status
36120 fi
36121
36122 if test -n "$shlibpath_var"; then
36123 @@ -3575,7 +4803,7 @@
36124 # Link the executable and exit
36125 $show "$link_command"
36126 $run eval "$link_command" || exit $?
36127 - exit 0
36128 + exit $EXIT_SUCCESS
36129 fi
36130
36131 if test "$hardcode_action" = relink; then
36132 @@ -3630,10 +4858,10 @@
36133 fi
36134
36135 # Quote $echo for shipping.
36136 - if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
36137 - case $0 in
36138 - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
36139 - *) qecho="$SHELL `pwd`/$0 --fallback-echo";;
36140 + if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
36141 + case $progpath in
36142 + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
36143 + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
36144 esac
36145 qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
36146 else
36147 @@ -3645,15 +4873,376 @@
36148 # win32 will think the script is a binary if it has
36149 # a .exe suffix, so we strip it off here.
36150 case $output in
36151 - *.exe) output=`echo $output|${SED} 's,.exe$,,'` ;;
36152 + *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
36153 esac
36154 # test for cygwin because mv fails w/o .exe extensions
36155 case $host in
36156 - *cygwin*) exeext=.exe ;;
36157 + *cygwin*)
36158 + exeext=.exe
36159 + outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
36160 *) exeext= ;;
36161 esac
36162 - $rm $output
36163 - trap "$rm $output; exit 1" 1 2 15
36164 + case $host in
36165 + *cygwin* | *mingw* )
36166 + output_name=`basename $output`
36167 + output_path=`dirname $output`
36168 + cwrappersource="$output_path/$objdir/lt-$output_name.c"
36169 + cwrapper="$output_path/$output_name.exe"
36170 + $rm $cwrappersource $cwrapper
36171 + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
36172 +
36173 + cat > $cwrappersource <<EOF
36174 +
36175 +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
36176 + Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
36177 +
36178 + The $output program cannot be directly executed until all the libtool
36179 + libraries that it depends on are installed.
36180 +
36181 + This wrapper executable should never be moved out of the build directory.
36182 + If it is, it will not operate correctly.
36183 +
36184 + Currently, it simply execs the wrapper *script* "/bin/sh $output",
36185 + but could eventually absorb all of the scripts functionality and
36186 + exec $objdir/$outputname directly.
36187 +*/
36188 +EOF
36189 + cat >> $cwrappersource<<"EOF"
36190 +#include <stdio.h>
36191 +#include <stdlib.h>
36192 +#include <unistd.h>
36193 +#include <malloc.h>
36194 +#include <stdarg.h>
36195 +#include <assert.h>
36196 +#include <string.h>
36197 +#include <ctype.h>
36198 +#include <sys/stat.h>
36199 +
36200 +#if defined(PATH_MAX)
36201 +# define LT_PATHMAX PATH_MAX
36202 +#elif defined(MAXPATHLEN)
36203 +# define LT_PATHMAX MAXPATHLEN
36204 +#else
36205 +# define LT_PATHMAX 1024
36206 +#endif
36207 +
36208 +#ifndef DIR_SEPARATOR
36209 +# define DIR_SEPARATOR '/'
36210 +# define PATH_SEPARATOR ':'
36211 +#endif
36212 +
36213 +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
36214 + defined (__OS2__)
36215 +# define HAVE_DOS_BASED_FILE_SYSTEM
36216 +# ifndef DIR_SEPARATOR_2
36217 +# define DIR_SEPARATOR_2 '\\'
36218 +# endif
36219 +# ifndef PATH_SEPARATOR_2
36220 +# define PATH_SEPARATOR_2 ';'
36221 +# endif
36222 +#endif
36223 +
36224 +#ifndef DIR_SEPARATOR_2
36225 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
36226 +#else /* DIR_SEPARATOR_2 */
36227 +# define IS_DIR_SEPARATOR(ch) \
36228 + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
36229 +#endif /* DIR_SEPARATOR_2 */
36230 +
36231 +#ifndef PATH_SEPARATOR_2
36232 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
36233 +#else /* PATH_SEPARATOR_2 */
36234 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
36235 +#endif /* PATH_SEPARATOR_2 */
36236 +
36237 +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
36238 +#define XFREE(stale) do { \
36239 + if (stale) { free ((void *) stale); stale = 0; } \
36240 +} while (0)
36241 +
36242 +/* -DDEBUG is fairly common in CFLAGS. */
36243 +#undef DEBUG
36244 +#if defined DEBUGWRAPPER
36245 +# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
36246 +#else
36247 +# define DEBUG(format, ...)
36248 +#endif
36249 +
36250 +const char *program_name = NULL;
36251 +
36252 +void * xmalloc (size_t num);
36253 +char * xstrdup (const char *string);
36254 +const char * base_name (const char *name);
36255 +char * find_executable(const char *wrapper);
36256 +int check_executable(const char *path);
36257 +char * strendzap(char *str, const char *pat);
36258 +void lt_fatal (const char *message, ...);
36259 +
36260 +int
36261 +main (int argc, char *argv[])
36262 +{
36263 + char **newargz;
36264 + int i;
36265 +
36266 + program_name = (char *) xstrdup (base_name (argv[0]));
36267 + DEBUG("(main) argv[0] : %s\n",argv[0]);
36268 + DEBUG("(main) program_name : %s\n",program_name);
36269 + newargz = XMALLOC(char *, argc+2);
36270 +EOF
36271 +
36272 + cat >> $cwrappersource <<EOF
36273 + newargz[0] = (char *) xstrdup("$SHELL");
36274 +EOF
36275 +
36276 + cat >> $cwrappersource <<"EOF"
36277 + newargz[1] = find_executable(argv[0]);
36278 + if (newargz[1] == NULL)
36279 + lt_fatal("Couldn't find %s", argv[0]);
36280 + DEBUG("(main) found exe at : %s\n",newargz[1]);
36281 + /* we know the script has the same name, without the .exe */
36282 + /* so make sure newargz[1] doesn't end in .exe */
36283 + strendzap(newargz[1],".exe");
36284 + for (i = 1; i < argc; i++)
36285 + newargz[i+1] = xstrdup(argv[i]);
36286 + newargz[argc+1] = NULL;
36287 +
36288 + for (i=0; i<argc+1; i++)
36289 + {
36290 + DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
36291 + ;
36292 + }
36293 +
36294 +EOF
36295 +
36296 + case $host_os in
36297 + mingw*)
36298 + cat >> $cwrappersource <<EOF
36299 + execv("$SHELL",(char const **)newargz);
36300 +EOF
36301 + ;;
36302 + *)
36303 + cat >> $cwrappersource <<EOF
36304 + execv("$SHELL",newargz);
36305 +EOF
36306 + ;;
36307 + esac
36308 +
36309 + cat >> $cwrappersource <<"EOF"
36310 + return 127;
36311 +}
36312 +
36313 +void *
36314 +xmalloc (size_t num)
36315 +{
36316 + void * p = (void *) malloc (num);
36317 + if (!p)
36318 + lt_fatal ("Memory exhausted");
36319 +
36320 + return p;
36321 +}
36322 +
36323 +char *
36324 +xstrdup (const char *string)
36325 +{
36326 + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
36327 +;
36328 +}
36329 +
36330 +const char *
36331 +base_name (const char *name)
36332 +{
36333 + const char *base;
36334 +
36335 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
36336 + /* Skip over the disk name in MSDOS pathnames. */
36337 + if (isalpha ((unsigned char)name[0]) && name[1] == ':')
36338 + name += 2;
36339 +#endif
36340 +
36341 + for (base = name; *name; name++)
36342 + if (IS_DIR_SEPARATOR (*name))
36343 + base = name + 1;
36344 + return base;
36345 +}
36346 +
36347 +int
36348 +check_executable(const char * path)
36349 +{
36350 + struct stat st;
36351 +
36352 + DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
36353 + if ((!path) || (!*path))
36354 + return 0;
36355 +
36356 + if ((stat (path, &st) >= 0) &&
36357 + (
36358 + /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
36359 +#if defined (S_IXOTH)
36360 + ((st.st_mode & S_IXOTH) == S_IXOTH) ||
36361 +#endif
36362 +#if defined (S_IXGRP)
36363 + ((st.st_mode & S_IXGRP) == S_IXGRP) ||
36364 +#endif
36365 + ((st.st_mode & S_IXUSR) == S_IXUSR))
36366 + )
36367 + return 1;
36368 + else
36369 + return 0;
36370 +}
36371 +
36372 +/* Searches for the full path of the wrapper. Returns
36373 + newly allocated full path name if found, NULL otherwise */
36374 +char *
36375 +find_executable (const char* wrapper)
36376 +{
36377 + int has_slash = 0;
36378 + const char* p;
36379 + const char* p_next;
36380 + /* static buffer for getcwd */
36381 + char tmp[LT_PATHMAX + 1];
36382 + int tmp_len;
36383 + char* concat_name;
36384 +
36385 + DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
36386 +
36387 + if ((wrapper == NULL) || (*wrapper == '\0'))
36388 + return NULL;
36389 +
36390 + /* Absolute path? */
36391 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
36392 + if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
36393 + {
36394 + concat_name = xstrdup (wrapper);
36395 + if (check_executable(concat_name))
36396 + return concat_name;
36397 + XFREE(concat_name);
36398 + }
36399 + else
36400 + {
36401 +#endif
36402 + if (IS_DIR_SEPARATOR (wrapper[0]))
36403 + {
36404 + concat_name = xstrdup (wrapper);
36405 + if (check_executable(concat_name))
36406 + return concat_name;
36407 + XFREE(concat_name);
36408 + }
36409 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
36410 + }
36411 +#endif
36412 +
36413 + for (p = wrapper; *p; p++)
36414 + if (*p == '/')
36415 + {
36416 + has_slash = 1;
36417 + break;
36418 + }
36419 + if (!has_slash)
36420 + {
36421 + /* no slashes; search PATH */
36422 + const char* path = getenv ("PATH");
36423 + if (path != NULL)
36424 + {
36425 + for (p = path; *p; p = p_next)
36426 + {
36427 + const char* q;
36428 + size_t p_len;
36429 + for (q = p; *q; q++)
36430 + if (IS_PATH_SEPARATOR(*q))
36431 + break;
36432 + p_len = q - p;
36433 + p_next = (*q == '\0' ? q : q + 1);
36434 + if (p_len == 0)
36435 + {
36436 + /* empty path: current directory */
36437 + if (getcwd (tmp, LT_PATHMAX) == NULL)
36438 + lt_fatal ("getcwd failed");
36439 + tmp_len = strlen(tmp);
36440 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
36441 + memcpy (concat_name, tmp, tmp_len);
36442 + concat_name[tmp_len] = '/';
36443 + strcpy (concat_name + tmp_len + 1, wrapper);
36444 + }
36445 + else
36446 + {
36447 + concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
36448 + memcpy (concat_name, p, p_len);
36449 + concat_name[p_len] = '/';
36450 + strcpy (concat_name + p_len + 1, wrapper);
36451 + }
36452 + if (check_executable(concat_name))
36453 + return concat_name;
36454 + XFREE(concat_name);
36455 + }
36456 + }
36457 + /* not found in PATH; assume curdir */
36458 + }
36459 + /* Relative path | not found in path: prepend cwd */
36460 + if (getcwd (tmp, LT_PATHMAX) == NULL)
36461 + lt_fatal ("getcwd failed");
36462 + tmp_len = strlen(tmp);
36463 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
36464 + memcpy (concat_name, tmp, tmp_len);
36465 + concat_name[tmp_len] = '/';
36466 + strcpy (concat_name + tmp_len + 1, wrapper);
36467 +
36468 + if (check_executable(concat_name))
36469 + return concat_name;
36470 + XFREE(concat_name);
36471 + return NULL;
36472 +}
36473 +
36474 +char *
36475 +strendzap(char *str, const char *pat)
36476 +{
36477 + size_t len, patlen;
36478 +
36479 + assert(str != NULL);
36480 + assert(pat != NULL);
36481 +
36482 + len = strlen(str);
36483 + patlen = strlen(pat);
36484 +
36485 + if (patlen <= len)
36486 + {
36487 + str += len - patlen;
36488 + if (strcmp(str, pat) == 0)
36489 + *str = '\0';
36490 + }
36491 + return str;
36492 +}
36493 +
36494 +static void
36495 +lt_error_core (int exit_status, const char * mode,
36496 + const char * message, va_list ap)
36497 +{
36498 + fprintf (stderr, "%s: %s: ", program_name, mode);
36499 + vfprintf (stderr, message, ap);
36500 + fprintf (stderr, ".\n");
36501 +
36502 + if (exit_status >= 0)
36503 + exit (exit_status);
36504 +}
36505 +
36506 +void
36507 +lt_fatal (const char *message, ...)
36508 +{
36509 + va_list ap;
36510 + va_start (ap, message);
36511 + lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
36512 + va_end (ap);
36513 +}
36514 +EOF
36515 + # we should really use a build-platform specific compiler
36516 + # here, but OTOH, the wrappers (shell script and this C one)
36517 + # are only useful if you want to execute the "real" binary.
36518 + # Since the "real" binary is built for $host, then this
36519 + # wrapper might as well be built for $host, too.
36520 + $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
36521 + ;;
36522 + esac
36523 + $rm $output
36524 + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
36525
36526 $echo > $output "\
36527 #! $SHELL
36528 @@ -3669,12 +5258,12 @@
36529
36530 # Sed substitution that helps us do robust quoting. It backslashifies
36531 # metacharacters that are still active within double-quoted strings.
36532 -Xsed="${SED}"' -e 1s/^X//'
36533 +Xsed='${SED} -e 1s/^X//'
36534 sed_quote_subst='$sed_quote_subst'
36535
36536 # The HP-UX ksh and POSIX shell print the target directory to stdout
36537 # if CDPATH is set.
36538 -if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
36539 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
36540
36541 relink_command=\"$relink_command\"
36542
36543 @@ -3729,7 +5318,7 @@
36544 "
36545
36546 if test "$fast_install" = yes; then
36547 - echo >> $output "\
36548 + $echo >> $output "\
36549 program=lt-'$outputname'$exeext
36550 progdir=\"\$thisdir/$objdir\"
36551
36552 @@ -3745,7 +5334,7 @@
36553 $rm \"\$progdir/\$file\"
36554 fi"
36555
36556 - echo >> $output "\
36557 + $echo >> $output "\
36558
36559 # relink executable if necessary
36560 if test -n \"\$relink_command\"; then
36561 @@ -3753,7 +5342,7 @@
36562 else
36563 $echo \"\$relink_command_output\" >&2
36564 $rm \"\$progdir/\$file\"
36565 - exit 1
36566 + exit $EXIT_FAILURE
36567 fi
36568 fi
36569
36570 @@ -3763,13 +5352,13 @@
36571 $rm \"\$progdir/\$file\"
36572 fi"
36573 else
36574 - echo >> $output "\
36575 + $echo >> $output "\
36576 program='$outputname'
36577 progdir=\"\$thisdir/$objdir\"
36578 "
36579 fi
36580
36581 - echo >> $output "\
36582 + $echo >> $output "\
36583
36584 if test -f \"\$progdir/\$program\"; then"
36585
36586 @@ -3780,7 +5369,7 @@
36587 $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
36588
36589 # Some systems cannot cope with colon-terminated $shlibpath_var
36590 - # The second colon is a workaround for a bug in BeOS R4 ${SED}
36591 + # The second colon is a workaround for a bug in BeOS R4 sed
36592 $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
36593
36594 export $shlibpath_var
36595 @@ -3800,47 +5389,35 @@
36596 # Run the actual program with our arguments.
36597 "
36598 case $host in
36599 - # win32 systems need to use the prog path for dll
36600 - # lookup to work
36601 - *-*-cygwin* | *-*-pw32*)
36602 - $echo >> $output "\
36603 - exec \$progdir/\$program \${1+\"\$@\"}
36604 -"
36605 - ;;
36606 -
36607 # Backslashes separate directories on plain windows
36608 *-*-mingw | *-*-os2*)
36609 $echo >> $output "\
36610 - exec \$progdir\\\\\$program \${1+\"\$@\"}
36611 + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
36612 "
36613 ;;
36614
36615 *)
36616 $echo >> $output "\
36617 - # Export the path to the program.
36618 - PATH=\"\$progdir:\$PATH\"
36619 - export PATH
36620 -
36621 - exec \$program \${1+\"\$@\"}
36622 + exec \"\$progdir/\$program\" \${1+\"\$@\"}
36623 "
36624 ;;
36625 esac
36626 $echo >> $output "\
36627 \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
36628 - exit 1
36629 + exit $EXIT_FAILURE
36630 fi
36631 else
36632 # The program doesn't exist.
36633 - \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
36634 + \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
36635 \$echo \"This script is just a wrapper for \$program.\" 1>&2
36636 - echo \"See the $PACKAGE documentation for more information.\" 1>&2
36637 - exit 1
36638 + $echo \"See the $PACKAGE documentation for more information.\" 1>&2
36639 + exit $EXIT_FAILURE
36640 fi
36641 fi\
36642 "
36643 chmod +x $output
36644 fi
36645 - exit 0
36646 + exit $EXIT_SUCCESS
36647 ;;
36648 esac
36649
36650 @@ -3856,74 +5433,130 @@
36651 oldobjs="$libobjs_save"
36652 build_libtool_libs=no
36653 else
36654 - oldobjs="$objs$old_deplibs "`$echo "X$libobjs_save" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`
36655 + oldobjs="$old_deplibs $non_pic_objects"
36656 fi
36657 addlibs="$old_convenience"
36658 fi
36659
36660 if test -n "$addlibs"; then
36661 gentop="$output_objdir/${outputname}x"
36662 - $show "${rm}r $gentop"
36663 - $run ${rm}r "$gentop"
36664 - $show "mkdir $gentop"
36665 - $run mkdir "$gentop"
36666 - status=$?
36667 - if test $status -ne 0 && test ! -d "$gentop"; then
36668 - exit $status
36669 - fi
36670 generated="$generated $gentop"
36671
36672 - # Add in members from convenience archives.
36673 - for xlib in $addlibs; do
36674 - # Extract the objects.
36675 - case $xlib in
36676 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
36677 - *) xabs=`pwd`"/$xlib" ;;
36678 - esac
36679 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
36680 - xdir="$gentop/$xlib"
36681 -
36682 - $show "${rm}r $xdir"
36683 - $run ${rm}r "$xdir"
36684 - $show "mkdir $xdir"
36685 - $run mkdir "$xdir"
36686 - status=$?
36687 - if test $status -ne 0 && test ! -d "$xdir"; then
36688 - exit $status
36689 - fi
36690 - $show "(cd $xdir && $AR x $xabs)"
36691 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
36692 -
36693 - oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
36694 - done
36695 + func_extract_archives $gentop $addlibs
36696 + oldobjs="$oldobjs $func_extract_archives_result"
36697 fi
36698
36699 # Do each command in the archive commands.
36700 if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
36701 - eval cmds=\"$old_archive_from_new_cmds\"
36702 + cmds=$old_archive_from_new_cmds
36703 else
36704 - # Ensure that we have .o objects in place in case we decided
36705 - # not to build a shared library, and have fallen back to building
36706 - # static libs even though --disable-static was passed!
36707 - for oldobj in $oldobjs; do
36708 - if test ! -f $oldobj; then
36709 - xdir=`$echo "X$oldobj" | $Xsed -e 's%/[^/]*$%%'`
36710 - if test "X$xdir" = "X$oldobj"; then
36711 - xdir="."
36712 - else
36713 - xdir="$xdir"
36714 + # POSIX demands no paths to be encoded in archives. We have
36715 + # to avoid creating archives with duplicate basenames if we
36716 + # might have to extract them afterwards, e.g., when creating a
36717 + # static archive out of a convenience library, or when linking
36718 + # the entirety of a libtool archive into another (currently
36719 + # not supported by libtool).
36720 + if (for obj in $oldobjs
36721 + do
36722 + $echo "X$obj" | $Xsed -e 's%^.*/%%'
36723 + done | sort | sort -uc >/dev/null 2>&1); then
36724 + :
36725 + else
36726 + $echo "copying selected object files to avoid basename conflicts..."
36727 +
36728 + if test -z "$gentop"; then
36729 + gentop="$output_objdir/${outputname}x"
36730 + generated="$generated $gentop"
36731 +
36732 + $show "${rm}r $gentop"
36733 + $run ${rm}r "$gentop"
36734 + $show "$mkdir $gentop"
36735 + $run $mkdir "$gentop"
36736 + exit_status=$?
36737 + if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
36738 + exit $exit_status
36739 fi
36740 - baseobj=`$echo "X$oldobj" | $Xsed -e 's%^.*/%%'`
36741 - obj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
36742 - $show "(cd $xdir && ${LN_S} $obj $baseobj)"
36743 - $run eval '(cd $xdir && ${LN_S} $obj $baseobj)' || exit $?
36744 fi
36745 - done
36746 +
36747 + save_oldobjs=$oldobjs
36748 + oldobjs=
36749 + counter=1
36750 + for obj in $save_oldobjs
36751 + do
36752 + objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
36753 + case " $oldobjs " in
36754 + " ") oldobjs=$obj ;;
36755 + *[\ /]"$objbase "*)
36756 + while :; do
36757 + # Make sure we don't pick an alternate name that also
36758 + # overlaps.
36759 + newobj=lt$counter-$objbase
36760 + counter=`expr $counter + 1`
36761 + case " $oldobjs " in
36762 + *[\ /]"$newobj "*) ;;
36763 + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
36764 + esac
36765 + done
36766 + $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
36767 + $run ln "$obj" "$gentop/$newobj" ||
36768 + $run cp "$obj" "$gentop/$newobj"
36769 + oldobjs="$oldobjs $gentop/$newobj"
36770 + ;;
36771 + *) oldobjs="$oldobjs $obj" ;;
36772 + esac
36773 + done
36774 + fi
36775
36776 eval cmds=\"$old_archive_cmds\"
36777 +
36778 + if len=`expr "X$cmds" : ".*"` &&
36779 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
36780 + cmds=$old_archive_cmds
36781 + else
36782 + # the command line is too long to link in one step, link in parts
36783 + $echo "using piecewise archive linking..."
36784 + save_RANLIB=$RANLIB
36785 + RANLIB=:
36786 + objlist=
36787 + concat_cmds=
36788 + save_oldobjs=$oldobjs
36789 +
36790 + # Is there a better way of finding the last object in the list?
36791 + for obj in $save_oldobjs
36792 + do
36793 + last_oldobj=$obj
36794 + done
36795 + for obj in $save_oldobjs
36796 + do
36797 + oldobjs="$objlist $obj"
36798 + objlist="$objlist $obj"
36799 + eval test_cmds=\"$old_archive_cmds\"
36800 + if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
36801 + test "$len" -le "$max_cmd_len"; then
36802 + :
36803 + else
36804 + # the above command should be used before it gets too long
36805 + oldobjs=$objlist
36806 + if test "$obj" = "$last_oldobj" ; then
36807 + RANLIB=$save_RANLIB
36808 + fi
36809 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
36810 + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
36811 + objlist=
36812 + fi
36813 + done
36814 + RANLIB=$save_RANLIB
36815 + oldobjs=$objlist
36816 + if test "X$oldobjs" = "X" ; then
36817 + eval cmds=\"\$concat_cmds\"
36818 + else
36819 + eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
36820 + fi
36821 + fi
36822 fi
36823 save_ifs="$IFS"; IFS='~'
36824 for cmd in $cmds; do
36825 + eval cmd=\"$cmd\"
36826 IFS="$save_ifs"
36827 $show "$cmd"
36828 $run eval "$cmd" || exit $?
36829 @@ -3955,8 +5588,12 @@
36830 fi
36831 done
36832 # Quote the link command for shipping.
36833 - relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
36834 + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
36835 relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
36836 + if test "$hardcode_automatic" = yes ; then
36837 + relink_command=
36838 + fi
36839 +
36840
36841 # Only create the output if not a dry run.
36842 if test -z "$run"; then
36843 @@ -3975,7 +5612,7 @@
36844 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
36845 if test -z "$libdir"; then
36846 $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
36847 - exit 1
36848 + exit $EXIT_FAILURE
36849 fi
36850 newdependency_libs="$newdependency_libs $libdir/$name"
36851 ;;
36852 @@ -3989,7 +5626,7 @@
36853 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
36854 if test -z "$libdir"; then
36855 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
36856 - exit 1
36857 + exit $EXIT_FAILURE
36858 fi
36859 newdlfiles="$newdlfiles $libdir/$name"
36860 done
36861 @@ -4000,17 +5637,36 @@
36862 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
36863 if test -z "$libdir"; then
36864 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
36865 - exit 1
36866 + exit $EXIT_FAILURE
36867 fi
36868 newdlprefiles="$newdlprefiles $libdir/$name"
36869 done
36870 dlprefiles="$newdlprefiles"
36871 + else
36872 + newdlfiles=
36873 + for lib in $dlfiles; do
36874 + case $lib in
36875 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
36876 + *) abs=`pwd`"/$lib" ;;
36877 + esac
36878 + newdlfiles="$newdlfiles $abs"
36879 + done
36880 + dlfiles="$newdlfiles"
36881 + newdlprefiles=
36882 + for lib in $dlprefiles; do
36883 + case $lib in
36884 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
36885 + *) abs=`pwd`"/$lib" ;;
36886 + esac
36887 + newdlprefiles="$newdlprefiles $abs"
36888 + done
36889 + dlprefiles="$newdlprefiles"
36890 fi
36891 $rm $output
36892 # place dlname in correct position for cygwin
36893 tdlname=$dlname
36894 case $host,$output,$installed,$module,$dlname in
36895 - *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
36896 + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
36897 esac
36898 $echo > $output "\
36899 # $outputname - a libtool library file
36900 @@ -4039,13 +5695,16 @@
36901 # Is this an already installed library?
36902 installed=$installed
36903
36904 +# Should we warn about portability when linking against -modules?
36905 +shouldnotlink=$module
36906 +
36907 # Files to dlopen/dlpreopen
36908 dlopen='$dlfiles'
36909 dlpreopen='$dlprefiles'
36910
36911 # Directory that this library needs to be installed in:
36912 libdir='$install_libdir'"
36913 - if test "$installed" = no && test $need_relink = yes; then
36914 + if test "$installed" = no && test "$need_relink" = yes; then
36915 $echo >> $output "\
36916 relink_command=\"$relink_command\""
36917 fi
36918 @@ -4058,7 +5717,7 @@
36919 $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
36920 ;;
36921 esac
36922 - exit 0
36923 + exit $EXIT_SUCCESS
36924 ;;
36925
36926 # libtool install mode
36927 @@ -4069,11 +5728,11 @@
36928 # install_prog (especially on Windows NT).
36929 if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
36930 # Allow the use of GNU shtool's install command.
36931 - $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
36932 + $echo "X$nonopt" | grep shtool > /dev/null; then
36933 # Aesthetically quote it.
36934 arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
36935 case $arg in
36936 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
36937 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
36938 arg="\"$arg\""
36939 ;;
36940 esac
36941 @@ -4082,14 +5741,14 @@
36942 shift
36943 else
36944 install_prog=
36945 - arg="$nonopt"
36946 + arg=$nonopt
36947 fi
36948
36949 # The real first argument should be the name of the installation program.
36950 # Aesthetically quote it.
36951 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
36952 case $arg in
36953 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
36954 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
36955 arg="\"$arg\""
36956 ;;
36957 esac
36958 @@ -4107,28 +5766,31 @@
36959 do
36960 if test -n "$dest"; then
36961 files="$files $dest"
36962 - dest="$arg"
36963 + dest=$arg
36964 continue
36965 fi
36966
36967 case $arg in
36968 -d) isdir=yes ;;
36969 - -f) prev="-f" ;;
36970 - -g) prev="-g" ;;
36971 - -m) prev="-m" ;;
36972 - -o) prev="-o" ;;
36973 + -f)
36974 + case " $install_prog " in
36975 + *[\\\ /]cp\ *) ;;
36976 + *) prev=$arg ;;
36977 + esac
36978 + ;;
36979 + -g | -m | -o) prev=$arg ;;
36980 -s)
36981 stripme=" -s"
36982 continue
36983 ;;
36984 - -*) ;;
36985 -
36986 + -*)
36987 + ;;
36988 *)
36989 # If the previous option needed an argument, then skip it.
36990 if test -n "$prev"; then
36991 prev=
36992 else
36993 - dest="$arg"
36994 + dest=$arg
36995 continue
36996 fi
36997 ;;
36998 @@ -4137,7 +5799,7 @@
36999 # Aesthetically quote the argument.
37000 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
37001 case $arg in
37002 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
37003 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
37004 arg="\"$arg\""
37005 ;;
37006 esac
37007 @@ -4147,13 +5809,13 @@
37008 if test -z "$install_prog"; then
37009 $echo "$modename: you must specify an install program" 1>&2
37010 $echo "$help" 1>&2
37011 - exit 1
37012 + exit $EXIT_FAILURE
37013 fi
37014
37015 if test -n "$prev"; then
37016 $echo "$modename: the \`$prev' option requires an argument" 1>&2
37017 $echo "$help" 1>&2
37018 - exit 1
37019 + exit $EXIT_FAILURE
37020 fi
37021
37022 if test -z "$files"; then
37023 @@ -4163,7 +5825,7 @@
37024 $echo "$modename: you must specify a destination" 1>&2
37025 fi
37026 $echo "$help" 1>&2
37027 - exit 1
37028 + exit $EXIT_FAILURE
37029 fi
37030
37031 # Strip any trailing slash from the destination.
37032 @@ -4181,10 +5843,10 @@
37033
37034 # Not a directory, so check to see that there is only one file specified.
37035 set dummy $files
37036 - if test $# -gt 2; then
37037 + if test "$#" -gt 2; then
37038 $echo "$modename: \`$dest' is not a directory" 1>&2
37039 $echo "$help" 1>&2
37040 - exit 1
37041 + exit $EXIT_FAILURE
37042 fi
37043 fi
37044 case $destdir in
37045 @@ -4196,7 +5858,7 @@
37046 *)
37047 $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
37048 $echo "$help" 1>&2
37049 - exit 1
37050 + exit $EXIT_FAILURE
37051 ;;
37052 esac
37053 done
37054 @@ -4221,11 +5883,11 @@
37055
37056 *.la)
37057 # Check to see that this really is a libtool archive.
37058 - if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
37059 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
37060 else
37061 $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
37062 $echo "$help" 1>&2
37063 - exit 1
37064 + exit $EXIT_FAILURE
37065 fi
37066
37067 library_names=
37068 @@ -4256,30 +5918,33 @@
37069 dir="$dir$objdir"
37070
37071 if test -n "$relink_command"; then
37072 - # Determine the prefix the user has applied to our future dir.
37073 - inst_prefix_dir=`$echo "$destdir" | sed "s%$libdir\$%%"`
37074 -
37075 - # Don't allow the user to place us outside of our expected
37076 - # location b/c this prevents finding dependent libraries that
37077 - # are installed to the same prefix.
37078 - if test "$inst_prefix_dir" = "$destdir"; then
37079 - $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
37080 - exit 1
37081 - fi
37082 -
37083 - if test -n "$inst_prefix_dir"; then
37084 - # Stick the inst_prefix_dir data into the link command.
37085 - relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
37086 - else
37087 - relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%%"`
37088 - fi
37089 + # Determine the prefix the user has applied to our future dir.
37090 + inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
37091 +
37092 + # Don't allow the user to place us outside of our expected
37093 + # location b/c this prevents finding dependent libraries that
37094 + # are installed to the same prefix.
37095 + # At present, this check doesn't affect windows .dll's that
37096 + # are installed into $libdir/../bin (currently, that works fine)
37097 + # but it's something to keep an eye on.
37098 + if test "$inst_prefix_dir" = "$destdir"; then
37099 + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
37100 + exit $EXIT_FAILURE
37101 + fi
37102 +
37103 + if test -n "$inst_prefix_dir"; then
37104 + # Stick the inst_prefix_dir data into the link command.
37105 + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
37106 + else
37107 + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
37108 + fi
37109
37110 $echo "$modename: warning: relinking \`$file'" 1>&2
37111 $show "$relink_command"
37112 if $run eval "$relink_command"; then :
37113 else
37114 $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
37115 - exit 1
37116 + exit $EXIT_FAILURE
37117 fi
37118 fi
37119
37120 @@ -4301,25 +5966,38 @@
37121 $run eval "$striplib $destdir/$realname" || exit $?
37122 fi
37123
37124 - if test $# -gt 0; then
37125 + if test "$#" -gt 0; then
37126 # Delete the old symlinks, and create new ones.
37127 + # Try `ln -sf' first, because the `ln' binary might depend on
37128 + # the symlink we replace! Solaris /bin/ln does not understand -f,
37129 + # so we also need to try rm && ln -s.
37130 for linkname
37131 do
37132 if test "$linkname" != "$realname"; then
37133 - $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
37134 - $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
37135 + $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
37136 + $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
37137 fi
37138 done
37139 fi
37140
37141 # Do each command in the postinstall commands.
37142 lib="$destdir/$realname"
37143 - eval cmds=\"$postinstall_cmds\"
37144 + cmds=$postinstall_cmds
37145 save_ifs="$IFS"; IFS='~'
37146 for cmd in $cmds; do
37147 IFS="$save_ifs"
37148 + eval cmd=\"$cmd\"
37149 $show "$cmd"
37150 - $run eval "$cmd" || exit $?
37151 + $run eval "$cmd" || {
37152 + lt_exit=$?
37153 +
37154 + # Restore the uninstalled library and exit
37155 + if test "$mode" = relink; then
37156 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
37157 + fi
37158 +
37159 + exit $lt_exit
37160 + }
37161 done
37162 IFS="$save_ifs"
37163 fi
37164 @@ -4357,7 +6035,7 @@
37165 *)
37166 $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
37167 $echo "$help" 1>&2
37168 - exit 1
37169 + exit $EXIT_FAILURE
37170 ;;
37171 esac
37172
37173 @@ -4375,7 +6053,7 @@
37174 $show "$install_prog $staticobj $staticdest"
37175 $run eval "$install_prog \$staticobj \$staticdest" || exit $?
37176 fi
37177 - exit 0
37178 + exit $EXIT_SUCCESS
37179 ;;
37180
37181 *)
37182 @@ -4387,29 +6065,47 @@
37183 destfile="$destdir/$destfile"
37184 fi
37185
37186 + # If the file is missing, and there is a .exe on the end, strip it
37187 + # because it is most likely a libtool script we actually want to
37188 + # install
37189 + stripped_ext=""
37190 + case $file in
37191 + *.exe)
37192 + if test ! -f "$file"; then
37193 + file=`$echo $file|${SED} 's,.exe$,,'`
37194 + stripped_ext=".exe"
37195 + fi
37196 + ;;
37197 + esac
37198 +
37199 # Do a test to see if this is really a libtool program.
37200 case $host in
37201 *cygwin*|*mingw*)
37202 - wrapper=`echo $file | ${SED} -e 's,.exe$,,'`
37203 + wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
37204 ;;
37205 *)
37206 wrapper=$file
37207 ;;
37208 esac
37209 - if (${SED} -e '4q' $wrapper | egrep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
37210 + if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
37211 notinst_deplibs=
37212 relink_command=
37213
37214 + # Note that it is not necessary on cygwin/mingw to append a dot to
37215 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
37216 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
37217 + # `FILE.' does not work on cygwin managed mounts.
37218 + #
37219 # If there is no directory component, then add one.
37220 - case $file in
37221 - */* | *\\*) . $wrapper ;;
37222 - *) . ./$wrapper ;;
37223 + case $wrapper in
37224 + */* | *\\*) . ${wrapper} ;;
37225 + *) . ./${wrapper} ;;
37226 esac
37227
37228 # Check the variables that should have been set.
37229 if test -z "$notinst_deplibs"; then
37230 $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
37231 - exit 1
37232 + exit $EXIT_FAILURE
37233 fi
37234
37235 finalize=yes
37236 @@ -4431,24 +6127,22 @@
37237 done
37238
37239 relink_command=
37240 + # Note that it is not necessary on cygwin/mingw to append a dot to
37241 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
37242 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
37243 + # `FILE.' does not work on cygwin managed mounts.
37244 + #
37245 # If there is no directory component, then add one.
37246 - case $file in
37247 - */* | *\\*) . $wrapper ;;
37248 - *) . ./$wrapper ;;
37249 + case $wrapper in
37250 + */* | *\\*) . ${wrapper} ;;
37251 + *) . ./${wrapper} ;;
37252 esac
37253
37254 outputname=
37255 if test "$fast_install" = no && test -n "$relink_command"; then
37256 if test "$finalize" = yes && test -z "$run"; then
37257 - tmpdir="/tmp"
37258 - test -n "$TMPDIR" && tmpdir="$TMPDIR"
37259 - tmpdir="$tmpdir/libtool-$$"
37260 - if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
37261 - else
37262 - $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
37263 - continue
37264 - fi
37265 - file=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
37266 + tmpdir=`func_mktempdir`
37267 + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
37268 outputname="$tmpdir/$file"
37269 # Replace the output file specification.
37270 relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
37271 @@ -4466,14 +6160,14 @@
37272 fi
37273 else
37274 # Install the binary that we compiled earlier.
37275 - file=`$echo "X$file" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
37276 + file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
37277 fi
37278 fi
37279
37280 # remove .exe since cygwin /usr/bin/install will append another
37281 - # one anyways
37282 + # one anyway
37283 case $install_prog,$host in
37284 - /usr/bin/install*,*cygwin*)
37285 + */usr/bin/install*,*cygwin*)
37286 case $file:$destfile in
37287 *.exe:*.exe)
37288 # this is ok
37289 @@ -4482,7 +6176,7 @@
37290 destfile=$destfile.exe
37291 ;;
37292 *:*.exe)
37293 - destfile=`echo $destfile | ${SED} -e 's,.exe$,,'`
37294 + destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
37295 ;;
37296 esac
37297 ;;
37298 @@ -4503,16 +6197,17 @@
37299 $show "$install_prog $file $oldlib"
37300 $run eval "$install_prog \$file \$oldlib" || exit $?
37301
37302 - if test -n "$stripme" && test -n "$striplib"; then
37303 + if test -n "$stripme" && test -n "$old_striplib"; then
37304 $show "$old_striplib $oldlib"
37305 $run eval "$old_striplib $oldlib" || exit $?
37306 fi
37307
37308 # Do each command in the postinstall commands.
37309 - eval cmds=\"$old_postinstall_cmds\"
37310 + cmds=$old_postinstall_cmds
37311 save_ifs="$IFS"; IFS='~'
37312 for cmd in $cmds; do
37313 IFS="$save_ifs"
37314 + eval cmd=\"$cmd\"
37315 $show "$cmd"
37316 $run eval "$cmd" || exit $?
37317 done
37318 @@ -4526,9 +6221,9 @@
37319 if test -n "$current_libdirs"; then
37320 # Maybe just do a dry run.
37321 test -n "$run" && current_libdirs=" -n$current_libdirs"
37322 - exec_cmd='$SHELL $0 --finish$current_libdirs'
37323 + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
37324 else
37325 - exit 0
37326 + exit $EXIT_SUCCESS
37327 fi
37328 ;;
37329
37330 @@ -4547,10 +6242,11 @@
37331 for libdir in $libdirs; do
37332 if test -n "$finish_cmds"; then
37333 # Do each command in the finish commands.
37334 - eval cmds=\"$finish_cmds\"
37335 + cmds=$finish_cmds
37336 save_ifs="$IFS"; IFS='~'
37337 for cmd in $cmds; do
37338 IFS="$save_ifs"
37339 + eval cmd=\"$cmd\"
37340 $show "$cmd"
37341 $run eval "$cmd" || admincmds="$admincmds
37342 $cmd"
37343 @@ -4567,43 +6263,43 @@
37344 fi
37345
37346 # Exit here if they wanted silent mode.
37347 - test "$show" = ":" && exit 0
37348 + test "$show" = : && exit $EXIT_SUCCESS
37349
37350 - echo "----------------------------------------------------------------------"
37351 - echo "Libraries have been installed in:"
37352 + $echo "X----------------------------------------------------------------------" | $Xsed
37353 + $echo "Libraries have been installed in:"
37354 for libdir in $libdirs; do
37355 - echo " $libdir"
37356 + $echo " $libdir"
37357 done
37358 - echo
37359 - echo "If you ever happen to want to link against installed libraries"
37360 - echo "in a given directory, LIBDIR, you must either use libtool, and"
37361 - echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
37362 - echo "flag during linking and do at least one of the following:"
37363 + $echo
37364 + $echo "If you ever happen to want to link against installed libraries"
37365 + $echo "in a given directory, LIBDIR, you must either use libtool, and"
37366 + $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
37367 + $echo "flag during linking and do at least one of the following:"
37368 if test -n "$shlibpath_var"; then
37369 - echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
37370 - echo " during execution"
37371 + $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
37372 + $echo " during execution"
37373 fi
37374 if test -n "$runpath_var"; then
37375 - echo " - add LIBDIR to the \`$runpath_var' environment variable"
37376 - echo " during linking"
37377 + $echo " - add LIBDIR to the \`$runpath_var' environment variable"
37378 + $echo " during linking"
37379 fi
37380 if test -n "$hardcode_libdir_flag_spec"; then
37381 libdir=LIBDIR
37382 eval flag=\"$hardcode_libdir_flag_spec\"
37383
37384 - echo " - use the \`$flag' linker flag"
37385 + $echo " - use the \`$flag' linker flag"
37386 fi
37387 if test -n "$admincmds"; then
37388 - echo " - have your system administrator run these commands:$admincmds"
37389 + $echo " - have your system administrator run these commands:$admincmds"
37390 fi
37391 if test -f /etc/ld.so.conf; then
37392 - echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
37393 + $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
37394 fi
37395 - echo
37396 - echo "See any operating system documentation about shared libraries for"
37397 - echo "more information, such as the ld(1) and ld.so(8) manual pages."
37398 - echo "----------------------------------------------------------------------"
37399 - exit 0
37400 + $echo
37401 + $echo "See any operating system documentation about shared libraries for"
37402 + $echo "more information, such as the ld(1) and ld.so(8) manual pages."
37403 + $echo "X----------------------------------------------------------------------" | $Xsed
37404 + exit $EXIT_SUCCESS
37405 ;;
37406
37407 # libtool execute mode
37408 @@ -4615,7 +6311,7 @@
37409 if test -z "$cmd"; then
37410 $echo "$modename: you must specify a COMMAND" 1>&2
37411 $echo "$help"
37412 - exit 1
37413 + exit $EXIT_FAILURE
37414 fi
37415
37416 # Handle -dlopen flags immediately.
37417 @@ -4623,18 +6319,18 @@
37418 if test ! -f "$file"; then
37419 $echo "$modename: \`$file' is not a file" 1>&2
37420 $echo "$help" 1>&2
37421 - exit 1
37422 + exit $EXIT_FAILURE
37423 fi
37424
37425 dir=
37426 case $file in
37427 *.la)
37428 # Check to see that this really is a libtool archive.
37429 - if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
37430 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
37431 else
37432 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
37433 $echo "$help" 1>&2
37434 - exit 1
37435 + exit $EXIT_FAILURE
37436 fi
37437
37438 # Read the libtool library.
37439 @@ -4661,7 +6357,7 @@
37440 dir="$dir/$objdir"
37441 else
37442 $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
37443 - exit 1
37444 + exit $EXIT_FAILURE
37445 fi
37446 ;;
37447
37448 @@ -4701,7 +6397,7 @@
37449 -*) ;;
37450 *)
37451 # Do a test to see if this is really a libtool program.
37452 - if (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37453 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37454 # If there is no directory component, then add one.
37455 case $file in
37456 */* | *\\*) . $file ;;
37457 @@ -4724,7 +6420,7 @@
37458 eval "export $shlibpath_var"
37459 fi
37460
37461 - # Restore saved enviroment variables
37462 + # Restore saved environment variables
37463 if test "${save_LC_ALL+set}" = set; then
37464 LC_ALL="$save_LC_ALL"; export LC_ALL
37465 fi
37466 @@ -4741,7 +6437,7 @@
37467 $echo "export $shlibpath_var"
37468 fi
37469 $echo "$cmd$args"
37470 - exit 0
37471 + exit $EXIT_SUCCESS
37472 fi
37473 ;;
37474
37475 @@ -4769,24 +6465,25 @@
37476 if test -z "$rm"; then
37477 $echo "$modename: you must specify an RM program" 1>&2
37478 $echo "$help" 1>&2
37479 - exit 1
37480 + exit $EXIT_FAILURE
37481 fi
37482
37483 rmdirs=
37484
37485 + origobjdir="$objdir"
37486 for file in $files; do
37487 dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
37488 if test "X$dir" = "X$file"; then
37489 dir=.
37490 - objdir="$objdir"
37491 + objdir="$origobjdir"
37492 else
37493 - objdir="$dir/$objdir"
37494 + objdir="$dir/$origobjdir"
37495 fi
37496 name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
37497 - test $mode = uninstall && objdir="$dir"
37498 + test "$mode" = uninstall && objdir="$dir"
37499
37500 # Remember objdir for removal later, being careful to avoid duplicates
37501 - if test $mode = clean; then
37502 + if test "$mode" = clean; then
37503 case " $rmdirs " in
37504 *" $objdir "*) ;;
37505 *) rmdirs="$rmdirs $objdir" ;;
37506 @@ -4810,7 +6507,7 @@
37507 case $name in
37508 *.la)
37509 # Possibly a libtool archive, so verify it.
37510 - if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37511 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37512 . $dir/$name
37513
37514 # Delete the libtool libraries and symlinks.
37515 @@ -4818,18 +6515,27 @@
37516 rmfiles="$rmfiles $objdir/$n"
37517 done
37518 test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
37519 - test $mode = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
37520
37521 - if test $mode = uninstall; then
37522 + case "$mode" in
37523 + clean)
37524 + case " $library_names " in
37525 + # " " in the beginning catches empty $dlname
37526 + *" $dlname "*) ;;
37527 + *) rmfiles="$rmfiles $objdir/$dlname" ;;
37528 + esac
37529 + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
37530 + ;;
37531 + uninstall)
37532 if test -n "$library_names"; then
37533 # Do each command in the postuninstall commands.
37534 - eval cmds=\"$postuninstall_cmds\"
37535 + cmds=$postuninstall_cmds
37536 save_ifs="$IFS"; IFS='~'
37537 for cmd in $cmds; do
37538 IFS="$save_ifs"
37539 + eval cmd=\"$cmd\"
37540 $show "$cmd"
37541 $run eval "$cmd"
37542 - if test $? != 0 && test "$rmforce" != yes; then
37543 + if test "$?" -ne 0 && test "$rmforce" != yes; then
37544 exit_status=1
37545 fi
37546 done
37547 @@ -4838,40 +6544,72 @@
37548
37549 if test -n "$old_library"; then
37550 # Do each command in the old_postuninstall commands.
37551 - eval cmds=\"$old_postuninstall_cmds\"
37552 + cmds=$old_postuninstall_cmds
37553 save_ifs="$IFS"; IFS='~'
37554 for cmd in $cmds; do
37555 IFS="$save_ifs"
37556 + eval cmd=\"$cmd\"
37557 $show "$cmd"
37558 $run eval "$cmd"
37559 - if test $? != 0 && test "$rmforce" != yes; then
37560 + if test "$?" -ne 0 && test "$rmforce" != yes; then
37561 exit_status=1
37562 fi
37563 done
37564 IFS="$save_ifs"
37565 fi
37566 # FIXME: should reinstall the best remaining shared library.
37567 - fi
37568 + ;;
37569 + esac
37570 fi
37571 ;;
37572
37573 *.lo)
37574 - if test "$build_old_libs" = yes; then
37575 - oldobj=`$echo "X$name" | $Xsed -e "$lo2o"`
37576 - rmfiles="$rmfiles $dir/$oldobj"
37577 + # Possibly a libtool object, so verify it.
37578 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37579 +
37580 + # Read the .lo file
37581 + . $dir/$name
37582 +
37583 + # Add PIC object to the list of files to remove.
37584 + if test -n "$pic_object" \
37585 + && test "$pic_object" != none; then
37586 + rmfiles="$rmfiles $dir/$pic_object"
37587 + fi
37588 +
37589 + # Add non-PIC object to the list of files to remove.
37590 + if test -n "$non_pic_object" \
37591 + && test "$non_pic_object" != none; then
37592 + rmfiles="$rmfiles $dir/$non_pic_object"
37593 + fi
37594 fi
37595 ;;
37596
37597 *)
37598 - # Do a test to see if this is a libtool program.
37599 - if test $mode = clean &&
37600 - (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37601 - relink_command=
37602 - . $dir/$file
37603 + if test "$mode" = clean ; then
37604 + noexename=$name
37605 + case $file in
37606 + *.exe)
37607 + file=`$echo $file|${SED} 's,.exe$,,'`
37608 + noexename=`$echo $name|${SED} 's,.exe$,,'`
37609 + # $file with .exe has already been added to rmfiles,
37610 + # add $file without .exe
37611 + rmfiles="$rmfiles $file"
37612 + ;;
37613 + esac
37614 + # Do a test to see if this is a libtool program.
37615 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
37616 + relink_command=
37617 + . $dir/$noexename
37618
37619 - rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
37620 - if test "$fast_install" = yes && test -n "$relink_command"; then
37621 - rmfiles="$rmfiles $objdir/lt-$name"
37622 + # note $name still contains .exe if it was in $file originally
37623 + # as does the version of $file that was added into $rmfiles
37624 + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
37625 + if test "$fast_install" = yes && test -n "$relink_command"; then
37626 + rmfiles="$rmfiles $objdir/lt-$name"
37627 + fi
37628 + if test "X$noexename" != "X$name" ; then
37629 + rmfiles="$rmfiles $objdir/lt-${noexename}.c"
37630 + fi
37631 fi
37632 fi
37633 ;;
37634 @@ -4879,6 +6617,7 @@
37635 $show "$rm $rmfiles"
37636 $run $rm $rmfiles || exit_status=1
37637 done
37638 + objdir="$origobjdir"
37639
37640 # Try to remove the ${objdir}s in the directories where we deleted files
37641 for dir in $rmdirs; do
37642 @@ -4894,20 +6633,20 @@
37643 "")
37644 $echo "$modename: you must specify a MODE" 1>&2
37645 $echo "$generic_help" 1>&2
37646 - exit 1
37647 + exit $EXIT_FAILURE
37648 ;;
37649 esac
37650
37651 if test -z "$exec_cmd"; then
37652 $echo "$modename: invalid operation mode \`$mode'" 1>&2
37653 $echo "$generic_help" 1>&2
37654 - exit 1
37655 + exit $EXIT_FAILURE
37656 fi
37657 fi # test -z "$show_help"
37658
37659 if test -n "$exec_cmd"; then
37660 eval exec $exec_cmd
37661 - exit 1
37662 + exit $EXIT_FAILURE
37663 fi
37664
37665 # We need to display help for each of the modes.
37666 @@ -4926,6 +6665,7 @@
37667 --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
37668 --quiet same as \`--silent'
37669 --silent don't print informational messages
37670 + --tag=TAG use configuration variables from tag TAG
37671 --version print version information
37672
37673 MODE must be one of the following:
37674 @@ -4939,8 +6679,10 @@
37675 uninstall remove libraries from an installed directory
37676
37677 MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
37678 -a more detailed description of MODE."
37679 - exit 0
37680 +a more detailed description of MODE.
37681 +
37682 +Report bugs to <bug-libtool@gnu.org>."
37683 + exit $EXIT_SUCCESS
37684 ;;
37685
37686 clean)
37687 @@ -5051,6 +6793,9 @@
37688 -no-install link a not-installable executable
37689 -no-undefined declare that a library does not refer to external symbols
37690 -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
37691 + -objectlist FILE Use a list of object files found in FILE to specify objects
37692 + -precious-files-regex REGEX
37693 + don't remove output files matching REGEX
37694 -release RELEASE specify package release information
37695 -rpath LIBDIR the created library will eventually be installed in LIBDIR
37696 -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
37697 @@ -5092,14 +6837,33 @@
37698 *)
37699 $echo "$modename: invalid operation mode \`$mode'" 1>&2
37700 $echo "$help" 1>&2
37701 - exit 1
37702 + exit $EXIT_FAILURE
37703 ;;
37704 esac
37705
37706 -echo
37707 +$echo
37708 $echo "Try \`$modename --help' for more information about other modes."
37709
37710 -exit 0
37711 +exit $?
37712 +
37713 +# The TAGs below are defined such that we never get into a situation
37714 +# in which we disable both kinds of libraries. Given conflicting
37715 +# choices, we go for a static library, that is the most portable,
37716 +# since we can't tell whether shared libraries were disabled because
37717 +# the user asked for that or because the platform doesn't support
37718 +# them. This is particularly important on AIX, because we don't
37719 +# support having both static and shared libraries enabled at the same
37720 +# time on that platform, so we default to a shared-only configuration.
37721 +# If a disable-shared tag is given, we'll fallback to a static-only
37722 +# configuration. But we'll never go from static-only to shared-only.
37723 +
37724 +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
37725 +disable_libs=shared
37726 +# ### END LIBTOOL TAG CONFIG: disable-shared
37727 +
37728 +# ### BEGIN LIBTOOL TAG CONFIG: disable-static
37729 +disable_libs=static
37730 +# ### END LIBTOOL TAG CONFIG: disable-static
37731
37732 # Local Variables:
37733 # mode:shell-script
37734 Index: linux-atm-2.4.1/m4/Makefile.in
37735 ===================================================================
37736 --- linux-atm-2.4.1.orig/m4/Makefile.in 2007-10-20 19:19:17.606631822 +0200
37737 +++ linux-atm-2.4.1/m4/Makefile.in 2007-10-20 19:19:19.598745350 +0200
37738 @@ -1,6 +1,8 @@
37739 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
37740 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
37741 +# @configure_input@
37742
37743 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
37744 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
37745 +# 2003, 2004, 2005 Free Software Foundation, Inc.
37746 # This Makefile.in is free software; the Free Software Foundation
37747 # gives unlimited permission to copy and/or distribute it,
37748 # with or without modifications, as long as this notice is preserved.
37749 @@ -10,195 +12,316 @@
37750 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
37751 # PARTICULAR PURPOSE.
37752
37753 -
37754 -SHELL = @SHELL@
37755 -
37756 +@SET_MAKE@
37757 srcdir = @srcdir@
37758 top_srcdir = @top_srcdir@
37759 VPATH = @srcdir@
37760 -prefix = @prefix@
37761 -exec_prefix = @exec_prefix@
37762 -
37763 -bindir = @bindir@
37764 -sbindir = @sbindir@
37765 -libexecdir = @libexecdir@
37766 -datadir = @datadir@
37767 -sysconfdir = @sysconfdir@
37768 -sharedstatedir = @sharedstatedir@
37769 -localstatedir = @localstatedir@
37770 -libdir = @libdir@
37771 -infodir = @infodir@
37772 -mandir = @mandir@
37773 -includedir = @includedir@
37774 -oldincludedir = /usr/include
37775 -
37776 -DESTDIR =
37777 -
37778 pkgdatadir = $(datadir)/@PACKAGE@
37779 pkglibdir = $(libdir)/@PACKAGE@
37780 pkgincludedir = $(includedir)/@PACKAGE@
37781 -
37782 top_builddir = ..
37783 -
37784 -ACLOCAL = @ACLOCAL@
37785 -AUTOCONF = @AUTOCONF@
37786 -AUTOMAKE = @AUTOMAKE@
37787 -AUTOHEADER = @AUTOHEADER@
37788 -
37789 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
37790 INSTALL = @INSTALL@
37791 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
37792 -INSTALL_DATA = @INSTALL_DATA@
37793 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
37794 -transform = @program_transform_name@
37795 -
37796 +install_sh_DATA = $(install_sh) -c -m 644
37797 +install_sh_PROGRAM = $(install_sh) -c
37798 +install_sh_SCRIPT = $(install_sh) -c
37799 +INSTALL_HEADER = $(INSTALL_DATA)
37800 +transform = $(program_transform_name)
37801 NORMAL_INSTALL = :
37802 PRE_INSTALL = :
37803 POST_INSTALL = :
37804 NORMAL_UNINSTALL = :
37805 PRE_UNINSTALL = :
37806 POST_UNINSTALL = :
37807 -build_alias = @build_alias@
37808 build_triplet = @build@
37809 -host_alias = @host_alias@
37810 host_triplet = @host@
37811 -target_alias = @target_alias@
37812 target_triplet = @target@
37813 +subdir = m4
37814 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
37815 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
37816 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
37817 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
37818 + $(ACLOCAL_M4)
37819 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
37820 +CONFIG_HEADER = $(top_builddir)/config.h
37821 +CONFIG_CLEAN_FILES =
37822 +SOURCES =
37823 +DIST_SOURCES =
37824 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
37825 +ACLOCAL = @ACLOCAL@
37826 +AMDEP_FALSE = @AMDEP_FALSE@
37827 +AMDEP_TRUE = @AMDEP_TRUE@
37828 +AMTAR = @AMTAR@
37829 AR = @AR@
37830 -AS = @AS@
37831 +AUTOCONF = @AUTOCONF@
37832 +AUTOHEADER = @AUTOHEADER@
37833 +AUTOMAKE = @AUTOMAKE@
37834 +AWK = @AWK@
37835 CC = @CC@
37836 +CCDEPMODE = @CCDEPMODE@
37837 +CFLAGS = @CFLAGS@
37838 +CPP = @CPP@
37839 +CPPFLAGS = @CPPFLAGS@
37840 CXX = @CXX@
37841 CXXCPP = @CXXCPP@
37842 -DLLTOOL = @DLLTOOL@
37843 +CXXDEPMODE = @CXXDEPMODE@
37844 +CXXFLAGS = @CXXFLAGS@
37845 +CYGPATH_W = @CYGPATH_W@
37846 +DEFS = @DEFS@
37847 +DEPDIR = @DEPDIR@
37848 ECHO = @ECHO@
37849 +ECHO_C = @ECHO_C@
37850 +ECHO_N = @ECHO_N@
37851 +ECHO_T = @ECHO_T@
37852 EGREP = @EGREP@
37853 EXEEXT = @EXEEXT@
37854 F77 = @F77@
37855 -GCJ = @GCJ@
37856 -GCJFLAGS = @GCJFLAGS@
37857 -HAVE_LIB = @HAVE_LIB@
37858 +FFLAGS = @FFLAGS@
37859 +GREP = @GREP@
37860 +INSTALL_DATA = @INSTALL_DATA@
37861 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
37862 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
37863 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
37864 +LDFLAGS = @LDFLAGS@
37865 LEX = @LEX@
37866 -LIB = @LIB@
37867 +LEXLIB = @LEXLIB@
37868 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
37869 +LIBOBJS = @LIBOBJS@
37870 +LIBS = @LIBS@
37871 LIBTOOL = @LIBTOOL@
37872 LIBTOOL_DEPS = @LIBTOOL_DEPS@
37873 LIBVER_AGE = @LIBVER_AGE@
37874 LIBVER_CURRENT = @LIBVER_CURRENT@
37875 LIBVER_REVISION = @LIBVER_REVISION@
37876 LN_S = @LN_S@
37877 -LTLIB = @LTLIB@
37878 +LTLIBOBJS = @LTLIBOBJS@
37879 MAKEINFO = @MAKEINFO@
37880 -OBJDUMP = @OBJDUMP@
37881 OBJEXT = @OBJEXT@
37882 PACKAGE = @PACKAGE@
37883 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
37884 +PACKAGE_NAME = @PACKAGE_NAME@
37885 +PACKAGE_STRING = @PACKAGE_STRING@
37886 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
37887 +PACKAGE_VERSION = @PACKAGE_VERSION@
37888 +PATH_SEPARATOR = @PATH_SEPARATOR@
37889 PERL = @PERL@
37890 RANLIB = @RANLIB@
37891 -RC = @RC@
37892 +SET_MAKE = @SET_MAKE@
37893 +SHELL = @SHELL@
37894 STRIP = @STRIP@
37895 VERSION = @VERSION@
37896 YACC = @YACC@
37897 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
37898 -CONFIG_HEADER = ../config.h
37899 -CONFIG_CLEAN_FILES =
37900 -DIST_COMMON = Makefile.am Makefile.in
37901 -
37902 -
37903 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
37904 +YFLAGS = @YFLAGS@
37905 +ac_ct_CC = @ac_ct_CC@
37906 +ac_ct_CXX = @ac_ct_CXX@
37907 +ac_ct_F77 = @ac_ct_F77@
37908 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
37909 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
37910 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
37911 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
37912 +am__include = @am__include@
37913 +am__leading_dot = @am__leading_dot@
37914 +am__quote = @am__quote@
37915 +am__tar = @am__tar@
37916 +am__untar = @am__untar@
37917 +bindir = @bindir@
37918 +build = @build@
37919 +build_alias = @build_alias@
37920 +build_cpu = @build_cpu@
37921 +build_os = @build_os@
37922 +build_vendor = @build_vendor@
37923 +datadir = @datadir@
37924 +datarootdir = @datarootdir@
37925 +docdir = @docdir@
37926 +dvidir = @dvidir@
37927 +exec_prefix = @exec_prefix@
37928 +host = @host@
37929 +host_alias = @host_alias@
37930 +host_cpu = @host_cpu@
37931 +host_os = @host_os@
37932 +host_vendor = @host_vendor@
37933 +htmldir = @htmldir@
37934 +includedir = @includedir@
37935 +infodir = @infodir@
37936 +install_sh = @install_sh@
37937 +libdir = @libdir@
37938 +libexecdir = @libexecdir@
37939 +localedir = @localedir@
37940 +localstatedir = @localstatedir@
37941 +mandir = @mandir@
37942 +mkdir_p = @mkdir_p@
37943 +oldincludedir = @oldincludedir@
37944 +pdfdir = @pdfdir@
37945 +prefix = @prefix@
37946 +program_transform_name = @program_transform_name@
37947 +psdir = @psdir@
37948 +sbindir = @sbindir@
37949 +sharedstatedir = @sharedstatedir@
37950 +sysconfdir = @sysconfdir@
37951 +target = @target@
37952 +target_alias = @target_alias@
37953 +target_cpu = @target_cpu@
37954 +target_os = @target_os@
37955 +target_vendor = @target_vendor@
37956 +all: all-am
37957
37958 -TAR = tar
37959 -GZIP_ENV = --best
37960 -all: all-redirect
37961 .SUFFIXES:
37962 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
37963 - cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile
37964 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
37965 + @for dep in $?; do \
37966 + case '$(am__configure_deps)' in \
37967 + *$$dep*) \
37968 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
37969 + && exit 0; \
37970 + exit 1;; \
37971 + esac; \
37972 + done; \
37973 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile'; \
37974 + cd $(top_srcdir) && \
37975 + $(AUTOMAKE) --gnu m4/Makefile
37976 +.PRECIOUS: Makefile
37977 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
37978 + @case '$?' in \
37979 + *config.status*) \
37980 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
37981 + *) \
37982 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
37983 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
37984 + esac;
37985 +
37986 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
37987 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
37988 +
37989 +$(top_srcdir)/configure: $(am__configure_deps)
37990 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
37991 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
37992 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
37993
37994 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
37995 - cd $(top_builddir) \
37996 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
37997 +mostlyclean-libtool:
37998 + -rm -f *.lo
37999
38000 +clean-libtool:
38001 + -rm -rf .libs _libs
38002 +
38003 +distclean-libtool:
38004 + -rm -f libtool
38005 +uninstall-info-am:
38006 tags: TAGS
38007 TAGS:
38008
38009 +ctags: CTAGS
38010 +CTAGS:
38011
38012 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
38013 -
38014 -subdir = m4
38015
38016 distdir: $(DISTFILES)
38017 - here=`cd $(top_builddir) && pwd`; \
38018 - top_distdir=`cd $(top_distdir) && pwd`; \
38019 - distdir=`cd $(distdir) && pwd`; \
38020 - cd $(top_srcdir) \
38021 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu m4/Makefile
38022 - @for file in $(DISTFILES); do \
38023 - d=$(srcdir); \
38024 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
38025 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
38026 + list='$(DISTFILES)'; for file in $$list; do \
38027 + case $$file in \
38028 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
38029 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
38030 + esac; \
38031 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
38032 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
38033 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
38034 + dir="/$$dir"; \
38035 + $(mkdir_p) "$(distdir)$$dir"; \
38036 + else \
38037 + dir=''; \
38038 + fi; \
38039 if test -d $$d/$$file; then \
38040 - cp -pr $$d/$$file $(distdir)/$$file; \
38041 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
38042 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
38043 + fi; \
38044 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
38045 else \
38046 test -f $(distdir)/$$file \
38047 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
38048 - || cp -p $$d/$$file $(distdir)/$$file || :; \
38049 + || cp -p $$d/$$file $(distdir)/$$file \
38050 + || exit 1; \
38051 fi; \
38052 done
38053 -info-am:
38054 -info: info-am
38055 -dvi-am:
38056 -dvi: dvi-am
38057 check-am: all-am
38058 check: check-am
38059 -installcheck-am:
38060 -installcheck: installcheck-am
38061 -install-exec-am:
38062 +all-am: Makefile
38063 +installdirs:
38064 +install: install-am
38065 install-exec: install-exec-am
38066 -
38067 -install-data-am:
38068 install-data: install-data-am
38069 +uninstall: uninstall-am
38070
38071 install-am: all-am
38072 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
38073 -install: install-am
38074 -uninstall-am:
38075 -uninstall: uninstall-am
38076 -all-am: Makefile
38077 -all-redirect: all-am
38078 -install-strip:
38079 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
38080 -installdirs:
38081 -
38082
38083 +installcheck: installcheck-am
38084 +install-strip:
38085 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
38086 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
38087 + `test -z '$(STRIP)' || \
38088 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
38089 mostlyclean-generic:
38090
38091 clean-generic:
38092
38093 distclean-generic:
38094 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
38095 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
38096 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
38097
38098 maintainer-clean-generic:
38099 -mostlyclean-am: mostlyclean-generic
38100 + @echo "This command is intended for maintainers to use"
38101 + @echo "it deletes files that may require special tools to rebuild."
38102 +clean: clean-am
38103
38104 -mostlyclean: mostlyclean-am
38105 +clean-am: clean-generic clean-libtool mostlyclean-am
38106
38107 -clean-am: clean-generic mostlyclean-am
38108 +distclean: distclean-am
38109 + -rm -f Makefile
38110 +distclean-am: clean-am distclean-generic distclean-libtool
38111
38112 -clean: clean-am
38113 +dvi: dvi-am
38114
38115 -distclean-am: distclean-generic clean-am
38116 - -rm -f libtool
38117 +dvi-am:
38118
38119 -distclean: distclean-am
38120 +html: html-am
38121
38122 -maintainer-clean-am: maintainer-clean-generic distclean-am
38123 - @echo "This command is intended for maintainers to use;"
38124 - @echo "it deletes files that may require special tools to rebuild."
38125 +info: info-am
38126 +
38127 +info-am:
38128 +
38129 +install-data-am:
38130 +
38131 +install-exec-am:
38132 +
38133 +install-info: install-info-am
38134 +
38135 +install-man:
38136 +
38137 +installcheck-am:
38138
38139 maintainer-clean: maintainer-clean-am
38140 + -rm -f Makefile
38141 +maintainer-clean-am: distclean-am maintainer-clean-generic
38142 +
38143 +mostlyclean: mostlyclean-am
38144 +
38145 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
38146 +
38147 +pdf: pdf-am
38148 +
38149 +pdf-am:
38150 +
38151 +ps: ps-am
38152 +
38153 +ps-am:
38154
38155 -.PHONY: tags distdir info-am info dvi-am dvi check check-am \
38156 -installcheck-am installcheck install-exec-am install-exec \
38157 -install-data-am install-data install-am install uninstall-am uninstall \
38158 -all-redirect all-am all installdirs mostlyclean-generic \
38159 -distclean-generic clean-generic maintainer-clean-generic clean \
38160 -mostlyclean distclean maintainer-clean
38161 +uninstall-am: uninstall-info-am
38162
38163 +.PHONY: all all-am check check-am clean clean-generic clean-libtool \
38164 + distclean distclean-generic distclean-libtool distdir dvi \
38165 + dvi-am html html-am info info-am install install-am \
38166 + install-data install-data-am install-exec install-exec-am \
38167 + install-info install-info-am install-man install-strip \
38168 + installcheck installcheck-am installdirs maintainer-clean \
38169 + maintainer-clean-generic mostlyclean mostlyclean-generic \
38170 + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
38171 + uninstall-info-am
38172
38173 # Tell versions [3.59,3.63) of GNU make to not export all variables.
38174 # Otherwise a system limit (for SysV at least) may be exceeded.
38175 Index: linux-atm-2.4.1/Makefile.in
38176 ===================================================================
38177 --- linux-atm-2.4.1.orig/Makefile.in 2007-10-20 19:19:17.614632281 +0200
38178 +++ linux-atm-2.4.1/Makefile.in 2007-10-20 19:19:19.602745572 +0200
38179 @@ -1,6 +1,8 @@
38180 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
38181 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
38182 +# @configure_input@
38183
38184 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
38185 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
38186 +# 2003, 2004, 2005 Free Software Foundation, Inc.
38187 # This Makefile.in is free software; the Free Software Foundation
38188 # gives unlimited permission to copy and/or distribute it,
38189 # with or without modifications, as long as this notice is preserved.
38190 @@ -10,153 +12,248 @@
38191 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
38192 # PARTICULAR PURPOSE.
38193
38194 -
38195 -SHELL = @SHELL@
38196 -
38197 +@SET_MAKE@
38198 srcdir = @srcdir@
38199 top_srcdir = @top_srcdir@
38200 VPATH = @srcdir@
38201 -prefix = @prefix@
38202 -exec_prefix = @exec_prefix@
38203 -
38204 -bindir = @bindir@
38205 -sbindir = @sbindir@
38206 -libexecdir = @libexecdir@
38207 -datadir = @datadir@
38208 -sysconfdir = @sysconfdir@
38209 -sharedstatedir = @sharedstatedir@
38210 -localstatedir = @localstatedir@
38211 -libdir = @libdir@
38212 -infodir = @infodir@
38213 -mandir = @mandir@
38214 -includedir = @includedir@
38215 -oldincludedir = /usr/include
38216 -
38217 -DESTDIR =
38218 -
38219 pkgdatadir = $(datadir)/@PACKAGE@
38220 pkglibdir = $(libdir)/@PACKAGE@
38221 pkgincludedir = $(includedir)/@PACKAGE@
38222 -
38223 top_builddir = .
38224 -
38225 -ACLOCAL = @ACLOCAL@
38226 -AUTOCONF = @AUTOCONF@
38227 -AUTOMAKE = @AUTOMAKE@
38228 -AUTOHEADER = @AUTOHEADER@
38229 -
38230 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
38231 INSTALL = @INSTALL@
38232 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
38233 -INSTALL_DATA = @INSTALL_DATA@
38234 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
38235 -transform = @program_transform_name@
38236 -
38237 +install_sh_DATA = $(install_sh) -c -m 644
38238 +install_sh_PROGRAM = $(install_sh) -c
38239 +install_sh_SCRIPT = $(install_sh) -c
38240 +INSTALL_HEADER = $(INSTALL_DATA)
38241 +transform = $(program_transform_name)
38242 NORMAL_INSTALL = :
38243 PRE_INSTALL = :
38244 POST_INSTALL = :
38245 NORMAL_UNINSTALL = :
38246 PRE_UNINSTALL = :
38247 POST_UNINSTALL = :
38248 -build_alias = @build_alias@
38249 build_triplet = @build@
38250 -host_alias = @host_alias@
38251 host_triplet = @host@
38252 -target_alias = @target_alias@
38253 target_triplet = @target@
38254 +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
38255 + $(srcdir)/Makefile.in $(srcdir)/config.h.in \
38256 + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
38257 + THANKS acconfig.h config.guess config.sub depcomp install-sh \
38258 + ltmain.sh missing mkinstalldirs
38259 +subdir = .
38260 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
38261 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
38262 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
38263 + $(ACLOCAL_M4)
38264 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
38265 + configure.lineno configure.status.lineno
38266 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
38267 +CONFIG_HEADER = config.h
38268 +CONFIG_CLEAN_FILES =
38269 +SOURCES =
38270 +DIST_SOURCES =
38271 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
38272 + html-recursive info-recursive install-data-recursive \
38273 + install-exec-recursive install-info-recursive \
38274 + install-recursive installcheck-recursive installdirs-recursive \
38275 + pdf-recursive ps-recursive uninstall-info-recursive \
38276 + uninstall-recursive
38277 +ETAGS = etags
38278 +CTAGS = ctags
38279 +DIST_SUBDIRS = $(SUBDIRS)
38280 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
38281 +distdir = $(PACKAGE)-$(VERSION)
38282 +top_distdir = $(distdir)
38283 +am__remove_distdir = \
38284 + { test ! -d $(distdir) \
38285 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
38286 + && rm -fr $(distdir); }; }
38287 +DIST_ARCHIVES = $(distdir).tar.gz
38288 +GZIP_ENV = --best
38289 +distuninstallcheck_listfiles = find . -type f -print
38290 +distcleancheck_listfiles = find . -type f -print
38291 +ACLOCAL = @ACLOCAL@
38292 +AMDEP_FALSE = @AMDEP_FALSE@
38293 +AMDEP_TRUE = @AMDEP_TRUE@
38294 +AMTAR = @AMTAR@
38295 AR = @AR@
38296 -AS = @AS@
38297 +AUTOCONF = @AUTOCONF@
38298 +AUTOHEADER = @AUTOHEADER@
38299 +AUTOMAKE = @AUTOMAKE@
38300 +AWK = @AWK@
38301 CC = @CC@
38302 +CCDEPMODE = @CCDEPMODE@
38303 +CFLAGS = @CFLAGS@
38304 +CPP = @CPP@
38305 +CPPFLAGS = @CPPFLAGS@
38306 CXX = @CXX@
38307 CXXCPP = @CXXCPP@
38308 -DLLTOOL = @DLLTOOL@
38309 +CXXDEPMODE = @CXXDEPMODE@
38310 +CXXFLAGS = @CXXFLAGS@
38311 +CYGPATH_W = @CYGPATH_W@
38312 +DEFS = @DEFS@
38313 +DEPDIR = @DEPDIR@
38314 ECHO = @ECHO@
38315 +ECHO_C = @ECHO_C@
38316 +ECHO_N = @ECHO_N@
38317 +ECHO_T = @ECHO_T@
38318 EGREP = @EGREP@
38319 EXEEXT = @EXEEXT@
38320 F77 = @F77@
38321 -GCJ = @GCJ@
38322 -GCJFLAGS = @GCJFLAGS@
38323 -HAVE_LIB = @HAVE_LIB@
38324 +FFLAGS = @FFLAGS@
38325 +GREP = @GREP@
38326 +INSTALL_DATA = @INSTALL_DATA@
38327 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
38328 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
38329 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
38330 +LDFLAGS = @LDFLAGS@
38331 LEX = @LEX@
38332 -LIB = @LIB@
38333 +LEXLIB = @LEXLIB@
38334 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
38335 +LIBOBJS = @LIBOBJS@
38336 +LIBS = @LIBS@
38337 LIBTOOL = @LIBTOOL@
38338 LIBTOOL_DEPS = @LIBTOOL_DEPS@
38339 LIBVER_AGE = @LIBVER_AGE@
38340 LIBVER_CURRENT = @LIBVER_CURRENT@
38341 LIBVER_REVISION = @LIBVER_REVISION@
38342 LN_S = @LN_S@
38343 -LTLIB = @LTLIB@
38344 +LTLIBOBJS = @LTLIBOBJS@
38345 MAKEINFO = @MAKEINFO@
38346 -OBJDUMP = @OBJDUMP@
38347 OBJEXT = @OBJEXT@
38348 PACKAGE = @PACKAGE@
38349 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
38350 +PACKAGE_NAME = @PACKAGE_NAME@
38351 +PACKAGE_STRING = @PACKAGE_STRING@
38352 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
38353 +PACKAGE_VERSION = @PACKAGE_VERSION@
38354 +PATH_SEPARATOR = @PATH_SEPARATOR@
38355 PERL = @PERL@
38356 RANLIB = @RANLIB@
38357 -RC = @RC@
38358 +SET_MAKE = @SET_MAKE@
38359 +SHELL = @SHELL@
38360 STRIP = @STRIP@
38361 VERSION = @VERSION@
38362 YACC = @YACC@
38363 -
38364 +YFLAGS = @YFLAGS@
38365 +ac_ct_CC = @ac_ct_CC@
38366 +ac_ct_CXX = @ac_ct_CXX@
38367 +ac_ct_F77 = @ac_ct_F77@
38368 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
38369 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
38370 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
38371 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
38372 +am__include = @am__include@
38373 +am__leading_dot = @am__leading_dot@
38374 +am__quote = @am__quote@
38375 +am__tar = @am__tar@
38376 +am__untar = @am__untar@
38377 +bindir = @bindir@
38378 +build = @build@
38379 +build_alias = @build_alias@
38380 +build_cpu = @build_cpu@
38381 +build_os = @build_os@
38382 +build_vendor = @build_vendor@
38383 +datadir = @datadir@
38384 +datarootdir = @datarootdir@
38385 +docdir = @docdir@
38386 +dvidir = @dvidir@
38387 +exec_prefix = @exec_prefix@
38388 +host = @host@
38389 +host_alias = @host_alias@
38390 +host_cpu = @host_cpu@
38391 +host_os = @host_os@
38392 +host_vendor = @host_vendor@
38393 +htmldir = @htmldir@
38394 +includedir = @includedir@
38395 +infodir = @infodir@
38396 +install_sh = @install_sh@
38397 +libdir = @libdir@
38398 +libexecdir = @libexecdir@
38399 +localedir = @localedir@
38400 +localstatedir = @localstatedir@
38401 +mandir = @mandir@
38402 +mkdir_p = @mkdir_p@
38403 +oldincludedir = @oldincludedir@
38404 +pdfdir = @pdfdir@
38405 +prefix = @prefix@
38406 +program_transform_name = @program_transform_name@
38407 +psdir = @psdir@
38408 +sbindir = @sbindir@
38409 +sharedstatedir = @sharedstatedir@
38410 +sysconfdir = @sysconfdir@
38411 +target = @target@
38412 +target_alias = @target_alias@
38413 +target_cpu = @target_cpu@
38414 +target_os = @target_os@
38415 +target_vendor = @target_vendor@
38416 SUBDIRS = m4 src doc
38417 -
38418 EXTRA_DIST = COPYING.GPL COPYING.LGPL BUGS
38419 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
38420 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
38421 -CONFIG_HEADER = config.h
38422 -CONFIG_CLEAN_FILES =
38423 -DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
38424 -Makefile.am Makefile.in NEWS THANKS acconfig.h aclocal.m4 config.guess \
38425 -config.h.in config.sub configure configure.in install-sh ltmain.sh \
38426 -missing mkinstalldirs
38427 -
38428 -
38429 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
38430 +all: config.h
38431 + $(MAKE) $(AM_MAKEFLAGS) all-recursive
38432
38433 -TAR = tar
38434 -GZIP_ENV = --best
38435 -all: all-redirect
38436 .SUFFIXES:
38437 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
38438 - cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
38439 -
38440 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
38441 - cd $(top_builddir) \
38442 - && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
38443 -
38444 -$(ACLOCAL_M4): configure.in
38445 - cd $(srcdir) && $(ACLOCAL)
38446 +am--refresh:
38447 + @:
38448 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
38449 + @for dep in $?; do \
38450 + case '$(am__configure_deps)' in \
38451 + *$$dep*) \
38452 + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
38453 + cd $(srcdir) && $(AUTOMAKE) --gnu \
38454 + && exit 0; \
38455 + exit 1;; \
38456 + esac; \
38457 + done; \
38458 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
38459 + cd $(top_srcdir) && \
38460 + $(AUTOMAKE) --gnu Makefile
38461 +.PRECIOUS: Makefile
38462 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
38463 + @case '$?' in \
38464 + *config.status*) \
38465 + echo ' $(SHELL) ./config.status'; \
38466 + $(SHELL) ./config.status;; \
38467 + *) \
38468 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
38469 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
38470 + esac;
38471
38472 -config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
38473 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
38474 $(SHELL) ./config.status --recheck
38475 -$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
38476 +
38477 +$(top_srcdir)/configure: $(am__configure_deps)
38478 cd $(srcdir) && $(AUTOCONF)
38479 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
38480 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
38481
38482 -config.h: stamp-h
38483 +config.h: stamp-h1
38484 @if test ! -f $@; then \
38485 - rm -f stamp-h; \
38486 - $(MAKE) stamp-h; \
38487 + rm -f stamp-h1; \
38488 + $(MAKE) stamp-h1; \
38489 else :; fi
38490 -stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
38491 - cd $(top_builddir) \
38492 - && CONFIG_FILES= CONFIG_HEADERS=config.h \
38493 - $(SHELL) ./config.status
38494 - @echo timestamp > stamp-h 2> /dev/null
38495 -$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
38496 - @if test ! -f $@; then \
38497 - rm -f $(srcdir)/stamp-h.in; \
38498 - $(MAKE) $(srcdir)/stamp-h.in; \
38499 - else :; fi
38500 -$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
38501 +
38502 +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
38503 + @rm -f stamp-h1
38504 + cd $(top_builddir) && $(SHELL) ./config.status config.h
38505 +$(srcdir)/config.h.in: $(am__configure_deps) $(top_srcdir)/acconfig.h
38506 cd $(top_srcdir) && $(AUTOHEADER)
38507 - @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
38508 + rm -f stamp-h1
38509 + touch $@
38510
38511 -mostlyclean-hdr:
38512 +distclean-hdr:
38513 + -rm -f config.h stamp-h1
38514
38515 -clean-hdr:
38516 +mostlyclean-libtool:
38517 + -rm -f *.lo
38518
38519 -distclean-hdr:
38520 - -rm -f config.h
38521 +clean-libtool:
38522 + -rm -rf .libs _libs
38523
38524 -maintainer-clean-hdr:
38525 +distclean-libtool:
38526 + -rm -f libtool
38527 +uninstall-info-am:
38528
38529 # This directory's subdirectories are mostly independent; you can cd
38530 # into them and run `make' without going through this Makefile.
38531 @@ -164,13 +261,14 @@
38532 # (1) if the variable is set in `config.status', edit `config.status'
38533 # (which will cause the Makefiles to be regenerated when you run `make');
38534 # (2) otherwise, pass the desired values on the `make' command line.
38535 -
38536 -@SET_MAKE@
38537 -
38538 -all-recursive install-data-recursive install-exec-recursive \
38539 -installdirs-recursive install-recursive uninstall-recursive \
38540 -check-recursive installcheck-recursive info-recursive dvi-recursive:
38541 - @set fnord $(MAKEFLAGS); amf=$$2; \
38542 +$(RECURSIVE_TARGETS):
38543 + @failcom='exit 1'; \
38544 + for f in x $$MAKEFLAGS; do \
38545 + case $$f in \
38546 + *=* | --[!k]*);; \
38547 + *k*) failcom='fail=yes';; \
38548 + esac; \
38549 + done; \
38550 dot_seen=no; \
38551 target=`echo $@ | sed s/-recursive//`; \
38552 list='$(SUBDIRS)'; for subdir in $$list; do \
38553 @@ -182,7 +280,7 @@
38554 local_target="$$target"; \
38555 fi; \
38556 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
38557 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
38558 + || eval $$failcom; \
38559 done; \
38560 if test "$$dot_seen" = "no"; then \
38561 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
38562 @@ -190,13 +288,24 @@
38563
38564 mostlyclean-recursive clean-recursive distclean-recursive \
38565 maintainer-clean-recursive:
38566 - @set fnord $(MAKEFLAGS); amf=$$2; \
38567 + @failcom='exit 1'; \
38568 + for f in x $$MAKEFLAGS; do \
38569 + case $$f in \
38570 + *=* | --[!k]*);; \
38571 + *k*) failcom='fail=yes';; \
38572 + esac; \
38573 + done; \
38574 dot_seen=no; \
38575 - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
38576 - rev="$$subdir $$rev"; \
38577 - test "$$subdir" != "." || dot_seen=yes; \
38578 + case "$@" in \
38579 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
38580 + *) list='$(SUBDIRS)' ;; \
38581 + esac; \
38582 + rev=''; for subdir in $$list; do \
38583 + if test "$$subdir" = "."; then :; else \
38584 + rev="$$subdir $$rev"; \
38585 + fi; \
38586 done; \
38587 - test "$$dot_seen" = "no" && rev=". $$rev"; \
38588 + rev="$$rev ."; \
38589 target=`echo $@ | sed s/-recursive//`; \
38590 for subdir in $$rev; do \
38591 echo "Making $$target in $$subdir"; \
38592 @@ -206,183 +315,314 @@
38593 local_target="$$target"; \
38594 fi; \
38595 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
38596 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
38597 + || eval $$failcom; \
38598 done && test -z "$$fail"
38599 tags-recursive:
38600 list='$(SUBDIRS)'; for subdir in $$list; do \
38601 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
38602 done
38603 +ctags-recursive:
38604 + list='$(SUBDIRS)'; for subdir in $$list; do \
38605 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
38606 + done
38607
38608 -tags: TAGS
38609 -
38610 -ID: $(HEADERS) $(SOURCES) $(LISP)
38611 - list='$(SOURCES) $(HEADERS)'; \
38612 - unique=`for i in $$list; do echo $$i; done | \
38613 - awk ' { files[$$0] = 1; } \
38614 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
38615 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
38616 + unique=`for i in $$list; do \
38617 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
38618 + done | \
38619 + $(AWK) ' { files[$$0] = 1; } \
38620 END { for (i in files) print i; }'`; \
38621 - here=`pwd` && cd $(srcdir) \
38622 - && mkid -f$$here/ID $$unique $(LISP)
38623 + mkid -fID $$unique
38624 +tags: TAGS
38625
38626 -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
38627 +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
38628 + $(TAGS_FILES) $(LISP)
38629 tags=; \
38630 here=`pwd`; \
38631 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
38632 + include_option=--etags-include; \
38633 + empty_fix=.; \
38634 + else \
38635 + include_option=--include; \
38636 + empty_fix=; \
38637 + fi; \
38638 list='$(SUBDIRS)'; for subdir in $$list; do \
38639 - if test "$$subdir" = .; then :; else \
38640 - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
38641 - fi; \
38642 + if test "$$subdir" = .; then :; else \
38643 + test ! -f $$subdir/TAGS || \
38644 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
38645 + fi; \
38646 done; \
38647 - list='$(SOURCES) $(HEADERS)'; \
38648 - unique=`for i in $$list; do echo $$i; done | \
38649 - awk ' { files[$$0] = 1; } \
38650 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
38651 + unique=`for i in $$list; do \
38652 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
38653 + done | \
38654 + $(AWK) ' { files[$$0] = 1; } \
38655 END { for (i in files) print i; }'`; \
38656 - test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
38657 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP))
38658 -
38659 -mostlyclean-tags:
38660 -
38661 -clean-tags:
38662 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
38663 + test -n "$$unique" || unique=$$empty_fix; \
38664 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
38665 + $$tags $$unique; \
38666 + fi
38667 +ctags: CTAGS
38668 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
38669 + $(TAGS_FILES) $(LISP)
38670 + tags=; \
38671 + here=`pwd`; \
38672 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
38673 + unique=`for i in $$list; do \
38674 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
38675 + done | \
38676 + $(AWK) ' { files[$$0] = 1; } \
38677 + END { for (i in files) print i; }'`; \
38678 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
38679 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
38680 + $$tags $$unique
38681 +
38682 +GTAGS:
38683 + here=`$(am__cd) $(top_builddir) && pwd` \
38684 + && cd $(top_srcdir) \
38685 + && gtags -i $(GTAGS_ARGS) $$here
38686
38687 distclean-tags:
38688 - -rm -f TAGS ID
38689 -
38690 -maintainer-clean-tags:
38691 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
38692
38693 -distdir = $(PACKAGE)-$(VERSION)
38694 -top_distdir = $(distdir)
38695 -
38696 -# This target untars the dist file and tries a VPATH configuration. Then
38697 -# it guarantees that the distribution is self-contained by making another
38698 -# tarfile.
38699 -distcheck: dist
38700 - -rm -rf $(distdir)
38701 - GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
38702 - mkdir $(distdir)/=build
38703 - mkdir $(distdir)/=inst
38704 - dc_install_base=`cd $(distdir)/=inst && pwd`; \
38705 - cd $(distdir)/=build \
38706 - && ../configure --srcdir=.. --prefix=$$dc_install_base \
38707 - && $(MAKE) $(AM_MAKEFLAGS) \
38708 - && $(MAKE) $(AM_MAKEFLAGS) dvi \
38709 - && $(MAKE) $(AM_MAKEFLAGS) check \
38710 - && $(MAKE) $(AM_MAKEFLAGS) install \
38711 - && $(MAKE) $(AM_MAKEFLAGS) installcheck \
38712 - && $(MAKE) $(AM_MAKEFLAGS) dist
38713 - -rm -rf $(distdir)
38714 - @banner="$(distdir).tar.gz is ready for distribution"; \
38715 - dashes=`echo "$$banner" | sed s/./=/g`; \
38716 - echo "$$dashes"; \
38717 - echo "$$banner"; \
38718 - echo "$$dashes"
38719 -dist: distdir
38720 - -chmod -R a+r $(distdir)
38721 - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
38722 - -rm -rf $(distdir)
38723 -dist-all: distdir
38724 - -chmod -R a+r $(distdir)
38725 - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
38726 - -rm -rf $(distdir)
38727 distdir: $(DISTFILES)
38728 - -rm -rf $(distdir)
38729 + $(am__remove_distdir)
38730 mkdir $(distdir)
38731 - -chmod 777 $(distdir)
38732 - here=`cd $(top_builddir) && pwd`; \
38733 - top_distdir=`cd $(distdir) && pwd`; \
38734 - distdir=`cd $(distdir) && pwd`; \
38735 - cd $(top_srcdir) \
38736 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
38737 - @for file in $(DISTFILES); do \
38738 - d=$(srcdir); \
38739 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
38740 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
38741 + list='$(DISTFILES)'; for file in $$list; do \
38742 + case $$file in \
38743 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
38744 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
38745 + esac; \
38746 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
38747 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
38748 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
38749 + dir="/$$dir"; \
38750 + $(mkdir_p) "$(distdir)$$dir"; \
38751 + else \
38752 + dir=''; \
38753 + fi; \
38754 if test -d $$d/$$file; then \
38755 - cp -pr $$d/$$file $(distdir)/$$file; \
38756 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
38757 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
38758 + fi; \
38759 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
38760 else \
38761 test -f $(distdir)/$$file \
38762 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
38763 - || cp -p $$d/$$file $(distdir)/$$file || :; \
38764 + || cp -p $$d/$$file $(distdir)/$$file \
38765 + || exit 1; \
38766 fi; \
38767 done
38768 - for subdir in $(SUBDIRS); do \
38769 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
38770 if test "$$subdir" = .; then :; else \
38771 - test -d $(distdir)/$$subdir \
38772 - || mkdir $(distdir)/$$subdir \
38773 + test -d "$(distdir)/$$subdir" \
38774 + || $(mkdir_p) "$(distdir)/$$subdir" \
38775 || exit 1; \
38776 - chmod 777 $(distdir)/$$subdir; \
38777 - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
38778 + distdir=`$(am__cd) $(distdir) && pwd`; \
38779 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
38780 + (cd $$subdir && \
38781 + $(MAKE) $(AM_MAKEFLAGS) \
38782 + top_distdir="$$top_distdir" \
38783 + distdir="$$distdir/$$subdir" \
38784 + distdir) \
38785 || exit 1; \
38786 fi; \
38787 done
38788 -info-am:
38789 -info: info-recursive
38790 -dvi-am:
38791 -dvi: dvi-recursive
38792 + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
38793 + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
38794 + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
38795 + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
38796 + || chmod -R a+r $(distdir)
38797 +dist-gzip: distdir
38798 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
38799 + $(am__remove_distdir)
38800 +
38801 +dist-bzip2: distdir
38802 + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
38803 + $(am__remove_distdir)
38804 +
38805 +dist-tarZ: distdir
38806 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
38807 + $(am__remove_distdir)
38808 +
38809 +dist-shar: distdir
38810 + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
38811 + $(am__remove_distdir)
38812 +
38813 +dist-zip: distdir
38814 + -rm -f $(distdir).zip
38815 + zip -rq $(distdir).zip $(distdir)
38816 + $(am__remove_distdir)
38817 +
38818 +dist dist-all: distdir
38819 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
38820 + $(am__remove_distdir)
38821 +
38822 +# This target untars the dist file and tries a VPATH configuration. Then
38823 +# it guarantees that the distribution is self-contained by making another
38824 +# tarfile.
38825 +distcheck: dist
38826 + case '$(DIST_ARCHIVES)' in \
38827 + *.tar.gz*) \
38828 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
38829 + *.tar.bz2*) \
38830 + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
38831 + *.tar.Z*) \
38832 + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
38833 + *.shar.gz*) \
38834 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
38835 + *.zip*) \
38836 + unzip $(distdir).zip ;;\
38837 + esac
38838 + chmod -R a-w $(distdir); chmod a+w $(distdir)
38839 + mkdir $(distdir)/_build
38840 + mkdir $(distdir)/_inst
38841 + chmod a-w $(distdir)
38842 + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
38843 + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
38844 + && cd $(distdir)/_build \
38845 + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
38846 + $(DISTCHECK_CONFIGURE_FLAGS) \
38847 + && $(MAKE) $(AM_MAKEFLAGS) \
38848 + && $(MAKE) $(AM_MAKEFLAGS) dvi \
38849 + && $(MAKE) $(AM_MAKEFLAGS) check \
38850 + && $(MAKE) $(AM_MAKEFLAGS) install \
38851 + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
38852 + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
38853 + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
38854 + distuninstallcheck \
38855 + && chmod -R a-w "$$dc_install_base" \
38856 + && ({ \
38857 + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
38858 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
38859 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
38860 + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
38861 + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
38862 + } || { rm -rf "$$dc_destdir"; exit 1; }) \
38863 + && rm -rf "$$dc_destdir" \
38864 + && $(MAKE) $(AM_MAKEFLAGS) dist \
38865 + && rm -rf $(DIST_ARCHIVES) \
38866 + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
38867 + $(am__remove_distdir)
38868 + @(echo "$(distdir) archives ready for distribution: "; \
38869 + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
38870 + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
38871 +distuninstallcheck:
38872 + @cd $(distuninstallcheck_dir) \
38873 + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
38874 + || { echo "ERROR: files left after uninstall:" ; \
38875 + if test -n "$(DESTDIR)"; then \
38876 + echo " (check DESTDIR support)"; \
38877 + fi ; \
38878 + $(distuninstallcheck_listfiles) ; \
38879 + exit 1; } >&2
38880 +distcleancheck: distclean
38881 + @if test '$(srcdir)' = . ; then \
38882 + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
38883 + exit 1 ; \
38884 + fi
38885 + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
38886 + || { echo "ERROR: files left in build directory after distclean:" ; \
38887 + $(distcleancheck_listfiles) ; \
38888 + exit 1; } >&2
38889 check-am: all-am
38890 check: check-recursive
38891 -installcheck-am:
38892 -installcheck: installcheck-recursive
38893 -all-recursive-am: config.h
38894 - $(MAKE) $(AM_MAKEFLAGS) all-recursive
38895 -
38896 -install-exec-am:
38897 +all-am: Makefile config.h
38898 +installdirs: installdirs-recursive
38899 +installdirs-am:
38900 +install: install-recursive
38901 install-exec: install-exec-recursive
38902 -
38903 -install-data-am:
38904 install-data: install-data-recursive
38905 +uninstall: uninstall-recursive
38906
38907 install-am: all-am
38908 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
38909 -install: install-recursive
38910 -uninstall-am:
38911 -uninstall: uninstall-recursive
38912 -all-am: Makefile config.h
38913 -all-redirect: all-recursive-am
38914 -install-strip:
38915 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
38916 -installdirs: installdirs-recursive
38917 -installdirs-am:
38918 -
38919
38920 +installcheck: installcheck-recursive
38921 +install-strip:
38922 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
38923 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
38924 + `test -z '$(STRIP)' || \
38925 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
38926 mostlyclean-generic:
38927
38928 clean-generic:
38929
38930 distclean-generic:
38931 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
38932 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
38933 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
38934
38935 maintainer-clean-generic:
38936 -mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
38937 + @echo "This command is intended for maintainers to use"
38938 + @echo "it deletes files that may require special tools to rebuild."
38939 +clean: clean-recursive
38940
38941 -mostlyclean: mostlyclean-recursive
38942 +clean-am: clean-generic clean-libtool mostlyclean-am
38943
38944 -clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
38945 +distclean: distclean-recursive
38946 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
38947 + -rm -f Makefile
38948 +distclean-am: clean-am distclean-generic distclean-hdr \
38949 + distclean-libtool distclean-tags
38950
38951 -clean: clean-recursive
38952 +dvi: dvi-recursive
38953
38954 -distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
38955 - -rm -f libtool
38956 +dvi-am:
38957
38958 -distclean: distclean-recursive
38959 - -rm -f config.status
38960 +html: html-recursive
38961
38962 -maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \
38963 - maintainer-clean-generic distclean-am
38964 - @echo "This command is intended for maintainers to use;"
38965 - @echo "it deletes files that may require special tools to rebuild."
38966 +info: info-recursive
38967 +
38968 +info-am:
38969 +
38970 +install-data-am:
38971 +
38972 +install-exec-am:
38973 +
38974 +install-info: install-info-recursive
38975 +
38976 +install-man:
38977 +
38978 +installcheck-am:
38979
38980 maintainer-clean: maintainer-clean-recursive
38981 - -rm -f config.status
38982 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
38983 + -rm -rf $(top_srcdir)/autom4te.cache
38984 + -rm -f Makefile
38985 +maintainer-clean-am: distclean-am maintainer-clean-generic
38986 +
38987 +mostlyclean: mostlyclean-recursive
38988
38989 -.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
38990 -install-data-recursive uninstall-data-recursive install-exec-recursive \
38991 -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
38992 -all-recursive check-recursive installcheck-recursive info-recursive \
38993 -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
38994 -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
38995 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
38996 -dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
38997 -install-exec-am install-exec install-data-am install-data install-am \
38998 -install uninstall-am uninstall all-redirect all-am all installdirs-am \
38999 -installdirs mostlyclean-generic distclean-generic clean-generic \
39000 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
39001 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
39002 +
39003 +pdf: pdf-recursive
39004 +
39005 +pdf-am:
39006 +
39007 +ps: ps-recursive
39008 +
39009 +ps-am:
39010 +
39011 +uninstall-am: uninstall-info-am
39012 +
39013 +uninstall-info: uninstall-info-recursive
39014 +
39015 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
39016 + check-am clean clean-generic clean-libtool clean-recursive \
39017 + ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
39018 + dist-shar dist-tarZ dist-zip distcheck distclean \
39019 + distclean-generic distclean-hdr distclean-libtool \
39020 + distclean-recursive distclean-tags distcleancheck distdir \
39021 + distuninstallcheck dvi dvi-am html html-am info info-am \
39022 + install install-am install-data install-data-am install-exec \
39023 + install-exec-am install-info install-info-am install-man \
39024 + install-strip installcheck installcheck-am installdirs \
39025 + installdirs-am maintainer-clean maintainer-clean-generic \
39026 + maintainer-clean-recursive mostlyclean mostlyclean-generic \
39027 + mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
39028 + tags tags-recursive uninstall uninstall-am uninstall-info-am
39029
39030
39031 rpms: dist src/extra/linux-atm.spec
39032 @@ -395,7 +635,6 @@
39033
39034 cscope:
39035 cscope -b -R
39036 -
39037 # Tell versions [3.59,3.63) of GNU make to not export all variables.
39038 # Otherwise a system limit (for SysV at least) may be exceeded.
39039 .NOEXPORT:
39040 Index: linux-atm-2.4.1/src/arpd/Makefile.in
39041 ===================================================================
39042 --- linux-atm-2.4.1.orig/src/arpd/Makefile.in 2007-10-20 19:19:17.654634561 +0200
39043 +++ linux-atm-2.4.1/src/arpd/Makefile.in 2007-10-20 19:19:19.606745795 +0200
39044 @@ -1,6 +1,8 @@
39045 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
39046 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
39047 +# @configure_input@
39048
39049 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
39050 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
39051 +# 2003, 2004, 2005 Free Software Foundation, Inc.
39052 # This Makefile.in is free software; the Free Software Foundation
39053 # gives unlimited permission to copy and/or distribute it,
39054 # with or without modifications, as long as this notice is preserved.
39055 @@ -10,211 +12,307 @@
39056 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
39057 # PARTICULAR PURPOSE.
39058
39059 +@SET_MAKE@
39060
39061 -SHELL = @SHELL@
39062
39063 srcdir = @srcdir@
39064 top_srcdir = @top_srcdir@
39065 VPATH = @srcdir@
39066 -prefix = @prefix@
39067 -exec_prefix = @exec_prefix@
39068 -
39069 -bindir = @bindir@
39070 -sbindir = @sbindir@
39071 -libexecdir = @libexecdir@
39072 -datadir = @datadir@
39073 -sysconfdir = @sysconfdir@
39074 -sharedstatedir = @sharedstatedir@
39075 -localstatedir = @localstatedir@
39076 -libdir = @libdir@
39077 -infodir = @infodir@
39078 -mandir = @mandir@
39079 -includedir = @includedir@
39080 -oldincludedir = /usr/include
39081 -
39082 -DESTDIR =
39083 -
39084 pkgdatadir = $(datadir)/@PACKAGE@
39085 pkglibdir = $(libdir)/@PACKAGE@
39086 pkgincludedir = $(includedir)/@PACKAGE@
39087 -
39088 top_builddir = ../..
39089 -
39090 -ACLOCAL = @ACLOCAL@
39091 -AUTOCONF = @AUTOCONF@
39092 -AUTOMAKE = @AUTOMAKE@
39093 -AUTOHEADER = @AUTOHEADER@
39094 -
39095 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
39096 INSTALL = @INSTALL@
39097 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
39098 -INSTALL_DATA = @INSTALL_DATA@
39099 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
39100 -transform = @program_transform_name@
39101 -
39102 +install_sh_DATA = $(install_sh) -c -m 644
39103 +install_sh_PROGRAM = $(install_sh) -c
39104 +install_sh_SCRIPT = $(install_sh) -c
39105 +INSTALL_HEADER = $(INSTALL_DATA)
39106 +transform = $(program_transform_name)
39107 NORMAL_INSTALL = :
39108 PRE_INSTALL = :
39109 POST_INSTALL = :
39110 NORMAL_UNINSTALL = :
39111 PRE_UNINSTALL = :
39112 POST_UNINSTALL = :
39113 -build_alias = @build_alias@
39114 build_triplet = @build@
39115 -host_alias = @host_alias@
39116 host_triplet = @host@
39117 -target_alias = @target_alias@
39118 target_triplet = @target@
39119 +sbin_PROGRAMS = atmarp$(EXEEXT) atmarpd$(EXEEXT)
39120 +subdir = src/arpd
39121 +DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
39122 + $(srcdir)/Makefile.in
39123 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39124 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
39125 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
39126 + $(ACLOCAL_M4)
39127 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
39128 +CONFIG_HEADER = $(top_builddir)/config.h
39129 +CONFIG_CLEAN_FILES =
39130 +am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)" \
39131 + "$(DESTDIR)$(includedir)"
39132 +sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
39133 +PROGRAMS = $(sbin_PROGRAMS)
39134 +am_atmarp_OBJECTS = atmarp.$(OBJEXT)
39135 +atmarp_OBJECTS = $(am_atmarp_OBJECTS)
39136 +atmarp_LDADD = $(LDADD)
39137 +atmarp_DEPENDENCIES = $(top_builddir)/src/lib/libatm.la
39138 +am_atmarpd_OBJECTS = atmarpd.$(OBJEXT) arp.$(OBJEXT) io.$(OBJEXT) \
39139 + itf.$(OBJEXT) table.$(OBJEXT)
39140 +atmarpd_OBJECTS = $(am_atmarpd_OBJECTS)
39141 +atmarpd_LDADD = $(LDADD)
39142 +atmarpd_DEPENDENCIES = $(top_builddir)/src/lib/libatm.la
39143 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
39144 +depcomp = $(SHELL) $(top_srcdir)/depcomp
39145 +am__depfiles_maybe = depfiles
39146 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
39147 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
39148 +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
39149 + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
39150 + $(AM_CFLAGS) $(CFLAGS)
39151 +CCLD = $(CC)
39152 +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
39153 + $(AM_LDFLAGS) $(LDFLAGS) -o $@
39154 +SOURCES = $(atmarp_SOURCES) $(atmarpd_SOURCES)
39155 +DIST_SOURCES = $(atmarp_SOURCES) $(atmarpd_SOURCES)
39156 +man8dir = $(mandir)/man8
39157 +NROFF = nroff
39158 +MANS = $(man_MANS)
39159 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
39160 +am__vpath_adj = case $$p in \
39161 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
39162 + *) f=$$p;; \
39163 + esac;
39164 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
39165 +includeHEADERS_INSTALL = $(INSTALL_HEADER)
39166 +HEADERS = $(include_HEADERS)
39167 +ETAGS = etags
39168 +CTAGS = ctags
39169 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
39170 +ACLOCAL = @ACLOCAL@
39171 +AMDEP_FALSE = @AMDEP_FALSE@
39172 +AMDEP_TRUE = @AMDEP_TRUE@
39173 +AMTAR = @AMTAR@
39174 AR = @AR@
39175 -AS = @AS@
39176 +AUTOCONF = @AUTOCONF@
39177 +AUTOHEADER = @AUTOHEADER@
39178 +AUTOMAKE = @AUTOMAKE@
39179 +AWK = @AWK@
39180 CC = @CC@
39181 +CCDEPMODE = @CCDEPMODE@
39182 +CFLAGS = @CFLAGS@
39183 +CPP = @CPP@
39184 +CPPFLAGS = @CPPFLAGS@
39185 CXX = @CXX@
39186 CXXCPP = @CXXCPP@
39187 -DLLTOOL = @DLLTOOL@
39188 +CXXDEPMODE = @CXXDEPMODE@
39189 +CXXFLAGS = @CXXFLAGS@
39190 +CYGPATH_W = @CYGPATH_W@
39191 +DEFS = @DEFS@
39192 +DEPDIR = @DEPDIR@
39193 ECHO = @ECHO@
39194 +ECHO_C = @ECHO_C@
39195 +ECHO_N = @ECHO_N@
39196 +ECHO_T = @ECHO_T@
39197 EGREP = @EGREP@
39198 EXEEXT = @EXEEXT@
39199 F77 = @F77@
39200 -GCJ = @GCJ@
39201 -GCJFLAGS = @GCJFLAGS@
39202 -HAVE_LIB = @HAVE_LIB@
39203 +FFLAGS = @FFLAGS@
39204 +GREP = @GREP@
39205 +INSTALL_DATA = @INSTALL_DATA@
39206 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
39207 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
39208 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
39209 +LDFLAGS = @LDFLAGS@
39210 LEX = @LEX@
39211 -LIB = @LIB@
39212 +LEXLIB = @LEXLIB@
39213 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
39214 +LIBOBJS = @LIBOBJS@
39215 +LIBS = @LIBS@
39216 LIBTOOL = @LIBTOOL@
39217 LIBTOOL_DEPS = @LIBTOOL_DEPS@
39218 LIBVER_AGE = @LIBVER_AGE@
39219 LIBVER_CURRENT = @LIBVER_CURRENT@
39220 LIBVER_REVISION = @LIBVER_REVISION@
39221 LN_S = @LN_S@
39222 -LTLIB = @LTLIB@
39223 +LTLIBOBJS = @LTLIBOBJS@
39224 MAKEINFO = @MAKEINFO@
39225 -OBJDUMP = @OBJDUMP@
39226 OBJEXT = @OBJEXT@
39227 PACKAGE = @PACKAGE@
39228 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
39229 +PACKAGE_NAME = @PACKAGE_NAME@
39230 +PACKAGE_STRING = @PACKAGE_STRING@
39231 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
39232 +PACKAGE_VERSION = @PACKAGE_VERSION@
39233 +PATH_SEPARATOR = @PATH_SEPARATOR@
39234 PERL = @PERL@
39235 RANLIB = @RANLIB@
39236 -RC = @RC@
39237 +SET_MAKE = @SET_MAKE@
39238 +SHELL = @SHELL@
39239 STRIP = @STRIP@
39240 VERSION = @VERSION@
39241 YACC = @YACC@
39242 -
39243 +YFLAGS = @YFLAGS@
39244 +ac_ct_CC = @ac_ct_CC@
39245 +ac_ct_CXX = @ac_ct_CXX@
39246 +ac_ct_F77 = @ac_ct_F77@
39247 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
39248 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
39249 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
39250 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
39251 +am__include = @am__include@
39252 +am__leading_dot = @am__leading_dot@
39253 +am__quote = @am__quote@
39254 +am__tar = @am__tar@
39255 +am__untar = @am__untar@
39256 +bindir = @bindir@
39257 +build = @build@
39258 +build_alias = @build_alias@
39259 +build_cpu = @build_cpu@
39260 +build_os = @build_os@
39261 +build_vendor = @build_vendor@
39262 +datadir = @datadir@
39263 +datarootdir = @datarootdir@
39264 +docdir = @docdir@
39265 +dvidir = @dvidir@
39266 +exec_prefix = @exec_prefix@
39267 +host = @host@
39268 +host_alias = @host_alias@
39269 +host_cpu = @host_cpu@
39270 +host_os = @host_os@
39271 +host_vendor = @host_vendor@
39272 +htmldir = @htmldir@
39273 +includedir = @includedir@
39274 +infodir = @infodir@
39275 +install_sh = @install_sh@
39276 +libdir = @libdir@
39277 +libexecdir = @libexecdir@
39278 +localedir = @localedir@
39279 +localstatedir = @localstatedir@
39280 +mandir = @mandir@
39281 +mkdir_p = @mkdir_p@
39282 +oldincludedir = @oldincludedir@
39283 +pdfdir = @pdfdir@
39284 +prefix = @prefix@
39285 +program_transform_name = @program_transform_name@
39286 +psdir = @psdir@
39287 +sbindir = @sbindir@
39288 +sharedstatedir = @sharedstatedir@
39289 +sysconfdir = @sysconfdir@
39290 +target = @target@
39291 +target_alias = @target_alias@
39292 +target_cpu = @target_cpu@
39293 +target_os = @target_os@
39294 +target_vendor = @target_vendor@
39295 LDADD = $(top_builddir)/src/lib/libatm.la
39296 -
39297 -sbin_PROGRAMS = atmarp atmarpd
39298 -
39299 atmarp_SOURCES = atmarp.c atmarp.h atmarpd.h
39300 -atmarpd_SOURCES = atmarpd.c atmarpd.h arp.c arp.h io.c io.h itf.c itf.h table.c table.h atmarp.h
39301 -
39302 +atmarpd_SOURCES = atmarpd.c atmarpd.h arp.c arp.h io.c io.h itf.c itf.h \
39303 + table.c table.h atmarp.h
39304
39305 include_HEADERS = atmarp.h atmarpd.h
39306 -
39307 man_MANS = atmarp.8 atmarpd.8
39308 -
39309 EXTRA_DIST = $(man_MANS)
39310 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
39311 -CONFIG_HEADER = ../../config.h
39312 -CONFIG_CLEAN_FILES =
39313 -sbin_PROGRAMS = atmarp$(EXEEXT) atmarpd$(EXEEXT)
39314 -PROGRAMS = $(sbin_PROGRAMS)
39315 -
39316 +all: all-am
39317
39318 -DEFS = @DEFS@ -I. -I$(srcdir) -I../..
39319 -CPPFLAGS = @CPPFLAGS@
39320 -LDFLAGS = @LDFLAGS@
39321 -LIBS = @LIBS@
39322 -atmarp_OBJECTS = atmarp.$(OBJEXT)
39323 -atmarp_LDADD = $(LDADD)
39324 -atmarp_DEPENDENCIES = $(top_builddir)/src/lib/libatm.la
39325 -atmarp_LDFLAGS =
39326 -atmarpd_OBJECTS = atmarpd.$(OBJEXT) arp.$(OBJEXT) io.$(OBJEXT) \
39327 -itf.$(OBJEXT) table.$(OBJEXT)
39328 -atmarpd_LDADD = $(LDADD)
39329 -atmarpd_DEPENDENCIES = $(top_builddir)/src/lib/libatm.la
39330 -atmarpd_LDFLAGS =
39331 -CFLAGS = @CFLAGS@
39332 -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
39333 -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
39334 -CCLD = $(CC)
39335 -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
39336 -man8dir = $(mandir)/man8
39337 -MANS = $(man_MANS)
39338 -
39339 -NROFF = nroff
39340 -HEADERS = $(include_HEADERS)
39341 -
39342 -DIST_COMMON = Makefile.am Makefile.in
39343 -
39344 -
39345 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
39346 -
39347 -TAR = tar
39348 -GZIP_ENV = --best
39349 -DEP_FILES = .deps/arp.P .deps/atmarp.P .deps/atmarpd.P .deps/io.P \
39350 -.deps/itf.P .deps/table.P
39351 -SOURCES = $(atmarp_SOURCES) $(atmarpd_SOURCES)
39352 -OBJECTS = $(atmarp_OBJECTS) $(atmarpd_OBJECTS)
39353 -
39354 -all: all-redirect
39355 .SUFFIXES:
39356 -.SUFFIXES: .S .c .lo .o .obj .s
39357 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
39358 - cd $(top_srcdir) && $(AUTOMAKE) --gnu src/arpd/Makefile
39359 -
39360 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
39361 - cd $(top_builddir) \
39362 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
39363 -
39364 -
39365 -mostlyclean-sbinPROGRAMS:
39366 -
39367 -clean-sbinPROGRAMS:
39368 - -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
39369 -
39370 -distclean-sbinPROGRAMS:
39371 -
39372 -maintainer-clean-sbinPROGRAMS:
39373 -
39374 +.SUFFIXES: .c .lo .o .obj
39375 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
39376 + @for dep in $?; do \
39377 + case '$(am__configure_deps)' in \
39378 + *$$dep*) \
39379 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
39380 + && exit 0; \
39381 + exit 1;; \
39382 + esac; \
39383 + done; \
39384 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/arpd/Makefile'; \
39385 + cd $(top_srcdir) && \
39386 + $(AUTOMAKE) --gnu src/arpd/Makefile
39387 +.PRECIOUS: Makefile
39388 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
39389 + @case '$?' in \
39390 + *config.status*) \
39391 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
39392 + *) \
39393 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
39394 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
39395 + esac;
39396 +
39397 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
39398 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
39399 +
39400 +$(top_srcdir)/configure: $(am__configure_deps)
39401 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
39402 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
39403 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
39404 install-sbinPROGRAMS: $(sbin_PROGRAMS)
39405 @$(NORMAL_INSTALL)
39406 - $(mkinstalldirs) $(DESTDIR)$(sbindir)
39407 + test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)"
39408 @list='$(sbin_PROGRAMS)'; for p in $$list; do \
39409 - if test -f $$p; then \
39410 - echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
39411 - $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
39412 + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
39413 + if test -f $$p \
39414 + || test -f $$p1 \
39415 + ; then \
39416 + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
39417 + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
39418 + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
39419 else :; fi; \
39420 done
39421
39422 uninstall-sbinPROGRAMS:
39423 @$(NORMAL_UNINSTALL)
39424 - list='$(sbin_PROGRAMS)'; for p in $$list; do \
39425 - rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
39426 + @list='$(sbin_PROGRAMS)'; for p in $$list; do \
39427 + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
39428 + echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
39429 + rm -f "$(DESTDIR)$(sbindir)/$$f"; \
39430 done
39431
39432 -# FIXME: We should only use cygpath when building on Windows,
39433 -# and only if it is available.
39434 -.c.obj:
39435 - $(COMPILE) -c `cygpath -w $<`
39436 -
39437 -.s.o:
39438 - $(COMPILE) -c $<
39439 -
39440 -.S.o:
39441 - $(COMPILE) -c $<
39442 +clean-sbinPROGRAMS:
39443 + @list='$(sbin_PROGRAMS)'; for p in $$list; do \
39444 + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
39445 + echo " rm -f $$p $$f"; \
39446 + rm -f $$p $$f ; \
39447 + done
39448 +atmarp$(EXEEXT): $(atmarp_OBJECTS) $(atmarp_DEPENDENCIES)
39449 + @rm -f atmarp$(EXEEXT)
39450 + $(LINK) $(atmarp_LDFLAGS) $(atmarp_OBJECTS) $(atmarp_LDADD) $(LIBS)
39451 +atmarpd$(EXEEXT): $(atmarpd_OBJECTS) $(atmarpd_DEPENDENCIES)
39452 + @rm -f atmarpd$(EXEEXT)
39453 + $(LINK) $(atmarpd_LDFLAGS) $(atmarpd_OBJECTS) $(atmarpd_LDADD) $(LIBS)
39454
39455 mostlyclean-compile:
39456 - -rm -f *.o core *.core
39457 -rm -f *.$(OBJEXT)
39458
39459 -clean-compile:
39460 -
39461 distclean-compile:
39462 -rm -f *.tab.c
39463
39464 -maintainer-clean-compile:
39465 -
39466 -.s.lo:
39467 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
39468 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arp.Po@am__quote@
39469 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atmarp.Po@am__quote@
39470 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atmarpd.Po@am__quote@
39471 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io.Po@am__quote@
39472 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/itf.Po@am__quote@
39473 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/table.Po@am__quote@
39474 +
39475 +.c.o:
39476 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
39477 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
39478 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
39479 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
39480 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
39481
39482 -.S.lo:
39483 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
39484 +.c.obj:
39485 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
39486 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
39487 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
39488 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
39489 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
39490 +
39491 +.c.lo:
39492 +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
39493 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
39494 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
39495 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
39496 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
39497
39498 mostlyclean-libtool:
39499 -rm -f *.lo
39500 @@ -223,21 +321,14 @@
39501 -rm -rf .libs _libs
39502
39503 distclean-libtool:
39504 -
39505 -maintainer-clean-libtool:
39506 -
39507 -atmarp$(EXEEXT): $(atmarp_OBJECTS) $(atmarp_DEPENDENCIES)
39508 - @rm -f atmarp$(EXEEXT)
39509 - $(LINK) $(atmarp_LDFLAGS) $(atmarp_OBJECTS) $(atmarp_LDADD) $(LIBS)
39510 -
39511 -atmarpd$(EXEEXT): $(atmarpd_OBJECTS) $(atmarpd_DEPENDENCIES)
39512 - @rm -f atmarpd$(EXEEXT)
39513 - $(LINK) $(atmarpd_LDFLAGS) $(atmarpd_OBJECTS) $(atmarpd_LDADD) $(LIBS)
39514 -
39515 -install-man8:
39516 - $(mkinstalldirs) $(DESTDIR)$(man8dir)
39517 - @list='$(man8_MANS)'; \
39518 - l2='$(man_MANS)'; for i in $$l2; do \
39519 + -rm -f libtool
39520 +uninstall-info-am:
39521 +install-man8: $(man8_MANS) $(man_MANS)
39522 + @$(NORMAL_INSTALL)
39523 + test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
39524 + @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
39525 + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
39526 + for i in $$l2; do \
39527 case "$$i" in \
39528 *.8*) list="$$list $$i" ;; \
39529 esac; \
39530 @@ -246,209 +337,228 @@
39531 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
39532 else file=$$i; fi; \
39533 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
39534 + case "$$ext" in \
39535 + 8*) ;; \
39536 + *) ext='8' ;; \
39537 + esac; \
39538 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
39539 + inst=`echo $$inst | sed -e 's/^.*\///'`; \
39540 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
39541 - echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
39542 - $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
39543 + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
39544 + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
39545 done
39546 -
39547 uninstall-man8:
39548 - @list='$(man8_MANS)'; \
39549 - l2='$(man_MANS)'; for i in $$l2; do \
39550 + @$(NORMAL_UNINSTALL)
39551 + @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
39552 + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
39553 + for i in $$l2; do \
39554 case "$$i" in \
39555 *.8*) list="$$list $$i" ;; \
39556 esac; \
39557 done; \
39558 for i in $$list; do \
39559 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
39560 + case "$$ext" in \
39561 + 8*) ;; \
39562 + *) ext='8' ;; \
39563 + esac; \
39564 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
39565 + inst=`echo $$inst | sed -e 's/^.*\///'`; \
39566 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
39567 - echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
39568 - rm -f $(DESTDIR)$(man8dir)/$$inst; \
39569 + echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
39570 + rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
39571 done
39572 -install-man: $(MANS)
39573 - @$(NORMAL_INSTALL)
39574 - $(MAKE) $(AM_MAKEFLAGS) install-man8
39575 -uninstall-man:
39576 - @$(NORMAL_UNINSTALL)
39577 - $(MAKE) $(AM_MAKEFLAGS) uninstall-man8
39578 -
39579 install-includeHEADERS: $(include_HEADERS)
39580 @$(NORMAL_INSTALL)
39581 - $(mkinstalldirs) $(DESTDIR)$(includedir)
39582 + test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
39583 @list='$(include_HEADERS)'; for p in $$list; do \
39584 - if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
39585 - echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
39586 - $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
39587 + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
39588 + f=$(am__strip_dir) \
39589 + echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
39590 + $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
39591 done
39592
39593 uninstall-includeHEADERS:
39594 @$(NORMAL_UNINSTALL)
39595 - list='$(include_HEADERS)'; for p in $$list; do \
39596 - rm -f $(DESTDIR)$(includedir)/$$p; \
39597 + @list='$(include_HEADERS)'; for p in $$list; do \
39598 + f=$(am__strip_dir) \
39599 + echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
39600 + rm -f "$(DESTDIR)$(includedir)/$$f"; \
39601 done
39602
39603 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
39604 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
39605 + unique=`for i in $$list; do \
39606 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
39607 + done | \
39608 + $(AWK) ' { files[$$0] = 1; } \
39609 + END { for (i in files) print i; }'`; \
39610 + mkid -fID $$unique
39611 tags: TAGS
39612
39613 -ID: $(HEADERS) $(SOURCES) $(LISP)
39614 - list='$(SOURCES) $(HEADERS)'; \
39615 - unique=`for i in $$list; do echo $$i; done | \
39616 - awk ' { files[$$0] = 1; } \
39617 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
39618 + $(TAGS_FILES) $(LISP)
39619 + tags=; \
39620 + here=`pwd`; \
39621 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
39622 + unique=`for i in $$list; do \
39623 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
39624 + done | \
39625 + $(AWK) ' { files[$$0] = 1; } \
39626 END { for (i in files) print i; }'`; \
39627 - here=`pwd` && cd $(srcdir) \
39628 - && mkid -f$$here/ID $$unique $(LISP)
39629 -
39630 -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
39631 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
39632 + test -n "$$unique" || unique=$$empty_fix; \
39633 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
39634 + $$tags $$unique; \
39635 + fi
39636 +ctags: CTAGS
39637 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
39638 + $(TAGS_FILES) $(LISP)
39639 tags=; \
39640 here=`pwd`; \
39641 - list='$(SOURCES) $(HEADERS)'; \
39642 - unique=`for i in $$list; do echo $$i; done | \
39643 - awk ' { files[$$0] = 1; } \
39644 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
39645 + unique=`for i in $$list; do \
39646 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
39647 + done | \
39648 + $(AWK) ' { files[$$0] = 1; } \
39649 END { for (i in files) print i; }'`; \
39650 - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
39651 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
39652 -
39653 -mostlyclean-tags:
39654 -
39655 -clean-tags:
39656 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
39657 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
39658 + $$tags $$unique
39659 +
39660 +GTAGS:
39661 + here=`$(am__cd) $(top_builddir) && pwd` \
39662 + && cd $(top_srcdir) \
39663 + && gtags -i $(GTAGS_ARGS) $$here
39664
39665 distclean-tags:
39666 - -rm -f TAGS ID
39667 -
39668 -maintainer-clean-tags:
39669 -
39670 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
39671 -
39672 -subdir = src/arpd
39673 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
39674
39675 distdir: $(DISTFILES)
39676 - here=`cd $(top_builddir) && pwd`; \
39677 - top_distdir=`cd $(top_distdir) && pwd`; \
39678 - distdir=`cd $(distdir) && pwd`; \
39679 - cd $(top_srcdir) \
39680 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/arpd/Makefile
39681 - @for file in $(DISTFILES); do \
39682 - d=$(srcdir); \
39683 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
39684 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
39685 + list='$(DISTFILES)'; for file in $$list; do \
39686 + case $$file in \
39687 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
39688 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
39689 + esac; \
39690 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
39691 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
39692 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
39693 + dir="/$$dir"; \
39694 + $(mkdir_p) "$(distdir)$$dir"; \
39695 + else \
39696 + dir=''; \
39697 + fi; \
39698 if test -d $$d/$$file; then \
39699 - cp -pr $$d/$$file $(distdir)/$$file; \
39700 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
39701 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
39702 + fi; \
39703 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
39704 else \
39705 test -f $(distdir)/$$file \
39706 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
39707 - || cp -p $$d/$$file $(distdir)/$$file || :; \
39708 + || cp -p $$d/$$file $(distdir)/$$file \
39709 + || exit 1; \
39710 fi; \
39711 done
39712 -
39713 -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
39714 -
39715 --include $(DEP_FILES)
39716 -
39717 -mostlyclean-depend:
39718 -
39719 -clean-depend:
39720 -
39721 -distclean-depend:
39722 - -rm -rf .deps
39723 -
39724 -maintainer-clean-depend:
39725 -
39726 -%.o: %.c
39727 - @echo '$(COMPILE) -c $<'; \
39728 - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
39729 - @-cp .deps/$(*F).pp .deps/$(*F).P; \
39730 - tr ' ' '\012' < .deps/$(*F).pp \
39731 - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
39732 - >> .deps/$(*F).P; \
39733 - rm .deps/$(*F).pp
39734 -
39735 -%.lo: %.c
39736 - @echo '$(LTCOMPILE) -c $<'; \
39737 - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
39738 - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
39739 - < .deps/$(*F).pp > .deps/$(*F).P; \
39740 - tr ' ' '\012' < .deps/$(*F).pp \
39741 - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
39742 - >> .deps/$(*F).P; \
39743 - rm -f .deps/$(*F).pp
39744 -info-am:
39745 -info: info-am
39746 -dvi-am:
39747 -dvi: dvi-am
39748 check-am: all-am
39749 check: check-am
39750 -installcheck-am:
39751 -installcheck: installcheck-am
39752 -install-exec-am: install-sbinPROGRAMS
39753 +all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
39754 +installdirs:
39755 + for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(includedir)"; do \
39756 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
39757 + done
39758 +install: install-am
39759 install-exec: install-exec-am
39760 -
39761 -install-data-am: install-man install-includeHEADERS
39762 install-data: install-data-am
39763 +uninstall: uninstall-am
39764
39765 install-am: all-am
39766 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
39767 -install: install-am
39768 -uninstall-am: uninstall-sbinPROGRAMS uninstall-man \
39769 - uninstall-includeHEADERS
39770 -uninstall: uninstall-am
39771 -all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
39772 -all-redirect: all-am
39773 -install-strip:
39774 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
39775 -installdirs:
39776 - $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man8 \
39777 - $(DESTDIR)$(includedir)
39778 -
39779
39780 +installcheck: installcheck-am
39781 +install-strip:
39782 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
39783 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
39784 + `test -z '$(STRIP)' || \
39785 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
39786 mostlyclean-generic:
39787
39788 clean-generic:
39789
39790 distclean-generic:
39791 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
39792 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
39793 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
39794
39795 maintainer-clean-generic:
39796 -mostlyclean-am: mostlyclean-sbinPROGRAMS mostlyclean-compile \
39797 - mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
39798 - mostlyclean-generic
39799 + @echo "This command is intended for maintainers to use"
39800 + @echo "it deletes files that may require special tools to rebuild."
39801 +clean: clean-am
39802
39803 -mostlyclean: mostlyclean-am
39804 +clean-am: clean-generic clean-libtool clean-sbinPROGRAMS \
39805 + mostlyclean-am
39806
39807 -clean-am: clean-sbinPROGRAMS clean-compile clean-libtool clean-tags \
39808 - clean-depend clean-generic mostlyclean-am
39809 +distclean: distclean-am
39810 + -rm -rf ./$(DEPDIR)
39811 + -rm -f Makefile
39812 +distclean-am: clean-am distclean-compile distclean-generic \
39813 + distclean-libtool distclean-tags
39814
39815 -clean: clean-am
39816 +dvi: dvi-am
39817
39818 -distclean-am: distclean-sbinPROGRAMS distclean-compile \
39819 - distclean-libtool distclean-tags distclean-depend \
39820 - distclean-generic clean-am
39821 - -rm -f libtool
39822 +dvi-am:
39823
39824 -distclean: distclean-am
39825 +html: html-am
39826
39827 -maintainer-clean-am: maintainer-clean-sbinPROGRAMS \
39828 - maintainer-clean-compile maintainer-clean-libtool \
39829 - maintainer-clean-tags maintainer-clean-depend \
39830 - maintainer-clean-generic distclean-am
39831 - @echo "This command is intended for maintainers to use;"
39832 - @echo "it deletes files that may require special tools to rebuild."
39833 +info: info-am
39834 +
39835 +info-am:
39836 +
39837 +install-data-am: install-includeHEADERS install-man
39838 +
39839 +install-exec-am: install-sbinPROGRAMS
39840 +
39841 +install-info: install-info-am
39842 +
39843 +install-man: install-man8
39844 +
39845 +installcheck-am:
39846
39847 maintainer-clean: maintainer-clean-am
39848 + -rm -rf ./$(DEPDIR)
39849 + -rm -f Makefile
39850 +maintainer-clean-am: distclean-am maintainer-clean-generic
39851 +
39852 +mostlyclean: mostlyclean-am
39853 +
39854 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
39855 + mostlyclean-libtool
39856 +
39857 +pdf: pdf-am
39858 +
39859 +pdf-am:
39860
39861 -.PHONY: mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS \
39862 -clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
39863 -install-sbinPROGRAMS mostlyclean-compile distclean-compile \
39864 -clean-compile maintainer-clean-compile mostlyclean-libtool \
39865 -distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
39866 -uninstall-man8 install-man uninstall-man uninstall-includeHEADERS \
39867 -install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
39868 -maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
39869 -clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
39870 -check-am installcheck-am installcheck install-exec-am install-exec \
39871 -install-data-am install-data install-am install uninstall-am uninstall \
39872 -all-redirect all-am all installdirs mostlyclean-generic \
39873 -distclean-generic clean-generic maintainer-clean-generic clean \
39874 -mostlyclean distclean maintainer-clean
39875 +ps: ps-am
39876
39877 +ps-am:
39878 +
39879 +uninstall-am: uninstall-includeHEADERS uninstall-info-am uninstall-man \
39880 + uninstall-sbinPROGRAMS
39881 +
39882 +uninstall-man: uninstall-man8
39883 +
39884 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
39885 + clean-libtool clean-sbinPROGRAMS ctags distclean \
39886 + distclean-compile distclean-generic distclean-libtool \
39887 + distclean-tags distdir dvi dvi-am html html-am info info-am \
39888 + install install-am install-data install-data-am install-exec \
39889 + install-exec-am install-includeHEADERS install-info \
39890 + install-info-am install-man install-man8 install-sbinPROGRAMS \
39891 + install-strip installcheck installcheck-am installdirs \
39892 + maintainer-clean maintainer-clean-generic mostlyclean \
39893 + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
39894 + pdf pdf-am ps ps-am tags uninstall uninstall-am \
39895 + uninstall-includeHEADERS uninstall-info-am uninstall-man \
39896 + uninstall-man8 uninstall-sbinPROGRAMS
39897
39898 # Tell versions [3.59,3.63) of GNU make to not export all variables.
39899 # Otherwise a system limit (for SysV at least) may be exceeded.
39900 Index: linux-atm-2.4.1/src/include/Makefile.in
39901 ===================================================================
39902 --- linux-atm-2.4.1.orig/src/include/Makefile.in 2007-10-20 19:19:17.626632961 +0200
39903 +++ linux-atm-2.4.1/src/include/Makefile.in 2007-10-20 19:19:19.622746723 +0200
39904 @@ -1,6 +1,8 @@
39905 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
39906 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
39907 +# @configure_input@
39908
39909 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
39910 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
39911 +# 2003, 2004, 2005 Free Software Foundation, Inc.
39912 # This Makefile.in is free software; the Free Software Foundation
39913 # gives unlimited permission to copy and/or distribute it,
39914 # with or without modifications, as long as this notice is preserved.
39915 @@ -10,244 +12,396 @@
39916 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
39917 # PARTICULAR PURPOSE.
39918
39919 -
39920 -SHELL = @SHELL@
39921 +@SET_MAKE@
39922
39923 srcdir = @srcdir@
39924 top_srcdir = @top_srcdir@
39925 VPATH = @srcdir@
39926 -prefix = @prefix@
39927 -exec_prefix = @exec_prefix@
39928 -
39929 -bindir = @bindir@
39930 -sbindir = @sbindir@
39931 -libexecdir = @libexecdir@
39932 -datadir = @datadir@
39933 -sysconfdir = @sysconfdir@
39934 -sharedstatedir = @sharedstatedir@
39935 -localstatedir = @localstatedir@
39936 -libdir = @libdir@
39937 -infodir = @infodir@
39938 -mandir = @mandir@
39939 -includedir = @includedir@
39940 -oldincludedir = /usr/include
39941 -
39942 -DESTDIR =
39943 -
39944 pkgdatadir = $(datadir)/@PACKAGE@
39945 pkglibdir = $(libdir)/@PACKAGE@
39946 pkgincludedir = $(includedir)/@PACKAGE@
39947 -
39948 top_builddir = ../..
39949 -
39950 -ACLOCAL = @ACLOCAL@
39951 -AUTOCONF = @AUTOCONF@
39952 -AUTOMAKE = @AUTOMAKE@
39953 -AUTOHEADER = @AUTOHEADER@
39954 -
39955 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
39956 INSTALL = @INSTALL@
39957 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
39958 -INSTALL_DATA = @INSTALL_DATA@
39959 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
39960 -transform = @program_transform_name@
39961 -
39962 +install_sh_DATA = $(install_sh) -c -m 644
39963 +install_sh_PROGRAM = $(install_sh) -c
39964 +install_sh_SCRIPT = $(install_sh) -c
39965 +INSTALL_HEADER = $(INSTALL_DATA)
39966 +transform = $(program_transform_name)
39967 NORMAL_INSTALL = :
39968 PRE_INSTALL = :
39969 POST_INSTALL = :
39970 NORMAL_UNINSTALL = :
39971 PRE_UNINSTALL = :
39972 POST_UNINSTALL = :
39973 -build_alias = @build_alias@
39974 build_triplet = @build@
39975 -host_alias = @host_alias@
39976 host_triplet = @host@
39977 -target_alias = @target_alias@
39978 target_triplet = @target@
39979 +subdir = src/include
39980 +DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) \
39981 + $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39982 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39983 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
39984 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
39985 + $(ACLOCAL_M4)
39986 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
39987 +CONFIG_HEADER = $(top_builddir)/config.h
39988 +CONFIG_CLEAN_FILES =
39989 +SOURCES =
39990 +DIST_SOURCES =
39991 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
39992 +am__vpath_adj = case $$p in \
39993 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
39994 + *) f=$$p;; \
39995 + esac;
39996 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
39997 +am__installdirs = "$(DESTDIR)$(includedir)"
39998 +includeHEADERS_INSTALL = $(INSTALL_HEADER)
39999 +HEADERS = $(include_HEADERS) $(noinst_HEADERS)
40000 +ETAGS = etags
40001 +CTAGS = ctags
40002 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
40003 +ACLOCAL = @ACLOCAL@
40004 +AMDEP_FALSE = @AMDEP_FALSE@
40005 +AMDEP_TRUE = @AMDEP_TRUE@
40006 +AMTAR = @AMTAR@
40007 AR = @AR@
40008 -AS = @AS@
40009 +AUTOCONF = @AUTOCONF@
40010 +AUTOHEADER = @AUTOHEADER@
40011 +AUTOMAKE = @AUTOMAKE@
40012 +AWK = @AWK@
40013 CC = @CC@
40014 +CCDEPMODE = @CCDEPMODE@
40015 +CFLAGS = @CFLAGS@
40016 +CPP = @CPP@
40017 +CPPFLAGS = @CPPFLAGS@
40018 CXX = @CXX@
40019 CXXCPP = @CXXCPP@
40020 -DLLTOOL = @DLLTOOL@
40021 +CXXDEPMODE = @CXXDEPMODE@
40022 +CXXFLAGS = @CXXFLAGS@
40023 +CYGPATH_W = @CYGPATH_W@
40024 +DEFS = @DEFS@
40025 +DEPDIR = @DEPDIR@
40026 ECHO = @ECHO@
40027 +ECHO_C = @ECHO_C@
40028 +ECHO_N = @ECHO_N@
40029 +ECHO_T = @ECHO_T@
40030 EGREP = @EGREP@
40031 EXEEXT = @EXEEXT@
40032 F77 = @F77@
40033 -GCJ = @GCJ@
40034 -GCJFLAGS = @GCJFLAGS@
40035 -HAVE_LIB = @HAVE_LIB@
40036 +FFLAGS = @FFLAGS@
40037 +GREP = @GREP@
40038 +INSTALL_DATA = @INSTALL_DATA@
40039 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
40040 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
40041 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
40042 +LDFLAGS = @LDFLAGS@
40043 LEX = @LEX@
40044 -LIB = @LIB@
40045 +LEXLIB = @LEXLIB@
40046 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
40047 +LIBOBJS = @LIBOBJS@
40048 +LIBS = @LIBS@
40049 LIBTOOL = @LIBTOOL@
40050 LIBTOOL_DEPS = @LIBTOOL_DEPS@
40051 LIBVER_AGE = @LIBVER_AGE@
40052 LIBVER_CURRENT = @LIBVER_CURRENT@
40053 LIBVER_REVISION = @LIBVER_REVISION@
40054 LN_S = @LN_S@
40055 -LTLIB = @LTLIB@
40056 +LTLIBOBJS = @LTLIBOBJS@
40057 MAKEINFO = @MAKEINFO@
40058 -OBJDUMP = @OBJDUMP@
40059 OBJEXT = @OBJEXT@
40060 PACKAGE = @PACKAGE@
40061 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
40062 +PACKAGE_NAME = @PACKAGE_NAME@
40063 +PACKAGE_STRING = @PACKAGE_STRING@
40064 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
40065 +PACKAGE_VERSION = @PACKAGE_VERSION@
40066 +PATH_SEPARATOR = @PATH_SEPARATOR@
40067 PERL = @PERL@
40068 RANLIB = @RANLIB@
40069 -RC = @RC@
40070 +SET_MAKE = @SET_MAKE@
40071 +SHELL = @SHELL@
40072 STRIP = @STRIP@
40073 VERSION = @VERSION@
40074 YACC = @YACC@
40075 -
40076 +YFLAGS = @YFLAGS@
40077 +ac_ct_CC = @ac_ct_CC@
40078 +ac_ct_CXX = @ac_ct_CXX@
40079 +ac_ct_F77 = @ac_ct_F77@
40080 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
40081 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
40082 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
40083 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
40084 +am__include = @am__include@
40085 +am__leading_dot = @am__leading_dot@
40086 +am__quote = @am__quote@
40087 +am__tar = @am__tar@
40088 +am__untar = @am__untar@
40089 +bindir = @bindir@
40090 +build = @build@
40091 +build_alias = @build_alias@
40092 +build_cpu = @build_cpu@
40093 +build_os = @build_os@
40094 +build_vendor = @build_vendor@
40095 +datadir = @datadir@
40096 +datarootdir = @datarootdir@
40097 +docdir = @docdir@
40098 +dvidir = @dvidir@
40099 +exec_prefix = @exec_prefix@
40100 +host = @host@
40101 +host_alias = @host_alias@
40102 +host_cpu = @host_cpu@
40103 +host_os = @host_os@
40104 +host_vendor = @host_vendor@
40105 +htmldir = @htmldir@
40106 +includedir = @includedir@
40107 +infodir = @infodir@
40108 +install_sh = @install_sh@
40109 +libdir = @libdir@
40110 +libexecdir = @libexecdir@
40111 +localedir = @localedir@
40112 +localstatedir = @localstatedir@
40113 +mandir = @mandir@
40114 +mkdir_p = @mkdir_p@
40115 +oldincludedir = @oldincludedir@
40116 +pdfdir = @pdfdir@
40117 +prefix = @prefix@
40118 +program_transform_name = @program_transform_name@
40119 +psdir = @psdir@
40120 +sbindir = @sbindir@
40121 +sharedstatedir = @sharedstatedir@
40122 +sysconfdir = @sysconfdir@
40123 +target = @target@
40124 +target_alias = @target_alias@
40125 +target_cpu = @target_cpu@
40126 +target_os = @target_os@
40127 +target_vendor = @target_vendor@
40128 include_HEADERS = atm.h atmd.h atmsap.h
40129 noinst_HEADERS = stdint.h
40130 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
40131 -CONFIG_HEADER = ../../config.h
40132 -CONFIG_CLEAN_FILES =
40133 -HEADERS = $(include_HEADERS) $(noinst_HEADERS)
40134 -
40135 -DIST_COMMON = Makefile.am Makefile.in
40136 -
40137 +all: all-am
40138
40139 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
40140 -
40141 -TAR = tar
40142 -GZIP_ENV = --best
40143 -all: all-redirect
40144 .SUFFIXES:
40145 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
40146 - cd $(top_srcdir) && $(AUTOMAKE) --gnu src/include/Makefile
40147 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
40148 + @for dep in $?; do \
40149 + case '$(am__configure_deps)' in \
40150 + *$$dep*) \
40151 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
40152 + && exit 0; \
40153 + exit 1;; \
40154 + esac; \
40155 + done; \
40156 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/include/Makefile'; \
40157 + cd $(top_srcdir) && \
40158 + $(AUTOMAKE) --gnu src/include/Makefile
40159 +.PRECIOUS: Makefile
40160 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
40161 + @case '$?' in \
40162 + *config.status*) \
40163 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
40164 + *) \
40165 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
40166 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
40167 + esac;
40168 +
40169 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
40170 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40171 +
40172 +$(top_srcdir)/configure: $(am__configure_deps)
40173 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40174 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
40175 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40176
40177 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
40178 - cd $(top_builddir) \
40179 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
40180 +mostlyclean-libtool:
40181 + -rm -f *.lo
40182
40183 +clean-libtool:
40184 + -rm -rf .libs _libs
40185
40186 +distclean-libtool:
40187 + -rm -f libtool
40188 +uninstall-info-am:
40189 install-includeHEADERS: $(include_HEADERS)
40190 @$(NORMAL_INSTALL)
40191 - $(mkinstalldirs) $(DESTDIR)$(includedir)
40192 + test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
40193 @list='$(include_HEADERS)'; for p in $$list; do \
40194 - if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
40195 - echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
40196 - $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
40197 + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
40198 + f=$(am__strip_dir) \
40199 + echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
40200 + $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
40201 done
40202
40203 uninstall-includeHEADERS:
40204 @$(NORMAL_UNINSTALL)
40205 - list='$(include_HEADERS)'; for p in $$list; do \
40206 - rm -f $(DESTDIR)$(includedir)/$$p; \
40207 + @list='$(include_HEADERS)'; for p in $$list; do \
40208 + f=$(am__strip_dir) \
40209 + echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
40210 + rm -f "$(DESTDIR)$(includedir)/$$f"; \
40211 done
40212
40213 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
40214 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40215 + unique=`for i in $$list; do \
40216 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40217 + done | \
40218 + $(AWK) ' { files[$$0] = 1; } \
40219 + END { for (i in files) print i; }'`; \
40220 + mkid -fID $$unique
40221 tags: TAGS
40222
40223 -ID: $(HEADERS) $(SOURCES) $(LISP)
40224 - list='$(SOURCES) $(HEADERS)'; \
40225 - unique=`for i in $$list; do echo $$i; done | \
40226 - awk ' { files[$$0] = 1; } \
40227 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
40228 + $(TAGS_FILES) $(LISP)
40229 + tags=; \
40230 + here=`pwd`; \
40231 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40232 + unique=`for i in $$list; do \
40233 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40234 + done | \
40235 + $(AWK) ' { files[$$0] = 1; } \
40236 END { for (i in files) print i; }'`; \
40237 - here=`pwd` && cd $(srcdir) \
40238 - && mkid -f$$here/ID $$unique $(LISP)
40239 -
40240 -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
40241 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
40242 + test -n "$$unique" || unique=$$empty_fix; \
40243 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
40244 + $$tags $$unique; \
40245 + fi
40246 +ctags: CTAGS
40247 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
40248 + $(TAGS_FILES) $(LISP)
40249 tags=; \
40250 here=`pwd`; \
40251 - list='$(SOURCES) $(HEADERS)'; \
40252 - unique=`for i in $$list; do echo $$i; done | \
40253 - awk ' { files[$$0] = 1; } \
40254 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40255 + unique=`for i in $$list; do \
40256 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40257 + done | \
40258 + $(AWK) ' { files[$$0] = 1; } \
40259 END { for (i in files) print i; }'`; \
40260 - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
40261 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
40262 -
40263 -mostlyclean-tags:
40264 -
40265 -clean-tags:
40266 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
40267 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
40268 + $$tags $$unique
40269 +
40270 +GTAGS:
40271 + here=`$(am__cd) $(top_builddir) && pwd` \
40272 + && cd $(top_srcdir) \
40273 + && gtags -i $(GTAGS_ARGS) $$here
40274
40275 distclean-tags:
40276 - -rm -f TAGS ID
40277 -
40278 -maintainer-clean-tags:
40279 -
40280 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
40281 -
40282 -subdir = src/include
40283 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
40284
40285 distdir: $(DISTFILES)
40286 - here=`cd $(top_builddir) && pwd`; \
40287 - top_distdir=`cd $(top_distdir) && pwd`; \
40288 - distdir=`cd $(distdir) && pwd`; \
40289 - cd $(top_srcdir) \
40290 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/include/Makefile
40291 - @for file in $(DISTFILES); do \
40292 - d=$(srcdir); \
40293 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
40294 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
40295 + list='$(DISTFILES)'; for file in $$list; do \
40296 + case $$file in \
40297 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
40298 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
40299 + esac; \
40300 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
40301 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
40302 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
40303 + dir="/$$dir"; \
40304 + $(mkdir_p) "$(distdir)$$dir"; \
40305 + else \
40306 + dir=''; \
40307 + fi; \
40308 if test -d $$d/$$file; then \
40309 - cp -pr $$d/$$file $(distdir)/$$file; \
40310 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
40311 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
40312 + fi; \
40313 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
40314 else \
40315 test -f $(distdir)/$$file \
40316 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
40317 - || cp -p $$d/$$file $(distdir)/$$file || :; \
40318 + || cp -p $$d/$$file $(distdir)/$$file \
40319 + || exit 1; \
40320 fi; \
40321 done
40322 -info-am:
40323 -info: info-am
40324 -dvi-am:
40325 -dvi: dvi-am
40326 check-am: all-am
40327 check: check-am
40328 -installcheck-am:
40329 -installcheck: installcheck-am
40330 -install-exec-am:
40331 +all-am: Makefile $(HEADERS)
40332 +installdirs:
40333 + for dir in "$(DESTDIR)$(includedir)"; do \
40334 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
40335 + done
40336 +install: install-am
40337 install-exec: install-exec-am
40338 -
40339 -install-data-am: install-includeHEADERS
40340 install-data: install-data-am
40341 +uninstall: uninstall-am
40342
40343 install-am: all-am
40344 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
40345 -install: install-am
40346 -uninstall-am: uninstall-includeHEADERS
40347 -uninstall: uninstall-am
40348 -all-am: Makefile $(HEADERS)
40349 -all-redirect: all-am
40350 -install-strip:
40351 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
40352 -installdirs:
40353 - $(mkinstalldirs) $(DESTDIR)$(includedir)
40354 -
40355
40356 +installcheck: installcheck-am
40357 +install-strip:
40358 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
40359 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
40360 + `test -z '$(STRIP)' || \
40361 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
40362 mostlyclean-generic:
40363
40364 clean-generic:
40365
40366 distclean-generic:
40367 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
40368 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
40369 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
40370
40371 maintainer-clean-generic:
40372 -mostlyclean-am: mostlyclean-tags mostlyclean-generic
40373 + @echo "This command is intended for maintainers to use"
40374 + @echo "it deletes files that may require special tools to rebuild."
40375 +clean: clean-am
40376
40377 -mostlyclean: mostlyclean-am
40378 +clean-am: clean-generic clean-libtool mostlyclean-am
40379
40380 -clean-am: clean-tags clean-generic mostlyclean-am
40381 +distclean: distclean-am
40382 + -rm -f Makefile
40383 +distclean-am: clean-am distclean-generic distclean-libtool \
40384 + distclean-tags
40385
40386 -clean: clean-am
40387 +dvi: dvi-am
40388
40389 -distclean-am: distclean-tags distclean-generic clean-am
40390 - -rm -f libtool
40391 +dvi-am:
40392
40393 -distclean: distclean-am
40394 +html: html-am
40395
40396 -maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
40397 - distclean-am
40398 - @echo "This command is intended for maintainers to use;"
40399 - @echo "it deletes files that may require special tools to rebuild."
40400 +info: info-am
40401 +
40402 +info-am:
40403 +
40404 +install-data-am: install-includeHEADERS
40405 +
40406 +install-exec-am:
40407 +
40408 +install-info: install-info-am
40409 +
40410 +install-man:
40411 +
40412 +installcheck-am:
40413
40414 maintainer-clean: maintainer-clean-am
40415 + -rm -f Makefile
40416 +maintainer-clean-am: distclean-am maintainer-clean-generic
40417 +
40418 +mostlyclean: mostlyclean-am
40419 +
40420 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
40421 +
40422 +pdf: pdf-am
40423 +
40424 +pdf-am:
40425 +
40426 +ps: ps-am
40427 +
40428 +ps-am:
40429
40430 -.PHONY: uninstall-includeHEADERS install-includeHEADERS tags \
40431 -mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
40432 -distdir info-am info dvi-am dvi check check-am installcheck-am \
40433 -installcheck install-exec-am install-exec install-data-am install-data \
40434 -install-am install uninstall-am uninstall all-redirect all-am all \
40435 -installdirs mostlyclean-generic distclean-generic clean-generic \
40436 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
40437 +uninstall-am: uninstall-includeHEADERS uninstall-info-am
40438
40439 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
40440 + clean-libtool ctags distclean distclean-generic \
40441 + distclean-libtool distclean-tags distdir dvi dvi-am html \
40442 + html-am info info-am install install-am install-data \
40443 + install-data-am install-exec install-exec-am \
40444 + install-includeHEADERS install-info install-info-am \
40445 + install-man install-strip installcheck installcheck-am \
40446 + installdirs maintainer-clean maintainer-clean-generic \
40447 + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
40448 + ps ps-am tags uninstall uninstall-am uninstall-includeHEADERS \
40449 + uninstall-info-am
40450
40451 # Tell versions [3.59,3.63) of GNU make to not export all variables.
40452 # Otherwise a system limit (for SysV at least) may be exceeded.
40453 Index: linux-atm-2.4.1/src/lib/Makefile.am
40454 ===================================================================
40455 --- linux-atm-2.4.1.orig/src/lib/Makefile.am 2007-10-20 19:19:09.922193911 +0200
40456 +++ linux-atm-2.4.1/src/lib/Makefile.am 2007-10-20 19:19:19.638747621 +0200
40457 @@ -2,7 +2,7 @@
40458 lib_LTLIBRARIES = libatm.la
40459
40460 # ATMLIBS_VERSION comes from configure.in in the toplevel directory
40461 -LDFLAGS = -version-info @LIBVER_CURRENT@:@LIBVER_REVISION@:@LIBVER_AGE@
40462 +AM_LDFLAGS = -version-info @LIBVER_CURRENT@:@LIBVER_REVISION@:@LIBVER_AGE@
40463
40464
40465
40466 Index: linux-atm-2.4.1/src/lib/Makefile.in
40467 ===================================================================
40468 --- linux-atm-2.4.1.orig/src/lib/Makefile.in 2007-10-20 19:19:17.642633872 +0200
40469 +++ linux-atm-2.4.1/src/lib/Makefile.in 2007-10-20 19:19:19.666749214 +0200
40470 @@ -1,6 +1,8 @@
40471 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
40472 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
40473 +# @configure_input@
40474
40475 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
40476 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
40477 +# 2003, 2004, 2005 Free Software Foundation, Inc.
40478 # This Makefile.in is free software; the Free Software Foundation
40479 # gives unlimited permission to copy and/or distribute it,
40480 # with or without modifications, as long as this notice is preserved.
40481 @@ -10,200 +12,310 @@
40482 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
40483 # PARTICULAR PURPOSE.
40484
40485 -#lib_LTLIBRARIES = libatm.la libatmd.la
40486 -
40487 -
40488 -SHELL = @SHELL@
40489 +@SET_MAKE@
40490
40491 srcdir = @srcdir@
40492 top_srcdir = @top_srcdir@
40493 VPATH = @srcdir@
40494 -prefix = @prefix@
40495 -exec_prefix = @exec_prefix@
40496 -
40497 -bindir = @bindir@
40498 -sbindir = @sbindir@
40499 -libexecdir = @libexecdir@
40500 -datadir = @datadir@
40501 -sysconfdir = @sysconfdir@
40502 -sharedstatedir = @sharedstatedir@
40503 -localstatedir = @localstatedir@
40504 -libdir = @libdir@
40505 -infodir = @infodir@
40506 -mandir = @mandir@
40507 -includedir = @includedir@
40508 -oldincludedir = /usr/include
40509 -
40510 -DESTDIR =
40511 -
40512 pkgdatadir = $(datadir)/@PACKAGE@
40513 pkglibdir = $(libdir)/@PACKAGE@
40514 pkgincludedir = $(includedir)/@PACKAGE@
40515 -
40516 top_builddir = ../..
40517 -
40518 -ACLOCAL = @ACLOCAL@
40519 -AUTOCONF = @AUTOCONF@
40520 -AUTOMAKE = @AUTOMAKE@
40521 -AUTOHEADER = @AUTOHEADER@
40522 -
40523 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
40524 INSTALL = @INSTALL@
40525 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
40526 -INSTALL_DATA = @INSTALL_DATA@
40527 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
40528 -transform = @program_transform_name@
40529 -
40530 +install_sh_DATA = $(install_sh) -c -m 644
40531 +install_sh_PROGRAM = $(install_sh) -c
40532 +install_sh_SCRIPT = $(install_sh) -c
40533 +INSTALL_HEADER = $(INSTALL_DATA)
40534 +transform = $(program_transform_name)
40535 NORMAL_INSTALL = :
40536 PRE_INSTALL = :
40537 POST_INSTALL = :
40538 NORMAL_UNINSTALL = :
40539 PRE_UNINSTALL = :
40540 POST_UNINSTALL = :
40541 -build_alias = @build_alias@
40542 build_triplet = @build@
40543 -host_alias = @host_alias@
40544 host_triplet = @host@
40545 -target_alias = @target_alias@
40546 target_triplet = @target@
40547 +subdir = src/lib
40548 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
40549 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40550 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
40551 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
40552 + $(ACLOCAL_M4)
40553 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
40554 +CONFIG_HEADER = $(top_builddir)/config.h
40555 +CONFIG_CLEAN_FILES =
40556 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
40557 +am__vpath_adj = case $$p in \
40558 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
40559 + *) f=$$p;; \
40560 + esac;
40561 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
40562 +am__installdirs = "$(DESTDIR)$(libdir)"
40563 +libLTLIBRARIES_INSTALL = $(INSTALL)
40564 +LTLIBRARIES = $(lib_LTLIBRARIES)
40565 +am_libatm_la_OBJECTS = text2atm.lo atm2text.lo atmequal.lo sdu2cell.lo \
40566 + text2qos.lo qos2text.lo qosequal.lo sap2text.lo text2sap.lo \
40567 + sapequal.lo misc.lo ans.lo common.lo diag.lo kptr.lo \
40568 + text2ip.lo timer.lo unix.lo
40569 +libatm_la_OBJECTS = $(am_libatm_la_OBJECTS)
40570 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
40571 +depcomp = $(SHELL) $(top_srcdir)/depcomp
40572 +am__depfiles_maybe = depfiles
40573 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
40574 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
40575 +LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
40576 + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
40577 + $(AM_CFLAGS) $(CFLAGS)
40578 +CCLD = $(CC)
40579 +LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
40580 + $(AM_LDFLAGS) $(LDFLAGS) -o $@
40581 +SOURCES = $(libatm_la_SOURCES)
40582 +DIST_SOURCES = $(libatm_la_SOURCES)
40583 +ETAGS = etags
40584 +CTAGS = ctags
40585 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
40586 +ACLOCAL = @ACLOCAL@
40587 +AMDEP_FALSE = @AMDEP_FALSE@
40588 +AMDEP_TRUE = @AMDEP_TRUE@
40589 +AMTAR = @AMTAR@
40590 AR = @AR@
40591 -AS = @AS@
40592 +AUTOCONF = @AUTOCONF@
40593 +AUTOHEADER = @AUTOHEADER@
40594 +AUTOMAKE = @AUTOMAKE@
40595 +AWK = @AWK@
40596 CC = @CC@
40597 +CCDEPMODE = @CCDEPMODE@
40598 +CFLAGS = @CFLAGS@
40599 +CPP = @CPP@
40600 +CPPFLAGS = @CPPFLAGS@
40601 CXX = @CXX@
40602 CXXCPP = @CXXCPP@
40603 -DLLTOOL = @DLLTOOL@
40604 +CXXDEPMODE = @CXXDEPMODE@
40605 +CXXFLAGS = @CXXFLAGS@
40606 +CYGPATH_W = @CYGPATH_W@
40607 +DEFS = @DEFS@
40608 +DEPDIR = @DEPDIR@
40609 ECHO = @ECHO@
40610 +ECHO_C = @ECHO_C@
40611 +ECHO_N = @ECHO_N@
40612 +ECHO_T = @ECHO_T@
40613 EGREP = @EGREP@
40614 EXEEXT = @EXEEXT@
40615 F77 = @F77@
40616 -GCJ = @GCJ@
40617 -GCJFLAGS = @GCJFLAGS@
40618 -HAVE_LIB = @HAVE_LIB@
40619 +FFLAGS = @FFLAGS@
40620 +GREP = @GREP@
40621 +INSTALL_DATA = @INSTALL_DATA@
40622 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
40623 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
40624 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
40625 +LDFLAGS = @LDFLAGS@
40626 LEX = @LEX@
40627 -LIB = @LIB@
40628 +LEXLIB = @LEXLIB@
40629 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
40630 +LIBOBJS = @LIBOBJS@
40631 +LIBS = @LIBS@
40632 LIBTOOL = @LIBTOOL@
40633 LIBTOOL_DEPS = @LIBTOOL_DEPS@
40634 LIBVER_AGE = @LIBVER_AGE@
40635 LIBVER_CURRENT = @LIBVER_CURRENT@
40636 LIBVER_REVISION = @LIBVER_REVISION@
40637 LN_S = @LN_S@
40638 -LTLIB = @LTLIB@
40639 +LTLIBOBJS = @LTLIBOBJS@
40640 MAKEINFO = @MAKEINFO@
40641 -OBJDUMP = @OBJDUMP@
40642 OBJEXT = @OBJEXT@
40643 PACKAGE = @PACKAGE@
40644 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
40645 +PACKAGE_NAME = @PACKAGE_NAME@
40646 +PACKAGE_STRING = @PACKAGE_STRING@
40647 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
40648 +PACKAGE_VERSION = @PACKAGE_VERSION@
40649 +PATH_SEPARATOR = @PATH_SEPARATOR@
40650 PERL = @PERL@
40651 RANLIB = @RANLIB@
40652 -RC = @RC@
40653 +SET_MAKE = @SET_MAKE@
40654 +SHELL = @SHELL@
40655 STRIP = @STRIP@
40656 VERSION = @VERSION@
40657 YACC = @YACC@
40658 +YFLAGS = @YFLAGS@
40659 +ac_ct_CC = @ac_ct_CC@
40660 +ac_ct_CXX = @ac_ct_CXX@
40661 +ac_ct_F77 = @ac_ct_F77@
40662 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
40663 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
40664 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
40665 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
40666 +am__include = @am__include@
40667 +am__leading_dot = @am__leading_dot@
40668 +am__quote = @am__quote@
40669 +am__tar = @am__tar@
40670 +am__untar = @am__untar@
40671 +bindir = @bindir@
40672 +build = @build@
40673 +build_alias = @build_alias@
40674 +build_cpu = @build_cpu@
40675 +build_os = @build_os@
40676 +build_vendor = @build_vendor@
40677 +datadir = @datadir@
40678 +datarootdir = @datarootdir@
40679 +docdir = @docdir@
40680 +dvidir = @dvidir@
40681 +exec_prefix = @exec_prefix@
40682 +host = @host@
40683 +host_alias = @host_alias@
40684 +host_cpu = @host_cpu@
40685 +host_os = @host_os@
40686 +host_vendor = @host_vendor@
40687 +htmldir = @htmldir@
40688 +includedir = @includedir@
40689 +infodir = @infodir@
40690 +install_sh = @install_sh@
40691 +libdir = @libdir@
40692 +libexecdir = @libexecdir@
40693 +localedir = @localedir@
40694 +localstatedir = @localstatedir@
40695 +mandir = @mandir@
40696 +mkdir_p = @mkdir_p@
40697 +oldincludedir = @oldincludedir@
40698 +pdfdir = @pdfdir@
40699 +prefix = @prefix@
40700 +program_transform_name = @program_transform_name@
40701 +psdir = @psdir@
40702 +sbindir = @sbindir@
40703 +sharedstatedir = @sharedstatedir@
40704 +sysconfdir = @sysconfdir@
40705 +target = @target@
40706 +target_alias = @target_alias@
40707 +target_cpu = @target_cpu@
40708 +target_os = @target_os@
40709 +target_vendor = @target_vendor@
40710
40711 +#lib_LTLIBRARIES = libatm.la libatmd.la
40712 lib_LTLIBRARIES = libatm.la
40713
40714 # ATMLIBS_VERSION comes from configure.in in the toplevel directory
40715 -LDFLAGS = -version-info @LIBVER_CURRENT@:@LIBVER_REVISION@:@LIBVER_AGE@
40716 -
40717 -libatm_la_SOURCES = text2atm.c atm2text.c atmequal.c sdu2cell.c text2qos.c qos2text.c qosequal.c sap2text.c text2sap.c sapequal.c misc.c atmres.h ans.c common.c diag.c kptr.c text2ip.c timer.c unix.c
40718 +AM_LDFLAGS = -version-info @LIBVER_CURRENT@:@LIBVER_REVISION@:@LIBVER_AGE@
40719 +libatm_la_SOURCES = text2atm.c atm2text.c atmequal.c sdu2cell.c text2qos.c \
40720 + qos2text.c qosequal.c sap2text.c text2sap.c sapequal.c \
40721 + misc.c atmres.h ans.c \
40722 + common.c diag.c kptr.c text2ip.c timer.c unix.c
40723
40724 libatm_la_LIBADD = -lresolv
40725 -libatm_la_DEPENDENCIES = $(top_builddir)/src/include/atm.h $(top_builddir)/src/include/atmsap.h $(top_builddir)/src/include/stdint.h $(top_builddir)/src/include/atmd.h
40726 -
40727 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
40728 -CONFIG_HEADER = ../../config.h
40729 -CONFIG_CLEAN_FILES =
40730 -LTLIBRARIES = $(lib_LTLIBRARIES)
40731 -
40732 -
40733 -DEFS = @DEFS@ -I. -I$(srcdir) -I../..
40734 -CPPFLAGS = @CPPFLAGS@
40735 -LIBS = @LIBS@
40736 -libatm_la_LDFLAGS =
40737 -libatm_la_OBJECTS = text2atm.lo atm2text.lo atmequal.lo sdu2cell.lo \
40738 -text2qos.lo qos2text.lo qosequal.lo sap2text.lo text2sap.lo sapequal.lo \
40739 -misc.lo ans.lo common.lo diag.lo kptr.lo text2ip.lo timer.lo unix.lo
40740 -CFLAGS = @CFLAGS@
40741 -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
40742 -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
40743 -CCLD = $(CC)
40744 -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
40745 -DIST_COMMON = Makefile.am Makefile.in
40746 -
40747 +libatm_la_DEPENDENCIES = $(top_builddir)/src/include/atm.h \
40748 + $(top_builddir)/src/include/atmsap.h \
40749 + $(top_builddir)/src/include/stdint.h \
40750 + $(top_builddir)/src/include/atmd.h
40751
40752 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
40753 +all: all-am
40754
40755 -TAR = tar
40756 -GZIP_ENV = --best
40757 -DEP_FILES = .deps/ans.P .deps/atm2text.P .deps/atmequal.P \
40758 -.deps/common.P .deps/diag.P .deps/kptr.P .deps/misc.P .deps/qos2text.P \
40759 -.deps/qosequal.P .deps/sap2text.P .deps/sapequal.P .deps/sdu2cell.P \
40760 -.deps/text2atm.P .deps/text2ip.P .deps/text2qos.P .deps/text2sap.P \
40761 -.deps/timer.P .deps/unix.P
40762 -SOURCES = $(libatm_la_SOURCES)
40763 -OBJECTS = $(libatm_la_OBJECTS)
40764 -
40765 -all: all-redirect
40766 .SUFFIXES:
40767 -.SUFFIXES: .S .c .lo .o .obj .s
40768 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
40769 - cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/Makefile
40770 -
40771 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
40772 - cd $(top_builddir) \
40773 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
40774 -
40775 -
40776 -mostlyclean-libLTLIBRARIES:
40777 -
40778 -clean-libLTLIBRARIES:
40779 - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
40780 -
40781 -distclean-libLTLIBRARIES:
40782 -
40783 -maintainer-clean-libLTLIBRARIES:
40784 -
40785 +.SUFFIXES: .c .lo .o .obj
40786 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
40787 + @for dep in $?; do \
40788 + case '$(am__configure_deps)' in \
40789 + *$$dep*) \
40790 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
40791 + && exit 0; \
40792 + exit 1;; \
40793 + esac; \
40794 + done; \
40795 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/Makefile'; \
40796 + cd $(top_srcdir) && \
40797 + $(AUTOMAKE) --gnu src/lib/Makefile
40798 +.PRECIOUS: Makefile
40799 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
40800 + @case '$?' in \
40801 + *config.status*) \
40802 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
40803 + *) \
40804 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
40805 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
40806 + esac;
40807 +
40808 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
40809 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40810 +
40811 +$(top_srcdir)/configure: $(am__configure_deps)
40812 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40813 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
40814 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
40815 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
40816 @$(NORMAL_INSTALL)
40817 - $(mkinstalldirs) $(DESTDIR)$(libdir)
40818 + test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
40819 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
40820 if test -f $$p; then \
40821 - echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
40822 - $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
40823 + f=$(am__strip_dir) \
40824 + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
40825 + $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
40826 else :; fi; \
40827 done
40828
40829 uninstall-libLTLIBRARIES:
40830 @$(NORMAL_UNINSTALL)
40831 - list='$(lib_LTLIBRARIES)'; for p in $$list; do \
40832 - $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
40833 + @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
40834 + p=$(am__strip_dir) \
40835 + echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
40836 + $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
40837 done
40838
40839 -# FIXME: We should only use cygpath when building on Windows,
40840 -# and only if it is available.
40841 -.c.obj:
40842 - $(COMPILE) -c `cygpath -w $<`
40843 -
40844 -.s.o:
40845 - $(COMPILE) -c $<
40846 -
40847 -.S.o:
40848 - $(COMPILE) -c $<
40849 +clean-libLTLIBRARIES:
40850 + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
40851 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
40852 + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
40853 + test "$$dir" != "$$p" || dir=.; \
40854 + echo "rm -f \"$${dir}/so_locations\""; \
40855 + rm -f "$${dir}/so_locations"; \
40856 + done
40857 +libatm.la: $(libatm_la_OBJECTS) $(libatm_la_DEPENDENCIES)
40858 + $(LINK) -rpath $(libdir) $(libatm_la_LDFLAGS) $(libatm_la_OBJECTS) $(libatm_la_LIBADD) $(LIBS)
40859
40860 mostlyclean-compile:
40861 - -rm -f *.o core *.core
40862 -rm -f *.$(OBJEXT)
40863
40864 -clean-compile:
40865 -
40866 distclean-compile:
40867 -rm -f *.tab.c
40868
40869 -maintainer-clean-compile:
40870 -
40871 -.s.lo:
40872 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
40873 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ans.Plo@am__quote@
40874 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atm2text.Plo@am__quote@
40875 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atmequal.Plo@am__quote@
40876 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Plo@am__quote@
40877 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/diag.Plo@am__quote@
40878 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kptr.Plo@am__quote@
40879 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Plo@am__quote@
40880 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qos2text.Plo@am__quote@
40881 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qosequal.Plo@am__quote@
40882 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sap2text.Plo@am__quote@
40883 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sapequal.Plo@am__quote@
40884 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sdu2cell.Plo@am__quote@
40885 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text2atm.Plo@am__quote@
40886 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text2ip.Plo@am__quote@
40887 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text2qos.Plo@am__quote@
40888 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text2sap.Plo@am__quote@
40889 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Plo@am__quote@
40890 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unix.Plo@am__quote@
40891 +
40892 +.c.o:
40893 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
40894 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
40895 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
40896 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
40897 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
40898
40899 -.S.lo:
40900 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
40901 +.c.obj:
40902 +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
40903 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
40904 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
40905 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
40906 +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
40907 +
40908 +.c.lo:
40909 +@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
40910 +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
40911 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
40912 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
40913 +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
40914
40915 mostlyclean-libtool:
40916 -rm -f *.lo
40917 @@ -212,169 +324,178 @@
40918 -rm -rf .libs _libs
40919
40920 distclean-libtool:
40921 + -rm -f libtool
40922 +uninstall-info-am:
40923
40924 -maintainer-clean-libtool:
40925 -
40926 -libatm.la: $(libatm_la_OBJECTS) $(libatm_la_DEPENDENCIES)
40927 - $(LINK) -rpath $(libdir) $(libatm_la_LDFLAGS) $(libatm_la_OBJECTS) $(libatm_la_LIBADD) $(LIBS)
40928 -
40929 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
40930 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40931 + unique=`for i in $$list; do \
40932 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40933 + done | \
40934 + $(AWK) ' { files[$$0] = 1; } \
40935 + END { for (i in files) print i; }'`; \
40936 + mkid -fID $$unique
40937 tags: TAGS
40938
40939 -ID: $(HEADERS) $(SOURCES) $(LISP)
40940 - list='$(SOURCES) $(HEADERS)'; \
40941 - unique=`for i in $$list; do echo $$i; done | \
40942 - awk ' { files[$$0] = 1; } \
40943 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
40944 + $(TAGS_FILES) $(LISP)
40945 + tags=; \
40946 + here=`pwd`; \
40947 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40948 + unique=`for i in $$list; do \
40949 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40950 + done | \
40951 + $(AWK) ' { files[$$0] = 1; } \
40952 END { for (i in files) print i; }'`; \
40953 - here=`pwd` && cd $(srcdir) \
40954 - && mkid -f$$here/ID $$unique $(LISP)
40955 -
40956 -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
40957 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
40958 + test -n "$$unique" || unique=$$empty_fix; \
40959 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
40960 + $$tags $$unique; \
40961 + fi
40962 +ctags: CTAGS
40963 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
40964 + $(TAGS_FILES) $(LISP)
40965 tags=; \
40966 here=`pwd`; \
40967 - list='$(SOURCES) $(HEADERS)'; \
40968 - unique=`for i in $$list; do echo $$i; done | \
40969 - awk ' { files[$$0] = 1; } \
40970 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
40971 + unique=`for i in $$list; do \
40972 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
40973 + done | \
40974 + $(AWK) ' { files[$$0] = 1; } \
40975 END { for (i in files) print i; }'`; \
40976 - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
40977 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
40978 -
40979 -mostlyclean-tags:
40980 -
40981 -clean-tags:
40982 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
40983 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
40984 + $$tags $$unique
40985 +
40986 +GTAGS:
40987 + here=`$(am__cd) $(top_builddir) && pwd` \
40988 + && cd $(top_srcdir) \
40989 + && gtags -i $(GTAGS_ARGS) $$here
40990
40991 distclean-tags:
40992 - -rm -f TAGS ID
40993 -
40994 -maintainer-clean-tags:
40995 -
40996 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
40997 -
40998 -subdir = src/lib
40999 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
41000
41001 distdir: $(DISTFILES)
41002 - here=`cd $(top_builddir) && pwd`; \
41003 - top_distdir=`cd $(top_distdir) && pwd`; \
41004 - distdir=`cd $(distdir) && pwd`; \
41005 - cd $(top_srcdir) \
41006 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/lib/Makefile
41007 - @for file in $(DISTFILES); do \
41008 - d=$(srcdir); \
41009 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
41010 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
41011 + list='$(DISTFILES)'; for file in $$list; do \
41012 + case $$file in \
41013 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
41014 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
41015 + esac; \
41016 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
41017 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
41018 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
41019 + dir="/$$dir"; \
41020 + $(mkdir_p) "$(distdir)$$dir"; \
41021 + else \
41022 + dir=''; \
41023 + fi; \
41024 if test -d $$d/$$file; then \
41025 - cp -pr $$d/$$file $(distdir)/$$file; \
41026 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
41027 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
41028 + fi; \
41029 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
41030 else \
41031 test -f $(distdir)/$$file \
41032 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
41033 - || cp -p $$d/$$file $(distdir)/$$file || :; \
41034 + || cp -p $$d/$$file $(distdir)/$$file \
41035 + || exit 1; \
41036 fi; \
41037 done
41038 -
41039 -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
41040 -
41041 --include $(DEP_FILES)
41042 -
41043 -mostlyclean-depend:
41044 -
41045 -clean-depend:
41046 -
41047 -distclean-depend:
41048 - -rm -rf .deps
41049 -
41050 -maintainer-clean-depend:
41051 -
41052 -%.o: %.c
41053 - @echo '$(COMPILE) -c $<'; \
41054 - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
41055 - @-cp .deps/$(*F).pp .deps/$(*F).P; \
41056 - tr ' ' '\012' < .deps/$(*F).pp \
41057 - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
41058 - >> .deps/$(*F).P; \
41059 - rm .deps/$(*F).pp
41060 -
41061 -%.lo: %.c
41062 - @echo '$(LTCOMPILE) -c $<'; \
41063 - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
41064 - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
41065 - < .deps/$(*F).pp > .deps/$(*F).P; \
41066 - tr ' ' '\012' < .deps/$(*F).pp \
41067 - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
41068 - >> .deps/$(*F).P; \
41069 - rm -f .deps/$(*F).pp
41070 -info-am:
41071 -info: info-am
41072 -dvi-am:
41073 -dvi: dvi-am
41074 check-am: all-am
41075 check: check-am
41076 -installcheck-am:
41077 -installcheck: installcheck-am
41078 -install-exec-am: install-libLTLIBRARIES
41079 +all-am: Makefile $(LTLIBRARIES)
41080 +installdirs:
41081 + for dir in "$(DESTDIR)$(libdir)"; do \
41082 + test -z "$$dir" || $(mkdir_p) "$$dir"; \
41083 + done
41084 +install: install-am
41085 install-exec: install-exec-am
41086 -
41087 -install-data-am:
41088 install-data: install-data-am
41089 +uninstall: uninstall-am
41090
41091 install-am: all-am
41092 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
41093 -install: install-am
41094 -uninstall-am: uninstall-libLTLIBRARIES
41095 -uninstall: uninstall-am
41096 -all-am: Makefile $(LTLIBRARIES)
41097 -all-redirect: all-am
41098 -install-strip:
41099 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
41100 -installdirs:
41101 - $(mkinstalldirs) $(DESTDIR)$(libdir)
41102 -
41103
41104 +installcheck: installcheck-am
41105 +install-strip:
41106 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
41107 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
41108 + `test -z '$(STRIP)' || \
41109 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
41110 mostlyclean-generic:
41111
41112 clean-generic:
41113
41114 distclean-generic:
41115 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
41116 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
41117 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
41118
41119 maintainer-clean-generic:
41120 -mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
41121 - mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
41122 - mostlyclean-generic
41123 + @echo "This command is intended for maintainers to use"
41124 + @echo "it deletes files that may require special tools to rebuild."
41125 +clean: clean-am
41126
41127 -mostlyclean: mostlyclean-am
41128 +clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
41129 + mostlyclean-am
41130
41131 -clean-am: clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
41132 - clean-depend clean-generic mostlyclean-am
41133 +distclean: distclean-am
41134 + -rm -rf ./$(DEPDIR)
41135 + -rm -f Makefile
41136 +distclean-am: clean-am distclean-compile distclean-generic \
41137 + distclean-libtool distclean-tags
41138
41139 -clean: clean-am
41140 +dvi: dvi-am
41141
41142 -distclean-am: distclean-libLTLIBRARIES distclean-compile \
41143 - distclean-libtool distclean-tags distclean-depend \
41144 - distclean-generic clean-am
41145 - -rm -f libtool
41146 +dvi-am:
41147
41148 -distclean: distclean-am
41149 +html: html-am
41150
41151 -maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
41152 - maintainer-clean-compile maintainer-clean-libtool \
41153 - maintainer-clean-tags maintainer-clean-depend \
41154 - maintainer-clean-generic distclean-am
41155 - @echo "This command is intended for maintainers to use;"
41156 - @echo "it deletes files that may require special tools to rebuild."
41157 +info: info-am
41158 +
41159 +info-am:
41160 +
41161 +install-data-am:
41162 +
41163 +install-exec-am: install-libLTLIBRARIES
41164 +
41165 +install-info: install-info-am
41166 +
41167 +install-man:
41168 +
41169 +installcheck-am:
41170
41171 maintainer-clean: maintainer-clean-am
41172 + -rm -rf ./$(DEPDIR)
41173 + -rm -f Makefile
41174 +maintainer-clean-am: distclean-am maintainer-clean-generic
41175 +
41176 +mostlyclean: mostlyclean-am
41177
41178 -.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
41179 -clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
41180 -uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
41181 -distclean-compile clean-compile maintainer-clean-compile \
41182 -mostlyclean-libtool distclean-libtool clean-libtool \
41183 -maintainer-clean-libtool tags mostlyclean-tags distclean-tags \
41184 -clean-tags maintainer-clean-tags distdir mostlyclean-depend \
41185 -distclean-depend clean-depend maintainer-clean-depend info-am info \
41186 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
41187 -install-exec install-data-am install-data install-am install \
41188 -uninstall-am uninstall all-redirect all-am all installdirs \
41189 -mostlyclean-generic distclean-generic clean-generic \
41190 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
41191 +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
41192 + mostlyclean-libtool
41193 +
41194 +pdf: pdf-am
41195 +
41196 +pdf-am:
41197 +
41198 +ps: ps-am
41199 +
41200 +ps-am:
41201 +
41202 +uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
41203 +
41204 +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
41205 + clean-libLTLIBRARIES clean-libtool ctags distclean \
41206 + distclean-compile distclean-generic distclean-libtool \
41207 + distclean-tags distdir dvi dvi-am html html-am info info-am \
41208 + install install-am install-data install-data-am install-exec \
41209 + install-exec-am install-info install-info-am \
41210 + install-libLTLIBRARIES install-man install-strip installcheck \
41211 + installcheck-am installdirs maintainer-clean \
41212 + maintainer-clean-generic mostlyclean mostlyclean-compile \
41213 + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
41214 + tags uninstall uninstall-am uninstall-info-am \
41215 + uninstall-libLTLIBRARIES
41216
41217
41218 #libatm_la_SOURCES = text2atm.c atm2text.c atmequal.c sdu2cell.c text2qos.c \
41219 @@ -389,7 +510,6 @@
41220 #libatmd_la_DEPENDENCIES = $(top_builddir)/src/include/atm.h \
41221 # $(top_builddir)/src/include/atmd.h \
41222 # $(top_builddir)/src/include/stdint.h
41223 -
41224 # Tell versions [3.59,3.63) of GNU make to not export all variables.
41225 # Otherwise a system limit (for SysV at least) may be exceeded.
41226 .NOEXPORT:
41227 Index: linux-atm-2.4.1/src/Makefile.in
41228 ===================================================================
41229 --- linux-atm-2.4.1.orig/src/Makefile.in 2007-10-20 19:19:18.678692917 +0200
41230 +++ linux-atm-2.4.1/src/Makefile.in 2007-10-20 19:19:19.674749679 +0200
41231 @@ -1,6 +1,8 @@
41232 -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
41233 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
41234 +# @configure_input@
41235
41236 -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
41237 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
41238 +# 2003, 2004, 2005 Free Software Foundation, Inc.
41239 # This Makefile.in is free software; the Free Software Foundation
41240 # gives unlimited permission to copy and/or distribute it,
41241 # with or without modifications, as long as this notice is preserved.
41242 @@ -10,112 +12,209 @@
41243 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
41244 # PARTICULAR PURPOSE.
41245
41246 -
41247 -SHELL = @SHELL@
41248 -
41249 +@SET_MAKE@
41250 srcdir = @srcdir@
41251 top_srcdir = @top_srcdir@
41252 VPATH = @srcdir@
41253 -prefix = @prefix@
41254 -exec_prefix = @exec_prefix@
41255 -
41256 -bindir = @bindir@
41257 -sbindir = @sbindir@
41258 -libexecdir = @libexecdir@
41259 -datadir = @datadir@
41260 -sysconfdir = @sysconfdir@
41261 -sharedstatedir = @sharedstatedir@
41262 -localstatedir = @localstatedir@
41263 -libdir = @libdir@
41264 -infodir = @infodir@
41265 -mandir = @mandir@
41266 -includedir = @includedir@
41267 -oldincludedir = /usr/include
41268 -
41269 -DESTDIR =
41270 -
41271 pkgdatadir = $(datadir)/@PACKAGE@
41272 pkglibdir = $(libdir)/@PACKAGE@
41273 pkgincludedir = $(includedir)/@PACKAGE@
41274 -
41275 top_builddir = ..
41276 -
41277 -ACLOCAL = @ACLOCAL@
41278 -AUTOCONF = @AUTOCONF@
41279 -AUTOMAKE = @AUTOMAKE@
41280 -AUTOHEADER = @AUTOHEADER@
41281 -
41282 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41283 INSTALL = @INSTALL@
41284 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
41285 -INSTALL_DATA = @INSTALL_DATA@
41286 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
41287 -transform = @program_transform_name@
41288 -
41289 +install_sh_DATA = $(install_sh) -c -m 644
41290 +install_sh_PROGRAM = $(install_sh) -c
41291 +install_sh_SCRIPT = $(install_sh) -c
41292 +INSTALL_HEADER = $(INSTALL_DATA)
41293 +transform = $(program_transform_name)
41294 NORMAL_INSTALL = :
41295 PRE_INSTALL = :
41296 POST_INSTALL = :
41297 NORMAL_UNINSTALL = :
41298 PRE_UNINSTALL = :
41299 POST_UNINSTALL = :
41300 -build_alias = @build_alias@
41301 build_triplet = @build@
41302 -host_alias = @host_alias@
41303 host_triplet = @host@
41304 -target_alias = @target_alias@
41305 target_triplet = @target@
41306 +subdir = src
41307 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41308 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41309 +am__aclocal_m4_deps = $(top_srcdir)/configure.in
41310 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
41311 + $(ACLOCAL_M4)
41312 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
41313 +CONFIG_HEADER = $(top_builddir)/config.h
41314 +CONFIG_CLEAN_FILES =
41315 +SOURCES =
41316 +DIST_SOURCES =
41317 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
41318 + html-recursive info-recursive install-data-recursive \
41319 + install-exec-recursive install-info-recursive \
41320 + install-recursive installcheck-recursive installdirs-recursive \
41321 + pdf-recursive ps-recursive uninstall-info-recursive \
41322 + uninstall-recursive
41323 +ETAGS = etags
41324 +CTAGS = ctags
41325 +DIST_SUBDIRS = $(SUBDIRS)
41326 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
41327 +ACLOCAL = @ACLOCAL@
41328 +AMDEP_FALSE = @AMDEP_FALSE@
41329 +AMDEP_TRUE = @AMDEP_TRUE@
41330 +AMTAR = @AMTAR@
41331 AR = @AR@
41332 -AS = @AS@
41333 +AUTOCONF = @AUTOCONF@
41334 +AUTOHEADER = @AUTOHEADER@
41335 +AUTOMAKE = @AUTOMAKE@
41336 +AWK = @AWK@
41337 CC = @CC@
41338 +CCDEPMODE = @CCDEPMODE@
41339 +CFLAGS = @CFLAGS@
41340 +CPP = @CPP@
41341 +CPPFLAGS = @CPPFLAGS@
41342 CXX = @CXX@
41343 CXXCPP = @CXXCPP@
41344 -DLLTOOL = @DLLTOOL@
41345 +CXXDEPMODE = @CXXDEPMODE@
41346 +CXXFLAGS = @CXXFLAGS@
41347 +CYGPATH_W = @CYGPATH_W@
41348 +DEFS = @DEFS@
41349 +DEPDIR = @DEPDIR@
41350 ECHO = @ECHO@
41351 +ECHO_C = @ECHO_C@
41352 +ECHO_N = @ECHO_N@
41353 +ECHO_T = @ECHO_T@
41354 EGREP = @EGREP@
41355 EXEEXT = @EXEEXT@
41356 F77 = @F77@
41357 -GCJ = @GCJ@
41358 -GCJFLAGS = @GCJFLAGS@
41359 -HAVE_LIB = @HAVE_LIB@
41360 +FFLAGS = @FFLAGS@
41361 +GREP = @GREP@
41362 +INSTALL_DATA = @INSTALL_DATA@
41363 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
41364 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
41365 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
41366 +LDFLAGS = @LDFLAGS@
41367 LEX = @LEX@
41368 -LIB = @LIB@
41369 +LEXLIB = @LEXLIB@
41370 +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
41371 +LIBOBJS = @LIBOBJS@
41372 +LIBS = @LIBS@
41373 LIBTOOL = @LIBTOOL@
41374 LIBTOOL_DEPS = @LIBTOOL_DEPS@
41375 LIBVER_AGE = @LIBVER_AGE@
41376 LIBVER_CURRENT = @LIBVER_CURRENT@
41377 LIBVER_REVISION = @LIBVER_REVISION@
41378 LN_S = @LN_S@
41379 -LTLIB = @LTLIB@
41380 +LTLIBOBJS = @LTLIBOBJS@
41381 MAKEINFO = @MAKEINFO@
41382 -OBJDUMP = @OBJDUMP@
41383 OBJEXT = @OBJEXT@
41384 PACKAGE = @PACKAGE@
41385 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
41386 +PACKAGE_NAME = @PACKAGE_NAME@
41387 +PACKAGE_STRING = @PACKAGE_STRING@
41388 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
41389 +PACKAGE_VERSION = @PACKAGE_VERSION@
41390 +PATH_SEPARATOR = @PATH_SEPARATOR@
41391 PERL = @PERL@
41392 RANLIB = @RANLIB@
41393 -RC = @RC@
41394 +SET_MAKE = @SET_MAKE@
41395 +SHELL = @SHELL@
41396 STRIP = @STRIP@
41397 VERSION = @VERSION@
41398 YACC = @YACC@
41399 -
41400 +YFLAGS = @YFLAGS@
41401 +ac_ct_CC = @ac_ct_CC@
41402 +ac_ct_CXX = @ac_ct_CXX@
41403 +ac_ct_F77 = @ac_ct_F77@
41404 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
41405 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
41406 +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
41407 +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
41408 +am__include = @am__include@
41409 +am__leading_dot = @am__leading_dot@
41410 +am__quote = @am__quote@
41411 +am__tar = @am__tar@
41412 +am__untar = @am__untar@
41413 +bindir = @bindir@
41414 +build = @build@
41415 +build_alias = @build_alias@
41416 +build_cpu = @build_cpu@
41417 +build_os = @build_os@
41418 +build_vendor = @build_vendor@
41419 +datadir = @datadir@
41420 +datarootdir = @datarootdir@
41421 +docdir = @docdir@
41422 +dvidir = @dvidir@
41423 +exec_prefix = @exec_prefix@
41424 +host = @host@
41425 +host_alias = @host_alias@
41426 +host_cpu = @host_cpu@
41427 +host_os = @host_os@
41428 +host_vendor = @host_vendor@
41429 +htmldir = @htmldir@
41430 +includedir = @includedir@
41431 +infodir = @infodir@
41432 +install_sh = @install_sh@
41433 +libdir = @libdir@
41434 +libexecdir = @libexecdir@
41435 +localedir = @localedir@
41436 +localstatedir = @localstatedir@
41437 +mandir = @mandir@
41438 +mkdir_p = @mkdir_p@
41439 +oldincludedir = @oldincludedir@
41440 +pdfdir = @pdfdir@
41441 +prefix = @prefix@
41442 +program_transform_name = @program_transform_name@
41443 +psdir = @psdir@
41444 +sbindir = @sbindir@
41445 +sharedstatedir = @sharedstatedir@
41446 +sysconfdir = @sysconfdir@
41447 +target = @target@
41448 +target_alias = @target_alias@
41449 +target_cpu = @target_cpu@
41450 +target_os = @target_os@
41451 +target_vendor = @target_vendor@
41452 SUBDIRS = include lib arpd
41453 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
41454 -CONFIG_HEADER = ../config.h
41455 -CONFIG_CLEAN_FILES =
41456 -DIST_COMMON = Makefile.am Makefile.in
41457 -
41458 +all: all-recursive
41459
41460 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
41461 -
41462 -TAR = tar
41463 -GZIP_ENV = --best
41464 -all: all-redirect
41465 .SUFFIXES:
41466 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
41467 - cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
41468 +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
41469 + @for dep in $?; do \
41470 + case '$(am__configure_deps)' in \
41471 + *$$dep*) \
41472 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
41473 + && exit 0; \
41474 + exit 1;; \
41475 + esac; \
41476 + done; \
41477 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
41478 + cd $(top_srcdir) && \
41479 + $(AUTOMAKE) --gnu src/Makefile
41480 +.PRECIOUS: Makefile
41481 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
41482 + @case '$?' in \
41483 + *config.status*) \
41484 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
41485 + *) \
41486 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
41487 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
41488 + esac;
41489 +
41490 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
41491 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
41492 +
41493 +$(top_srcdir)/configure: $(am__configure_deps)
41494 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
41495 +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
41496 + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
41497
41498 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
41499 - cd $(top_builddir) \
41500 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
41501 +mostlyclean-libtool:
41502 + -rm -f *.lo
41503
41504 +clean-libtool:
41505 + -rm -rf .libs _libs
41506 +
41507 +distclean-libtool:
41508 + -rm -f libtool
41509 +uninstall-info-am:
41510
41511 # This directory's subdirectories are mostly independent; you can cd
41512 # into them and run `make' without going through this Makefile.
41513 @@ -123,13 +222,14 @@
41514 # (1) if the variable is set in `config.status', edit `config.status'
41515 # (which will cause the Makefiles to be regenerated when you run `make');
41516 # (2) otherwise, pass the desired values on the `make' command line.
41517 -
41518 -@SET_MAKE@
41519 -
41520 -all-recursive install-data-recursive install-exec-recursive \
41521 -installdirs-recursive install-recursive uninstall-recursive \
41522 -check-recursive installcheck-recursive info-recursive dvi-recursive:
41523 - @set fnord $(MAKEFLAGS); amf=$$2; \
41524 +$(RECURSIVE_TARGETS):
41525 + @failcom='exit 1'; \
41526 + for f in x $$MAKEFLAGS; do \
41527 + case $$f in \
41528 + *=* | --[!k]*);; \
41529 + *k*) failcom='fail=yes';; \
41530 + esac; \
41531 + done; \
41532 dot_seen=no; \
41533 target=`echo $@ | sed s/-recursive//`; \
41534 list='$(SUBDIRS)'; for subdir in $$list; do \
41535 @@ -141,7 +241,7 @@
41536 local_target="$$target"; \
41537 fi; \
41538 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
41539 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
41540 + || eval $$failcom; \
41541 done; \
41542 if test "$$dot_seen" = "no"; then \
41543 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
41544 @@ -149,13 +249,24 @@
41545
41546 mostlyclean-recursive clean-recursive distclean-recursive \
41547 maintainer-clean-recursive:
41548 - @set fnord $(MAKEFLAGS); amf=$$2; \
41549 + @failcom='exit 1'; \
41550 + for f in x $$MAKEFLAGS; do \
41551 + case $$f in \
41552 + *=* | --[!k]*);; \
41553 + *k*) failcom='fail=yes';; \
41554 + esac; \
41555 + done; \
41556 dot_seen=no; \
41557 - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
41558 - rev="$$subdir $$rev"; \
41559 - test "$$subdir" != "." || dot_seen=yes; \
41560 + case "$@" in \
41561 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
41562 + *) list='$(SUBDIRS)' ;; \
41563 + esac; \
41564 + rev=''; for subdir in $$list; do \
41565 + if test "$$subdir" = "."; then :; else \
41566 + rev="$$subdir $$rev"; \
41567 + fi; \
41568 done; \
41569 - test "$$dot_seen" = "no" && rev=". $$rev"; \
41570 + rev="$$rev ."; \
41571 target=`echo $@ | sed s/-recursive//`; \
41572 for subdir in $$rev; do \
41573 echo "Making $$target in $$subdir"; \
41574 @@ -165,146 +276,210 @@
41575 local_target="$$target"; \
41576 fi; \
41577 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
41578 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
41579 + || eval $$failcom; \
41580 done && test -z "$$fail"
41581 tags-recursive:
41582 list='$(SUBDIRS)'; for subdir in $$list; do \
41583 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
41584 done
41585 +ctags-recursive:
41586 + list='$(SUBDIRS)'; for subdir in $$list; do \
41587 + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
41588 + done
41589
41590 -tags: TAGS
41591 -
41592 -ID: $(HEADERS) $(SOURCES) $(LISP)
41593 - list='$(SOURCES) $(HEADERS)'; \
41594 - unique=`for i in $$list; do echo $$i; done | \
41595 - awk ' { files[$$0] = 1; } \
41596 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
41597 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
41598 + unique=`for i in $$list; do \
41599 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
41600 + done | \
41601 + $(AWK) ' { files[$$0] = 1; } \
41602 END { for (i in files) print i; }'`; \
41603 - here=`pwd` && cd $(srcdir) \
41604 - && mkid -f$$here/ID $$unique $(LISP)
41605 + mkid -fID $$unique
41606 +tags: TAGS
41607
41608 -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
41609 +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
41610 + $(TAGS_FILES) $(LISP)
41611 tags=; \
41612 here=`pwd`; \
41613 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
41614 + include_option=--etags-include; \
41615 + empty_fix=.; \
41616 + else \
41617 + include_option=--include; \
41618 + empty_fix=; \
41619 + fi; \
41620 list='$(SUBDIRS)'; for subdir in $$list; do \
41621 - if test "$$subdir" = .; then :; else \
41622 - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
41623 - fi; \
41624 + if test "$$subdir" = .; then :; else \
41625 + test ! -f $$subdir/TAGS || \
41626 + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
41627 + fi; \
41628 done; \
41629 - list='$(SOURCES) $(HEADERS)'; \
41630 - unique=`for i in $$list; do echo $$i; done | \
41631 - awk ' { files[$$0] = 1; } \
41632 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
41633 + unique=`for i in $$list; do \
41634 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
41635 + done | \
41636 + $(AWK) ' { files[$$0] = 1; } \
41637 END { for (i in files) print i; }'`; \
41638 - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
41639 - || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
41640 -
41641 -mostlyclean-tags:
41642 -
41643 -clean-tags:
41644 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
41645 + test -n "$$unique" || unique=$$empty_fix; \
41646 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
41647 + $$tags $$unique; \
41648 + fi
41649 +ctags: CTAGS
41650 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
41651 + $(TAGS_FILES) $(LISP)
41652 + tags=; \
41653 + here=`pwd`; \
41654 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
41655 + unique=`for i in $$list; do \
41656 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
41657 + done | \
41658 + $(AWK) ' { files[$$0] = 1; } \
41659 + END { for (i in files) print i; }'`; \
41660 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
41661 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
41662 + $$tags $$unique
41663 +
41664 +GTAGS:
41665 + here=`$(am__cd) $(top_builddir) && pwd` \
41666 + && cd $(top_srcdir) \
41667 + && gtags -i $(GTAGS_ARGS) $$here
41668
41669 distclean-tags:
41670 - -rm -f TAGS ID
41671 -
41672 -maintainer-clean-tags:
41673 -
41674 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
41675 -
41676 -subdir = src
41677 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
41678
41679 distdir: $(DISTFILES)
41680 - here=`cd $(top_builddir) && pwd`; \
41681 - top_distdir=`cd $(top_distdir) && pwd`; \
41682 - distdir=`cd $(distdir) && pwd`; \
41683 - cd $(top_srcdir) \
41684 - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
41685 - @for file in $(DISTFILES); do \
41686 - d=$(srcdir); \
41687 + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
41688 + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
41689 + list='$(DISTFILES)'; for file in $$list; do \
41690 + case $$file in \
41691 + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
41692 + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
41693 + esac; \
41694 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
41695 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
41696 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
41697 + dir="/$$dir"; \
41698 + $(mkdir_p) "$(distdir)$$dir"; \
41699 + else \
41700 + dir=''; \
41701 + fi; \
41702 if test -d $$d/$$file; then \
41703 - cp -pr $$d/$$file $(distdir)/$$file; \
41704 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
41705 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
41706 + fi; \
41707 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
41708 else \
41709 test -f $(distdir)/$$file \
41710 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
41711 - || cp -p $$d/$$file $(distdir)/$$file || :; \
41712 + || cp -p $$d/$$file $(distdir)/$$file \
41713 + || exit 1; \
41714 fi; \
41715 done
41716 - for subdir in $(SUBDIRS); do \
41717 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
41718 if test "$$subdir" = .; then :; else \
41719 - test -d $(distdir)/$$subdir \
41720 - || mkdir $(distdir)/$$subdir \
41721 + test -d "$(distdir)/$$subdir" \
41722 + || $(mkdir_p) "$(distdir)/$$subdir" \
41723 || exit 1; \
41724 - chmod 777 $(distdir)/$$subdir; \
41725 - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
41726 + distdir=`$(am__cd) $(distdir) && pwd`; \
41727 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
41728 + (cd $$subdir && \
41729 + $(MAKE) $(AM_MAKEFLAGS) \
41730 + top_distdir="$$top_distdir" \
41731 + distdir="$$distdir/$$subdir" \
41732 + distdir) \
41733 || exit 1; \
41734 fi; \
41735 done
41736 -info-am:
41737 -info: info-recursive
41738 -dvi-am:
41739 -dvi: dvi-recursive
41740 check-am: all-am
41741 check: check-recursive
41742 -installcheck-am:
41743 -installcheck: installcheck-recursive
41744 -install-exec-am:
41745 +all-am: Makefile
41746 +installdirs: installdirs-recursive
41747 +installdirs-am:
41748 +install: install-recursive
41749 install-exec: install-exec-recursive
41750 -
41751 -install-data-am:
41752 install-data: install-data-recursive
41753 +uninstall: uninstall-recursive
41754
41755 install-am: all-am
41756 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
41757 -install: install-recursive
41758 -uninstall-am:
41759 -uninstall: uninstall-recursive
41760 -all-am: Makefile
41761 -all-redirect: all-recursive
41762 -install-strip:
41763 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
41764 -installdirs: installdirs-recursive
41765 -installdirs-am:
41766 -
41767
41768 +installcheck: installcheck-recursive
41769 +install-strip:
41770 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
41771 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
41772 + `test -z '$(STRIP)' || \
41773 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
41774 mostlyclean-generic:
41775
41776 clean-generic:
41777
41778 distclean-generic:
41779 - -rm -f Makefile $(CONFIG_CLEAN_FILES)
41780 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
41781 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
41782
41783 maintainer-clean-generic:
41784 -mostlyclean-am: mostlyclean-tags mostlyclean-generic
41785 + @echo "This command is intended for maintainers to use"
41786 + @echo "it deletes files that may require special tools to rebuild."
41787 +clean: clean-recursive
41788
41789 -mostlyclean: mostlyclean-recursive
41790 +clean-am: clean-generic clean-libtool mostlyclean-am
41791
41792 -clean-am: clean-tags clean-generic mostlyclean-am
41793 +distclean: distclean-recursive
41794 + -rm -f Makefile
41795 +distclean-am: clean-am distclean-generic distclean-libtool \
41796 + distclean-tags
41797
41798 -clean: clean-recursive
41799 +dvi: dvi-recursive
41800
41801 -distclean-am: distclean-tags distclean-generic clean-am
41802 - -rm -f libtool
41803 +dvi-am:
41804
41805 -distclean: distclean-recursive
41806 +html: html-recursive
41807
41808 -maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
41809 - distclean-am
41810 - @echo "This command is intended for maintainers to use;"
41811 - @echo "it deletes files that may require special tools to rebuild."
41812 +info: info-recursive
41813 +
41814 +info-am:
41815 +
41816 +install-data-am:
41817 +
41818 +install-exec-am:
41819 +
41820 +install-info: install-info-recursive
41821 +
41822 +install-man:
41823 +
41824 +installcheck-am:
41825
41826 maintainer-clean: maintainer-clean-recursive
41827 + -rm -f Makefile
41828 +maintainer-clean-am: distclean-am maintainer-clean-generic
41829 +
41830 +mostlyclean: mostlyclean-recursive
41831 +
41832 +mostlyclean-am: mostlyclean-generic mostlyclean-libtool
41833 +
41834 +pdf: pdf-recursive
41835 +
41836 +pdf-am:
41837 +
41838 +ps: ps-recursive
41839 +
41840 +ps-am:
41841 +
41842 +uninstall-am: uninstall-info-am
41843
41844 -.PHONY: install-data-recursive uninstall-data-recursive \
41845 -install-exec-recursive uninstall-exec-recursive installdirs-recursive \
41846 -uninstalldirs-recursive all-recursive check-recursive \
41847 -installcheck-recursive info-recursive dvi-recursive \
41848 -mostlyclean-recursive distclean-recursive clean-recursive \
41849 -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
41850 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
41851 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
41852 -install-exec install-data-am install-data install-am install \
41853 -uninstall-am uninstall all-redirect all-am all installdirs-am \
41854 -installdirs mostlyclean-generic distclean-generic clean-generic \
41855 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
41856 +uninstall-info: uninstall-info-recursive
41857
41858 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
41859 + clean clean-generic clean-libtool clean-recursive ctags \
41860 + ctags-recursive distclean distclean-generic distclean-libtool \
41861 + distclean-recursive distclean-tags distdir dvi dvi-am html \
41862 + html-am info info-am install install-am install-data \
41863 + install-data-am install-exec install-exec-am install-info \
41864 + install-info-am install-man install-strip installcheck \
41865 + installcheck-am installdirs installdirs-am maintainer-clean \
41866 + maintainer-clean-generic maintainer-clean-recursive \
41867 + mostlyclean mostlyclean-generic mostlyclean-libtool \
41868 + mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
41869 + uninstall uninstall-am uninstall-info-am
41870
41871 # Tell versions [3.59,3.63) of GNU make to not export all variables.
41872 # Otherwise a system limit (for SysV at least) may be exceeded.