1
diff -urN -x config.guess -x config.sub libgail-gnome-1.1.3.orig/aclocal.m4 libgail-gnome-1.1.3/aclocal.m4
2
--- libgail-gnome-1.1.3.orig/aclocal.m4 2006-01-30 17:42:14.000000000 +0100
3
+++ libgail-gnome-1.1.3/aclocal.m4 2006-02-12 20:10:30.000000000 +0100
5
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
6
dnl PARTICULAR PURPOSE.
8
-# lib-prefix.m4 serial 3 (gettext-0.13)
9
-dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
10
-dnl This file is free software, distributed under the terms of the GNU
11
-dnl General Public License. As a special exception to the GNU General
12
-dnl Public License, this file may be distributed as part of a program
13
-dnl that contains a configuration script generated by Autoconf, under
14
-dnl the same distribution terms as the rest of that program.
15
+# lib-prefix.m4 serial 4 (gettext-0.14.2)
16
+dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
17
+dnl This file is free software; the Free Software Foundation
18
+dnl gives unlimited permission to copy and/or distribute it,
19
+dnl with or without modifications, as long as this notice is preserved.
21
dnl From Bruno Haible.
24
if test "X$additional_includedir" = "X/usr/local/include"; then
25
if test -n "$GCC"; then
27
- linux*) haveit=yes;;
28
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
33
prefix="$acl_save_prefix"
36
-# lib-link.m4 serial 4 (gettext-0.12)
37
-dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
38
-dnl This file is free software, distributed under the terms of the GNU
39
-dnl General Public License. As a special exception to the GNU General
40
-dnl Public License, this file may be distributed as part of a program
41
-dnl that contains a configuration script generated by Autoconf, under
42
-dnl the same distribution terms as the rest of that program.
43
+# lib-link.m4 serial 6 (gettext-0.14.3)
44
+dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
45
+dnl This file is free software; the Free Software Foundation
46
+dnl gives unlimited permission to copy and/or distribute it,
47
+dnl with or without modifications, as long as this notice is preserved.
49
dnl From Bruno Haible.
53
dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
54
dnl the libraries corresponding to explicit and implicit dependencies.
55
dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
57
dnl hardcode_direct, hardcode_minus_L.
58
AC_DEFUN([AC_LIB_RPATH],
60
+ dnl Tell automake >= 1.10 to complain if config.rpath is missing.
61
+ m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
62
AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
63
AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
64
AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
66
if test "X$additional_includedir" = "X/usr/local/include"; then
67
if test -n "$GCC"; then
69
- linux*) haveit=yes;;
70
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
75
if test "X$additional_libdir" = "X/usr/local/lib"; then
76
if test -n "$GCC"; then
78
- linux*) haveit=yes;;
79
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
85
# lib-ld.m4 serial 3 (gettext-0.13)
86
dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
87
-dnl This file is free software, distributed under the terms of the GNU
88
-dnl General Public License. As a special exception to the GNU General
89
-dnl Public License, this file may be distributed as part of a program
90
-dnl that contains a configuration script generated by Autoconf, under
91
-dnl the same distribution terms as the rest of that program.
92
+dnl This file is free software; the Free Software Foundation
93
+dnl gives unlimited permission to copy and/or distribute it,
94
+dnl with or without modifications, as long as this notice is preserved.
96
dnl Subroutines of libtool.m4,
97
dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
100
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
102
-# serial 47 AC_PROG_LIBTOOL
103
+# serial 48 Debian 1.5.22-2 AC_PROG_LIBTOOL
106
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
107
@@ -1128,6 +1126,7 @@
108
test -z "$AS" && AS=as
109
test -z "$CC" && CC=cc
110
test -z "$LTCC" && LTCC=$CC
111
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
112
test -z "$DLLTOOL" && DLLTOOL=dlltool
113
test -z "$LD" && LD=ld
114
test -z "$LN_S" && LN_S="ln -s"
115
@@ -1147,10 +1146,10 @@
116
if test -n "$RANLIB"; then
119
- old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
120
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
123
- old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
124
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
127
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
128
@@ -1198,6 +1197,9 @@
129
# If no C compiler was specified, use CC.
132
+# If no C compiler flags were specified, use CFLAGS.
133
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
135
# Allow CC to be a program name with arguments.
137
])# _LT_AC_SYS_COMPILER
138
@@ -1226,7 +1228,7 @@
139
AC_DEFUN([_LT_COMPILER_BOILERPLATE],
140
[ac_outfile=conftest.$ac_objext
141
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
142
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
143
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
144
_lt_compiler_boilerplate=`cat conftest.err`
146
])# _LT_COMPILER_BOILERPLATE
147
@@ -1239,7 +1241,7 @@
148
AC_DEFUN([_LT_LINKER_BOILERPLATE],
149
[ac_outfile=conftest.$ac_objext
150
printf "$lt_simple_link_test_code" >conftest.$ac_ext
151
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
152
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
153
_lt_linker_boilerplate=`cat conftest.err`
155
])# _LT_LINKER_BOILERPLATE
156
@@ -1545,6 +1547,22 @@
157
CFLAGS="$SAVE_CFLAGS"
161
+ # Find out which ABI we are using.
162
+ echo 'int i;' > conftest.$ac_ext
163
+ if AC_TRY_EVAL(ac_compile); then
164
+ case `/usr/bin/file conftest.o` in
166
+ case $lt_cv_prog_gnu_ld in
167
+ yes*) LD="${LD-ld} -m elf64_sparc" ;;
168
+ *) LD="${LD-ld} -64" ;;
176
AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
177
[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
178
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
179
@@ -1587,9 +1605,9 @@
180
if (exit $ac_status) && test -s "$ac_outfile"; then
181
# The compiler can only warn and ignore the option if not recognized
182
# So say no if there are warnings other than the usual output.
183
- $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
184
- $SED '/^$/d' conftest.err >conftest.er2
185
- if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
186
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
187
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
188
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
192
@@ -1620,8 +1638,8 @@
193
if test -s conftest.err; then
194
# Append any errors to the config.log.
195
cat conftest.err 1>&AS_MESSAGE_LOG_FD
196
- $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
197
- $SED '/^$/d' conftest.err >conftest.er2
198
+ $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
199
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
200
if diff conftest.exp conftest.er2 >/dev/null; then
203
@@ -1696,6 +1714,12 @@
204
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
205
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
209
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
210
+ lt_cv_sys_max_cmd_len=196608
214
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
215
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
216
@@ -1709,6 +1733,17 @@
221
+ lt_cv_sys_max_cmd_len=102400
223
+ sysv5* | sco5v6* | sysv4.2uw2*)
224
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
225
+ if test -n "$kargmax"; then
226
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
228
+ lt_cv_sys_max_cmd_len=32768
232
# If test is not a shell built-in, we'll probably end up computing a
233
# maximum length that is only half of the actual maximum length, but
234
@@ -1740,7 +1775,7 @@
238
-# --------------------
239
+# ------------------
240
AC_DEFUN([_LT_AC_CHECK_DLFCN],
241
[AC_CHECK_HEADERS(dlfcn.h)dnl
242
])# _LT_AC_CHECK_DLFCN
243
@@ -1748,7 +1783,7 @@
245
# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
246
# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
247
-# ------------------------------------------------------------------
248
+# ---------------------------------------------------------------------
249
AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
250
[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
251
if test "$cross_compiling" = yes; then :
252
@@ -1814,6 +1849,8 @@
253
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
254
/* dlclose (self); */
261
@@ -1824,7 +1861,7 @@
263
x$lt_dlno_uscore) $1 ;;
264
x$lt_dlneed_uscore) $2 ;;
265
- x$lt_unknown|x*) $3 ;;
266
+ x$lt_dlunknown|x*) $3 ;;
270
@@ -1836,7 +1873,7 @@
273
# AC_LIBTOOL_DLOPEN_SELF
274
-# -------------------
275
+# ----------------------
276
AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
277
[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
278
if test "x$enable_dlopen" != xyes; then
279
@@ -1907,7 +1944,7 @@
280
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
282
save_LDFLAGS="$LDFLAGS"
283
- eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
284
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
287
LIBS="$lt_cv_dlopen_libs $LIBS"
288
@@ -1920,7 +1957,7 @@
291
if test "x$lt_cv_dlopen_self" = xyes; then
292
- LDFLAGS="$LDFLAGS $link_static_flag"
293
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
294
AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
295
lt_cv_dlopen_self_static, [dnl
296
_LT_AC_TRY_DLOPEN_SELF(
297
@@ -1980,9 +2017,9 @@
299
# The compiler can only warn and ignore the option if not recognized
300
# So say no if there are warnings
301
- $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
302
- $SED '/^$/d' out/conftest.err >out/conftest.er2
303
- if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
304
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
305
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
306
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
307
_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
310
@@ -2367,10 +2404,15 @@
311
shlibpath_overrides_runpath=yes
312
hardcode_into_libs=yes
315
+ freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
316
+ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
317
shlibpath_overrides_runpath=no
318
hardcode_into_libs=yes
320
+ freebsd*) # from 4.6 on
321
+ shlibpath_overrides_runpath=yes
322
+ hardcode_into_libs=yes
327
@@ -2430,6 +2472,18 @@
328
postinstall_cmds='chmod 555 $lib'
335
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
336
+ soname_spec='${libname}${release}${shared_ext}$major'
337
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
338
+ shlibpath_var=LD_LIBRARY_PATH
339
+ shlibpath_overrides_runpath=no
340
+ hardcode_into_libs=yes
343
irix5* | irix6* | nonstopux*)
345
nonstopux*) version_type=nonstopux ;;
346
@@ -2502,6 +2556,18 @@
347
dynamic_linker='GNU/Linux ld.so'
354
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
355
+ soname_spec='${libname}${release}${shared_ext}$major'
356
+ shlibpath_var=LD_LIBRARY_PATH
357
+ shlibpath_overrides_runpath=no
358
+ hardcode_into_libs=yes
359
+ dynamic_linker='NetBSD ld.elf_so'
365
@@ -2551,6 +2617,7 @@
369
+ sys_lib_dlsearch_path_spec="/usr/lib"
371
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
373
@@ -2594,13 +2661,6 @@
374
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
379
- soname_spec='${libname}${release}${shared_ext}$major'
380
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
381
- shlibpath_var=LD_LIBRARY_PATH
387
@@ -2626,7 +2686,7 @@
391
-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
394
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
395
soname_spec='${libname}${release}${shared_ext}$major'
396
@@ -2659,6 +2719,29 @@
400
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
401
+ version_type=freebsd-elf
404
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
405
+ soname_spec='${libname}${release}${shared_ext}$major'
406
+ shlibpath_var=LD_LIBRARY_PATH
407
+ hardcode_into_libs=yes
408
+ if test "$with_gnu_ld" = yes; then
409
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
410
+ shlibpath_overrides_runpath=no
412
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
413
+ shlibpath_overrides_runpath=yes
416
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
420
+ sys_lib_dlsearch_path_spec='/usr/lib'
425
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
426
@@ -2672,6 +2755,11 @@
428
AC_MSG_RESULT([$dynamic_linker])
429
test "$dynamic_linker" = no && can_build_shared=no
431
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
432
+if test "$GCC" = yes; then
433
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
435
])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
438
@@ -2696,6 +2784,9 @@
439
AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
442
+ if test -z "$LTCFLAGS"; then
443
+ eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
446
# Extract list of available tagged configurations in $ofile.
447
# Note that this assumes the entire list is on one line.
448
@@ -2824,7 +2915,7 @@
452
-#- set the default shared flag to --disable-shared
453
+# set the default shared flag to --disable-shared
454
AC_DEFUN([AC_DISABLE_SHARED],
455
[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
457
@@ -3132,7 +3223,7 @@
460
if test "$GCC" = yes; then
461
- reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
462
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
464
reload_cmds='$LD$reload_flag -o $output$reload_objs'
466
@@ -3232,6 +3323,11 @@
471
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
472
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
475
irix5* | irix6* | nonstopux*)
477
*-32|*"-32 ") libmagic=32-bit;;
478
@@ -3247,7 +3343,7 @@
479
lt_cv_deplibs_check_method=pass_all
483
+netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
484
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
485
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
487
@@ -3277,15 +3373,11 @@
488
lt_cv_deplibs_check_method=pass_all
492
- lt_cv_deplibs_check_method=pass_all
496
lt_cv_deplibs_check_method=pass_all
499
-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
503
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]]'
504
@@ -3306,10 +3398,13 @@
506
lt_cv_deplibs_check_method=pass_all
509
+ lt_cv_deplibs_check_method=pass_all
514
-sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
515
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
516
lt_cv_deplibs_check_method=pass_all
519
@@ -3329,36 +3424,43 @@
520
# Let the user override the test.
523
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
524
- for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
526
- test -z "$ac_dir" && ac_dir=.
527
- tmp_nm="$ac_dir/${ac_tool_prefix}nm"
528
- if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
529
- # Check to see if the nm accepts a BSD-compat flag.
530
- # Adding the `sed 1q' prevents false positives on HP-UX, which says:
531
- # nm: unknown option "B" ignored
532
- # Tru64's nm complains that /dev/null is an invalid object file
533
- case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
534
- */dev/null* | *'Invalid file or object type'*)
535
- lt_cv_path_NM="$tmp_nm -B"
539
- case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
541
- lt_cv_path_NM="$tmp_nm -p"
542
+ lt_nm_to_check="${ac_tool_prefix}nm"
543
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
544
+ lt_nm_to_check="$lt_nm_to_check nm"
546
+ for lt_tmp_nm in $lt_nm_to_check; do
547
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
548
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
550
+ test -z "$ac_dir" && ac_dir=.
551
+ tmp_nm="$ac_dir/$lt_tmp_nm"
552
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
553
+ # Check to see if the nm accepts a BSD-compat flag.
554
+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
555
+ # nm: unknown option "B" ignored
556
+ # Tru64's nm complains that /dev/null is an invalid object file
557
+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
558
+ */dev/null* | *'Invalid file or object type'*)
559
+ lt_cv_path_NM="$tmp_nm -B"
563
- lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
564
- continue # so that we can try to find one that supports BSD flags
565
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
567
+ lt_cv_path_NM="$tmp_nm -p"
571
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
572
+ continue # so that we can try to find one that supports BSD flags
584
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
587
@@ -3464,7 +3566,7 @@
592
+# ------------------
593
AC_DEFUN([_LT_AC_PROG_CXXCPP],
595
AC_REQUIRE([AC_PROG_CXX])
596
@@ -3513,7 +3615,7 @@
602
# enable support for Windows resource files
603
AC_DEFUN([AC_LIBTOOL_RC],
604
[AC_REQUIRE([LT_AC_PROG_RC])
605
@@ -3550,37 +3652,6 @@
606
_LT_COMPILER_BOILERPLATE
607
_LT_LINKER_BOILERPLATE
610
-# Check for any special shared library compilation flags.
612
-_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
613
-if test "$GCC" = no; then
616
- _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
620
-if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
621
- AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
622
- if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
624
- AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
625
- _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
631
-# Check to make sure the static flag actually works.
633
-AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
634
- _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
635
- $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
637
- [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
640
AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
641
AC_LIBTOOL_PROG_COMPILER_PIC($1)
642
AC_LIBTOOL_PROG_CC_C_O($1)
643
@@ -3589,9 +3660,9 @@
644
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
645
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
646
AC_LIBTOOL_SYS_LIB_STRIP
647
-AC_LIBTOOL_DLOPEN_SELF($1)
648
+AC_LIBTOOL_DLOPEN_SELF
650
-# Report which librarie types wil actually be built
651
+# Report which library types will actually be built
652
AC_MSG_CHECKING([if libtool supports shared libraries])
653
AC_MSG_RESULT([$can_build_shared])
655
@@ -3650,6 +3721,7 @@
656
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
657
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
658
_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
659
+_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
660
_LT_AC_TAGVAR(hardcode_automatic, $1)=no
661
_LT_AC_TAGVAR(module_cmds, $1)=
662
_LT_AC_TAGVAR(module_expsym_cmds, $1)=
663
@@ -3677,7 +3749,7 @@
664
lt_simple_compile_test_code="int some_variable = 0;\n"
666
# Code to be used in simple link tests
667
-lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
668
+lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
670
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
672
@@ -3696,12 +3768,12 @@
673
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
674
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
676
- unset lt_cv_prog_gnu_ld
677
+ $as_unset lt_cv_prog_gnu_ld
679
if test -n "${lt_cv_path_LDCXX+set}"; then
680
lt_cv_path_LD=$lt_cv_path_LDCXX
682
- unset lt_cv_path_LD
683
+ $as_unset lt_cv_path_LD
685
test -z "${LDCXX+set}" || LD=$LDCXX
687
@@ -3796,6 +3868,7 @@
694
exp_sym_flag='-bexport'
695
@@ -3833,6 +3906,7 @@
696
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
697
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
701
shared_flag='-shared'
702
if test "$aix_use_runtimelinking" = yes; then
703
@@ -3864,12 +3938,12 @@
704
_LT_AC_SYS_LIBPATH_AIX
705
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
707
- _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"
708
+ _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"
710
if test "$host_cpu" = ia64; then
711
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
712
_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
713
- _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"
714
+ _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"
716
# Determine the default libpath from the value encoded in an empty executable.
717
_LT_AC_SYS_LIBPATH_AIX
718
@@ -3878,16 +3952,26 @@
719
# -berok will link without error, but may produce a broken library.
720
_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
721
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
722
- # -bexpall does not export symbols beginning with underscore (_)
723
- _LT_AC_TAGVAR(always_export_symbols, $1)=yes
724
# Exported symbols can be pulled into shared objects from archives
725
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
726
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
727
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
728
# This is similar to how AIX traditionally builds its shared libraries.
729
- _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'
730
+ _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'
736
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
737
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
738
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
739
+ # support --undefined. This deserves some investigation. FIXME
740
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
742
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
749
@@ -3897,7 +3981,6 @@
754
cygwin* | mingw* | pw32*)
755
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
756
# as there is no search path for DLLs.
757
@@ -3907,7 +3990,7 @@
758
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
760
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
761
- _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'
762
+ _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'
763
# If the export-symbols file already is a .def file (1st line
764
# is EXPORTS), use it as is; otherwise, prepend...
765
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
766
@@ -3916,7 +3999,7 @@
767
echo EXPORTS > $output_objdir/$soname.def;
768
cat $export_symbols >> $output_objdir/$soname.def;
770
- $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'
771
+ $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'
773
_LT_AC_TAGVAR(ld_shlibs, $1)=no
775
@@ -4053,34 +4136,23 @@
778
if test $with_gnu_ld = no; then
779
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
780
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
784
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
786
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
787
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
790
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
793
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
794
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
795
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
802
_LT_AC_TAGVAR(hardcode_direct, $1)=no
803
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
806
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
807
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
808
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
809
- # but as the default
810
- # location of the library.
813
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
814
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
815
@@ -4096,8 +4168,11 @@
820
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
822
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
825
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
828
_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'
829
@@ -4117,8 +4192,11 @@
830
if test "$GXX" = yes; then
831
if test $with_gnu_ld = no; then
834
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
836
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
839
+ _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'
842
_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'
843
@@ -4132,6 +4210,20 @@
848
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
849
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
850
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
851
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
852
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
853
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
854
+ # default) and relocated if they conflict, which is a slow very memory
855
+ # consuming and fragmenting process. To avoid this, we pick a random,
856
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
857
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
858
+ _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'
859
+ _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'
864
@@ -4260,7 +4352,7 @@
869
+ netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
870
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
871
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
873
@@ -4414,19 +4506,6 @@
874
# FIXME: insert proper C++ library support
875
_LT_AC_TAGVAR(ld_shlibs, $1)=no
878
- _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
879
- case $cc_basename in
881
- # FIXME: insert proper C++ library support
882
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
885
- # FIXME: insert proper C++ library support
886
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
893
@@ -4519,8 +4598,59 @@
897
- sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
898
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
899
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
900
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
901
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
902
+ runpath_var='LD_RUN_PATH'
904
+ case $cc_basename in
906
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
907
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
910
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
911
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
915
+ sysv5* | sco3.2v5* | sco5v6*)
916
+ # Note: We can NOT use -z defs as we might desire, because we do not
917
+ # link with -lc, and that would cause any symbols used from libc to
918
+ # always be unresolved, which means just about no library would
919
+ # ever link correctly. If we're not using GNU ld we use -z text
920
+ # though, which does catch some bad symbols but isn't as heavy-handed
922
+ # For security reasons, it is highly recommended that you always
923
+ # use absolute paths for naming shared libraries, and exclude the
924
+ # DT_RUNPATH tag from executables and libraries. But doing so
925
+ # requires that you compile everything twice, which is a pain.
926
+ # So that behaviour is only enabled if SCOABSPATH is set to a
927
+ # non-empty value in the environment. Most likely only useful for
928
+ # creating official distributions of packages.
929
+ # This is a hack until libtool officially supports absolute path
930
+ # names for shared libraries.
931
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
932
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
933
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
934
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
935
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
936
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
937
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
938
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
939
+ runpath_var='LD_RUN_PATH'
941
+ case $cc_basename in
943
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
944
+ _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'
947
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
948
+ _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'
954
@@ -4557,8 +4687,6 @@
955
AC_LIBTOOL_PROG_LD_SHLIBS($1)
956
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
957
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
958
-AC_LIBTOOL_SYS_LIB_STRIP
959
-AC_LIBTOOL_DLOPEN_SELF($1)
961
AC_LIBTOOL_CONFIG($1)
963
@@ -4576,7 +4704,7 @@
964
])# AC_LIBTOOL_LANG_CXX_CONFIG
966
# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
967
-# ------------------------
968
+# ------------------------------------
969
# Figure out "hidden" library dependencies from verbose
970
# compiler output when linking a shared library.
971
# Parse the compiler output and extract the necessary
972
@@ -4709,6 +4837,14 @@
973
# PORTME: override above test on systems where it is broken
977
+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
978
+ # hack all around it, let's just trust "g++" to DTRT.
979
+ _LT_AC_TAGVAR(predep_objects,$1)=
980
+ _LT_AC_TAGVAR(postdep_objects,$1)=
981
+ _LT_AC_TAGVAR(postdeps,$1)=
987
@@ -4718,6 +4854,7 @@
988
_LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
995
@@ -4727,7 +4864,7 @@
996
])# AC_LIBTOOL_POSTDEP_PREDEP
998
# AC_LIBTOOL_LANG_F77_CONFIG
999
-# ------------------------
1000
+# --------------------------
1001
# Ensure that the configuration vars for the C compiler are
1002
# suitably defined. Those variables are subsequently used by
1003
# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
1004
@@ -4811,8 +4948,6 @@
1005
test "$enable_shared" = yes || enable_static=yes
1006
AC_MSG_RESULT([$enable_static])
1008
-test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
1010
_LT_AC_TAGVAR(GCC, $1)="$G77"
1011
_LT_AC_TAGVAR(LD, $1)="$LD"
1013
@@ -4822,8 +4957,6 @@
1014
AC_LIBTOOL_PROG_LD_SHLIBS($1)
1015
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
1016
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
1017
-AC_LIBTOOL_SYS_LIB_STRIP
1020
AC_LIBTOOL_CONFIG($1)
1022
@@ -4880,8 +5013,6 @@
1023
AC_LIBTOOL_PROG_LD_SHLIBS($1)
1024
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
1025
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
1026
-AC_LIBTOOL_SYS_LIB_STRIP
1027
-AC_LIBTOOL_DLOPEN_SELF($1)
1029
AC_LIBTOOL_CONFIG($1)
1031
@@ -4891,7 +5022,7 @@
1034
# AC_LIBTOOL_LANG_RC_CONFIG
1035
-# --------------------------
1036
+# -------------------------
1037
# Ensure that the configuration vars for the Windows resource compiler are
1038
# suitably defined. Those variables are subsequently used by
1039
# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
1040
@@ -4954,7 +5085,7 @@
1041
# Now quote all the things that may contain metacharacters while being
1042
# careful not to overquote the AC_SUBSTed values. We take copies of the
1043
# variables and quote the copies for generation of the libtool script.
1044
- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1045
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
1047
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1048
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1049
@@ -5123,6 +5254,9 @@
1053
+# LTCC compiler flags.
1054
+LTCFLAGS=$lt_LTCFLAGS
1056
# A language-specific compiler.
1057
CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
1059
@@ -5496,9 +5630,18 @@
1061
symcode='[[BCDEGQRST]]'
1073
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
1074
+ symcode='[[ABDT]]'
1077
symcode='[[DFNSTU]]'
1079
@@ -5681,6 +5824,10 @@
1080
# DJGPP does not support shared libraries at all
1081
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
1084
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
1085
+ # Instead, we relocate shared libraries at runtime.
1088
if test -d /usr/nec; then
1089
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
1090
@@ -5750,14 +5897,14 @@
1091
case $cc_basename in
1093
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1094
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
1095
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
1096
if test "$host_cpu" != ia64; then
1097
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
1101
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1102
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
1103
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
1107
@@ -5771,6 +5918,10 @@
1112
+ # This is c89, which is MS Visual C++ (no shared libs)
1113
+ # Anyone wants to do a port?
1115
irix5* | irix6* | nonstopux*)
1116
case $cc_basename in
1118
@@ -5825,7 +5976,7 @@
1123
+ netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1125
osf3* | osf4* | osf5*)
1126
case $cc_basename in
1127
@@ -5850,15 +6001,6 @@
1132
- case $cc_basename in
1134
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
1141
case $cc_basename in
1143
@@ -5900,7 +6042,14 @@
1148
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
1149
+ case $cc_basename in
1151
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1152
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
1153
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1159
@@ -5947,6 +6096,11 @@
1160
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
1164
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
1165
+ # Instead, we relocate shared libraries at runtime.
1169
# Just because we use GCC doesn't mean we suddenly get shared libraries
1170
# on systems that don't support them.
1171
@@ -6061,11 +6215,6 @@
1172
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
1176
- _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
1177
- _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
1181
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
1182
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1183
@@ -6083,7 +6232,7 @@
1184
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1187
- sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1188
+ sysv4 | sysv4.2uw2* | sysv4.3*)
1189
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1190
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
1191
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1192
@@ -6096,6 +6245,12 @@
1196
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
1197
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1198
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
1199
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1203
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1204
_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
1205
@@ -6137,6 +6292,16 @@
1206
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
1211
+# Check to make sure the static flag actually works.
1213
+wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
1214
+AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
1215
+ _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
1216
+ $lt_tmp_static_flag,
1218
+ [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
1222
@@ -6163,6 +6328,12 @@
1224
_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'
1227
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=no
1230
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=no
1233
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1235
@@ -6215,6 +6386,10 @@
1240
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
1246
@@ -6299,7 +6474,7 @@
1247
_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'
1249
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1250
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1251
+ _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'
1252
# If the export-symbols file already is a .def file (1st line
1253
# is EXPORTS), use it as is; otherwise, prepend...
1254
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1255
@@ -6308,12 +6483,27 @@
1256
echo EXPORTS > $output_objdir/$soname.def;
1257
cat $export_symbols >> $output_objdir/$soname.def;
1259
- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1260
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1262
_LT_AC_TAGVAR(ld_shlibs, $1)=no
1267
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
1268
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1269
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
1270
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1271
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
1272
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
1273
+ # default) and relocated if they conflict, which is a slow very memory
1274
+ # consuming and fragmenting process. To avoid this, we pick a random,
1275
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
1276
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
1277
+ _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'
1278
+ _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'
1282
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1284
@@ -6340,12 +6530,13 @@
1285
$echo "local: *; };" >> $output_objdir/$libname.ver~
1286
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
1288
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=no
1290
_LT_AC_TAGVAR(ld_shlibs, $1)=no
1295
+ netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1296
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1297
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1299
@@ -6355,7 +6546,7 @@
1303
- solaris* | sysv5*)
1305
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
1306
_LT_AC_TAGVAR(ld_shlibs, $1)=no
1308
@@ -6376,6 +6567,33 @@
1312
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
1313
+ case `$LD -v 2>&1` in
1314
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
1315
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
1316
+ cat <<_LT_EOF 1>&2
1318
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
1319
+*** reliably create shared libraries on SCO systems. Therefore, libtool
1320
+*** is disabling shared libraries support. We urge you to upgrade GNU
1321
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
1322
+*** your PATH or compiler configuration so that the native linker is
1323
+*** used, and then restart.
1328
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1329
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
1330
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
1331
+ _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'
1333
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
1340
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1342
@@ -6409,7 +6627,7 @@
1343
# Note: this linker hardcodes the directories in LIBPATH if there
1344
# are no directories specified by -L.
1345
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
1346
- if test "$GCC" = yes && test -z "$link_static_flag"; then
1347
+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
1348
# Neither direct hardcoding nor static linking is supported with a
1350
_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
1351
@@ -6443,6 +6661,7 @@
1358
exp_sym_flag='-bexport'
1359
@@ -6480,6 +6699,7 @@
1360
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
1361
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
1365
shared_flag='-shared'
1366
if test "$aix_use_runtimelinking" = yes; then
1367
@@ -6492,11 +6712,11 @@
1368
# chokes on -Wl,-G. The following line is correct:
1371
- if test "$aix_use_runtimelinking" = yes; then
1372
+ if test "$aix_use_runtimelinking" = yes; then
1373
shared_flag='${wl}-G'
1375
shared_flag='${wl}-bM:SRE'
1381
@@ -6510,12 +6730,12 @@
1382
# Determine the default libpath from the value encoded in an empty executable.
1383
_LT_AC_SYS_LIBPATH_AIX
1384
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
1385
- _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"
1386
+ _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"
1388
if test "$host_cpu" = ia64; then
1389
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
1390
_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
1391
- _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"
1392
+ _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"
1394
# Determine the default libpath from the value encoded in an empty executable.
1395
_LT_AC_SYS_LIBPATH_AIX
1396
@@ -6524,13 +6744,11 @@
1397
# -berok will link without error, but may produce a broken library.
1398
_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
1399
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
1400
- # -bexpall does not export symbols beginning with underscore (_)
1401
- _LT_AC_TAGVAR(always_export_symbols, $1)=yes
1402
# Exported symbols can be pulled into shared objects from archives
1403
- _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
1404
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
1405
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
1406
# This is similar to how AIX traditionally builds its shared libraries.
1407
- _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'
1408
+ _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'
1412
@@ -6648,12 +6866,21 @@
1415
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1416
- freebsd* | kfreebsd*-gnu | dragonfly*)
1417
+ freebsd* | dragonfly*)
1418
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1419
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
1420
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
1421
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1424
+ # GNU/kFreeBSD uses gcc -shared to do shared libraries.
1426
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1427
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
1428
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
1429
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1430
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=no
1434
if test "$GCC" = yes; then
1435
@@ -6671,47 +6898,62 @@
1436
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1439
- hpux10* | hpux11*)
1441
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1442
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1444
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1446
+ if test "$with_gnu_ld" = no; then
1447
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1448
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1450
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
1451
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1453
+ # hardcode_minus_L: Not really in the search PATH,
1454
+ # but as the default location of the library.
1455
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
1460
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1464
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1467
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1470
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1476
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
1478
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1481
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1484
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1485
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1489
if test "$with_gnu_ld" = no; then
1490
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1491
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1495
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1497
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
1498
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1499
_LT_AC_TAGVAR(hardcode_direct, $1)=no
1500
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1503
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
1504
- _LT_AC_TAGVAR(hardcode_direct, $1)=no
1505
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1507
- # hardcode_minus_L: Not really in the search PATH,
1508
- # but as the default location of the library.
1509
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
1512
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1513
- _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1514
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
1515
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1517
@@ -6735,7 +6977,7 @@
1518
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1522
+ netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
1523
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1524
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1526
@@ -6813,14 +7055,6 @@
1527
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1531
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1532
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1533
- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
1534
- runpath_var=LD_RUN_PATH
1535
- hardcode_runpath_var=yes
1539
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
1540
if test "$GCC" = yes; then
1541
@@ -6906,36 +7140,45 @@
1546
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
1547
- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
1548
- _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
1549
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
1550
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
1551
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1552
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1553
- hardcode_runpath_var=yes
1554
- runpath_var=LD_RUN_PATH
1556
+ runpath_var='LD_RUN_PATH'
1558
- sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
1559
- _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
1560
if test "$GCC" = yes; then
1561
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1562
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1563
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1565
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1566
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1567
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1569
- runpath_var='LD_RUN_PATH'
1570
- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1574
- _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
1575
- # $CC -shared without GNU ld will not create a library from C++
1576
- # object files and a static libstdc++, better avoid it by now
1577
- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
1578
- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1579
- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
1580
- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
1581
+ sysv5* | sco3.2v5* | sco5v6*)
1582
+ # Note: We can NOT use -z defs as we might desire, because we do not
1583
+ # link with -lc, and that would cause any symbols used from libc to
1584
+ # always be unresolved, which means just about no library would
1585
+ # ever link correctly. If we're not using GNU ld we use -z text
1586
+ # though, which does catch some bad symbols but isn't as heavy-handed
1588
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
1589
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
1590
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1591
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1592
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
1593
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
1594
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1595
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
1596
runpath_var='LD_RUN_PATH'
1598
+ if test "$GCC" = yes; then
1599
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
1600
+ _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'
1602
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
1603
+ _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'
1608
@@ -6953,11 +7196,6 @@
1609
AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
1610
test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
1612
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1613
-if test "$GCC" = yes; then
1614
- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1618
# Do we need to explicitly link libc?
1620
@@ -6985,6 +7223,7 @@
1621
libobjs=conftest.$ac_objext
1623
wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
1624
+ pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
1628
@@ -7153,61 +7392,160 @@
1632
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
1634
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
1636
+# This program is free software; you can redistribute it and/or modify
1637
+# it under the terms of the GNU General Public License as published by
1638
+# the Free Software Foundation; either version 2 of the License, or
1639
+# (at your option) any later version.
1641
+# This program is distributed in the hope that it will be useful, but
1642
+# WITHOUT ANY WARRANTY; without even the implied warranty of
1643
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1644
+# General Public License for more details.
1646
+# You should have received a copy of the GNU General Public License
1647
+# along with this program; if not, write to the Free Software
1648
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1650
+# As a special exception to the GNU General Public License, if you
1651
+# distribute this file as part of a program that contains a
1652
+# configuration script generated by Autoconf, you may include it under
1653
+# the same distribution terms that you use for the rest of that program.
1655
-dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
1656
-dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
1657
-dnl also defines GSTUFF_PKG_ERRORS on error
1658
-AC_DEFUN([PKG_CHECK_MODULES], [
1661
- if test -z "$PKG_CONFIG"; then
1662
- AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
1664
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
1665
+# ----------------------------------
1666
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
1667
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
1668
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
1669
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
1670
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1671
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
1673
+if test -n "$PKG_CONFIG"; then
1674
+ _pkg_min_version=m4_default([$1], [0.9.0])
1675
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
1676
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1677
+ AC_MSG_RESULT([yes])
1679
+ AC_MSG_RESULT([no])
1684
+])# PKG_PROG_PKG_CONFIG
1686
- if test "$PKG_CONFIG" = "no" ; then
1687
- echo "*** The pkg-config script could not be found. Make sure it is"
1688
- echo "*** in your path, or set the PKG_CONFIG environment variable"
1689
- echo "*** to the full path to pkg-config."
1690
- echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
1692
- PKG_CONFIG_MIN_VERSION=0.9.0
1693
- if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
1694
- AC_MSG_CHECKING(for $2)
1696
- if $PKG_CONFIG --exists "$2" ; then
1697
- AC_MSG_RESULT(yes)
1700
- AC_MSG_CHECKING($1_CFLAGS)
1701
- $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
1702
- AC_MSG_RESULT($$1_CFLAGS)
1704
- AC_MSG_CHECKING($1_LIBS)
1705
- $1_LIBS=`$PKG_CONFIG --libs "$2"`
1706
- AC_MSG_RESULT($$1_LIBS)
1710
- ## If we have a custom action on failure, don't print errors, but
1711
- ## do set a variable so people can do so.
1712
- $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
1713
- ifelse([$4], ,echo $$1_PKG_ERRORS,)
1714
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1716
+# Check to see whether a particular set of modules exists. Similar
1717
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
1720
+# Similar to PKG_CHECK_MODULES, make sure that the first instance of
1721
+# this or PKG_CHECK_MODULES is called, or make sure to call
1722
+# PKG_CHECK_EXISTS manually
1723
+# --------------------------------------------------------------
1724
+AC_DEFUN([PKG_CHECK_EXISTS],
1725
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1726
+if test -n "$PKG_CONFIG" && \
1727
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
1728
+ m4_ifval([$2], [$2], [:])
1729
+m4_ifvaln([$3], [else
1734
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
1735
+# ---------------------------------------------
1736
+m4_define([_PKG_CONFIG],
1737
+[if test -n "$PKG_CONFIG"; then
1738
+ if test -n "$$1"; then
1741
+ PKG_CHECK_EXISTS([$3],
1742
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
1746
+ pkg_failed=untried
1750
+# _PKG_SHORT_ERRORS_SUPPORTED
1751
+# -----------------------------
1752
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
1753
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
1754
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1755
+ _pkg_short_errors_supported=yes
1757
+ _pkg_short_errors_supported=no
1759
+])# _PKG_SHORT_ERRORS_SUPPORTED
1762
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
1763
+# [ACTION-IF-NOT-FOUND])
1766
+# Note that if there is a possibility the first call to
1767
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
1768
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
1771
+# --------------------------------------------------------------
1772
+AC_DEFUN([PKG_CHECK_MODULES],
1773
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1774
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
1775
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
1778
+AC_MSG_CHECKING([for $1])
1780
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
1781
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
1783
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
1784
+and $1[]_LIBS to avoid the need to call pkg-config.
1785
+See the pkg-config man page for more details.])
1787
+if test $pkg_failed = yes; then
1788
+ _PKG_SHORT_ERRORS_SUPPORTED
1789
+ if test $_pkg_short_errors_supported = yes; then
1790
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
1792
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
1794
+ # Put the nasty error message in config.log where it belongs
1795
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
1797
- AC_SUBST($1_CFLAGS)
1800
- echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
1801
- echo "*** See http://www.freedesktop.org/software/pkgconfig"
1804
+ ifelse([$4], , [AC_MSG_ERROR(dnl
1805
+[Package requirements ($2) were not met:
1807
- if test $succeeded = yes; then
1808
- ifelse([$3], , :, [$3])
1810
- ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
1815
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
1816
+installed software in a non-standard prefix.
1821
+elif test $pkg_failed = untried; then
1822
+ ifelse([$4], , [AC_MSG_FAILURE(dnl
1823
+[The pkg-config script could not be found or is too old. Make sure it
1824
+is in your PATH or set the PKG_CONFIG environment variable to the full
1825
+path to pkg-config.
1829
+To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
1832
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
1833
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
1834
+ AC_MSG_RESULT([yes])
1835
+ ifelse([$3], , :, [$3])
1837
+])# PKG_CHECK_MODULES
1839
diff -urN -x config.guess -x config.sub libgail-gnome-1.1.3.orig/configure libgail-gnome-1.1.3/configure
1840
--- libgail-gnome-1.1.3.orig/configure 2006-01-30 17:42:17.000000000 +0100
1841
+++ libgail-gnome-1.1.3/configure 2006-02-12 20:10:46.000000000 +0100
1843
# include <unistd.h>
1846
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE GAIL_GNOME_MAJOR_VERSION GAIL_GNOME_MINOR_VERSION GAIL_GNOME_MICRO_VERSION GAIL_GNOME_VERSION LT_RELEASE LT_CURRENT LT_REVISION LT_AGE LT_CURRENT_MINUS_AGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL OS_WIN32_TRUE OS_WIN32_FALSE ms_librarian MS_LIB_AVAILABLE_TRUE MS_LIB_AVAILABLE_FALSE GAIL_GNOME_DEBUG_CFLAGS PKG_CONFIG DEPS_CFLAGS DEPS_LIBS TEST_CFLAGS TEST_LIBS INET_LIBS LIBOBJS LTLIBOBJS'
1847
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE GAIL_GNOME_MAJOR_VERSION GAIL_GNOME_MINOR_VERSION GAIL_GNOME_MICRO_VERSION GAIL_GNOME_VERSION LT_RELEASE LT_CURRENT LT_REVISION LT_AGE LT_CURRENT_MINUS_AGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL OS_WIN32_TRUE OS_WIN32_FALSE ms_librarian MS_LIB_AVAILABLE_TRUE MS_LIB_AVAILABLE_FALSE GAIL_GNOME_DEBUG_CFLAGS PKG_CONFIG ac_pt_PKG_CONFIG DEPS_CFLAGS DEPS_LIBS TEST_CFLAGS TEST_LIBS INET_LIBS LIBOBJS LTLIBOBJS'
1850
# Initialize some variables set by options.
1851
@@ -944,6 +944,26 @@
1852
ac_env_FFLAGS_value=$FFLAGS
1853
ac_cv_env_FFLAGS_set=${FFLAGS+set}
1854
ac_cv_env_FFLAGS_value=$FFLAGS
1855
+ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
1856
+ac_env_PKG_CONFIG_value=$PKG_CONFIG
1857
+ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
1858
+ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
1859
+ac_env_DEPS_CFLAGS_set=${DEPS_CFLAGS+set}
1860
+ac_env_DEPS_CFLAGS_value=$DEPS_CFLAGS
1861
+ac_cv_env_DEPS_CFLAGS_set=${DEPS_CFLAGS+set}
1862
+ac_cv_env_DEPS_CFLAGS_value=$DEPS_CFLAGS
1863
+ac_env_DEPS_LIBS_set=${DEPS_LIBS+set}
1864
+ac_env_DEPS_LIBS_value=$DEPS_LIBS
1865
+ac_cv_env_DEPS_LIBS_set=${DEPS_LIBS+set}
1866
+ac_cv_env_DEPS_LIBS_value=$DEPS_LIBS
1867
+ac_env_TEST_CFLAGS_set=${TEST_CFLAGS+set}
1868
+ac_env_TEST_CFLAGS_value=$TEST_CFLAGS
1869
+ac_cv_env_TEST_CFLAGS_set=${TEST_CFLAGS+set}
1870
+ac_cv_env_TEST_CFLAGS_value=$TEST_CFLAGS
1871
+ac_env_TEST_LIBS_set=${TEST_LIBS+set}
1872
+ac_env_TEST_LIBS_value=$TEST_LIBS
1873
+ac_cv_env_TEST_LIBS_set=${TEST_LIBS+set}
1874
+ac_cv_env_TEST_LIBS_value=$TEST_LIBS
1877
# Report the --help message.
1878
@@ -1055,6 +1075,11 @@
1879
CXXCPP C++ preprocessor
1880
F77 Fortran 77 compiler command
1881
FFLAGS Fortran 77 compiler flags
1882
+ PKG_CONFIG path to pkg-config utility
1883
+ DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
1884
+ DEPS_LIBS linker flags for DEPS, overriding pkg-config
1885
+ TEST_CFLAGS C compiler flags for TEST, overriding pkg-config
1886
+ TEST_LIBS linker flags for TEST, overriding pkg-config
1888
Use these variables to override the choices made by `configure' or to help
1889
it to find libraries and programs with nonstandard names/locations.
1890
@@ -1147,7 +1172,7 @@
1892
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1899
@@ -2385,8 +2410,7 @@
1900
cat conftest.err >&5
1901
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1902
(exit $ac_status); } &&
1903
- { ac_try='test -z "$ac_c_werror_flag"
1904
- || test ! -s conftest.err'
1905
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1906
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1909
@@ -2444,8 +2468,7 @@
1910
cat conftest.err >&5
1911
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1912
(exit $ac_status); } &&
1913
- { ac_try='test -z "$ac_c_werror_flag"
1914
- || test ! -s conftest.err'
1915
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1916
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1919
@@ -2561,8 +2584,7 @@
1920
cat conftest.err >&5
1921
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1922
(exit $ac_status); } &&
1923
- { ac_try='test -z "$ac_c_werror_flag"
1924
- || test ! -s conftest.err'
1925
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1926
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1929
@@ -2616,8 +2638,7 @@
1930
cat conftest.err >&5
1931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1932
(exit $ac_status); } &&
1933
- { ac_try='test -z "$ac_c_werror_flag"
1934
- || test ! -s conftest.err'
1935
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1936
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1939
@@ -2662,8 +2683,7 @@
1940
cat conftest.err >&5
1941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942
(exit $ac_status); } &&
1943
- { ac_try='test -z "$ac_c_werror_flag"
1944
- || test ! -s conftest.err'
1945
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1946
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1949
@@ -2707,8 +2727,7 @@
1950
cat conftest.err >&5
1951
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1952
(exit $ac_status); } &&
1953
- { ac_try='test -z "$ac_c_werror_flag"
1954
- || test ! -s conftest.err'
1955
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1956
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1959
@@ -3073,7 +3092,7 @@
1962
if test "$GCC" = yes; then
1963
- reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
1964
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
1966
reload_cmds='$LD$reload_flag -o $output$reload_objs'
1968
@@ -3089,36 +3108,43 @@
1969
# Let the user override the test.
1972
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1973
- for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1974
- IFS="$lt_save_ifs"
1975
- test -z "$ac_dir" && ac_dir=.
1976
- tmp_nm="$ac_dir/${ac_tool_prefix}nm"
1977
- if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1978
- # Check to see if the nm accepts a BSD-compat flag.
1979
- # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1980
- # nm: unknown option "B" ignored
1981
- # Tru64's nm complains that /dev/null is an invalid object file
1982
- case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1983
- */dev/null* | *'Invalid file or object type'*)
1984
- lt_cv_path_NM="$tmp_nm -B"
1988
- case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1990
- lt_cv_path_NM="$tmp_nm -p"
1991
+ lt_nm_to_check="${ac_tool_prefix}nm"
1992
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
1993
+ lt_nm_to_check="$lt_nm_to_check nm"
1995
+ for lt_tmp_nm in $lt_nm_to_check; do
1996
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1997
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
1998
+ IFS="$lt_save_ifs"
1999
+ test -z "$ac_dir" && ac_dir=.
2000
+ tmp_nm="$ac_dir/$lt_tmp_nm"
2001
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
2002
+ # Check to see if the nm accepts a BSD-compat flag.
2003
+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
2004
+ # nm: unknown option "B" ignored
2005
+ # Tru64's nm complains that /dev/null is an invalid object file
2006
+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
2007
+ */dev/null* | *'Invalid file or object type'*)
2008
+ lt_cv_path_NM="$tmp_nm -B"
2012
- lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2013
- continue # so that we can try to find one that supports BSD flags
2014
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2016
+ lt_cv_path_NM="$tmp_nm -p"
2020
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2021
+ continue # so that we can try to find one that supports BSD flags
2030
+ IFS="$lt_save_ifs"
2032
- IFS="$lt_save_ifs"
2033
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
2036
@@ -3226,6 +3252,11 @@
2041
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
2042
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
2045
irix5* | irix6* | nonstopux*)
2047
*-32|*"-32 ") libmagic=32-bit;;
2048
@@ -3241,7 +3272,7 @@
2049
lt_cv_deplibs_check_method=pass_all
2053
+netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
2054
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2055
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
2057
@@ -3271,15 +3302,11 @@
2058
lt_cv_deplibs_check_method=pass_all
2062
- lt_cv_deplibs_check_method=pass_all
2066
lt_cv_deplibs_check_method=pass_all
2069
-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2071
case $host_vendor in
2073
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]'
2074
@@ -3300,10 +3327,13 @@
2076
lt_cv_deplibs_check_method=pass_all
2079
+ lt_cv_deplibs_check_method=pass_all
2084
-sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
2085
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
2086
lt_cv_deplibs_check_method=pass_all
2089
@@ -3321,6 +3351,9 @@
2090
# If no C compiler was specified, use CC.
2093
+# If no C compiler flags were specified, use CFLAGS.
2094
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
2096
# Allow CC to be a program name with arguments.
2099
@@ -3356,7 +3389,7 @@
2102
# Find out which ABI we are using.
2103
- echo '#line 3359 "configure"' > conftest.$ac_ext
2104
+ echo '#line 3392 "configure"' > conftest.$ac_ext
2105
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2106
(eval $ac_compile) 2>&5
2108
@@ -3476,8 +3509,7 @@
2109
cat conftest.err >&5
2110
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2111
(exit $ac_status); } &&
2112
- { ac_try='test -z "$ac_c_werror_flag"
2113
- || test ! -s conftest.err'
2114
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2115
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2118
@@ -3512,6 +3544,26 @@
2119
CFLAGS="$SAVE_CFLAGS"
2123
+ # Find out which ABI we are using.
2124
+ echo 'int i;' > conftest.$ac_ext
2125
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2126
+ (eval $ac_compile) 2>&5
2128
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129
+ (exit $ac_status); }; then
2130
+ case `/usr/bin/file conftest.o` in
2132
+ case $lt_cv_prog_gnu_ld in
2133
+ yes*) LD="${LD-ld} -m elf64_sparc" ;;
2134
+ *) LD="${LD-ld} -64" ;;
2142
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
2143
if test -n "$ac_tool_prefix"; then
2144
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
2145
@@ -4028,8 +4080,7 @@
2146
cat conftest.err >&5
2147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148
(exit $ac_status); } &&
2149
- { ac_try='test -z "$ac_c_werror_flag"
2150
- || test ! -s conftest.err'
2151
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2152
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2155
@@ -4199,8 +4250,7 @@
2156
cat conftest.err >&5
2157
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158
(exit $ac_status); } &&
2159
- { ac_try='test -z "$ac_c_werror_flag"
2160
- || test ! -s conftest.err'
2161
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2162
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2165
@@ -4267,8 +4317,7 @@
2166
cat conftest.err >&5
2167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168
(exit $ac_status); } &&
2169
- { ac_try='test -z "$ac_c_werror_flag"
2170
- || test ! -s conftest.err'
2171
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2172
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2175
@@ -4528,8 +4577,7 @@
2176
cat conftest.err >&5
2177
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178
(exit $ac_status); } &&
2179
- { ac_try='test -z "$ac_cxx_werror_flag"
2180
- || test ! -s conftest.err'
2181
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2182
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185
@@ -4587,8 +4635,7 @@
2186
cat conftest.err >&5
2187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188
(exit $ac_status); } &&
2189
- { ac_try='test -z "$ac_cxx_werror_flag"
2190
- || test ! -s conftest.err'
2191
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2192
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2195
@@ -4659,8 +4706,7 @@
2196
cat conftest.err >&5
2197
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198
(exit $ac_status); } &&
2199
- { ac_try='test -z "$ac_cxx_werror_flag"
2200
- || test ! -s conftest.err'
2201
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2202
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2205
@@ -4704,8 +4750,7 @@
2206
cat conftest.err >&5
2207
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208
(exit $ac_status); } &&
2209
- { ac_try='test -z "$ac_cxx_werror_flag"
2210
- || test ! -s conftest.err'
2211
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2212
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2215
@@ -5068,7 +5113,7 @@
2218
# Provide some information about the compiler.
2219
-echo "$as_me:5071:" \
2220
+echo "$as_me:5116:" \
2221
"checking for Fortran 77 compiler version" >&5
2222
ac_compiler=`set X $ac_compile; echo $2`
2223
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2224
@@ -5114,8 +5159,7 @@
2225
cat conftest.err >&5
2226
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227
(exit $ac_status); } &&
2228
- { ac_try='test -z "$ac_f77_werror_flag"
2229
- || test ! -s conftest.err'
2230
+ { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
2231
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2234
@@ -5164,8 +5208,7 @@
2235
cat conftest.err >&5
2236
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237
(exit $ac_status); } &&
2238
- { ac_try='test -z "$ac_f77_werror_flag"
2239
- || test ! -s conftest.err'
2240
+ { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
2241
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2244
@@ -5271,6 +5314,12 @@
2245
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
2246
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
2250
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
2251
+ lt_cv_sys_max_cmd_len=196608
2255
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
2256
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
2257
@@ -5284,6 +5333,17 @@
2262
+ lt_cv_sys_max_cmd_len=102400
2264
+ sysv5* | sco5v6* | sysv4.2uw2*)
2265
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
2266
+ if test -n "$kargmax"; then
2267
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
2269
+ lt_cv_sys_max_cmd_len=32768
2273
# If test is not a shell built-in, we'll probably end up computing a
2274
# maximum length that is only half of the actual maximum length, but
2275
@@ -5369,9 +5429,18 @@
2277
symcode='[BCDEGQRST]'
2289
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
2295
@@ -5837,6 +5906,7 @@
2296
test -z "$AS" && AS=as
2297
test -z "$CC" && CC=cc
2298
test -z "$LTCC" && LTCC=$CC
2299
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
2300
test -z "$DLLTOOL" && DLLTOOL=dlltool
2301
test -z "$LD" && LD=ld
2302
test -z "$LN_S" && LN_S="ln -s"
2303
@@ -5856,10 +5926,10 @@
2304
if test -n "$RANLIB"; then
2307
- old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
2308
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
2311
- old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
2312
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
2315
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
2316
@@ -6058,6 +6128,9 @@
2317
# If no C compiler was specified, use CC.
2320
+# If no C compiler flags were specified, use CFLAGS.
2321
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
2323
# Allow CC to be a program name with arguments.
2326
@@ -6065,82 +6138,17 @@
2327
# save warnings/boilerplate of simple test code
2328
ac_outfile=conftest.$ac_objext
2329
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
2330
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
2331
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2332
_lt_compiler_boilerplate=`cat conftest.err`
2335
ac_outfile=conftest.$ac_objext
2336
printf "$lt_simple_link_test_code" >conftest.$ac_ext
2337
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
2338
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
2339
_lt_linker_boilerplate=`cat conftest.err`
2344
-# Check for any special shared library compilation flags.
2347
-if test "$GCC" = no; then
2350
- lt_prog_cc_shlib='-belf'
2354
-if test -n "$lt_prog_cc_shlib"; then
2355
- { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
2356
-echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
2357
- if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
2359
- { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
2360
-echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
2361
- lt_cv_prog_cc_can_build_shared=no
2367
-# Check to make sure the static flag actually works.
2369
-echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
2370
-echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
2371
-if test "${lt_prog_compiler_static_works+set}" = set; then
2372
- echo $ECHO_N "(cached) $ECHO_C" >&6
2374
- lt_prog_compiler_static_works=no
2375
- save_LDFLAGS="$LDFLAGS"
2376
- LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
2377
- printf "$lt_simple_link_test_code" > conftest.$ac_ext
2378
- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
2379
- # The linker can only warn and ignore the option if not recognized
2380
- # So say no if there are warnings
2381
- if test -s conftest.err; then
2382
- # Append any errors to the config.log.
2383
- cat conftest.err 1>&5
2384
- $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
2385
- $SED '/^$/d' conftest.err >conftest.er2
2386
- if diff conftest.exp conftest.er2 >/dev/null; then
2387
- lt_prog_compiler_static_works=yes
2390
- lt_prog_compiler_static_works=yes
2394
- LDFLAGS="$save_LDFLAGS"
2397
-echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
2398
-echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
2400
-if test x"$lt_prog_compiler_static_works" = xyes; then
2403
- lt_prog_compiler_static=
2409
lt_prog_compiler_no_builtin_flag=
2411
@@ -6166,17 +6174,17 @@
2412
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2413
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
2414
-e 's:$: $lt_compiler_flag:'`
2415
- (eval echo "\"\$as_me:6169: $lt_compile\"" >&5)
2416
+ (eval echo "\"\$as_me:6177: $lt_compile\"" >&5)
2417
(eval "$lt_compile" 2>conftest.err)
2419
cat conftest.err >&5
2420
- echo "$as_me:6173: \$? = $ac_status" >&5
2421
+ echo "$as_me:6181: \$? = $ac_status" >&5
2422
if (exit $ac_status) && test -s "$ac_outfile"; then
2423
# The compiler can only warn and ignore the option if not recognized
2424
# So say no if there are warnings other than the usual output.
2425
- $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
2426
- $SED '/^$/d' conftest.err >conftest.er2
2427
- if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
2428
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
2429
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2430
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
2431
lt_cv_prog_compiler_rtti_exceptions=yes
2434
@@ -6237,6 +6245,11 @@
2435
lt_prog_compiler_pic='-fno-common'
2439
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2440
+ # Instead, we relocate shared libraries at runtime.
2444
# Just because we use GCC doesn't mean we suddenly get shared libraries
2445
# on systems that don't support them.
2446
@@ -6351,11 +6364,6 @@
2447
lt_prog_compiler_static='-non_shared'
2451
- lt_prog_compiler_pic='-Kpic'
2452
- lt_prog_compiler_static='-dn'
2456
lt_prog_compiler_pic='-KPIC'
2457
lt_prog_compiler_static='-Bstatic'
2458
@@ -6373,7 +6381,7 @@
2459
lt_prog_compiler_static='-Bstatic'
2462
- sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2463
+ sysv4 | sysv4.2uw2* | sysv4.3*)
2464
lt_prog_compiler_wl='-Wl,'
2465
lt_prog_compiler_pic='-KPIC'
2466
lt_prog_compiler_static='-Bstatic'
2467
@@ -6386,6 +6394,12 @@
2471
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
2472
+ lt_prog_compiler_wl='-Wl,'
2473
+ lt_prog_compiler_pic='-KPIC'
2474
+ lt_prog_compiler_static='-Bstatic'
2478
lt_prog_compiler_wl='-Wl,'
2479
lt_prog_compiler_can_build_shared=no
2480
@@ -6428,17 +6442,17 @@
2481
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2482
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
2483
-e 's:$: $lt_compiler_flag:'`
2484
- (eval echo "\"\$as_me:6431: $lt_compile\"" >&5)
2485
+ (eval echo "\"\$as_me:6445: $lt_compile\"" >&5)
2486
(eval "$lt_compile" 2>conftest.err)
2488
cat conftest.err >&5
2489
- echo "$as_me:6435: \$? = $ac_status" >&5
2490
+ echo "$as_me:6449: \$? = $ac_status" >&5
2491
if (exit $ac_status) && test -s "$ac_outfile"; then
2492
# The compiler can only warn and ignore the option if not recognized
2493
# So say no if there are warnings other than the usual output.
2494
- $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
2495
- $SED '/^$/d' conftest.err >conftest.er2
2496
- if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
2497
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
2498
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2499
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
2500
lt_prog_compiler_pic_works=yes
2503
@@ -6469,6 +6483,48 @@
2508
+# Check to make sure the static flag actually works.
2510
+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
2511
+echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
2512
+echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
2513
+if test "${lt_prog_compiler_static_works+set}" = set; then
2514
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2516
+ lt_prog_compiler_static_works=no
2517
+ save_LDFLAGS="$LDFLAGS"
2518
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
2519
+ printf "$lt_simple_link_test_code" > conftest.$ac_ext
2520
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
2521
+ # The linker can only warn and ignore the option if not recognized
2522
+ # So say no if there are warnings
2523
+ if test -s conftest.err; then
2524
+ # Append any errors to the config.log.
2525
+ cat conftest.err 1>&5
2526
+ $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
2527
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2528
+ if diff conftest.exp conftest.er2 >/dev/null; then
2529
+ lt_prog_compiler_static_works=yes
2532
+ lt_prog_compiler_static_works=yes
2536
+ LDFLAGS="$save_LDFLAGS"
2539
+echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
2540
+echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
2542
+if test x"$lt_prog_compiler_static_works" = xyes; then
2545
+ lt_prog_compiler_static=
2549
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
2550
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
2551
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
2552
@@ -6490,18 +6546,18 @@
2553
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2554
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
2555
-e 's:$: $lt_compiler_flag:'`
2556
- (eval echo "\"\$as_me:6493: $lt_compile\"" >&5)
2557
+ (eval echo "\"\$as_me:6549: $lt_compile\"" >&5)
2558
(eval "$lt_compile" 2>out/conftest.err)
2560
cat out/conftest.err >&5
2561
- echo "$as_me:6497: \$? = $ac_status" >&5
2562
+ echo "$as_me:6553: \$? = $ac_status" >&5
2563
if (exit $ac_status) && test -s out/conftest2.$ac_objext
2565
# The compiler can only warn and ignore the option if not recognized
2566
# So say no if there are warnings
2567
- $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
2568
- $SED '/^$/d' out/conftest.err >out/conftest.er2
2569
- if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2570
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
2571
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
2572
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2573
lt_cv_prog_compiler_c_o=yes
2576
@@ -6601,6 +6657,10 @@
2581
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
2587
@@ -6685,7 +6745,7 @@
2588
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
2590
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
2591
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
2592
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
2593
# If the export-symbols file already is a .def file (1st line
2594
# is EXPORTS), use it as is; otherwise, prepend...
2595
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
2596
@@ -6694,12 +6754,27 @@
2597
echo EXPORTS > $output_objdir/$soname.def;
2598
cat $export_symbols >> $output_objdir/$soname.def;
2600
- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
2601
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
2608
+ hardcode_direct=no
2609
+ hardcode_shlibpath_var=no
2610
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
2611
+ export_dynamic_flag_spec='${wl}-E'
2612
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
2613
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
2614
+ # default) and relocated if they conflict, which is a slow very memory
2615
+ # consuming and fragmenting process. To avoid this, we pick a random,
2616
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
2617
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
2618
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
2619
+ 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'
2623
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
2625
@@ -6726,12 +6801,13 @@
2626
$echo "local: *; };" >> $output_objdir/$libname.ver~
2627
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
2629
+ link_all_deplibs=no
2636
+ netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
2637
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2638
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
2640
@@ -6741,7 +6817,7 @@
2644
- solaris* | sysv5*)
2646
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
2649
@@ -6762,6 +6838,33 @@
2653
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
2654
+ case `$LD -v 2>&1` in
2655
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
2657
+ cat <<_LT_EOF 1>&2
2659
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
2660
+*** reliably create shared libraries on SCO systems. Therefore, libtool
2661
+*** is disabling shared libraries support. We urge you to upgrade GNU
2662
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
2663
+*** your PATH or compiler configuration so that the native linker is
2664
+*** used, and then restart.
2669
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
2670
+ hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
2671
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
2672
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
2681
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
2683
@@ -6795,7 +6898,7 @@
2684
# Note: this linker hardcodes the directories in LIBPATH if there
2685
# are no directories specified by -L.
2686
hardcode_minus_L=yes
2687
- if test "$GCC" = yes && test -z "$link_static_flag"; then
2688
+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
2689
# Neither direct hardcoding nor static linking is supported with a
2691
hardcode_direct=unsupported
2692
@@ -6829,6 +6932,7 @@
2699
exp_sym_flag='-bexport'
2700
@@ -6866,6 +6970,7 @@
2701
hardcode_libdir_flag_spec='-L$libdir'
2702
hardcode_libdir_separator=
2706
shared_flag='-shared'
2707
if test "$aix_use_runtimelinking" = yes; then
2708
@@ -6878,11 +6983,11 @@
2709
# chokes on -Wl,-G. The following line is correct:
2712
- if test "$aix_use_runtimelinking" = yes; then
2713
+ if test "$aix_use_runtimelinking" = yes; then
2714
shared_flag='${wl}-G'
2716
shared_flag='${wl}-bM:SRE'
2722
@@ -6918,8 +7023,7 @@
2723
cat conftest.err >&5
2724
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725
(exit $ac_status); } &&
2726
- { ac_try='test -z "$ac_c_werror_flag"
2727
- || test ! -s conftest.err'
2728
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2729
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732
@@ -6947,12 +7051,12 @@
2733
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
2735
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
2736
- 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"
2737
+ 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"
2739
if test "$host_cpu" = ia64; then
2740
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
2741
allow_undefined_flag="-z nodefs"
2742
- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
2743
+ 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"
2745
# Determine the default libpath from the value encoded in an empty executable.
2746
cat >conftest.$ac_ext <<_ACEOF
2747
@@ -6979,8 +7083,7 @@
2748
cat conftest.err >&5
2749
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750
(exit $ac_status); } &&
2751
- { ac_try='test -z "$ac_c_werror_flag"
2752
- || test ! -s conftest.err'
2753
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2754
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2757
@@ -7012,13 +7115,11 @@
2758
# -berok will link without error, but may produce a broken library.
2759
no_undefined_flag=' ${wl}-bernotok'
2760
allow_undefined_flag=' ${wl}-berok'
2761
- # -bexpall does not export symbols beginning with underscore (_)
2762
- always_export_symbols=yes
2763
# Exported symbols can be pulled into shared objects from archives
2764
- whole_archive_flag_spec=' '
2765
+ whole_archive_flag_spec='$convenience'
2766
archive_cmds_need_lc=yes
2767
# This is similar to how AIX traditionally builds its shared libraries.
2768
- archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
2769
+ 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'
2773
@@ -7136,11 +7237,20 @@
2776
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
2777
- freebsd* | kfreebsd*-gnu | dragonfly*)
2778
+ freebsd* | dragonfly*)
2779
+ archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
2780
+ hardcode_libdir_flag_spec='-R$libdir'
2781
+ hardcode_direct=yes
2782
+ hardcode_shlibpath_var=no
2785
+ # GNU/kFreeBSD uses gcc -shared to do shared libraries.
2787
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
2788
hardcode_libdir_flag_spec='-R$libdir'
2790
hardcode_shlibpath_var=no
2791
+ link_all_deplibs=no
2795
@@ -7159,47 +7269,62 @@
2796
export_dynamic_flag_spec='${wl}-E'
2799
- hpux10* | hpux11*)
2801
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
2802
+ archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
2804
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
2806
+ if test "$with_gnu_ld" = no; then
2807
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
2808
+ hardcode_libdir_separator=:
2810
+ hardcode_direct=yes
2811
+ export_dynamic_flag_spec='${wl}-E'
2813
+ # hardcode_minus_L: Not really in the search PATH,
2814
+ # but as the default location of the library.
2815
+ hardcode_minus_L=yes
2820
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
2824
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
2827
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
2830
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
2836
- archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
2838
+ archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
2841
+ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
2844
- archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
2845
+ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
2849
if test "$with_gnu_ld" = no; then
2850
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
2851
+ hardcode_libdir_separator=:
2855
- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
2857
hardcode_libdir_flag_spec_ld='+b $libdir'
2858
- hardcode_libdir_separator=:
2859
- hardcode_direct=no
2860
- hardcode_shlibpath_var=no
2863
- hardcode_libdir_flag_spec='-L$libdir'
2865
hardcode_shlibpath_var=no
2867
- # hardcode_minus_L: Not really in the search PATH,
2868
- # but as the default location of the library.
2869
- hardcode_minus_L=yes
2872
- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
2873
- hardcode_libdir_separator=:
2875
export_dynamic_flag_spec='${wl}-E'
2877
@@ -7223,7 +7348,7 @@
2878
link_all_deplibs=yes
2882
+ netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
2883
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2884
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
2886
@@ -7301,14 +7426,6 @@
2887
hardcode_libdir_separator=:
2891
- archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
2892
- hardcode_shlibpath_var=no
2893
- export_dynamic_flag_spec='${wl}-Bexport'
2894
- runpath_var=LD_RUN_PATH
2895
- hardcode_runpath_var=yes
2899
no_undefined_flag=' -z text'
2900
if test "$GCC" = yes; then
2901
@@ -7394,36 +7511,45 @@
2906
- archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
2907
- hardcode_direct=yes
2908
- hardcode_minus_L=no
2909
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
2910
+ no_undefined_flag='${wl}-z,text'
2911
+ archive_cmds_need_lc=no
2912
hardcode_shlibpath_var=no
2913
- hardcode_runpath_var=yes
2914
- runpath_var=LD_RUN_PATH
2916
+ runpath_var='LD_RUN_PATH'
2918
- sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
2919
- no_undefined_flag='${wl}-z ${wl}text'
2920
if test "$GCC" = yes; then
2921
- archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
2922
+ archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2923
+ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2925
- archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
2926
+ archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2927
+ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2929
- runpath_var='LD_RUN_PATH'
2930
- hardcode_shlibpath_var=no
2934
- no_undefined_flag=' -z text'
2935
- # $CC -shared without GNU ld will not create a library from C++
2936
- # object files and a static libstdc++, better avoid it by now
2937
- archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
2938
- archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
2939
- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
2940
- hardcode_libdir_flag_spec=
2941
+ sysv5* | sco3.2v5* | sco5v6*)
2942
+ # Note: We can NOT use -z defs as we might desire, because we do not
2943
+ # link with -lc, and that would cause any symbols used from libc to
2944
+ # always be unresolved, which means just about no library would
2945
+ # ever link correctly. If we're not using GNU ld we use -z text
2946
+ # though, which does catch some bad symbols but isn't as heavy-handed
2948
+ no_undefined_flag='${wl}-z,text'
2949
+ allow_undefined_flag='${wl}-z,nodefs'
2950
+ archive_cmds_need_lc=no
2951
hardcode_shlibpath_var=no
2952
+ hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
2953
+ hardcode_libdir_separator=':'
2954
+ link_all_deplibs=yes
2955
+ export_dynamic_flag_spec='${wl}-Bexport'
2956
runpath_var='LD_RUN_PATH'
2958
+ if test "$GCC" = yes; then
2959
+ archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2960
+ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2962
+ archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2963
+ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2968
@@ -7442,11 +7568,6 @@
2969
echo "${ECHO_T}$ld_shlibs" >&6
2970
test "$ld_shlibs" = no && can_build_shared=no
2972
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
2973
-if test "$GCC" = yes; then
2974
- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
2978
# Do we need to explicitly link libc?
2980
@@ -7479,6 +7600,7 @@
2981
libobjs=conftest.$ac_objext
2983
wl=$lt_prog_compiler_wl
2984
+ pic_flag=$lt_prog_compiler_pic
2988
@@ -7760,10 +7882,15 @@
2989
shlibpath_overrides_runpath=yes
2990
hardcode_into_libs=yes
2993
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
2994
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
2995
shlibpath_overrides_runpath=no
2996
hardcode_into_libs=yes
2998
+ freebsd*) # from 4.6 on
2999
+ shlibpath_overrides_runpath=yes
3000
+ hardcode_into_libs=yes
3005
@@ -7823,6 +7950,18 @@
3006
postinstall_cmds='chmod 555 $lib'
3010
+ version_type=linux
3011
+ need_lib_prefix=no
3013
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3014
+ soname_spec='${libname}${release}${shared_ext}$major'
3015
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
3016
+ shlibpath_var=LD_LIBRARY_PATH
3017
+ shlibpath_overrides_runpath=no
3018
+ hardcode_into_libs=yes
3021
irix5* | irix6* | nonstopux*)
3023
nonstopux*) version_type=nonstopux ;;
3024
@@ -7895,7 +8034,7 @@
3025
dynamic_linker='GNU/Linux ld.so'
3033
@@ -7904,11 +8043,23 @@
3034
shlibpath_var=LD_LIBRARY_PATH
3035
shlibpath_overrides_runpath=no
3036
hardcode_into_libs=yes
3037
- dynamic_linker='GNU ld.so'
3038
+ dynamic_linker='NetBSD ld.elf_so'
3042
- version_type=sunos
3044
+ version_type=linux
3045
+ need_lib_prefix=no
3047
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3048
+ soname_spec='${libname}${release}${shared_ext}$major'
3049
+ shlibpath_var=LD_LIBRARY_PATH
3050
+ shlibpath_overrides_runpath=no
3051
+ hardcode_into_libs=yes
3052
+ dynamic_linker='GNU ld.so'
3056
+ version_type=sunos
3059
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3060
@@ -7944,6 +8095,7 @@
3064
+ sys_lib_dlsearch_path_spec="/usr/lib"
3066
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
3068
@@ -7987,13 +8139,6 @@
3069
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
3074
- soname_spec='${libname}${release}${shared_ext}$major'
3075
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3076
- shlibpath_var=LD_LIBRARY_PATH
3082
@@ -8019,7 +8164,7 @@
3086
-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3089
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3090
soname_spec='${libname}${release}${shared_ext}$major'
3091
@@ -8052,6 +8197,29 @@
3095
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3096
+ version_type=freebsd-elf
3097
+ need_lib_prefix=no
3099
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
3100
+ soname_spec='${libname}${release}${shared_ext}$major'
3101
+ shlibpath_var=LD_LIBRARY_PATH
3102
+ hardcode_into_libs=yes
3103
+ if test "$with_gnu_ld" = yes; then
3104
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
3105
+ shlibpath_overrides_runpath=no
3107
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
3108
+ shlibpath_overrides_runpath=yes
3111
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
3115
+ sys_lib_dlsearch_path_spec='/usr/lib'
3120
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3121
@@ -8067,6 +8235,11 @@
3122
echo "${ECHO_T}$dynamic_linker" >&6
3123
test "$dynamic_linker" = no && can_build_shared=no
3125
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
3126
+if test "$GCC" = yes; then
3127
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
3130
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
3131
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
3133
@@ -8198,8 +8371,7 @@
3134
cat conftest.err >&5
3135
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136
(exit $ac_status); } &&
3137
- { ac_try='test -z "$ac_c_werror_flag"
3138
- || test ! -s conftest.err'
3139
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3140
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3143
@@ -8302,8 +8474,7 @@
3144
cat conftest.err >&5
3145
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146
(exit $ac_status); } &&
3147
- { ac_try='test -z "$ac_c_werror_flag"
3148
- || test ! -s conftest.err'
3149
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3150
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3153
@@ -8368,8 +8539,7 @@
3154
cat conftest.err >&5
3155
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156
(exit $ac_status); } &&
3157
- { ac_try='test -z "$ac_c_werror_flag"
3158
- || test ! -s conftest.err'
3159
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3160
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3163
@@ -8462,8 +8632,7 @@
3164
cat conftest.err >&5
3165
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166
(exit $ac_status); } &&
3167
- { ac_try='test -z "$ac_c_werror_flag"
3168
- || test ! -s conftest.err'
3169
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3170
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173
@@ -8528,8 +8697,7 @@
3174
cat conftest.err >&5
3175
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176
(exit $ac_status); } &&
3177
- { ac_try='test -z "$ac_c_werror_flag"
3178
- || test ! -s conftest.err'
3179
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3180
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3183
@@ -8595,8 +8763,7 @@
3184
cat conftest.err >&5
3185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186
(exit $ac_status); } &&
3187
- { ac_try='test -z "$ac_c_werror_flag"
3188
- || test ! -s conftest.err'
3189
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3190
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3193
@@ -8662,8 +8829,7 @@
3194
cat conftest.err >&5
3195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196
(exit $ac_status); } &&
3197
- { ac_try='test -z "$ac_c_werror_flag"
3198
- || test ! -s conftest.err'
3199
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3200
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203
@@ -8722,7 +8888,7 @@
3204
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
3206
save_LDFLAGS="$LDFLAGS"
3207
- eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
3208
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
3211
LIBS="$lt_cv_dlopen_libs $LIBS"
3212
@@ -8738,7 +8904,7 @@
3213
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
3214
lt_status=$lt_dlunknown
3215
cat > conftest.$ac_ext <<EOF
3216
-#line 8741 "configure"
3217
+#line 8907 "configure"
3218
#include "confdefs.h"
3221
@@ -8795,6 +8961,8 @@
3222
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
3223
/* dlclose (self); */
3226
+ puts (dlerror ());
3230
@@ -8809,7 +8977,7 @@
3232
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
3233
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
3234
- x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
3235
+ x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
3238
# compilation failed
3239
@@ -8824,7 +8992,7 @@
3240
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
3242
if test "x$lt_cv_dlopen_self" = xyes; then
3243
- LDFLAGS="$LDFLAGS $link_static_flag"
3244
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
3245
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
3246
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
3247
if test "${lt_cv_dlopen_self_static+set}" = set; then
3248
@@ -8836,7 +9004,7 @@
3249
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
3250
lt_status=$lt_dlunknown
3251
cat > conftest.$ac_ext <<EOF
3252
-#line 8839 "configure"
3253
+#line 9007 "configure"
3254
#include "confdefs.h"
3257
@@ -8893,6 +9061,8 @@
3258
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
3259
/* dlclose (self); */
3262
+ puts (dlerror ());
3266
@@ -8907,7 +9077,7 @@
3268
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
3269
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
3270
- x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
3271
+ x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
3274
# compilation failed
3275
@@ -8940,7 +9110,7 @@
3279
-# Report which librarie types wil actually be built
3280
+# Report which library types will actually be built
3281
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
3282
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
3283
echo "$as_me:$LINENO: result: $can_build_shared" >&5
3284
@@ -8990,7 +9160,7 @@
3285
# Now quote all the things that may contain metacharacters while being
3286
# careful not to overquote the AC_SUBSTed values. We take copies of the
3287
# variables and quote the copies for generation of the libtool script.
3288
- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
3289
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
3291
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
3292
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
3293
@@ -9156,6 +9326,9 @@
3297
+# LTCC compiler flags.
3298
+LTCFLAGS=$lt_LTCFLAGS
3300
# A language-specific compiler.
3303
@@ -9486,6 +9659,9 @@
3304
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
3307
+ if test -z "$LTCFLAGS"; then
3308
+ eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
3311
# Extract list of available tagged configurations in $ofile.
3312
# Note that this assumes the entire list is on one line.
3313
@@ -9538,6 +9714,7 @@
3314
hardcode_libdir_flag_spec_ld_CXX=
3315
hardcode_libdir_separator_CXX=
3316
hardcode_minus_L_CXX=no
3317
+hardcode_shlibpath_var_CXX=unsupported
3318
hardcode_automatic_CXX=no
3320
module_expsym_cmds_CXX=
3321
@@ -9565,13 +9742,16 @@
3322
lt_simple_compile_test_code="int some_variable = 0;\n"
3324
# Code to be used in simple link tests
3325
-lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
3326
+lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
3328
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
3330
# If no C compiler was specified, use CC.
3333
+# If no C compiler flags were specified, use CFLAGS.
3334
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
3336
# Allow CC to be a program name with arguments.
3339
@@ -9579,13 +9759,13 @@
3340
# save warnings/boilerplate of simple test code
3341
ac_outfile=conftest.$ac_objext
3342
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
3343
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
3344
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
3345
_lt_compiler_boilerplate=`cat conftest.err`
3348
ac_outfile=conftest.$ac_objext
3349
printf "$lt_simple_link_test_code" >conftest.$ac_ext
3350
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
3351
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
3352
_lt_linker_boilerplate=`cat conftest.err`
3355
@@ -9600,12 +9780,12 @@
3356
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
3357
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
3359
- unset lt_cv_prog_gnu_ld
3360
+ $as_unset lt_cv_prog_gnu_ld
3362
if test -n "${lt_cv_path_LDCXX+set}"; then
3363
lt_cv_path_LD=$lt_cv_path_LDCXX
3365
- unset lt_cv_path_LD
3366
+ $as_unset lt_cv_path_LD
3368
test -z "${LDCXX+set}" || LD=$LDCXX
3370
@@ -9816,6 +9996,7 @@
3377
exp_sym_flag='-bexport'
3378
@@ -9853,6 +10034,7 @@
3379
hardcode_libdir_flag_spec_CXX='-L$libdir'
3380
hardcode_libdir_separator_CXX=
3384
shared_flag='-shared'
3385
if test "$aix_use_runtimelinking" = yes; then
3386
@@ -9905,8 +10087,7 @@
3387
cat conftest.err >&5
3388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389
(exit $ac_status); } &&
3390
- { ac_try='test -z "$ac_cxx_werror_flag"
3391
- || test ! -s conftest.err'
3392
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3393
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3396
@@ -9935,12 +10116,12 @@
3398
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
3400
- archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3401
+ 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"
3403
if test "$host_cpu" = ia64; then
3404
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
3405
allow_undefined_flag_CXX="-z nodefs"
3406
- archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
3407
+ 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"
3409
# Determine the default libpath from the value encoded in an empty executable.
3410
cat >conftest.$ac_ext <<_ACEOF
3411
@@ -9967,8 +10148,7 @@
3412
cat conftest.err >&5
3413
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414
(exit $ac_status); } &&
3415
- { ac_try='test -z "$ac_cxx_werror_flag"
3416
- || test ! -s conftest.err'
3417
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3418
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421
@@ -10000,16 +10180,26 @@
3422
# -berok will link without error, but may produce a broken library.
3423
no_undefined_flag_CXX=' ${wl}-bernotok'
3424
allow_undefined_flag_CXX=' ${wl}-berok'
3425
- # -bexpall does not export symbols beginning with underscore (_)
3426
- always_export_symbols_CXX=yes
3427
# Exported symbols can be pulled into shared objects from archives
3428
- whole_archive_flag_spec_CXX=' '
3429
+ whole_archive_flag_spec_CXX='$convenience'
3430
archive_cmds_need_lc_CXX=yes
3431
# This is similar to how AIX traditionally builds its shared libraries.
3432
- archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
3433
+ 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'
3439
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3440
+ allow_undefined_flag_CXX=unsupported
3441
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
3442
+ # support --undefined. This deserves some investigation. FIXME
3443
+ archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3450
case $cc_basename in
3452
@@ -10019,7 +10209,6 @@
3457
cygwin* | mingw* | pw32*)
3458
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
3459
# as there is no search path for DLLs.
3460
@@ -10029,7 +10218,7 @@
3461
enable_shared_with_static_runtimes_CXX=yes
3463
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3464
- archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3465
+ 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'
3466
# If the export-symbols file already is a .def file (1st line
3467
# is EXPORTS), use it as is; otherwise, prepend...
3468
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3469
@@ -10038,7 +10227,7 @@
3470
echo EXPORTS > $output_objdir/$soname.def;
3471
cat $export_symbols >> $output_objdir/$soname.def;
3473
- $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'
3474
+ $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'
3478
@@ -10175,33 +10364,22 @@
3481
if test $with_gnu_ld = no; then
3482
+ hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
3483
+ hardcode_libdir_separator_CXX=:
3487
- hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
3489
hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
3490
- hardcode_libdir_separator_CXX=:
3493
- hardcode_libdir_flag_spec_CXX='-L$libdir'
3496
- hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
3497
- hardcode_libdir_separator_CXX=:
3498
export_dynamic_flag_spec_CXX='${wl}-E'
3504
- hardcode_direct_CXX=no
3505
- hardcode_shlibpath_var_CXX=no
3509
hardcode_direct_CXX=no
3510
hardcode_shlibpath_var_CXX=no
3511
- hardcode_minus_L_CXX=yes # Not in the search PATH,
3512
- # but as the default
3513
- # location of the library.
3516
hardcode_direct_CXX=yes
3517
@@ -10218,8 +10396,11 @@
3522
- archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
3524
+ archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3527
+ archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3530
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3531
@@ -10239,8 +10420,11 @@
3532
if test "$GXX" = yes; then
3533
if test $with_gnu_ld = no; then
3536
- archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
3538
+ archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3541
+ archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3544
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'
3545
@@ -10254,6 +10438,20 @@
3550
+ hardcode_direct_CXX=no
3551
+ hardcode_shlibpath_var_CXX=no
3552
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
3553
+ export_dynamic_flag_spec_CXX='${wl}-E'
3554
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
3555
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
3556
+ # default) and relocated if they conflict, which is a slow very memory
3557
+ # consuming and fragmenting process. To avoid this, we pick a random,
3558
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
3559
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
3560
+ 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'
3561
+ 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'
3564
case $cc_basename in
3566
@@ -10382,7 +10580,7 @@
3571
+ netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3572
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3573
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3575
@@ -10536,19 +10734,6 @@
3576
# FIXME: insert proper C++ library support
3580
- archive_cmds_need_lc_CXX=no
3581
- case $cc_basename in
3583
- # FIXME: insert proper C++ library support
3587
- # FIXME: insert proper C++ library support
3593
case $cc_basename in
3595
@@ -10641,8 +10826,59 @@
3599
- sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
3600
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
3601
+ no_undefined_flag_CXX='${wl}-z,text'
3602
+ archive_cmds_need_lc_CXX=no
3603
+ hardcode_shlibpath_var_CXX=no
3604
+ runpath_var='LD_RUN_PATH'
3606
+ case $cc_basename in
3608
+ archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3609
+ archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3612
+ archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3613
+ archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3617
+ sysv5* | sco3.2v5* | sco5v6*)
3618
+ # Note: We can NOT use -z defs as we might desire, because we do not
3619
+ # link with -lc, and that would cause any symbols used from libc to
3620
+ # always be unresolved, which means just about no library would
3621
+ # ever link correctly. If we're not using GNU ld we use -z text
3622
+ # though, which does catch some bad symbols but isn't as heavy-handed
3624
+ # For security reasons, it is highly recommended that you always
3625
+ # use absolute paths for naming shared libraries, and exclude the
3626
+ # DT_RUNPATH tag from executables and libraries. But doing so
3627
+ # requires that you compile everything twice, which is a pain.
3628
+ # So that behaviour is only enabled if SCOABSPATH is set to a
3629
+ # non-empty value in the environment. Most likely only useful for
3630
+ # creating official distributions of packages.
3631
+ # This is a hack until libtool officially supports absolute path
3632
+ # names for shared libraries.
3633
+ no_undefined_flag_CXX='${wl}-z,text'
3634
+ allow_undefined_flag_CXX='${wl}-z,nodefs'
3635
archive_cmds_need_lc_CXX=no
3636
+ hardcode_shlibpath_var_CXX=no
3637
+ hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
3638
+ hardcode_libdir_separator_CXX=':'
3639
+ link_all_deplibs_CXX=yes
3640
+ export_dynamic_flag_spec_CXX='${wl}-Bexport'
3641
+ runpath_var='LD_RUN_PATH'
3643
+ case $cc_basename in
3645
+ archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3646
+ archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3649
+ archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3650
+ archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3655
case $cc_basename in
3656
@@ -10777,6 +11013,14 @@
3658
# PORTME: override above test on systems where it is broken
3661
+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
3662
+ # hack all around it, let's just trust "g++" to DTRT.
3663
+ predep_objects_CXX=
3664
+ postdep_objects_CXX=
3669
case $cc_basename in
3671
@@ -10786,6 +11030,7 @@
3672
postdeps_CXX='-lCstd -lCrun'
3679
@@ -10836,6 +11081,10 @@
3680
# DJGPP does not support shared libraries at all
3681
lt_prog_compiler_pic_CXX=
3684
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3685
+ # Instead, we relocate shared libraries at runtime.
3688
if test -d /usr/nec; then
3689
lt_prog_compiler_pic_CXX=-Kconform_pic
3690
@@ -10905,14 +11154,14 @@
3691
case $cc_basename in
3693
lt_prog_compiler_wl_CXX='-Wl,'
3694
- lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
3695
+ lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
3696
if test "$host_cpu" != ia64; then
3697
lt_prog_compiler_pic_CXX='+Z'
3701
lt_prog_compiler_wl_CXX='-Wl,'
3702
- lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
3703
+ lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
3707
@@ -10926,6 +11175,10 @@
3712
+ # This is c89, which is MS Visual C++ (no shared libs)
3713
+ # Anyone wants to do a port?
3715
irix5* | irix6* | nonstopux*)
3716
case $cc_basename in
3718
@@ -10980,7 +11233,7 @@
3723
+ netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3725
osf3* | osf4* | osf5*)
3726
case $cc_basename in
3727
@@ -11005,15 +11258,6 @@
3732
- case $cc_basename in
3734
- lt_prog_compiler_pic_CXX='-fPIC'
3741
case $cc_basename in
3743
@@ -11055,7 +11299,14 @@
3748
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
3749
+ case $cc_basename in
3751
+ lt_prog_compiler_wl_CXX='-Wl,'
3752
+ lt_prog_compiler_pic_CXX='-KPIC'
3753
+ lt_prog_compiler_static_CXX='-Bstatic'
3759
@@ -11091,17 +11342,17 @@
3760
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
3761
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
3762
-e 's:$: $lt_compiler_flag:'`
3763
- (eval echo "\"\$as_me:11094: $lt_compile\"" >&5)
3764
+ (eval echo "\"\$as_me:11345: $lt_compile\"" >&5)
3765
(eval "$lt_compile" 2>conftest.err)
3767
cat conftest.err >&5
3768
- echo "$as_me:11098: \$? = $ac_status" >&5
3769
+ echo "$as_me:11349: \$? = $ac_status" >&5
3770
if (exit $ac_status) && test -s "$ac_outfile"; then
3771
# The compiler can only warn and ignore the option if not recognized
3772
# So say no if there are warnings other than the usual output.
3773
- $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
3774
- $SED '/^$/d' conftest.err >conftest.er2
3775
- if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
3776
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
3777
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
3778
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
3779
lt_prog_compiler_pic_works_CXX=yes
3782
@@ -11132,6 +11383,48 @@
3787
+# Check to make sure the static flag actually works.
3789
+wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
3790
+echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
3791
+echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
3792
+if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
3793
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3795
+ lt_prog_compiler_static_works_CXX=no
3796
+ save_LDFLAGS="$LDFLAGS"
3797
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
3798
+ printf "$lt_simple_link_test_code" > conftest.$ac_ext
3799
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
3800
+ # The linker can only warn and ignore the option if not recognized
3801
+ # So say no if there are warnings
3802
+ if test -s conftest.err; then
3803
+ # Append any errors to the config.log.
3804
+ cat conftest.err 1>&5
3805
+ $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
3806
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
3807
+ if diff conftest.exp conftest.er2 >/dev/null; then
3808
+ lt_prog_compiler_static_works_CXX=yes
3811
+ lt_prog_compiler_static_works_CXX=yes
3815
+ LDFLAGS="$save_LDFLAGS"
3818
+echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
3819
+echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
3821
+if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
3824
+ lt_prog_compiler_static_CXX=
3828
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
3829
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
3830
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
3831
@@ -11153,18 +11446,18 @@
3832
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
3833
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
3834
-e 's:$: $lt_compiler_flag:'`
3835
- (eval echo "\"\$as_me:11156: $lt_compile\"" >&5)
3836
+ (eval echo "\"\$as_me:11449: $lt_compile\"" >&5)
3837
(eval "$lt_compile" 2>out/conftest.err)
3839
cat out/conftest.err >&5
3840
- echo "$as_me:11160: \$? = $ac_status" >&5
3841
+ echo "$as_me:11453: \$? = $ac_status" >&5
3842
if (exit $ac_status) && test -s out/conftest2.$ac_objext
3844
# The compiler can only warn and ignore the option if not recognized
3845
# So say no if there are warnings
3846
- $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
3847
- $SED '/^$/d' out/conftest.err >out/conftest.er2
3848
- if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
3849
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
3850
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
3851
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
3852
lt_cv_prog_compiler_c_o_CXX=yes
3855
@@ -11225,6 +11518,12 @@
3857
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'
3860
+ link_all_deplibs_CXX=no
3863
+ link_all_deplibs_CXX=no
3866
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
3868
@@ -11234,11 +11533,6 @@
3869
echo "${ECHO_T}$ld_shlibs_CXX" >&6
3870
test "$ld_shlibs_CXX" = no && can_build_shared=no
3872
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
3873
-if test "$GCC" = yes; then
3874
- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
3878
# Do we need to explicitly link libc?
3880
@@ -11271,6 +11565,7 @@
3881
libobjs=conftest.$ac_objext
3883
wl=$lt_prog_compiler_wl_CXX
3884
+ pic_flag=$lt_prog_compiler_pic_CXX
3888
@@ -11552,10 +11847,15 @@
3889
shlibpath_overrides_runpath=yes
3890
hardcode_into_libs=yes
3893
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
3894
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
3895
shlibpath_overrides_runpath=no
3896
hardcode_into_libs=yes
3898
+ freebsd*) # from 4.6 on
3899
+ shlibpath_overrides_runpath=yes
3900
+ hardcode_into_libs=yes
3905
@@ -11615,6 +11915,18 @@
3906
postinstall_cmds='chmod 555 $lib'
3910
+ version_type=linux
3911
+ need_lib_prefix=no
3913
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3914
+ soname_spec='${libname}${release}${shared_ext}$major'
3915
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
3916
+ shlibpath_var=LD_LIBRARY_PATH
3917
+ shlibpath_overrides_runpath=no
3918
+ hardcode_into_libs=yes
3921
irix5* | irix6* | nonstopux*)
3923
nonstopux*) version_type=nonstopux ;;
3924
@@ -11687,6 +11999,18 @@
3925
dynamic_linker='GNU/Linux ld.so'
3929
+ version_type=linux
3930
+ need_lib_prefix=no
3932
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3933
+ soname_spec='${libname}${release}${shared_ext}$major'
3934
+ shlibpath_var=LD_LIBRARY_PATH
3935
+ shlibpath_overrides_runpath=no
3936
+ hardcode_into_libs=yes
3937
+ dynamic_linker='NetBSD ld.elf_so'
3943
@@ -11736,6 +12060,7 @@
3947
+ sys_lib_dlsearch_path_spec="/usr/lib"
3949
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
3951
@@ -11779,13 +12104,6 @@
3952
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
3957
- soname_spec='${libname}${release}${shared_ext}$major'
3958
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3959
- shlibpath_var=LD_LIBRARY_PATH
3965
@@ -11811,7 +12129,7 @@
3969
-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3972
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3973
soname_spec='${libname}${release}${shared_ext}$major'
3974
@@ -11844,6 +12162,29 @@
3978
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3979
+ version_type=freebsd-elf
3980
+ need_lib_prefix=no
3982
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
3983
+ soname_spec='${libname}${release}${shared_ext}$major'
3984
+ shlibpath_var=LD_LIBRARY_PATH
3985
+ hardcode_into_libs=yes
3986
+ if test "$with_gnu_ld" = yes; then
3987
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
3988
+ shlibpath_overrides_runpath=no
3990
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
3991
+ shlibpath_overrides_runpath=yes
3994
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
3998
+ sys_lib_dlsearch_path_spec='/usr/lib'
4003
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4004
@@ -11859,6 +12200,11 @@
4005
echo "${ECHO_T}$dynamic_linker" >&6
4006
test "$dynamic_linker" = no && can_build_shared=no
4008
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
4009
+if test "$GCC" = yes; then
4010
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
4013
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
4014
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
4015
hardcode_action_CXX=
4016
@@ -11896,1153 +12242,321 @@
4017
enable_fast_install=needless
4022
-echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
4023
-echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
4024
-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
4025
- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
4026
- test -z "$striplib" && striplib="$STRIP --strip-unneeded"
4027
- echo "$as_me:$LINENO: result: yes" >&5
4028
-echo "${ECHO_T}yes" >&6
4030
-# FIXME - insert some real tests, host_os isn't really good enough
4033
- if test -n "$STRIP" ; then
4034
- striplib="$STRIP -x"
4035
- echo "$as_me:$LINENO: result: yes" >&5
4036
-echo "${ECHO_T}yes" >&6
4038
- echo "$as_me:$LINENO: result: no" >&5
4039
-echo "${ECHO_T}no" >&6
4043
- echo "$as_me:$LINENO: result: no" >&5
4044
-echo "${ECHO_T}no" >&6
4049
-if test "x$enable_dlopen" != xyes; then
4050
- enable_dlopen=unknown
4051
- enable_dlopen_self=unknown
4052
- enable_dlopen_self_static=unknown
4055
- lt_cv_dlopen_libs=
4059
- lt_cv_dlopen="load_add_on"
4060
- lt_cv_dlopen_libs=
4061
- lt_cv_dlopen_self=yes
4063
+# The else clause should only fire when bootstrapping the
4064
+# libtool distribution, otherwise you forgot to ship ltmain.sh
4065
+# with your package, and you will get complaints that there are
4066
+# no rules to generate ltmain.sh.
4067
+if test -f "$ltmain"; then
4068
+ # See if we are running on zsh, and set the options which allow our commands through
4069
+ # without removal of \ escapes.
4070
+ if test -n "${ZSH_VERSION+set}" ; then
4071
+ setopt NO_GLOB_SUBST
4073
+ # Now quote all the things that may contain metacharacters while being
4074
+ # careful not to overquote the AC_SUBSTed values. We take copies of the
4075
+ # variables and quote the copies for generation of the libtool script.
4076
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
4078
+ libname_spec library_names_spec soname_spec extract_expsyms_cmds \
4079
+ old_striplib striplib file_magic_cmd finish_cmds finish_eval \
4080
+ deplibs_check_method reload_flag reload_cmds need_locks \
4081
+ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
4082
+ lt_cv_sys_global_symbol_to_c_name_address \
4083
+ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
4084
+ old_postinstall_cmds old_postuninstall_cmds \
4088
+ lt_prog_compiler_wl_CXX \
4089
+ lt_prog_compiler_pic_CXX \
4090
+ lt_prog_compiler_static_CXX \
4091
+ lt_prog_compiler_no_builtin_flag_CXX \
4092
+ export_dynamic_flag_spec_CXX \
4093
+ thread_safe_flag_spec_CXX \
4094
+ whole_archive_flag_spec_CXX \
4095
+ enable_shared_with_static_runtimes_CXX \
4096
+ old_archive_cmds_CXX \
4097
+ old_archive_from_new_cmds_CXX \
4098
+ predep_objects_CXX \
4099
+ postdep_objects_CXX \
4102
+ compiler_lib_search_path_CXX \
4103
+ archive_cmds_CXX \
4104
+ archive_expsym_cmds_CXX \
4105
+ postinstall_cmds_CXX \
4106
+ postuninstall_cmds_CXX \
4107
+ old_archive_from_expsyms_cmds_CXX \
4108
+ allow_undefined_flag_CXX \
4109
+ no_undefined_flag_CXX \
4110
+ export_symbols_cmds_CXX \
4111
+ hardcode_libdir_flag_spec_CXX \
4112
+ hardcode_libdir_flag_spec_ld_CXX \
4113
+ hardcode_libdir_separator_CXX \
4114
+ hardcode_automatic_CXX \
4116
+ module_expsym_cmds_CXX \
4117
+ lt_cv_prog_compiler_c_o_CXX \
4118
+ exclude_expsyms_CXX \
4119
+ include_expsyms_CXX; do
4122
- lt_cv_dlopen="LoadLibrary"
4123
- lt_cv_dlopen_libs=
4126
+ old_archive_cmds_CXX | \
4127
+ old_archive_from_new_cmds_CXX | \
4128
+ archive_cmds_CXX | \
4129
+ archive_expsym_cmds_CXX | \
4130
+ module_cmds_CXX | \
4131
+ module_expsym_cmds_CXX | \
4132
+ old_archive_from_expsyms_cmds_CXX | \
4133
+ export_symbols_cmds_CXX | \
4134
+ extract_expsyms_cmds | reload_cmds | finish_cmds | \
4135
+ postinstall_cmds | postuninstall_cmds | \
4136
+ old_postinstall_cmds | old_postuninstall_cmds | \
4137
+ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
4138
+ # Double-quote double-evaled strings.
4139
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
4142
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
4148
- lt_cv_dlopen="dlopen"
4149
- lt_cv_dlopen_libs=
4152
+ *'\$0 --fallback-echo"')
4153
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
4158
- # if libdl is installed we need to link against it
4159
- echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
4160
-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
4161
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
4162
- echo $ECHO_N "(cached) $ECHO_C" >&6
4164
- ac_check_lib_save_LIBS=$LIBS
4166
-cat >conftest.$ac_ext <<_ACEOF
4169
-cat confdefs.h >>conftest.$ac_ext
4170
-cat >>conftest.$ac_ext <<_ACEOF
4171
-/* end confdefs.h. */
4174
-/* Override any gcc2 internal prototype to avoid an error. */
4178
-/* We use char because int might match the return type of a gcc2
4179
- builtin and then its argument prototype would still apply. */
4189
-rm -f conftest.$ac_objext conftest$ac_exeext
4190
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4191
- (eval $ac_link) 2>conftest.er1
4193
- grep -v '^ *+' conftest.er1 >conftest.err
4194
- rm -f conftest.er1
4195
- cat conftest.err >&5
4196
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197
- (exit $ac_status); } &&
4198
- { ac_try='test -z "$ac_cxx_werror_flag"
4199
- || test ! -s conftest.err'
4200
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4201
- (eval $ac_try) 2>&5
4203
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204
- (exit $ac_status); }; } &&
4205
- { ac_try='test -s conftest$ac_exeext'
4206
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4207
- (eval $ac_try) 2>&5
4209
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210
- (exit $ac_status); }; }; then
4211
- ac_cv_lib_dl_dlopen=yes
4213
- echo "$as_me: failed program was:" >&5
4214
-sed 's/^/| /' conftest.$ac_ext >&5
4215
+ cat <<__EOF__ >> "$cfgfile"
4216
+# ### BEGIN LIBTOOL TAG CONFIG: $tagname
4218
-ac_cv_lib_dl_dlopen=no
4220
-rm -f conftest.err conftest.$ac_objext \
4221
- conftest$ac_exeext conftest.$ac_ext
4222
-LIBS=$ac_check_lib_save_LIBS
4224
-echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
4225
-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
4226
-if test $ac_cv_lib_dl_dlopen = yes; then
4227
- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
4229
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
4231
- lt_cv_dlopen="dyld"
4232
- lt_cv_dlopen_libs=
4233
- lt_cv_dlopen_self=yes
4234
+# Shell to use when invoking shell scripts.
4238
+# Whether or not to build shared libraries.
4239
+build_libtool_libs=$enable_shared
4242
+# Whether or not to build static libraries.
4243
+build_old_libs=$enable_static
4246
- echo "$as_me:$LINENO: checking for shl_load" >&5
4247
-echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
4248
-if test "${ac_cv_func_shl_load+set}" = set; then
4249
- echo $ECHO_N "(cached) $ECHO_C" >&6
4251
- cat >conftest.$ac_ext <<_ACEOF
4254
-cat confdefs.h >>conftest.$ac_ext
4255
-cat >>conftest.$ac_ext <<_ACEOF
4256
-/* end confdefs.h. */
4257
-/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
4258
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
4259
-#define shl_load innocuous_shl_load
4260
+# Whether or not to add -lc for building shared libraries.
4261
+build_libtool_need_lc=$archive_cmds_need_lc_CXX
4263
-/* System header to define __stub macros and hopefully few prototypes,
4264
- which can conflict with char shl_load (); below.
4265
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4266
- <limits.h> exists even on freestanding compilers. */
4267
+# Whether or not to disallow shared libs when runtime libs are static
4268
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
4271
-# include <limits.h>
4273
-# include <assert.h>
4275
+# Whether or not to optimize for fast installation.
4276
+fast_install=$enable_fast_install
4280
+host_alias=$host_alias
4284
-/* Override any gcc2 internal prototype to avoid an error. */
4289
-/* We use char because int might match the return type of a gcc2
4290
- builtin and then its argument prototype would still apply. */
4292
-/* The GNU C library defines this for functions which it implements
4293
- to always fail with ENOSYS. Some functions are actually named
4294
- something starting with __ and the normal name is an alias. */
4295
-#if defined (__stub_shl_load) || defined (__stub___shl_load)
4298
-char (*f) () = shl_load;
4303
+# The build system.
4304
+build_alias=$build_alias
4311
-return f != shl_load;
4316
-rm -f conftest.$ac_objext conftest$ac_exeext
4317
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4318
- (eval $ac_link) 2>conftest.er1
4320
- grep -v '^ *+' conftest.er1 >conftest.err
4321
- rm -f conftest.er1
4322
- cat conftest.err >&5
4323
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324
- (exit $ac_status); } &&
4325
- { ac_try='test -z "$ac_cxx_werror_flag"
4326
- || test ! -s conftest.err'
4327
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4328
- (eval $ac_try) 2>&5
4330
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331
- (exit $ac_status); }; } &&
4332
- { ac_try='test -s conftest$ac_exeext'
4333
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4334
- (eval $ac_try) 2>&5
4336
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337
- (exit $ac_status); }; }; then
4338
- ac_cv_func_shl_load=yes
4340
- echo "$as_me: failed program was:" >&5
4341
-sed 's/^/| /' conftest.$ac_ext >&5
4342
+# An echo program that does not interpret backslashes.
4345
-ac_cv_func_shl_load=no
4347
-rm -f conftest.err conftest.$ac_objext \
4348
- conftest$ac_exeext conftest.$ac_ext
4350
-echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
4351
-echo "${ECHO_T}$ac_cv_func_shl_load" >&6
4352
-if test $ac_cv_func_shl_load = yes; then
4353
- lt_cv_dlopen="shl_load"
4355
- echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
4356
-echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
4357
-if test "${ac_cv_lib_dld_shl_load+set}" = set; then
4358
- echo $ECHO_N "(cached) $ECHO_C" >&6
4360
- ac_check_lib_save_LIBS=$LIBS
4362
-cat >conftest.$ac_ext <<_ACEOF
4365
-cat confdefs.h >>conftest.$ac_ext
4366
-cat >>conftest.$ac_ext <<_ACEOF
4367
-/* end confdefs.h. */
4370
+AR_FLAGS=$lt_AR_FLAGS
4372
-/* Override any gcc2 internal prototype to avoid an error. */
4376
-/* We use char because int might match the return type of a gcc2
4377
- builtin and then its argument prototype would still apply. */
4387
-rm -f conftest.$ac_objext conftest$ac_exeext
4388
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4389
- (eval $ac_link) 2>conftest.er1
4391
- grep -v '^ *+' conftest.er1 >conftest.err
4392
- rm -f conftest.er1
4393
- cat conftest.err >&5
4394
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395
- (exit $ac_status); } &&
4396
- { ac_try='test -z "$ac_cxx_werror_flag"
4397
- || test ! -s conftest.err'
4398
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4399
- (eval $ac_try) 2>&5
4401
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402
- (exit $ac_status); }; } &&
4403
- { ac_try='test -s conftest$ac_exeext'
4404
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4405
- (eval $ac_try) 2>&5
4407
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408
- (exit $ac_status); }; }; then
4409
- ac_cv_lib_dld_shl_load=yes
4411
- echo "$as_me: failed program was:" >&5
4412
-sed 's/^/| /' conftest.$ac_ext >&5
4416
-ac_cv_lib_dld_shl_load=no
4418
-rm -f conftest.err conftest.$ac_objext \
4419
- conftest$ac_exeext conftest.$ac_ext
4420
-LIBS=$ac_check_lib_save_LIBS
4422
-echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
4423
-echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
4424
-if test $ac_cv_lib_dld_shl_load = yes; then
4425
- lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
4427
- echo "$as_me:$LINENO: checking for dlopen" >&5
4428
-echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
4429
-if test "${ac_cv_func_dlopen+set}" = set; then
4430
- echo $ECHO_N "(cached) $ECHO_C" >&6
4432
- cat >conftest.$ac_ext <<_ACEOF
4435
-cat confdefs.h >>conftest.$ac_ext
4436
-cat >>conftest.$ac_ext <<_ACEOF
4437
-/* end confdefs.h. */
4438
-/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
4439
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
4440
-#define dlopen innocuous_dlopen
4441
+# LTCC compiler flags.
4442
+LTCFLAGS=$lt_LTCFLAGS
4444
-/* System header to define __stub macros and hopefully few prototypes,
4445
- which can conflict with char dlopen (); below.
4446
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4447
- <limits.h> exists even on freestanding compilers. */
4448
+# A language-specific compiler.
4449
+CC=$lt_compiler_CXX
4452
-# include <limits.h>
4454
-# include <assert.h>
4456
+# Is the compiler the GNU C compiler?
4463
-/* Override any gcc2 internal prototype to avoid an error. */
4468
-/* We use char because int might match the return type of a gcc2
4469
- builtin and then its argument prototype would still apply. */
4471
-/* The GNU C library defines this for functions which it implements
4472
- to always fail with ENOSYS. Some functions are actually named
4473
- something starting with __ and the normal name is an alias. */
4474
-#if defined (__stub_dlopen) || defined (__stub___dlopen)
4477
-char (*f) () = dlopen;
4482
+# The linker used to build libraries.
4488
-return f != dlopen;
4493
-rm -f conftest.$ac_objext conftest$ac_exeext
4494
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4495
- (eval $ac_link) 2>conftest.er1
4497
- grep -v '^ *+' conftest.er1 >conftest.err
4498
- rm -f conftest.er1
4499
- cat conftest.err >&5
4500
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501
- (exit $ac_status); } &&
4502
- { ac_try='test -z "$ac_cxx_werror_flag"
4503
- || test ! -s conftest.err'
4504
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4505
- (eval $ac_try) 2>&5
4507
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508
- (exit $ac_status); }; } &&
4509
- { ac_try='test -s conftest$ac_exeext'
4510
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4511
- (eval $ac_try) 2>&5
4513
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514
- (exit $ac_status); }; }; then
4515
- ac_cv_func_dlopen=yes
4517
- echo "$as_me: failed program was:" >&5
4518
-sed 's/^/| /' conftest.$ac_ext >&5
4519
+# Whether we need hard or soft links.
4522
-ac_cv_func_dlopen=no
4524
-rm -f conftest.err conftest.$ac_objext \
4525
- conftest$ac_exeext conftest.$ac_ext
4527
-echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
4528
-echo "${ECHO_T}$ac_cv_func_dlopen" >&6
4529
-if test $ac_cv_func_dlopen = yes; then
4530
- lt_cv_dlopen="dlopen"
4532
- echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
4533
-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
4534
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
4535
- echo $ECHO_N "(cached) $ECHO_C" >&6
4537
- ac_check_lib_save_LIBS=$LIBS
4539
-cat >conftest.$ac_ext <<_ACEOF
4542
-cat confdefs.h >>conftest.$ac_ext
4543
-cat >>conftest.$ac_ext <<_ACEOF
4544
-/* end confdefs.h. */
4545
+# A BSD-compatible nm program.
4548
-/* Override any gcc2 internal prototype to avoid an error. */
4552
-/* We use char because int might match the return type of a gcc2
4553
- builtin and then its argument prototype would still apply. */
4563
-rm -f conftest.$ac_objext conftest$ac_exeext
4564
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4565
- (eval $ac_link) 2>conftest.er1
4567
- grep -v '^ *+' conftest.er1 >conftest.err
4568
- rm -f conftest.er1
4569
- cat conftest.err >&5
4570
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571
- (exit $ac_status); } &&
4572
- { ac_try='test -z "$ac_cxx_werror_flag"
4573
- || test ! -s conftest.err'
4574
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4575
- (eval $ac_try) 2>&5
4577
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578
- (exit $ac_status); }; } &&
4579
- { ac_try='test -s conftest$ac_exeext'
4580
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4581
- (eval $ac_try) 2>&5
4583
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584
- (exit $ac_status); }; }; then
4585
- ac_cv_lib_dl_dlopen=yes
4587
- echo "$as_me: failed program was:" >&5
4588
-sed 's/^/| /' conftest.$ac_ext >&5
4589
+# A symbol stripping program
4592
-ac_cv_lib_dl_dlopen=no
4594
-rm -f conftest.err conftest.$ac_objext \
4595
- conftest$ac_exeext conftest.$ac_ext
4596
-LIBS=$ac_check_lib_save_LIBS
4598
-echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
4599
-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
4600
-if test $ac_cv_lib_dl_dlopen = yes; then
4601
- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
4603
- echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
4604
-echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
4605
-if test "${ac_cv_lib_svld_dlopen+set}" = set; then
4606
- echo $ECHO_N "(cached) $ECHO_C" >&6
4608
- ac_check_lib_save_LIBS=$LIBS
4609
-LIBS="-lsvld $LIBS"
4610
-cat >conftest.$ac_ext <<_ACEOF
4613
-cat confdefs.h >>conftest.$ac_ext
4614
-cat >>conftest.$ac_ext <<_ACEOF
4615
-/* end confdefs.h. */
4616
+# Used to examine libraries when file_magic_cmd begins "file"
4617
+MAGIC_CMD=$MAGIC_CMD
4619
-/* Override any gcc2 internal prototype to avoid an error. */
4623
-/* We use char because int might match the return type of a gcc2
4624
- builtin and then its argument prototype would still apply. */
4634
-rm -f conftest.$ac_objext conftest$ac_exeext
4635
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4636
- (eval $ac_link) 2>conftest.er1
4638
- grep -v '^ *+' conftest.er1 >conftest.err
4639
- rm -f conftest.er1
4640
- cat conftest.err >&5
4641
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642
- (exit $ac_status); } &&
4643
- { ac_try='test -z "$ac_cxx_werror_flag"
4644
- || test ! -s conftest.err'
4645
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4646
- (eval $ac_try) 2>&5
4648
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649
- (exit $ac_status); }; } &&
4650
- { ac_try='test -s conftest$ac_exeext'
4651
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4652
- (eval $ac_try) 2>&5
4654
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655
- (exit $ac_status); }; }; then
4656
- ac_cv_lib_svld_dlopen=yes
4658
- echo "$as_me: failed program was:" >&5
4659
-sed 's/^/| /' conftest.$ac_ext >&5
4660
+# Used on cygwin: DLL creation program.
4663
-ac_cv_lib_svld_dlopen=no
4665
-rm -f conftest.err conftest.$ac_objext \
4666
- conftest$ac_exeext conftest.$ac_ext
4667
-LIBS=$ac_check_lib_save_LIBS
4669
-echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
4670
-echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
4671
-if test $ac_cv_lib_svld_dlopen = yes; then
4672
- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
4674
- echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
4675
-echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
4676
-if test "${ac_cv_lib_dld_dld_link+set}" = set; then
4677
- echo $ECHO_N "(cached) $ECHO_C" >&6
4679
- ac_check_lib_save_LIBS=$LIBS
4681
-cat >conftest.$ac_ext <<_ACEOF
4684
-cat confdefs.h >>conftest.$ac_ext
4685
-cat >>conftest.$ac_ext <<_ACEOF
4686
-/* end confdefs.h. */
4687
+# Used on cygwin: object dumper.
4690
-/* Override any gcc2 internal prototype to avoid an error. */
4694
-/* We use char because int might match the return type of a gcc2
4695
- builtin and then its argument prototype would still apply. */
4705
-rm -f conftest.$ac_objext conftest$ac_exeext
4706
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4707
- (eval $ac_link) 2>conftest.er1
4709
- grep -v '^ *+' conftest.er1 >conftest.err
4710
- rm -f conftest.er1
4711
- cat conftest.err >&5
4712
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713
- (exit $ac_status); } &&
4714
- { ac_try='test -z "$ac_cxx_werror_flag"
4715
- || test ! -s conftest.err'
4716
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4717
- (eval $ac_try) 2>&5
4719
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720
- (exit $ac_status); }; } &&
4721
- { ac_try='test -s conftest$ac_exeext'
4722
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723
- (eval $ac_try) 2>&5
4725
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726
- (exit $ac_status); }; }; then
4727
- ac_cv_lib_dld_dld_link=yes
4729
- echo "$as_me: failed program was:" >&5
4730
-sed 's/^/| /' conftest.$ac_ext >&5
4731
+# Used on cygwin: assembler.
4734
-ac_cv_lib_dld_dld_link=no
4736
-rm -f conftest.err conftest.$ac_objext \
4737
- conftest$ac_exeext conftest.$ac_ext
4738
-LIBS=$ac_check_lib_save_LIBS
4740
-echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
4741
-echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
4742
-if test $ac_cv_lib_dld_dld_link = yes; then
4743
- lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
4745
+# The name of the directory that contains temporary libtool files.
4748
+# How to create reloadable object files.
4749
+reload_flag=$lt_reload_flag
4750
+reload_cmds=$lt_reload_cmds
4753
+# How to pass a linker flag through the compiler.
4754
+wl=$lt_lt_prog_compiler_wl_CXX
4756
+# Object file suffix (normally "o").
4757
+objext="$ac_objext"
4760
+# Old archive suffix (normally "a").
4763
+# Shared library suffix (normally ".so").
4764
+shrext_cmds='$shrext_cmds'
4767
+# Executable file suffix (normally "").
4770
+# Additional compiler flags for building library objects.
4771
+pic_flag=$lt_lt_prog_compiler_pic_CXX
4775
+# What is the maximum length of a command?
4776
+max_cmd_len=$lt_cv_sys_max_cmd_len
4778
+# Does compiler simultaneously support -c and -o options?
4779
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
4782
+# Must we lock files when doing compilation?
4783
+need_locks=$lt_need_locks
4787
+# Do we need the lib prefix for modules?
4788
+need_lib_prefix=$need_lib_prefix
4790
- if test "x$lt_cv_dlopen" != xno; then
4795
+# Do we need a version for libraries?
4796
+need_version=$need_version
4798
- case $lt_cv_dlopen in
4800
- save_CPPFLAGS="$CPPFLAGS"
4801
- test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
4802
+# Whether dlopen is supported.
4803
+dlopen_support=$enable_dlopen
4805
- save_LDFLAGS="$LDFLAGS"
4806
- eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
4807
+# Whether dlopen of programs is supported.
4808
+dlopen_self=$enable_dlopen_self
4811
- LIBS="$lt_cv_dlopen_libs $LIBS"
4812
+# Whether dlopen of statically linked programs is supported.
4813
+dlopen_self_static=$enable_dlopen_self_static
4815
- echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
4816
-echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
4817
-if test "${lt_cv_dlopen_self+set}" = set; then
4818
- echo $ECHO_N "(cached) $ECHO_C" >&6
4820
- if test "$cross_compiling" = yes; then :
4821
- lt_cv_dlopen_self=cross
4823
- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4824
- lt_status=$lt_dlunknown
4825
- cat > conftest.$ac_ext <<EOF
4826
-#line 12533 "configure"
4827
-#include "confdefs.h"
4828
+# Compiler flag to prevent dynamic linking.
4829
+link_static_flag=$lt_lt_prog_compiler_static_CXX
4834
+# Compiler flag to turn off builtin functions.
4835
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
4838
+# Compiler flag to allow reflexive dlopens.
4839
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
4842
-# define LT_DLGLOBAL RTLD_GLOBAL
4845
-# define LT_DLGLOBAL DL_GLOBAL
4847
-# define LT_DLGLOBAL 0
4850
+# Compiler flag to generate shared objects directly from archives.
4851
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
4853
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
4854
- find out it does not work in some platform. */
4855
-#ifndef LT_DLLAZY_OR_NOW
4857
-# define LT_DLLAZY_OR_NOW RTLD_LAZY
4860
-# define LT_DLLAZY_OR_NOW DL_LAZY
4863
-# define LT_DLLAZY_OR_NOW RTLD_NOW
4866
-# define LT_DLLAZY_OR_NOW DL_NOW
4868
-# define LT_DLLAZY_OR_NOW 0
4874
+# Compiler flag to generate thread-safe objects.
4875
+thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
4878
-extern "C" void exit (int);
4880
+# Library versioning type.
4881
+version_type=$version_type
4883
-void fnord() { int i=42;}
4886
- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
4887
- int status = $lt_dlunknown;
4888
+# Format of library name prefix.
4889
+libname_spec=$lt_libname_spec
4893
- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
4894
- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
4895
- /* dlclose (self); */
4901
- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4902
- (eval $ac_link) 2>&5
4904
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905
- (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
4906
- (./conftest; exit; ) >&5 2>/dev/null
4908
- case x$lt_status in
4909
- x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
4910
- x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
4911
- x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
4914
- # compilation failed
4915
- lt_cv_dlopen_self=no
4919
+# List of archive names. First name is the real one, the rest are links.
4920
+# The last name is the one that the linker finds with -lNAME.
4921
+library_names_spec=$lt_library_names_spec
4923
+# The coded name of the library, if different from the real name.
4924
+soname_spec=$lt_soname_spec
4927
-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
4928
-echo "${ECHO_T}$lt_cv_dlopen_self" >&6
4929
+# Commands used to build and install an old-style archive.
4931
+old_archive_cmds=$lt_old_archive_cmds_CXX
4932
+old_postinstall_cmds=$lt_old_postinstall_cmds
4933
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
4935
- if test "x$lt_cv_dlopen_self" = xyes; then
4936
- LDFLAGS="$LDFLAGS $link_static_flag"
4937
- echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
4938
-echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
4939
-if test "${lt_cv_dlopen_self_static+set}" = set; then
4940
- echo $ECHO_N "(cached) $ECHO_C" >&6
4942
- if test "$cross_compiling" = yes; then :
4943
- lt_cv_dlopen_self_static=cross
4945
- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4946
- lt_status=$lt_dlunknown
4947
- cat > conftest.$ac_ext <<EOF
4948
-#line 12631 "configure"
4949
-#include "confdefs.h"
4950
+# Create an old-style archive from a shared archive.
4951
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
4956
+# Create a temporary old-style archive to link instead of a shared archive.
4957
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
4960
+# Commands used to build and install a shared archive.
4961
+archive_cmds=$lt_archive_cmds_CXX
4962
+archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
4963
+postinstall_cmds=$lt_postinstall_cmds
4964
+postuninstall_cmds=$lt_postuninstall_cmds
4967
-# define LT_DLGLOBAL RTLD_GLOBAL
4970
-# define LT_DLGLOBAL DL_GLOBAL
4972
-# define LT_DLGLOBAL 0
4975
+# Commands used to build a loadable module (assumed same as above if empty)
4976
+module_cmds=$lt_module_cmds_CXX
4977
+module_expsym_cmds=$lt_module_expsym_cmds_CXX
4979
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
4980
- find out it does not work in some platform. */
4981
-#ifndef LT_DLLAZY_OR_NOW
4983
-# define LT_DLLAZY_OR_NOW RTLD_LAZY
4986
-# define LT_DLLAZY_OR_NOW DL_LAZY
4989
-# define LT_DLLAZY_OR_NOW RTLD_NOW
4992
-# define LT_DLLAZY_OR_NOW DL_NOW
4994
-# define LT_DLLAZY_OR_NOW 0
5000
+# Commands to strip libraries.
5001
+old_striplib=$lt_old_striplib
5002
+striplib=$lt_striplib
5005
-extern "C" void exit (int);
5007
+# Dependencies to place before the objects being linked to create a
5009
+predep_objects=$lt_predep_objects_CXX
5011
-void fnord() { int i=42;}
5014
- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
5015
- int status = $lt_dlunknown;
5016
+# Dependencies to place after the objects being linked to create a
5018
+postdep_objects=$lt_postdep_objects_CXX
5022
- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
5023
- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
5024
- /* dlclose (self); */
5026
+# Dependencies to place before the objects being linked to create a
5028
+predeps=$lt_predeps_CXX
5033
- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5034
- (eval $ac_link) 2>&5
5036
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037
- (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
5038
- (./conftest; exit; ) >&5 2>/dev/null
5040
- case x$lt_status in
5041
- x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
5042
- x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
5043
- x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
5046
- # compilation failed
5047
- lt_cv_dlopen_self_static=no
5051
+# Dependencies to place after the objects being linked to create a
5053
+postdeps=$lt_postdeps_CXX
5055
+# The library search path used internally by the compiler when linking
5056
+# a shared library.
5057
+compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
5060
-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
5061
-echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
5063
+# Method to check whether dependent libraries are shared objects.
5064
+deplibs_check_method=$lt_deplibs_check_method
5066
- CPPFLAGS="$save_CPPFLAGS"
5067
- LDFLAGS="$save_LDFLAGS"
5071
+# Command to use when deplibs_check_method == file_magic.
5072
+file_magic_cmd=$lt_file_magic_cmd
5074
- case $lt_cv_dlopen_self in
5075
- yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
5076
- *) enable_dlopen_self=unknown ;;
5078
+# Flag that allows shared libraries with undefined symbols to be built.
5079
+allow_undefined_flag=$lt_allow_undefined_flag_CXX
5081
- case $lt_cv_dlopen_self_static in
5082
- yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
5083
- *) enable_dlopen_self_static=unknown ;;
5086
+# Flag that forces no undefined symbols.
5087
+no_undefined_flag=$lt_no_undefined_flag_CXX
5089
+# Commands used to finish a libtool library installation in a directory.
5090
+finish_cmds=$lt_finish_cmds
5092
-# The else clause should only fire when bootstrapping the
5093
-# libtool distribution, otherwise you forgot to ship ltmain.sh
5094
-# with your package, and you will get complaints that there are
5095
-# no rules to generate ltmain.sh.
5096
-if test -f "$ltmain"; then
5097
- # See if we are running on zsh, and set the options which allow our commands through
5098
- # without removal of \ escapes.
5099
- if test -n "${ZSH_VERSION+set}" ; then
5100
- setopt NO_GLOB_SUBST
5102
- # Now quote all the things that may contain metacharacters while being
5103
- # careful not to overquote the AC_SUBSTed values. We take copies of the
5104
- # variables and quote the copies for generation of the libtool script.
5105
- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
5107
- libname_spec library_names_spec soname_spec extract_expsyms_cmds \
5108
- old_striplib striplib file_magic_cmd finish_cmds finish_eval \
5109
- deplibs_check_method reload_flag reload_cmds need_locks \
5110
- lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
5111
- lt_cv_sys_global_symbol_to_c_name_address \
5112
- sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
5113
- old_postinstall_cmds old_postuninstall_cmds \
5117
- lt_prog_compiler_wl_CXX \
5118
- lt_prog_compiler_pic_CXX \
5119
- lt_prog_compiler_static_CXX \
5120
- lt_prog_compiler_no_builtin_flag_CXX \
5121
- export_dynamic_flag_spec_CXX \
5122
- thread_safe_flag_spec_CXX \
5123
- whole_archive_flag_spec_CXX \
5124
- enable_shared_with_static_runtimes_CXX \
5125
- old_archive_cmds_CXX \
5126
- old_archive_from_new_cmds_CXX \
5127
- predep_objects_CXX \
5128
- postdep_objects_CXX \
5131
- compiler_lib_search_path_CXX \
5132
- archive_cmds_CXX \
5133
- archive_expsym_cmds_CXX \
5134
- postinstall_cmds_CXX \
5135
- postuninstall_cmds_CXX \
5136
- old_archive_from_expsyms_cmds_CXX \
5137
- allow_undefined_flag_CXX \
5138
- no_undefined_flag_CXX \
5139
- export_symbols_cmds_CXX \
5140
- hardcode_libdir_flag_spec_CXX \
5141
- hardcode_libdir_flag_spec_ld_CXX \
5142
- hardcode_libdir_separator_CXX \
5143
- hardcode_automatic_CXX \
5145
- module_expsym_cmds_CXX \
5146
- lt_cv_prog_compiler_c_o_CXX \
5147
- exclude_expsyms_CXX \
5148
- include_expsyms_CXX; do
5149
+# Same as above, but a single script fragment to be evaled but not shown.
5150
+finish_eval=$lt_finish_eval
5153
- old_archive_cmds_CXX | \
5154
- old_archive_from_new_cmds_CXX | \
5155
- archive_cmds_CXX | \
5156
- archive_expsym_cmds_CXX | \
5157
- module_cmds_CXX | \
5158
- module_expsym_cmds_CXX | \
5159
- old_archive_from_expsyms_cmds_CXX | \
5160
- export_symbols_cmds_CXX | \
5161
- extract_expsyms_cmds | reload_cmds | finish_cmds | \
5162
- postinstall_cmds | postuninstall_cmds | \
5163
- old_postinstall_cmds | old_postuninstall_cmds | \
5164
- sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
5165
- # Double-quote double-evaled strings.
5166
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
5169
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
5173
+# Take the output of nm and produce a listing of raw symbols and C names.
5174
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
5177
- *'\$0 --fallback-echo"')
5178
- lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
5184
- cat <<__EOF__ >> "$cfgfile"
5185
-# ### BEGIN LIBTOOL TAG CONFIG: $tagname
5187
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5189
-# Shell to use when invoking shell scripts.
5192
-# Whether or not to build shared libraries.
5193
-build_libtool_libs=$enable_shared
5195
-# Whether or not to build static libraries.
5196
-build_old_libs=$enable_static
5198
-# Whether or not to add -lc for building shared libraries.
5199
-build_libtool_need_lc=$archive_cmds_need_lc_CXX
5201
-# Whether or not to disallow shared libs when runtime libs are static
5202
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
5204
-# Whether or not to optimize for fast installation.
5205
-fast_install=$enable_fast_install
5208
-host_alias=$host_alias
5212
-# The build system.
5213
-build_alias=$build_alias
5217
-# An echo program that does not interpret backslashes.
5222
-AR_FLAGS=$lt_AR_FLAGS
5227
-# A language-specific compiler.
5228
-CC=$lt_compiler_CXX
5230
-# Is the compiler the GNU C compiler?
5236
-# The linker used to build libraries.
5239
-# Whether we need hard or soft links.
5242
-# A BSD-compatible nm program.
5245
-# A symbol stripping program
5248
-# Used to examine libraries when file_magic_cmd begins "file"
5249
-MAGIC_CMD=$MAGIC_CMD
5251
-# Used on cygwin: DLL creation program.
5254
-# Used on cygwin: object dumper.
5257
-# Used on cygwin: assembler.
5260
-# The name of the directory that contains temporary libtool files.
5263
-# How to create reloadable object files.
5264
-reload_flag=$lt_reload_flag
5265
-reload_cmds=$lt_reload_cmds
5267
-# How to pass a linker flag through the compiler.
5268
-wl=$lt_lt_prog_compiler_wl_CXX
5270
-# Object file suffix (normally "o").
5271
-objext="$ac_objext"
5273
-# Old archive suffix (normally "a").
5276
-# Shared library suffix (normally ".so").
5277
-shrext_cmds='$shrext_cmds'
5279
-# Executable file suffix (normally "").
5282
-# Additional compiler flags for building library objects.
5283
-pic_flag=$lt_lt_prog_compiler_pic_CXX
5286
-# What is the maximum length of a command?
5287
-max_cmd_len=$lt_cv_sys_max_cmd_len
5289
-# Does compiler simultaneously support -c and -o options?
5290
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
5292
-# Must we lock files when doing compilation?
5293
-need_locks=$lt_need_locks
5295
-# Do we need the lib prefix for modules?
5296
-need_lib_prefix=$need_lib_prefix
5298
-# Do we need a version for libraries?
5299
-need_version=$need_version
5301
-# Whether dlopen is supported.
5302
-dlopen_support=$enable_dlopen
5304
-# Whether dlopen of programs is supported.
5305
-dlopen_self=$enable_dlopen_self
5307
-# Whether dlopen of statically linked programs is supported.
5308
-dlopen_self_static=$enable_dlopen_self_static
5310
-# Compiler flag to prevent dynamic linking.
5311
-link_static_flag=$lt_lt_prog_compiler_static_CXX
5313
-# Compiler flag to turn off builtin functions.
5314
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
5316
-# Compiler flag to allow reflexive dlopens.
5317
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
5319
-# Compiler flag to generate shared objects directly from archives.
5320
-whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
5322
-# Compiler flag to generate thread-safe objects.
5323
-thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
5325
-# Library versioning type.
5326
-version_type=$version_type
5328
-# Format of library name prefix.
5329
-libname_spec=$lt_libname_spec
5331
-# List of archive names. First name is the real one, the rest are links.
5332
-# The last name is the one that the linker finds with -lNAME.
5333
-library_names_spec=$lt_library_names_spec
5335
-# The coded name of the library, if different from the real name.
5336
-soname_spec=$lt_soname_spec
5338
-# Commands used to build and install an old-style archive.
5340
-old_archive_cmds=$lt_old_archive_cmds_CXX
5341
-old_postinstall_cmds=$lt_old_postinstall_cmds
5342
-old_postuninstall_cmds=$lt_old_postuninstall_cmds
5344
-# Create an old-style archive from a shared archive.
5345
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
5347
-# Create a temporary old-style archive to link instead of a shared archive.
5348
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
5350
-# Commands used to build and install a shared archive.
5351
-archive_cmds=$lt_archive_cmds_CXX
5352
-archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
5353
-postinstall_cmds=$lt_postinstall_cmds
5354
-postuninstall_cmds=$lt_postuninstall_cmds
5356
-# Commands used to build a loadable module (assumed same as above if empty)
5357
-module_cmds=$lt_module_cmds_CXX
5358
-module_expsym_cmds=$lt_module_expsym_cmds_CXX
5360
-# Commands to strip libraries.
5361
-old_striplib=$lt_old_striplib
5362
-striplib=$lt_striplib
5364
-# Dependencies to place before the objects being linked to create a
5366
-predep_objects=$lt_predep_objects_CXX
5368
-# Dependencies to place after the objects being linked to create a
5370
-postdep_objects=$lt_postdep_objects_CXX
5372
-# Dependencies to place before the objects being linked to create a
5374
-predeps=$lt_predeps_CXX
5376
-# Dependencies to place after the objects being linked to create a
5378
-postdeps=$lt_postdeps_CXX
5380
-# The library search path used internally by the compiler when linking
5381
-# a shared library.
5382
-compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
5384
-# Method to check whether dependent libraries are shared objects.
5385
-deplibs_check_method=$lt_deplibs_check_method
5387
-# Command to use when deplibs_check_method == file_magic.
5388
-file_magic_cmd=$lt_file_magic_cmd
5390
-# Flag that allows shared libraries with undefined symbols to be built.
5391
-allow_undefined_flag=$lt_allow_undefined_flag_CXX
5393
-# Flag that forces no undefined symbols.
5394
-no_undefined_flag=$lt_no_undefined_flag_CXX
5396
-# Commands used to finish a libtool library installation in a directory.
5397
-finish_cmds=$lt_finish_cmds
5399
-# Same as above, but a single script fragment to be evaled but not shown.
5400
-finish_eval=$lt_finish_eval
5402
-# Take the output of nm and produce a listing of raw symbols and C names.
5403
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
5405
-# Transform the output of nm in a proper C declaration
5406
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
5407
+# Transform the output of nm in a proper C declaration
5408
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
5410
# Transform the output of nm in a C name address pair
5411
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
5412
@@ -13205,6 +12719,9 @@
5413
# If no C compiler was specified, use CC.
5416
+# If no C compiler flags were specified, use CFLAGS.
5417
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5419
# Allow CC to be a program name with arguments.
5422
@@ -13212,13 +12729,13 @@
5423
# save warnings/boilerplate of simple test code
5424
ac_outfile=conftest.$ac_objext
5425
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
5426
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
5427
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
5428
_lt_compiler_boilerplate=`cat conftest.err`
5431
ac_outfile=conftest.$ac_objext
5432
printf "$lt_simple_link_test_code" >conftest.$ac_ext
5433
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
5434
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
5435
_lt_linker_boilerplate=`cat conftest.err`
5438
@@ -13274,8 +12791,6 @@
5439
echo "$as_me:$LINENO: result: $enable_static" >&5
5440
echo "${ECHO_T}$enable_static" >&6
5442
-test "$ld_shlibs_F77" = no && can_build_shared=no
5447
@@ -13322,6 +12837,11 @@
5448
lt_prog_compiler_pic_F77='-fno-common'
5452
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
5453
+ # Instead, we relocate shared libraries at runtime.
5457
# Just because we use GCC doesn't mean we suddenly get shared libraries
5458
# on systems that don't support them.
5459
@@ -13436,11 +12956,6 @@
5460
lt_prog_compiler_static_F77='-non_shared'
5464
- lt_prog_compiler_pic_F77='-Kpic'
5465
- lt_prog_compiler_static_F77='-dn'
5469
lt_prog_compiler_pic_F77='-KPIC'
5470
lt_prog_compiler_static_F77='-Bstatic'
5471
@@ -13458,7 +12973,7 @@
5472
lt_prog_compiler_static_F77='-Bstatic'
5475
- sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5476
+ sysv4 | sysv4.2uw2* | sysv4.3*)
5477
lt_prog_compiler_wl_F77='-Wl,'
5478
lt_prog_compiler_pic_F77='-KPIC'
5479
lt_prog_compiler_static_F77='-Bstatic'
5480
@@ -13471,6 +12986,12 @@
5484
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
5485
+ lt_prog_compiler_wl_F77='-Wl,'
5486
+ lt_prog_compiler_pic_F77='-KPIC'
5487
+ lt_prog_compiler_static_F77='-Bstatic'
5491
lt_prog_compiler_wl_F77='-Wl,'
5492
lt_prog_compiler_can_build_shared_F77=no
5493
@@ -13513,17 +13034,17 @@
5494
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5495
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5496
-e 's:$: $lt_compiler_flag:'`
5497
- (eval echo "\"\$as_me:13516: $lt_compile\"" >&5)
5498
+ (eval echo "\"\$as_me:13037: $lt_compile\"" >&5)
5499
(eval "$lt_compile" 2>conftest.err)
5501
cat conftest.err >&5
5502
- echo "$as_me:13520: \$? = $ac_status" >&5
5503
+ echo "$as_me:13041: \$? = $ac_status" >&5
5504
if (exit $ac_status) && test -s "$ac_outfile"; then
5505
# The compiler can only warn and ignore the option if not recognized
5506
# So say no if there are warnings other than the usual output.
5507
- $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
5508
- $SED '/^$/d' conftest.err >conftest.er2
5509
- if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
5510
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
5511
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
5512
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
5513
lt_prog_compiler_pic_works_F77=yes
5516
@@ -13554,39 +13075,81 @@
5520
-echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
5521
-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
5522
-if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
5524
+# Check to make sure the static flag actually works.
5526
+wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
5527
+echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
5528
+echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
5529
+if test "${lt_prog_compiler_static_works_F77+set}" = set; then
5530
echo $ECHO_N "(cached) $ECHO_C" >&6
5532
- lt_cv_prog_compiler_c_o_F77=no
5533
- $rm -r conftest 2>/dev/null
5537
- printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5539
- lt_compiler_flag="-o out/conftest2.$ac_objext"
5540
- # Insert the option either (1) after the last *FLAGS variable, or
5541
- # (2) before a word containing "conftest.", or (3) at the end.
5542
- # Note that $ac_compile itself does not contain backslashes and begins
5543
- # with a dollar sign (not a hyphen), so the echo should work correctly.
5544
+ lt_prog_compiler_static_works_F77=no
5545
+ save_LDFLAGS="$LDFLAGS"
5546
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
5547
+ printf "$lt_simple_link_test_code" > conftest.$ac_ext
5548
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
5549
+ # The linker can only warn and ignore the option if not recognized
5550
+ # So say no if there are warnings
5551
+ if test -s conftest.err; then
5552
+ # Append any errors to the config.log.
5553
+ cat conftest.err 1>&5
5554
+ $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
5555
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
5556
+ if diff conftest.exp conftest.er2 >/dev/null; then
5557
+ lt_prog_compiler_static_works_F77=yes
5560
+ lt_prog_compiler_static_works_F77=yes
5564
+ LDFLAGS="$save_LDFLAGS"
5567
+echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
5568
+echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
5570
+if test x"$lt_prog_compiler_static_works_F77" = xyes; then
5573
+ lt_prog_compiler_static_F77=
5577
+echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
5578
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
5579
+if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
5580
+ echo $ECHO_N "(cached) $ECHO_C" >&6
5582
+ lt_cv_prog_compiler_c_o_F77=no
5583
+ $rm -r conftest 2>/dev/null
5587
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
5589
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
5590
+ # Insert the option either (1) after the last *FLAGS variable, or
5591
+ # (2) before a word containing "conftest.", or (3) at the end.
5592
+ # Note that $ac_compile itself does not contain backslashes and begins
5593
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
5594
lt_compile=`echo "$ac_compile" | $SED \
5595
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5596
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5597
-e 's:$: $lt_compiler_flag:'`
5598
- (eval echo "\"\$as_me:13578: $lt_compile\"" >&5)
5599
+ (eval echo "\"\$as_me:13141: $lt_compile\"" >&5)
5600
(eval "$lt_compile" 2>out/conftest.err)
5602
cat out/conftest.err >&5
5603
- echo "$as_me:13582: \$? = $ac_status" >&5
5604
+ echo "$as_me:13145: \$? = $ac_status" >&5
5605
if (exit $ac_status) && test -s out/conftest2.$ac_objext
5607
# The compiler can only warn and ignore the option if not recognized
5608
# So say no if there are warnings
5609
- $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
5610
- $SED '/^$/d' out/conftest.err >out/conftest.er2
5611
- if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
5612
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
5613
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
5614
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
5615
lt_cv_prog_compiler_c_o_F77=yes
5618
@@ -13686,6 +13249,10 @@
5623
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
5629
@@ -13770,7 +13337,7 @@
5630
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
5632
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5633
- archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5634
+ archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5635
# If the export-symbols file already is a .def file (1st line
5636
# is EXPORTS), use it as is; otherwise, prepend...
5637
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5638
@@ -13779,12 +13346,27 @@
5639
echo EXPORTS > $output_objdir/$soname.def;
5640
cat $export_symbols >> $output_objdir/$soname.def;
5642
- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5643
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5650
+ hardcode_direct_F77=no
5651
+ hardcode_shlibpath_var_F77=no
5652
+ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
5653
+ export_dynamic_flag_spec_F77='${wl}-E'
5654
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
5655
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
5656
+ # default) and relocated if they conflict, which is a slow very memory
5657
+ # consuming and fragmenting process. To avoid this, we pick a random,
5658
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5659
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
5660
+ 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'
5661
+ 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'
5665
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5667
@@ -13811,12 +13393,13 @@
5668
$echo "local: *; };" >> $output_objdir/$libname.ver~
5669
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5671
+ link_all_deplibs_F77=no
5678
+ netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
5679
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5680
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5682
@@ -13826,7 +13409,7 @@
5686
- solaris* | sysv5*)
5688
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
5691
@@ -13847,6 +13430,33 @@
5695
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
5696
+ case `$LD -v 2>&1` in
5697
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
5699
+ cat <<_LT_EOF 1>&2
5701
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
5702
+*** reliably create shared libraries on SCO systems. Therefore, libtool
5703
+*** is disabling shared libraries support. We urge you to upgrade GNU
5704
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
5705
+*** your PATH or compiler configuration so that the native linker is
5706
+*** used, and then restart.
5711
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5712
+ hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
5713
+ archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
5714
+ archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
5723
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5725
@@ -13880,7 +13490,7 @@
5726
# Note: this linker hardcodes the directories in LIBPATH if there
5727
# are no directories specified by -L.
5728
hardcode_minus_L_F77=yes
5729
- if test "$GCC" = yes && test -z "$link_static_flag"; then
5730
+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
5731
# Neither direct hardcoding nor static linking is supported with a
5733
hardcode_direct_F77=unsupported
5734
@@ -13914,6 +13524,7 @@
5741
exp_sym_flag='-bexport'
5742
@@ -13951,6 +13562,7 @@
5743
hardcode_libdir_flag_spec_F77='-L$libdir'
5744
hardcode_libdir_separator_F77=
5748
shared_flag='-shared'
5749
if test "$aix_use_runtimelinking" = yes; then
5750
@@ -13963,11 +13575,11 @@
5751
# chokes on -Wl,-G. The following line is correct:
5754
- if test "$aix_use_runtimelinking" = yes; then
5755
+ if test "$aix_use_runtimelinking" = yes; then
5756
shared_flag='${wl}-G'
5758
shared_flag='${wl}-bM:SRE'
5764
@@ -13993,8 +13605,7 @@
5765
cat conftest.err >&5
5766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767
(exit $ac_status); } &&
5768
- { ac_try='test -z "$ac_f77_werror_flag"
5769
- || test ! -s conftest.err'
5770
+ { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5771
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5774
@@ -14022,12 +13633,12 @@
5775
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
5777
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
5778
- archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5779
+ 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"
5781
if test "$host_cpu" = ia64; then
5782
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
5783
allow_undefined_flag_F77="-z nodefs"
5784
- archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
5785
+ 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"
5787
# Determine the default libpath from the value encoded in an empty executable.
5788
cat >conftest.$ac_ext <<_ACEOF
5789
@@ -14044,8 +13655,7 @@
5790
cat conftest.err >&5
5791
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792
(exit $ac_status); } &&
5793
- { ac_try='test -z "$ac_f77_werror_flag"
5794
- || test ! -s conftest.err'
5795
+ { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
5796
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5799
@@ -14077,13 +13687,11 @@
5800
# -berok will link without error, but may produce a broken library.
5801
no_undefined_flag_F77=' ${wl}-bernotok'
5802
allow_undefined_flag_F77=' ${wl}-berok'
5803
- # -bexpall does not export symbols beginning with underscore (_)
5804
- always_export_symbols_F77=yes
5805
# Exported symbols can be pulled into shared objects from archives
5806
- whole_archive_flag_spec_F77=' '
5807
+ whole_archive_flag_spec_F77='$convenience'
5808
archive_cmds_need_lc_F77=yes
5809
# This is similar to how AIX traditionally builds its shared libraries.
5810
- archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
5811
+ 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'
5815
@@ -14201,13 +13809,22 @@
5818
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5819
- freebsd* | kfreebsd*-gnu | dragonfly*)
5820
+ freebsd* | dragonfly*)
5821
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5822
hardcode_libdir_flag_spec_F77='-R$libdir'
5823
hardcode_direct_F77=yes
5824
hardcode_shlibpath_var_F77=no
5827
+ # GNU/kFreeBSD uses gcc -shared to do shared libraries.
5829
+ archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5830
+ hardcode_libdir_flag_spec_F77='-R$libdir'
5831
+ hardcode_direct_F77=yes
5832
+ hardcode_shlibpath_var_F77=no
5833
+ link_all_deplibs_F77=no
5837
if test "$GCC" = yes; then
5838
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'
5839
@@ -14224,47 +13841,62 @@
5840
export_dynamic_flag_spec_F77='${wl}-E'
5843
- hpux10* | hpux11*)
5845
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5846
+ archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5848
+ archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
5850
+ if test "$with_gnu_ld" = no; then
5851
+ hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
5852
+ hardcode_libdir_separator_F77=:
5854
+ hardcode_direct_F77=yes
5855
+ export_dynamic_flag_spec_F77='${wl}-E'
5857
+ # hardcode_minus_L: Not really in the search PATH,
5858
+ # but as the default location of the library.
5859
+ hardcode_minus_L_F77=yes
5864
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5868
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5871
+ archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5874
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5880
- archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
5882
+ archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5885
+ archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5888
- archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
5889
+ archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5893
if test "$with_gnu_ld" = no; then
5894
+ hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
5895
+ hardcode_libdir_separator_F77=:
5899
- hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
5901
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
5902
- hardcode_libdir_separator_F77=:
5903
- hardcode_direct_F77=no
5904
- hardcode_shlibpath_var_F77=no
5907
- hardcode_libdir_flag_spec_F77='-L$libdir'
5908
hardcode_direct_F77=no
5909
hardcode_shlibpath_var_F77=no
5911
- # hardcode_minus_L: Not really in the search PATH,
5912
- # but as the default location of the library.
5913
- hardcode_minus_L_F77=yes
5916
- hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
5917
- hardcode_libdir_separator_F77=:
5918
hardcode_direct_F77=yes
5919
export_dynamic_flag_spec_F77='${wl}-E'
5921
@@ -14288,7 +13920,7 @@
5922
link_all_deplibs_F77=yes
5926
+ netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
5927
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5928
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5930
@@ -14366,14 +13998,6 @@
5931
hardcode_libdir_separator_F77=:
5935
- archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5936
- hardcode_shlibpath_var_F77=no
5937
- export_dynamic_flag_spec_F77='${wl}-Bexport'
5938
- runpath_var=LD_RUN_PATH
5939
- hardcode_runpath_var=yes
5943
no_undefined_flag_F77=' -z text'
5944
if test "$GCC" = yes; then
5945
@@ -14459,36 +14083,45 @@
5950
- archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5951
- hardcode_direct_F77=yes
5952
- hardcode_minus_L_F77=no
5953
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
5954
+ no_undefined_flag_F77='${wl}-z,text'
5955
+ archive_cmds_need_lc_F77=no
5956
hardcode_shlibpath_var_F77=no
5957
- hardcode_runpath_var=yes
5958
- runpath_var=LD_RUN_PATH
5960
+ runpath_var='LD_RUN_PATH'
5962
- sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
5963
- no_undefined_flag_F77='${wl}-z ${wl}text'
5964
if test "$GCC" = yes; then
5965
- archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5966
+ archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5967
+ archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5969
- archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5970
+ archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5971
+ archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5973
- runpath_var='LD_RUN_PATH'
5974
- hardcode_shlibpath_var_F77=no
5978
- no_undefined_flag_F77=' -z text'
5979
- # $CC -shared without GNU ld will not create a library from C++
5980
- # object files and a static libstdc++, better avoid it by now
5981
- archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5982
- archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5983
- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
5984
- hardcode_libdir_flag_spec_F77=
5985
+ sysv5* | sco3.2v5* | sco5v6*)
5986
+ # Note: We can NOT use -z defs as we might desire, because we do not
5987
+ # link with -lc, and that would cause any symbols used from libc to
5988
+ # always be unresolved, which means just about no library would
5989
+ # ever link correctly. If we're not using GNU ld we use -z text
5990
+ # though, which does catch some bad symbols but isn't as heavy-handed
5992
+ no_undefined_flag_F77='${wl}-z,text'
5993
+ allow_undefined_flag_F77='${wl}-z,nodefs'
5994
+ archive_cmds_need_lc_F77=no
5995
hardcode_shlibpath_var_F77=no
5996
+ hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
5997
+ hardcode_libdir_separator_F77=':'
5998
+ link_all_deplibs_F77=yes
5999
+ export_dynamic_flag_spec_F77='${wl}-Bexport'
6000
runpath_var='LD_RUN_PATH'
6002
+ if test "$GCC" = yes; then
6003
+ archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6004
+ archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6006
+ archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6007
+ archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6012
@@ -14507,11 +14140,6 @@
6013
echo "${ECHO_T}$ld_shlibs_F77" >&6
6014
test "$ld_shlibs_F77" = no && can_build_shared=no
6016
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6017
-if test "$GCC" = yes; then
6018
- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6022
# Do we need to explicitly link libc?
6024
@@ -14544,6 +14172,7 @@
6025
libobjs=conftest.$ac_objext
6027
wl=$lt_prog_compiler_wl_F77
6028
+ pic_flag=$lt_prog_compiler_pic_F77
6032
@@ -14825,10 +14454,15 @@
6033
shlibpath_overrides_runpath=yes
6034
hardcode_into_libs=yes
6037
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
6038
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
6039
shlibpath_overrides_runpath=no
6040
hardcode_into_libs=yes
6042
+ freebsd*) # from 4.6 on
6043
+ shlibpath_overrides_runpath=yes
6044
+ hardcode_into_libs=yes
6049
@@ -14888,6 +14522,18 @@
6050
postinstall_cmds='chmod 555 $lib'
6054
+ version_type=linux
6055
+ need_lib_prefix=no
6057
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6058
+ soname_spec='${libname}${release}${shared_ext}$major'
6059
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
6060
+ shlibpath_var=LD_LIBRARY_PATH
6061
+ shlibpath_overrides_runpath=no
6062
+ hardcode_into_libs=yes
6065
irix5* | irix6* | nonstopux*)
6067
nonstopux*) version_type=nonstopux ;;
6068
@@ -14960,6 +14606,18 @@
6069
dynamic_linker='GNU/Linux ld.so'
6073
+ version_type=linux
6074
+ need_lib_prefix=no
6076
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6077
+ soname_spec='${libname}${release}${shared_ext}$major'
6078
+ shlibpath_var=LD_LIBRARY_PATH
6079
+ shlibpath_overrides_runpath=no
6080
+ hardcode_into_libs=yes
6081
+ dynamic_linker='NetBSD ld.elf_so'
6087
@@ -15009,6 +14667,7 @@
6091
+ sys_lib_dlsearch_path_spec="/usr/lib"
6093
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
6095
@@ -15052,13 +14711,6 @@
6096
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6101
- soname_spec='${libname}${release}${shared_ext}$major'
6102
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6103
- shlibpath_var=LD_LIBRARY_PATH
6109
@@ -15084,7 +14736,7 @@
6113
-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6116
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6117
soname_spec='${libname}${release}${shared_ext}$major'
6118
@@ -15117,6 +14769,29 @@
6122
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6123
+ version_type=freebsd-elf
6124
+ need_lib_prefix=no
6126
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6127
+ soname_spec='${libname}${release}${shared_ext}$major'
6128
+ shlibpath_var=LD_LIBRARY_PATH
6129
+ hardcode_into_libs=yes
6130
+ if test "$with_gnu_ld" = yes; then
6131
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
6132
+ shlibpath_overrides_runpath=no
6134
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
6135
+ shlibpath_overrides_runpath=yes
6138
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
6142
+ sys_lib_dlsearch_path_spec='/usr/lib'
6147
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6148
@@ -15132,6 +14807,11 @@
6149
echo "${ECHO_T}$dynamic_linker" >&6
6150
test "$dynamic_linker" = no && can_build_shared=no
6152
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6153
+if test "$GCC" = yes; then
6154
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6157
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6158
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6159
hardcode_action_F77=
6160
@@ -15169,36 +14849,6 @@
6161
enable_fast_install=needless
6166
-echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6167
-echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6168
-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6169
- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6170
- test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6171
- echo "$as_me:$LINENO: result: yes" >&5
6172
-echo "${ECHO_T}yes" >&6
6174
-# FIXME - insert some real tests, host_os isn't really good enough
6177
- if test -n "$STRIP" ; then
6178
- striplib="$STRIP -x"
6179
- echo "$as_me:$LINENO: result: yes" >&5
6180
-echo "${ECHO_T}yes" >&6
6182
- echo "$as_me:$LINENO: result: no" >&5
6183
-echo "${ECHO_T}no" >&6
6187
- echo "$as_me:$LINENO: result: no" >&5
6188
-echo "${ECHO_T}no" >&6
6195
# The else clause should only fire when bootstrapping the
6196
# libtool distribution, otherwise you forgot to ship ltmain.sh
6197
@@ -15213,7 +14863,7 @@
6198
# Now quote all the things that may contain metacharacters while being
6199
# careful not to overquote the AC_SUBSTed values. We take copies of the
6200
# variables and quote the copies for generation of the libtool script.
6201
- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
6202
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
6204
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
6205
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
6206
@@ -15331,6 +14981,9 @@
6210
+# LTCC compiler flags.
6211
+LTCFLAGS=$lt_LTCFLAGS
6213
# A language-specific compiler.
6216
@@ -15641,6 +15294,9 @@
6217
# If no C compiler was specified, use CC.
6220
+# If no C compiler flags were specified, use CFLAGS.
6221
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6223
# Allow CC to be a program name with arguments.
6226
@@ -15648,13 +15304,13 @@
6227
# save warnings/boilerplate of simple test code
6228
ac_outfile=conftest.$ac_objext
6229
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6230
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6231
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6232
_lt_compiler_boilerplate=`cat conftest.err`
6235
ac_outfile=conftest.$ac_objext
6236
printf "$lt_simple_link_test_code" >conftest.$ac_ext
6237
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6238
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6239
_lt_linker_boilerplate=`cat conftest.err`
6242
@@ -15705,17 +15361,17 @@
6243
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6244
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6245
-e 's:$: $lt_compiler_flag:'`
6246
- (eval echo "\"\$as_me:15708: $lt_compile\"" >&5)
6247
+ (eval echo "\"\$as_me:15364: $lt_compile\"" >&5)
6248
(eval "$lt_compile" 2>conftest.err)
6250
cat conftest.err >&5
6251
- echo "$as_me:15712: \$? = $ac_status" >&5
6252
+ echo "$as_me:15368: \$? = $ac_status" >&5
6253
if (exit $ac_status) && test -s "$ac_outfile"; then
6254
# The compiler can only warn and ignore the option if not recognized
6255
# So say no if there are warnings other than the usual output.
6256
- $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6257
- $SED '/^$/d' conftest.err >conftest.er2
6258
- if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6259
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6260
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6261
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6262
lt_cv_prog_compiler_rtti_exceptions=yes
6265
@@ -15776,6 +15432,11 @@
6266
lt_prog_compiler_pic_GCJ='-fno-common'
6270
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6271
+ # Instead, we relocate shared libraries at runtime.
6275
# Just because we use GCC doesn't mean we suddenly get shared libraries
6276
# on systems that don't support them.
6277
@@ -15890,11 +15551,6 @@
6278
lt_prog_compiler_static_GCJ='-non_shared'
6282
- lt_prog_compiler_pic_GCJ='-Kpic'
6283
- lt_prog_compiler_static_GCJ='-dn'
6287
lt_prog_compiler_pic_GCJ='-KPIC'
6288
lt_prog_compiler_static_GCJ='-Bstatic'
6289
@@ -15912,7 +15568,7 @@
6290
lt_prog_compiler_static_GCJ='-Bstatic'
6293
- sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6294
+ sysv4 | sysv4.2uw2* | sysv4.3*)
6295
lt_prog_compiler_wl_GCJ='-Wl,'
6296
lt_prog_compiler_pic_GCJ='-KPIC'
6297
lt_prog_compiler_static_GCJ='-Bstatic'
6298
@@ -15925,6 +15581,12 @@
6302
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6303
+ lt_prog_compiler_wl_GCJ='-Wl,'
6304
+ lt_prog_compiler_pic_GCJ='-KPIC'
6305
+ lt_prog_compiler_static_GCJ='-Bstatic'
6309
lt_prog_compiler_wl_GCJ='-Wl,'
6310
lt_prog_compiler_can_build_shared_GCJ=no
6311
@@ -15967,17 +15629,17 @@
6312
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6313
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6314
-e 's:$: $lt_compiler_flag:'`
6315
- (eval echo "\"\$as_me:15970: $lt_compile\"" >&5)
6316
+ (eval echo "\"\$as_me:15632: $lt_compile\"" >&5)
6317
(eval "$lt_compile" 2>conftest.err)
6319
cat conftest.err >&5
6320
- echo "$as_me:15974: \$? = $ac_status" >&5
6321
+ echo "$as_me:15636: \$? = $ac_status" >&5
6322
if (exit $ac_status) && test -s "$ac_outfile"; then
6323
# The compiler can only warn and ignore the option if not recognized
6324
# So say no if there are warnings other than the usual output.
6325
- $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6326
- $SED '/^$/d' conftest.err >conftest.er2
6327
- if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6328
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6329
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6330
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6331
lt_prog_compiler_pic_works_GCJ=yes
6334
@@ -16008,6 +15670,48 @@
6339
+# Check to make sure the static flag actually works.
6341
+wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
6342
+echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6343
+echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6344
+if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
6345
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6347
+ lt_prog_compiler_static_works_GCJ=no
6348
+ save_LDFLAGS="$LDFLAGS"
6349
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6350
+ printf "$lt_simple_link_test_code" > conftest.$ac_ext
6351
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6352
+ # The linker can only warn and ignore the option if not recognized
6353
+ # So say no if there are warnings
6354
+ if test -s conftest.err; then
6355
+ # Append any errors to the config.log.
6356
+ cat conftest.err 1>&5
6357
+ $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6358
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6359
+ if diff conftest.exp conftest.er2 >/dev/null; then
6360
+ lt_prog_compiler_static_works_GCJ=yes
6363
+ lt_prog_compiler_static_works_GCJ=yes
6367
+ LDFLAGS="$save_LDFLAGS"
6370
+echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
6371
+echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
6373
+if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
6376
+ lt_prog_compiler_static_GCJ=
6380
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6381
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6382
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
6383
@@ -16029,18 +15733,18 @@
6384
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6385
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6386
-e 's:$: $lt_compiler_flag:'`
6387
- (eval echo "\"\$as_me:16032: $lt_compile\"" >&5)
6388
+ (eval echo "\"\$as_me:15736: $lt_compile\"" >&5)
6389
(eval "$lt_compile" 2>out/conftest.err)
6391
cat out/conftest.err >&5
6392
- echo "$as_me:16036: \$? = $ac_status" >&5
6393
+ echo "$as_me:15740: \$? = $ac_status" >&5
6394
if (exit $ac_status) && test -s out/conftest2.$ac_objext
6396
# The compiler can only warn and ignore the option if not recognized
6397
# So say no if there are warnings
6398
- $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
6399
- $SED '/^$/d' out/conftest.err >out/conftest.er2
6400
- if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6401
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6402
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6403
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6404
lt_cv_prog_compiler_c_o_GCJ=yes
6407
@@ -16140,6 +15844,10 @@
6412
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
6418
@@ -16224,7 +15932,7 @@
6419
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6421
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6422
- archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6423
+ archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6424
# If the export-symbols file already is a .def file (1st line
6425
# is EXPORTS), use it as is; otherwise, prepend...
6426
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6427
@@ -16233,12 +15941,27 @@
6428
echo EXPORTS > $output_objdir/$soname.def;
6429
cat $export_symbols >> $output_objdir/$soname.def;
6431
- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6432
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6439
+ hardcode_direct_GCJ=no
6440
+ hardcode_shlibpath_var_GCJ=no
6441
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
6442
+ export_dynamic_flag_spec_GCJ='${wl}-E'
6443
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6444
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
6445
+ # default) and relocated if they conflict, which is a slow very memory
6446
+ # consuming and fragmenting process. To avoid this, we pick a random,
6447
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6448
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6449
+ 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'
6450
+ 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'
6454
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6456
@@ -16265,12 +15988,13 @@
6457
$echo "local: *; };" >> $output_objdir/$libname.ver~
6458
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6460
+ link_all_deplibs_GCJ=no
6467
+ netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6468
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6469
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6471
@@ -16280,7 +16004,7 @@
6475
- solaris* | sysv5*)
6477
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6480
@@ -16301,8 +16025,35 @@
6485
- archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6486
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
6487
+ case `$LD -v 2>&1` in
6488
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
6490
+ cat <<_LT_EOF 1>&2
6492
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
6493
+*** reliably create shared libraries on SCO systems. Therefore, libtool
6494
+*** is disabling shared libraries support. We urge you to upgrade GNU
6495
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
6496
+*** your PATH or compiler configuration so that the native linker is
6497
+*** used, and then restart.
6502
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6503
+ hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
6504
+ archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
6505
+ archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
6514
+ archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6516
hardcode_direct_GCJ=yes
6517
hardcode_shlibpath_var_GCJ=no
6518
@@ -16334,7 +16085,7 @@
6519
# Note: this linker hardcodes the directories in LIBPATH if there
6520
# are no directories specified by -L.
6521
hardcode_minus_L_GCJ=yes
6522
- if test "$GCC" = yes && test -z "$link_static_flag"; then
6523
+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6524
# Neither direct hardcoding nor static linking is supported with a
6526
hardcode_direct_GCJ=unsupported
6527
@@ -16368,6 +16119,7 @@
6534
exp_sym_flag='-bexport'
6535
@@ -16405,6 +16157,7 @@
6536
hardcode_libdir_flag_spec_GCJ='-L$libdir'
6537
hardcode_libdir_separator_GCJ=
6541
shared_flag='-shared'
6542
if test "$aix_use_runtimelinking" = yes; then
6543
@@ -16417,11 +16170,11 @@
6544
# chokes on -Wl,-G. The following line is correct:
6547
- if test "$aix_use_runtimelinking" = yes; then
6548
+ if test "$aix_use_runtimelinking" = yes; then
6549
shared_flag='${wl}-G'
6551
shared_flag='${wl}-bM:SRE'
6557
@@ -16457,8 +16210,7 @@
6558
cat conftest.err >&5
6559
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560
(exit $ac_status); } &&
6561
- { ac_try='test -z "$ac_c_werror_flag"
6562
- || test ! -s conftest.err'
6563
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6564
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6567
@@ -16486,12 +16238,12 @@
6568
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6570
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
6571
- archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6572
+ 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"
6574
if test "$host_cpu" = ia64; then
6575
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
6576
allow_undefined_flag_GCJ="-z nodefs"
6577
- archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
6578
+ 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"
6580
# Determine the default libpath from the value encoded in an empty executable.
6581
cat >conftest.$ac_ext <<_ACEOF
6582
@@ -16518,8 +16270,7 @@
6583
cat conftest.err >&5
6584
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585
(exit $ac_status); } &&
6586
- { ac_try='test -z "$ac_c_werror_flag"
6587
- || test ! -s conftest.err'
6588
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6589
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6592
@@ -16551,13 +16302,11 @@
6593
# -berok will link without error, but may produce a broken library.
6594
no_undefined_flag_GCJ=' ${wl}-bernotok'
6595
allow_undefined_flag_GCJ=' ${wl}-berok'
6596
- # -bexpall does not export symbols beginning with underscore (_)
6597
- always_export_symbols_GCJ=yes
6598
# Exported symbols can be pulled into shared objects from archives
6599
- whole_archive_flag_spec_GCJ=' '
6600
+ whole_archive_flag_spec_GCJ='$convenience'
6601
archive_cmds_need_lc_GCJ=yes
6602
# This is similar to how AIX traditionally builds its shared libraries.
6603
- archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
6604
+ 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'
6608
@@ -16675,11 +16424,20 @@
6611
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6612
- freebsd* | kfreebsd*-gnu | dragonfly*)
6613
+ freebsd* | dragonfly*)
6614
+ archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6615
+ hardcode_libdir_flag_spec_GCJ='-R$libdir'
6616
+ hardcode_direct_GCJ=yes
6617
+ hardcode_shlibpath_var_GCJ=no
6620
+ # GNU/kFreeBSD uses gcc -shared to do shared libraries.
6622
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6623
hardcode_libdir_flag_spec_GCJ='-R$libdir'
6624
hardcode_direct_GCJ=yes
6625
hardcode_shlibpath_var_GCJ=no
6626
+ link_all_deplibs_GCJ=no
6630
@@ -16698,47 +16456,62 @@
6631
export_dynamic_flag_spec_GCJ='${wl}-E'
6634
- hpux10* | hpux11*)
6636
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6637
+ archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6639
+ archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6641
+ if test "$with_gnu_ld" = no; then
6642
+ hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
6643
+ hardcode_libdir_separator_GCJ=:
6645
+ hardcode_direct_GCJ=yes
6646
+ export_dynamic_flag_spec_GCJ='${wl}-E'
6648
+ # hardcode_minus_L: Not really in the search PATH,
6649
+ # but as the default location of the library.
6650
+ hardcode_minus_L_GCJ=yes
6655
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6659
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6662
+ archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
6665
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6671
- archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
6673
+ archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6676
+ archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
6679
- archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6680
+ archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6684
if test "$with_gnu_ld" = no; then
6685
+ hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
6686
+ hardcode_libdir_separator_GCJ=:
6690
- hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
6692
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
6693
- hardcode_libdir_separator_GCJ=:
6694
- hardcode_direct_GCJ=no
6695
- hardcode_shlibpath_var_GCJ=no
6698
- hardcode_libdir_flag_spec_GCJ='-L$libdir'
6699
hardcode_direct_GCJ=no
6700
hardcode_shlibpath_var_GCJ=no
6702
- # hardcode_minus_L: Not really in the search PATH,
6703
- # but as the default location of the library.
6704
- hardcode_minus_L_GCJ=yes
6707
- hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
6708
- hardcode_libdir_separator_GCJ=:
6709
hardcode_direct_GCJ=yes
6710
export_dynamic_flag_spec_GCJ='${wl}-E'
6712
@@ -16762,7 +16535,7 @@
6713
link_all_deplibs_GCJ=yes
6717
+ netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6718
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6719
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6721
@@ -16840,14 +16613,6 @@
6722
hardcode_libdir_separator_GCJ=:
6726
- archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6727
- hardcode_shlibpath_var_GCJ=no
6728
- export_dynamic_flag_spec_GCJ='${wl}-Bexport'
6729
- runpath_var=LD_RUN_PATH
6730
- hardcode_runpath_var=yes
6734
no_undefined_flag_GCJ=' -z text'
6735
if test "$GCC" = yes; then
6736
@@ -16933,36 +16698,45 @@
6741
- archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6742
- hardcode_direct_GCJ=yes
6743
- hardcode_minus_L_GCJ=no
6744
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
6745
+ no_undefined_flag_GCJ='${wl}-z,text'
6746
+ archive_cmds_need_lc_GCJ=no
6747
hardcode_shlibpath_var_GCJ=no
6748
- hardcode_runpath_var=yes
6749
- runpath_var=LD_RUN_PATH
6751
+ runpath_var='LD_RUN_PATH'
6753
- sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
6754
- no_undefined_flag_GCJ='${wl}-z ${wl}text'
6755
if test "$GCC" = yes; then
6756
- archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6757
+ archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6758
+ archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6760
- archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6761
+ archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6762
+ archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6764
- runpath_var='LD_RUN_PATH'
6765
- hardcode_shlibpath_var_GCJ=no
6769
- no_undefined_flag_GCJ=' -z text'
6770
- # $CC -shared without GNU ld will not create a library from C++
6771
- # object files and a static libstdc++, better avoid it by now
6772
- archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6773
- archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6774
- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6775
- hardcode_libdir_flag_spec_GCJ=
6776
+ sysv5* | sco3.2v5* | sco5v6*)
6777
+ # Note: We can NOT use -z defs as we might desire, because we do not
6778
+ # link with -lc, and that would cause any symbols used from libc to
6779
+ # always be unresolved, which means just about no library would
6780
+ # ever link correctly. If we're not using GNU ld we use -z text
6781
+ # though, which does catch some bad symbols but isn't as heavy-handed
6783
+ no_undefined_flag_GCJ='${wl}-z,text'
6784
+ allow_undefined_flag_GCJ='${wl}-z,nodefs'
6785
+ archive_cmds_need_lc_GCJ=no
6786
hardcode_shlibpath_var_GCJ=no
6787
+ hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
6788
+ hardcode_libdir_separator_GCJ=':'
6789
+ link_all_deplibs_GCJ=yes
6790
+ export_dynamic_flag_spec_GCJ='${wl}-Bexport'
6791
runpath_var='LD_RUN_PATH'
6793
+ if test "$GCC" = yes; then
6794
+ archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6795
+ archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6797
+ archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6798
+ archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6803
@@ -16977,1505 +16751,717 @@
6807
-echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
6808
-echo "${ECHO_T}$ld_shlibs_GCJ" >&6
6809
-test "$ld_shlibs_GCJ" = no && can_build_shared=no
6811
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6812
-if test "$GCC" = yes; then
6813
- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6817
-# Do we need to explicitly link libc?
6819
-case "x$archive_cmds_need_lc_GCJ" in
6821
- # Assume -lc should be added
6822
- archive_cmds_need_lc_GCJ=yes
6824
- if test "$enable_shared" = yes && test "$GCC" = yes; then
6825
- case $archive_cmds_GCJ in
6827
- # FIXME: we may have to deal with multi-command sequences.
6830
- # Test whether the compiler implicitly links with -lc since on some
6831
- # systems, -lgcc has to come before -lc. If gcc already passes -lc
6832
- # to ld, don't add -lc before -lgcc.
6833
- echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
6834
-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
6836
- printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6838
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6839
- (eval $ac_compile) 2>&5
6841
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842
- (exit $ac_status); } 2>conftest.err; then
6845
- libobjs=conftest.$ac_objext
6847
- wl=$lt_prog_compiler_wl_GCJ
6853
- lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
6854
- allow_undefined_flag_GCJ=
6855
- if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
6856
- (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
6858
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859
- (exit $ac_status); }
6861
- archive_cmds_need_lc_GCJ=no
6863
- archive_cmds_need_lc_GCJ=yes
6865
- allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
6867
- cat conftest.err 1>&5
6870
- echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
6871
-echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
6878
-echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6879
-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6880
-library_names_spec=
6881
-libname_spec='lib$name'
6885
-postuninstall_cmds=
6889
-shlibpath_overrides_runpath=unknown
6891
-dynamic_linker="$host_os ld.so"
6892
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
6893
-if test "$GCC" = yes; then
6894
- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6895
- if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
6896
- # if the path contains ";" then we assume it to be the separator
6897
- # otherwise default to the standard path separator (i.e. ":") - it is
6898
- # assumed that no part of a normal pathname contains ";" but that should
6899
- # okay in the real world where ";" in dirpaths is itself problematic.
6900
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6902
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6905
- sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6907
-need_lib_prefix=unknown
6908
-hardcode_into_libs=no
6910
-# when you set need_version to no, make sure it does not cause -set_version
6911
-# flags to be left without arguments
6912
-need_version=unknown
6916
- version_type=linux
6917
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
6918
- shlibpath_var=LIBPATH
6920
- # AIX 3 has no versioning support, so we append a major version to the name.
6921
- soname_spec='${libname}${release}${shared_ext}$major'
6925
- version_type=linux
6926
- need_lib_prefix=no
6928
- hardcode_into_libs=yes
6929
- if test "$host_cpu" = ia64; then
6930
- # AIX 5 supports IA64
6931
- library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6932
- shlibpath_var=LD_LIBRARY_PATH
6934
- # With GCC up to 2.95.x, collect2 would create an import file
6935
- # for dependence libraries. The import file would start with
6936
- # the line `#! .'. This would cause the generated library to
6937
- # depend on `.', always an invalid library. This was fixed in
6938
- # development snapshots of GCC prior to 3.0.
6940
- aix4 | aix4.[01] | aix4.[01].*)
6941
- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6943
- echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6946
- can_build_shared=no
6950
- # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6951
- # soname into executable. Probably we can add versioning support to
6952
- # collect2, so additional links can be useful in future.
6953
- if test "$aix_use_runtimelinking" = yes; then
6954
- # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6955
- # instead of lib<name>.a to let people know that these are not
6956
- # typical AIX shared libraries.
6957
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6959
- # We preserve .a as extension for shared libraries through AIX4.2
6960
- # and later when we are not doing run time linking.
6961
- library_names_spec='${libname}${release}.a $libname.a'
6962
- soname_spec='${libname}${release}${shared_ext}$major'
6964
- shlibpath_var=LIBPATH
6969
- library_names_spec='$libname.ixlibrary $libname.a'
6970
- # Create ${libname}_ixlibrary.a entries in /sys/libs.
6971
- 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'
6975
- library_names_spec='${libname}${shared_ext}'
6976
- dynamic_linker="$host_os ld.so"
6977
- shlibpath_var=LIBRARY_PATH
6981
- version_type=linux
6983
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6984
- soname_spec='${libname}${release}${shared_ext}$major'
6985
- finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6986
- shlibpath_var=LD_LIBRARY_PATH
6987
- sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6988
- sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6989
- # the default ld.so.conf also contains /usr/contrib/lib and
6990
- # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6991
- # libtool to hard-code these into programs
6994
-cygwin* | mingw* | pw32*)
6995
- version_type=windows
6996
- shrext_cmds=".dll"
6998
- need_lib_prefix=no
7000
- case $GCC,$host_os in
7001
- yes,cygwin* | yes,mingw* | yes,pw32*)
7002
- library_names_spec='$libname.dll.a'
7003
- # DLL is installed to $(libdir)/../bin by postinstall_cmds
7004
- postinstall_cmds='base_file=`basename \${file}`~
7005
- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7006
- dldir=$destdir/`dirname \$dlpath`~
7007
- test -d \$dldir || mkdir -p \$dldir~
7008
- $install_prog $dir/$dlname \$dldir/$dlname~
7009
- chmod a+x \$dldir/$dlname'
7010
- postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7011
- dlpath=$dir/\$dldll~
7013
- shlibpath_overrides_runpath=yes
7017
- # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7018
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7019
- sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
7022
- # MinGW DLLs use traditional 'lib' prefix
7023
- soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7024
- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7025
- if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7026
- # It is most probably a Windows format PATH printed by
7027
- # mingw gcc, but we are running on Cygwin. Gcc prints its search
7028
- # path with ; separators, and with drive letters. We can handle the
7029
- # drive letters (cygwin fileutils understands them), so leave them,
7030
- # especially as we might pass files found there to a mingw objdump,
7031
- # which wouldn't understand a cygwinified path. Ahh.
7032
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7034
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7038
- # pw32 DLLs use 'pw' prefix rather than 'lib'
7039
- library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7045
- library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7048
- dynamic_linker='Win32 ld.exe'
7049
- # FIXME: first we should search . and the directory the executable is in
7050
- shlibpath_var=PATH
7053
-darwin* | rhapsody*)
7054
- dynamic_linker="$host_os dyld"
7055
- version_type=darwin
7056
- need_lib_prefix=no
7058
- library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7059
- soname_spec='${libname}${release}${major}$shared_ext'
7060
- shlibpath_overrides_runpath=yes
7061
- shlibpath_var=DYLD_LIBRARY_PATH
7062
- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7063
- # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7064
- if test "$GCC" = yes; then
7065
- 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"`
7067
- sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7069
- sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7073
- version_type=linux
7074
- need_lib_prefix=no
7076
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7077
- soname_spec='${libname}${release}${shared_ext}$major'
7078
- shlibpath_var=LD_LIBRARY_PATH
7086
- version_type=linux
7087
- need_lib_prefix=no
7089
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7090
- soname_spec='${libname}${release}${shared_ext}$major'
7091
- shlibpath_var=LD_LIBRARY_PATH
7092
- shlibpath_overrides_runpath=no
7093
- hardcode_into_libs=yes
7094
- dynamic_linker='GNU ld.so'
7097
-freebsd* | dragonfly*)
7098
- # DragonFly does not have aout. When/if they implement a new
7099
- # versioning mechanism, adjust this.
7100
- if test -x /usr/bin/objformat; then
7101
- objformat=`/usr/bin/objformat`
7104
- freebsd[123]*) objformat=aout ;;
7105
- *) objformat=elf ;;
7108
- version_type=freebsd-$objformat
7109
- case $version_type in
7111
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7113
- need_lib_prefix=no
7116
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7120
- shlibpath_var=LD_LIBRARY_PATH
7123
- shlibpath_overrides_runpath=yes
7125
- freebsd3.[01]* | freebsdelf3.[01]*)
7126
- shlibpath_overrides_runpath=yes
7127
- hardcode_into_libs=yes
7130
- shlibpath_overrides_runpath=no
7131
- hardcode_into_libs=yes
7137
- version_type=linux
7138
- need_lib_prefix=no
7140
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7141
- soname_spec='${libname}${release}${shared_ext}$major'
7142
- shlibpath_var=LD_LIBRARY_PATH
7143
- hardcode_into_libs=yes
7146
-hpux9* | hpux10* | hpux11*)
7147
- # Give a soname corresponding to the major version so that dld.sl refuses to
7148
- # link against other versions.
7149
- version_type=sunos
7150
- need_lib_prefix=no
7155
- hardcode_into_libs=yes
7156
- dynamic_linker="$host_os dld.so"
7157
- shlibpath_var=LD_LIBRARY_PATH
7158
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7159
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7160
- soname_spec='${libname}${release}${shared_ext}$major'
7161
- if test "X$HPUX_IA64_MODE" = X32; then
7162
- sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7164
- sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7166
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7170
- hardcode_into_libs=yes
7171
- dynamic_linker="$host_os dld.sl"
7172
- shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7173
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7174
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7175
- soname_spec='${libname}${release}${shared_ext}$major'
7176
- sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7177
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7181
- dynamic_linker="$host_os dld.sl"
7182
- shlibpath_var=SHLIB_PATH
7183
- shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7184
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7185
- soname_spec='${libname}${release}${shared_ext}$major'
7188
- # HP-UX runs *really* slowly unless shared libraries are mode 555.
7189
- postinstall_cmds='chmod 555 $lib'
7192
-irix5* | irix6* | nonstopux*)
7194
- nonstopux*) version_type=nonstopux ;;
7196
- if test "$lt_cv_prog_gnu_ld" = yes; then
7197
- version_type=linux
7202
- need_lib_prefix=no
7204
- soname_spec='${libname}${release}${shared_ext}$major'
7205
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7207
- irix5* | nonstopux*)
7208
- libsuff= shlibsuff=
7211
- case $LD in # libtool.m4 will add one of these switches to LD
7212
- *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7213
- libsuff= shlibsuff= libmagic=32-bit;;
7214
- *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7215
- libsuff=32 shlibsuff=N32 libmagic=N32;;
7216
- *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7217
- libsuff=64 shlibsuff=64 libmagic=64-bit;;
7218
- *) libsuff= shlibsuff= libmagic=never-match;;
7222
- shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7223
- shlibpath_overrides_runpath=no
7224
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7225
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7226
- hardcode_into_libs=yes
7229
-# No shared lib support for Linux oldld, aout, or coff.
7230
-linux*oldld* | linux*aout* | linux*coff*)
7234
-# This must be Linux ELF.
7236
- version_type=linux
7237
- need_lib_prefix=no
7239
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7240
- soname_spec='${libname}${release}${shared_ext}$major'
7241
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7242
- shlibpath_var=LD_LIBRARY_PATH
7243
- shlibpath_overrides_runpath=no
7244
- # This implies no fast_install, which is unacceptable.
7245
- # Some rework will be needed to allow for fast_install
7246
- # before this can be enabled.
7247
- hardcode_into_libs=yes
7249
- # Append ld.so.conf contents to the search path
7250
- if test -f /etc/ld.so.conf; then
7251
- 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' ' '`
7252
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
7255
- # We used to test for /lib/ld.so.1 and disable shared libraries on
7256
- # powerpc, because MkLinux only supported shared libraries with the
7257
- # GNU dynamic linker. Since this was broken with cross compilers,
7258
- # most powerpc-linux boxes support dynamic linking these days and
7259
- # people can always --disable-shared, the test was removed, and we
7260
- # assume the GNU/Linux dynamic linker is in use.
7261
- dynamic_linker='GNU/Linux ld.so'
7265
- version_type=linux
7266
- need_lib_prefix=no
7268
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7269
- soname_spec='${libname}${release}${shared_ext}$major'
7270
- shlibpath_var=LD_LIBRARY_PATH
7271
- shlibpath_overrides_runpath=no
7272
- hardcode_into_libs=yes
7273
- dynamic_linker='GNU ld.so'
7277
- version_type=sunos
7278
- need_lib_prefix=no
7280
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7281
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7282
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7283
- dynamic_linker='NetBSD (a.out) ld.so'
7285
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7286
- soname_spec='${libname}${release}${shared_ext}$major'
7287
- dynamic_linker='NetBSD ld.elf_so'
7289
- shlibpath_var=LD_LIBRARY_PATH
7290
- shlibpath_overrides_runpath=yes
7291
- hardcode_into_libs=yes
7295
- version_type=linux
7296
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7297
- shlibpath_var=LD_LIBRARY_PATH
7298
- shlibpath_overrides_runpath=yes
7302
- version_type=linux
7303
- need_lib_prefix=no
7305
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7306
- soname_spec='${libname}${release}${shared_ext}$major'
7307
- shlibpath_var=LD_LIBRARY_PATH
7308
- shlibpath_overrides_runpath=yes
7312
- version_type=sunos
7313
- need_lib_prefix=no
7314
- # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
7316
- openbsd3.3 | openbsd3.3.*) need_version=yes ;;
7317
- *) need_version=no ;;
7319
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7320
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7321
- shlibpath_var=LD_LIBRARY_PATH
7322
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7324
- openbsd2.[89] | openbsd2.[89].*)
7325
- shlibpath_overrides_runpath=no
7328
- shlibpath_overrides_runpath=yes
7332
- shlibpath_overrides_runpath=yes
7337
- libname_spec='$name'
7338
- shrext_cmds=".dll"
7339
- need_lib_prefix=no
7340
- library_names_spec='$libname${shared_ext} $libname.a'
7341
- dynamic_linker='OS/2 ld.exe'
7342
- shlibpath_var=LIBPATH
7345
-osf3* | osf4* | osf5*)
7347
- need_lib_prefix=no
7349
- soname_spec='${libname}${release}${shared_ext}$major'
7350
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7351
- shlibpath_var=LD_LIBRARY_PATH
7352
- sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7353
- sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7358
- soname_spec='${libname}${release}${shared_ext}$major'
7359
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7360
- shlibpath_var=LD_LIBRARY_PATH
7364
- version_type=linux
7365
- need_lib_prefix=no
7367
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7368
- soname_spec='${libname}${release}${shared_ext}$major'
7369
- shlibpath_var=LD_LIBRARY_PATH
7370
- shlibpath_overrides_runpath=yes
7371
- hardcode_into_libs=yes
7372
- # ldd complains unless libraries are executable
7373
- postinstall_cmds='chmod +x $lib'
7377
- version_type=sunos
7378
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7379
- finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7380
- shlibpath_var=LD_LIBRARY_PATH
7381
- shlibpath_overrides_runpath=yes
7382
- if test "$with_gnu_ld" = yes; then
7383
- need_lib_prefix=no
7388
-sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7389
- version_type=linux
7390
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7391
- soname_spec='${libname}${release}${shared_ext}$major'
7392
- shlibpath_var=LD_LIBRARY_PATH
7393
- case $host_vendor in
7395
- shlibpath_overrides_runpath=no
7396
- need_lib_prefix=no
7397
- export_dynamic_flag_spec='${wl}-Blargedynsym'
7398
- runpath_var=LD_RUN_PATH
7401
- need_lib_prefix=no
7404
- need_lib_prefix=no
7406
- shlibpath_overrides_runpath=no
7407
- sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
7413
- if test -d /usr/nec ;then
7414
- version_type=linux
7415
- library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
7416
- soname_spec='$libname${shared_ext}.$major'
7417
- shlibpath_var=LD_LIBRARY_PATH
7422
- version_type=linux
7423
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7424
- soname_spec='${libname}${release}${shared_ext}$major'
7425
- shlibpath_var=LD_LIBRARY_PATH
7432
-echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7433
-echo "${ECHO_T}$dynamic_linker" >&6
7434
-test "$dynamic_linker" = no && can_build_shared=no
7436
-echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7437
-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7438
-hardcode_action_GCJ=
7439
-if test -n "$hardcode_libdir_flag_spec_GCJ" || \
7440
- test -n "$runpath_var_GCJ" || \
7441
- test "X$hardcode_automatic_GCJ" = "Xyes" ; then
7443
- # We can hardcode non-existant directories.
7444
- if test "$hardcode_direct_GCJ" != no &&
7445
- # If the only mechanism to avoid hardcoding is shlibpath_var, we
7446
- # have to relink, otherwise we might link with an installed library
7447
- # when we should be linking with a yet-to-be-installed one
7448
- ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
7449
- test "$hardcode_minus_L_GCJ" != no; then
7450
- # Linking always hardcodes the temporary library directory.
7451
- hardcode_action_GCJ=relink
7453
- # We can link without hardcoding, and we can hardcode nonexisting dirs.
7454
- hardcode_action_GCJ=immediate
7457
- # We cannot hardcode anything, or else we can only hardcode existing
7459
- hardcode_action_GCJ=unsupported
7461
-echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
7462
-echo "${ECHO_T}$hardcode_action_GCJ" >&6
7464
-if test "$hardcode_action_GCJ" = relink; then
7465
- # Fast installation is not supported
7466
- enable_fast_install=no
7467
-elif test "$shlibpath_overrides_runpath" = yes ||
7468
- test "$enable_shared" = no; then
7469
- # Fast installation is not necessary
7470
- enable_fast_install=needless
7475
-echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7476
-echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7477
-if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7478
- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7479
- test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7480
- echo "$as_me:$LINENO: result: yes" >&5
7481
-echo "${ECHO_T}yes" >&6
7483
-# FIXME - insert some real tests, host_os isn't really good enough
7486
- if test -n "$STRIP" ; then
7487
- striplib="$STRIP -x"
7488
- echo "$as_me:$LINENO: result: yes" >&5
7489
-echo "${ECHO_T}yes" >&6
7491
- echo "$as_me:$LINENO: result: no" >&5
7492
-echo "${ECHO_T}no" >&6
7496
- echo "$as_me:$LINENO: result: no" >&5
7497
-echo "${ECHO_T}no" >&6
7502
-if test "x$enable_dlopen" != xyes; then
7503
- enable_dlopen=unknown
7504
- enable_dlopen_self=unknown
7505
- enable_dlopen_self_static=unknown
7508
- lt_cv_dlopen_libs=
7512
- lt_cv_dlopen="load_add_on"
7513
- lt_cv_dlopen_libs=
7514
- lt_cv_dlopen_self=yes
7518
- lt_cv_dlopen="LoadLibrary"
7519
- lt_cv_dlopen_libs=
7523
- lt_cv_dlopen="dlopen"
7524
- lt_cv_dlopen_libs=
7528
- # if libdl is installed we need to link against it
7529
- echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7530
-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7531
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7532
- echo $ECHO_N "(cached) $ECHO_C" >&6
7534
- ac_check_lib_save_LIBS=$LIBS
7536
-cat >conftest.$ac_ext <<_ACEOF
7539
-cat confdefs.h >>conftest.$ac_ext
7540
-cat >>conftest.$ac_ext <<_ACEOF
7541
-/* end confdefs.h. */
7543
-/* Override any gcc2 internal prototype to avoid an error. */
7547
-/* We use char because int might match the return type of a gcc2
7548
- builtin and then its argument prototype would still apply. */
7558
-rm -f conftest.$ac_objext conftest$ac_exeext
7559
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7560
- (eval $ac_link) 2>conftest.er1
7562
- grep -v '^ *+' conftest.er1 >conftest.err
7563
- rm -f conftest.er1
7564
- cat conftest.err >&5
7565
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566
- (exit $ac_status); } &&
7567
- { ac_try='test -z "$ac_c_werror_flag"
7568
- || test ! -s conftest.err'
7569
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7570
- (eval $ac_try) 2>&5
7572
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573
- (exit $ac_status); }; } &&
7574
- { ac_try='test -s conftest$ac_exeext'
7575
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576
- (eval $ac_try) 2>&5
7578
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579
- (exit $ac_status); }; }; then
7580
- ac_cv_lib_dl_dlopen=yes
7582
- echo "$as_me: failed program was:" >&5
7583
-sed 's/^/| /' conftest.$ac_ext >&5
7585
-ac_cv_lib_dl_dlopen=no
7587
-rm -f conftest.err conftest.$ac_objext \
7588
- conftest$ac_exeext conftest.$ac_ext
7589
-LIBS=$ac_check_lib_save_LIBS
7591
-echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7592
-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7593
-if test $ac_cv_lib_dl_dlopen = yes; then
7594
- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7597
- lt_cv_dlopen="dyld"
7598
- lt_cv_dlopen_libs=
7599
- lt_cv_dlopen_self=yes
7606
- echo "$as_me:$LINENO: checking for shl_load" >&5
7607
-echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
7608
-if test "${ac_cv_func_shl_load+set}" = set; then
7609
- echo $ECHO_N "(cached) $ECHO_C" >&6
7611
- cat >conftest.$ac_ext <<_ACEOF
7614
-cat confdefs.h >>conftest.$ac_ext
7615
-cat >>conftest.$ac_ext <<_ACEOF
7616
-/* end confdefs.h. */
7617
-/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
7618
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
7619
-#define shl_load innocuous_shl_load
7621
-/* System header to define __stub macros and hopefully few prototypes,
7622
- which can conflict with char shl_load (); below.
7623
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7624
- <limits.h> exists even on freestanding compilers. */
7627
-# include <limits.h>
7629
-# include <assert.h>
7634
-/* Override any gcc2 internal prototype to avoid an error. */
7639
-/* We use char because int might match the return type of a gcc2
7640
- builtin and then its argument prototype would still apply. */
7642
-/* The GNU C library defines this for functions which it implements
7643
- to always fail with ENOSYS. Some functions are actually named
7644
- something starting with __ and the normal name is an alias. */
7645
-#if defined (__stub_shl_load) || defined (__stub___shl_load)
7648
-char (*f) () = shl_load;
7657
-return f != shl_load;
7662
-rm -f conftest.$ac_objext conftest$ac_exeext
7663
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7664
- (eval $ac_link) 2>conftest.er1
7666
- grep -v '^ *+' conftest.er1 >conftest.err
7667
- rm -f conftest.er1
7668
- cat conftest.err >&5
7669
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670
- (exit $ac_status); } &&
7671
- { ac_try='test -z "$ac_c_werror_flag"
7672
- || test ! -s conftest.err'
7673
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7674
- (eval $ac_try) 2>&5
7676
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677
- (exit $ac_status); }; } &&
7678
- { ac_try='test -s conftest$ac_exeext'
7679
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7680
- (eval $ac_try) 2>&5
7682
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683
- (exit $ac_status); }; }; then
7684
- ac_cv_func_shl_load=yes
7686
- echo "$as_me: failed program was:" >&5
7687
-sed 's/^/| /' conftest.$ac_ext >&5
7689
-ac_cv_func_shl_load=no
7691
-rm -f conftest.err conftest.$ac_objext \
7692
- conftest$ac_exeext conftest.$ac_ext
7694
-echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7695
-echo "${ECHO_T}$ac_cv_func_shl_load" >&6
7696
-if test $ac_cv_func_shl_load = yes; then
7697
- lt_cv_dlopen="shl_load"
7699
- echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7700
-echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
7701
-if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7702
- echo $ECHO_N "(cached) $ECHO_C" >&6
7704
- ac_check_lib_save_LIBS=$LIBS
7706
-cat >conftest.$ac_ext <<_ACEOF
7709
-cat confdefs.h >>conftest.$ac_ext
7710
-cat >>conftest.$ac_ext <<_ACEOF
7711
-/* end confdefs.h. */
7713
-/* Override any gcc2 internal prototype to avoid an error. */
7717
-/* We use char because int might match the return type of a gcc2
7718
- builtin and then its argument prototype would still apply. */
7728
-rm -f conftest.$ac_objext conftest$ac_exeext
7729
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7730
- (eval $ac_link) 2>conftest.er1
7732
- grep -v '^ *+' conftest.er1 >conftest.err
7733
- rm -f conftest.er1
7734
- cat conftest.err >&5
7735
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736
- (exit $ac_status); } &&
7737
- { ac_try='test -z "$ac_c_werror_flag"
7738
- || test ! -s conftest.err'
7739
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7740
- (eval $ac_try) 2>&5
7742
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743
- (exit $ac_status); }; } &&
7744
- { ac_try='test -s conftest$ac_exeext'
7745
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7746
- (eval $ac_try) 2>&5
7748
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749
- (exit $ac_status); }; }; then
7750
- ac_cv_lib_dld_shl_load=yes
7752
- echo "$as_me: failed program was:" >&5
7753
-sed 's/^/| /' conftest.$ac_ext >&5
7755
-ac_cv_lib_dld_shl_load=no
7757
-rm -f conftest.err conftest.$ac_objext \
7758
- conftest$ac_exeext conftest.$ac_ext
7759
-LIBS=$ac_check_lib_save_LIBS
7761
-echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7762
-echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
7763
-if test $ac_cv_lib_dld_shl_load = yes; then
7764
- lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
7766
- echo "$as_me:$LINENO: checking for dlopen" >&5
7767
-echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
7768
-if test "${ac_cv_func_dlopen+set}" = set; then
7769
- echo $ECHO_N "(cached) $ECHO_C" >&6
7771
- cat >conftest.$ac_ext <<_ACEOF
7774
-cat confdefs.h >>conftest.$ac_ext
7775
-cat >>conftest.$ac_ext <<_ACEOF
7776
-/* end confdefs.h. */
7777
-/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
7778
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
7779
-#define dlopen innocuous_dlopen
7781
-/* System header to define __stub macros and hopefully few prototypes,
7782
- which can conflict with char dlopen (); below.
7783
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7784
- <limits.h> exists even on freestanding compilers. */
7787
-# include <limits.h>
7789
-# include <assert.h>
7794
-/* Override any gcc2 internal prototype to avoid an error. */
7799
-/* We use char because int might match the return type of a gcc2
7800
- builtin and then its argument prototype would still apply. */
7802
-/* The GNU C library defines this for functions which it implements
7803
- to always fail with ENOSYS. Some functions are actually named
7804
- something starting with __ and the normal name is an alias. */
7805
-#if defined (__stub_dlopen) || defined (__stub___dlopen)
7808
-char (*f) () = dlopen;
7817
-return f != dlopen;
7822
-rm -f conftest.$ac_objext conftest$ac_exeext
7823
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7824
- (eval $ac_link) 2>conftest.er1
7826
- grep -v '^ *+' conftest.er1 >conftest.err
7827
- rm -f conftest.er1
7828
- cat conftest.err >&5
7829
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830
- (exit $ac_status); } &&
7831
- { ac_try='test -z "$ac_c_werror_flag"
7832
- || test ! -s conftest.err'
7833
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834
- (eval $ac_try) 2>&5
7836
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837
- (exit $ac_status); }; } &&
7838
- { ac_try='test -s conftest$ac_exeext'
7839
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7840
- (eval $ac_try) 2>&5
7842
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7843
- (exit $ac_status); }; }; then
7844
- ac_cv_func_dlopen=yes
7846
- echo "$as_me: failed program was:" >&5
7847
-sed 's/^/| /' conftest.$ac_ext >&5
7849
-ac_cv_func_dlopen=no
7851
-rm -f conftest.err conftest.$ac_objext \
7852
- conftest$ac_exeext conftest.$ac_ext
7854
-echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
7855
-echo "${ECHO_T}$ac_cv_func_dlopen" >&6
7856
-if test $ac_cv_func_dlopen = yes; then
7857
- lt_cv_dlopen="dlopen"
7859
- echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7860
-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7861
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7862
- echo $ECHO_N "(cached) $ECHO_C" >&6
7864
- ac_check_lib_save_LIBS=$LIBS
7866
-cat >conftest.$ac_ext <<_ACEOF
7869
-cat confdefs.h >>conftest.$ac_ext
7870
-cat >>conftest.$ac_ext <<_ACEOF
7871
-/* end confdefs.h. */
7873
-/* Override any gcc2 internal prototype to avoid an error. */
7877
-/* We use char because int might match the return type of a gcc2
7878
- builtin and then its argument prototype would still apply. */
7888
-rm -f conftest.$ac_objext conftest$ac_exeext
7889
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7890
- (eval $ac_link) 2>conftest.er1
7892
- grep -v '^ *+' conftest.er1 >conftest.err
7893
- rm -f conftest.er1
7894
- cat conftest.err >&5
7895
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896
- (exit $ac_status); } &&
7897
- { ac_try='test -z "$ac_c_werror_flag"
7898
- || test ! -s conftest.err'
7899
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7900
- (eval $ac_try) 2>&5
7902
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903
- (exit $ac_status); }; } &&
7904
- { ac_try='test -s conftest$ac_exeext'
7905
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906
- (eval $ac_try) 2>&5
7908
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909
- (exit $ac_status); }; }; then
7910
- ac_cv_lib_dl_dlopen=yes
7912
- echo "$as_me: failed program was:" >&5
7913
-sed 's/^/| /' conftest.$ac_ext >&5
7915
-ac_cv_lib_dl_dlopen=no
7917
-rm -f conftest.err conftest.$ac_objext \
7918
- conftest$ac_exeext conftest.$ac_ext
7919
-LIBS=$ac_check_lib_save_LIBS
7921
-echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7922
-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7923
-if test $ac_cv_lib_dl_dlopen = yes; then
7924
- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7926
- echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
7927
-echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
7928
-if test "${ac_cv_lib_svld_dlopen+set}" = set; then
7929
- echo $ECHO_N "(cached) $ECHO_C" >&6
7931
- ac_check_lib_save_LIBS=$LIBS
7932
-LIBS="-lsvld $LIBS"
7933
-cat >conftest.$ac_ext <<_ACEOF
7936
-cat confdefs.h >>conftest.$ac_ext
7937
-cat >>conftest.$ac_ext <<_ACEOF
7938
-/* end confdefs.h. */
7940
-/* Override any gcc2 internal prototype to avoid an error. */
7944
-/* We use char because int might match the return type of a gcc2
7945
- builtin and then its argument prototype would still apply. */
7955
-rm -f conftest.$ac_objext conftest$ac_exeext
7956
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7957
- (eval $ac_link) 2>conftest.er1
7959
- grep -v '^ *+' conftest.er1 >conftest.err
7960
- rm -f conftest.er1
7961
- cat conftest.err >&5
7962
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963
- (exit $ac_status); } &&
7964
- { ac_try='test -z "$ac_c_werror_flag"
7965
- || test ! -s conftest.err'
7966
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7967
- (eval $ac_try) 2>&5
7969
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970
- (exit $ac_status); }; } &&
7971
- { ac_try='test -s conftest$ac_exeext'
7972
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7973
- (eval $ac_try) 2>&5
7975
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7976
- (exit $ac_status); }; }; then
7977
- ac_cv_lib_svld_dlopen=yes
7979
- echo "$as_me: failed program was:" >&5
7980
-sed 's/^/| /' conftest.$ac_ext >&5
7982
-ac_cv_lib_svld_dlopen=no
7984
-rm -f conftest.err conftest.$ac_objext \
7985
- conftest$ac_exeext conftest.$ac_ext
7986
-LIBS=$ac_check_lib_save_LIBS
7988
-echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
7989
-echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
7990
-if test $ac_cv_lib_svld_dlopen = yes; then
7991
- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
7993
- echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
7994
-echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
7995
-if test "${ac_cv_lib_dld_dld_link+set}" = set; then
7996
- echo $ECHO_N "(cached) $ECHO_C" >&6
7998
- ac_check_lib_save_LIBS=$LIBS
8000
-cat >conftest.$ac_ext <<_ACEOF
8003
-cat confdefs.h >>conftest.$ac_ext
8004
-cat >>conftest.$ac_ext <<_ACEOF
8005
-/* end confdefs.h. */
8006
+echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
8007
+echo "${ECHO_T}$ld_shlibs_GCJ" >&6
8008
+test "$ld_shlibs_GCJ" = no && can_build_shared=no
8010
-/* Override any gcc2 internal prototype to avoid an error. */
8014
-/* We use char because int might match the return type of a gcc2
8015
- builtin and then its argument prototype would still apply. */
8025
-rm -f conftest.$ac_objext conftest$ac_exeext
8026
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8027
- (eval $ac_link) 2>conftest.er1
8029
- grep -v '^ *+' conftest.er1 >conftest.err
8030
- rm -f conftest.er1
8031
- cat conftest.err >&5
8032
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033
- (exit $ac_status); } &&
8034
- { ac_try='test -z "$ac_c_werror_flag"
8035
- || test ! -s conftest.err'
8036
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8037
- (eval $ac_try) 2>&5
8039
+# Do we need to explicitly link libc?
8041
+case "x$archive_cmds_need_lc_GCJ" in
8043
+ # Assume -lc should be added
8044
+ archive_cmds_need_lc_GCJ=yes
8046
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
8047
+ case $archive_cmds_GCJ in
8049
+ # FIXME: we may have to deal with multi-command sequences.
8052
+ # Test whether the compiler implicitly links with -lc since on some
8053
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
8054
+ # to ld, don't add -lc before -lgcc.
8055
+ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8056
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8058
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8060
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8061
+ (eval $ac_compile) 2>&5
8063
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064
- (exit $ac_status); }; } &&
8065
- { ac_try='test -s conftest$ac_exeext'
8066
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8067
- (eval $ac_try) 2>&5
8068
+ (exit $ac_status); } 2>conftest.err; then
8071
+ libobjs=conftest.$ac_objext
8073
+ wl=$lt_prog_compiler_wl_GCJ
8074
+ pic_flag=$lt_prog_compiler_pic_GCJ
8080
+ lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
8081
+ allow_undefined_flag_GCJ=
8082
+ if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8083
+ (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
8085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8086
- (exit $ac_status); }; }; then
8087
- ac_cv_lib_dld_dld_link=yes
8089
- echo "$as_me: failed program was:" >&5
8090
-sed 's/^/| /' conftest.$ac_ext >&5
8091
+ (exit $ac_status); }
8093
+ archive_cmds_need_lc_GCJ=no
8095
+ archive_cmds_need_lc_GCJ=yes
8097
+ allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
8099
+ cat conftest.err 1>&5
8102
+ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
8103
+echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
8110
-ac_cv_lib_dld_dld_link=no
8112
-rm -f conftest.err conftest.$ac_objext \
8113
- conftest$ac_exeext conftest.$ac_ext
8114
-LIBS=$ac_check_lib_save_LIBS
8116
-echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8117
-echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8118
-if test $ac_cv_lib_dld_dld_link = yes; then
8119
- lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8120
+echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8121
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8122
+library_names_spec=
8123
+libname_spec='lib$name'
8127
+postuninstall_cmds=
8131
+shlibpath_overrides_runpath=unknown
8133
+dynamic_linker="$host_os ld.so"
8134
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
8135
+if test "$GCC" = yes; then
8136
+ sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8137
+ if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8138
+ # if the path contains ";" then we assume it to be the separator
8139
+ # otherwise default to the standard path separator (i.e. ":") - it is
8140
+ # assumed that no part of a normal pathname contains ";" but that should
8141
+ # okay in the real world where ";" in dirpaths is itself problematic.
8142
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8144
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8147
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8149
+need_lib_prefix=unknown
8150
+hardcode_into_libs=no
8152
+# when you set need_version to no, make sure it does not cause -set_version
8153
+# flags to be left without arguments
8154
+need_version=unknown
8159
+ version_type=linux
8160
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8161
+ shlibpath_var=LIBPATH
8163
+ # AIX 3 has no versioning support, so we append a major version to the name.
8164
+ soname_spec='${libname}${release}${shared_ext}$major'
8169
+ version_type=linux
8170
+ need_lib_prefix=no
8172
+ hardcode_into_libs=yes
8173
+ if test "$host_cpu" = ia64; then
8174
+ # AIX 5 supports IA64
8175
+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8176
+ shlibpath_var=LD_LIBRARY_PATH
8178
+ # With GCC up to 2.95.x, collect2 would create an import file
8179
+ # for dependence libraries. The import file would start with
8180
+ # the line `#! .'. This would cause the generated library to
8181
+ # depend on `.', always an invalid library. This was fixed in
8182
+ # development snapshots of GCC prior to 3.0.
8184
+ aix4 | aix4.[01] | aix4.[01].*)
8185
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8187
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8190
+ can_build_shared=no
8194
+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8195
+ # soname into executable. Probably we can add versioning support to
8196
+ # collect2, so additional links can be useful in future.
8197
+ if test "$aix_use_runtimelinking" = yes; then
8198
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8199
+ # instead of lib<name>.a to let people know that these are not
8200
+ # typical AIX shared libraries.
8201
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8203
+ # We preserve .a as extension for shared libraries through AIX4.2
8204
+ # and later when we are not doing run time linking.
8205
+ library_names_spec='${libname}${release}.a $libname.a'
8206
+ soname_spec='${libname}${release}${shared_ext}$major'
8208
+ shlibpath_var=LIBPATH
8213
+ library_names_spec='$libname.ixlibrary $libname.a'
8214
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
8215
+ 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'
8220
+ library_names_spec='${libname}${shared_ext}'
8221
+ dynamic_linker="$host_os ld.so"
8222
+ shlibpath_var=LIBRARY_PATH
8226
+ version_type=linux
8228
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8229
+ soname_spec='${libname}${release}${shared_ext}$major'
8230
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8231
+ shlibpath_var=LD_LIBRARY_PATH
8232
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8233
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8234
+ # the default ld.so.conf also contains /usr/contrib/lib and
8235
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8236
+ # libtool to hard-code these into programs
8240
+cygwin* | mingw* | pw32*)
8241
+ version_type=windows
8242
+ shrext_cmds=".dll"
8244
+ need_lib_prefix=no
8246
+ case $GCC,$host_os in
8247
+ yes,cygwin* | yes,mingw* | yes,pw32*)
8248
+ library_names_spec='$libname.dll.a'
8249
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
8250
+ postinstall_cmds='base_file=`basename \${file}`~
8251
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8252
+ dldir=$destdir/`dirname \$dlpath`~
8253
+ test -d \$dldir || mkdir -p \$dldir~
8254
+ $install_prog $dir/$dlname \$dldir/$dlname~
8255
+ chmod a+x \$dldir/$dlname'
8256
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8257
+ dlpath=$dir/\$dldll~
8259
+ shlibpath_overrides_runpath=yes
8264
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8265
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8266
+ sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8269
+ # MinGW DLLs use traditional 'lib' prefix
8270
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8271
+ sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8272
+ if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8273
+ # It is most probably a Windows format PATH printed by
8274
+ # mingw gcc, but we are running on Cygwin. Gcc prints its search
8275
+ # path with ; separators, and with drive letters. We can handle the
8276
+ # drive letters (cygwin fileutils understands them), so leave them,
8277
+ # especially as we might pass files found there to a mingw objdump,
8278
+ # which wouldn't understand a cygwinified path. Ahh.
8279
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8281
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8285
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
8286
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8292
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8295
+ dynamic_linker='Win32 ld.exe'
8296
+ # FIXME: first we should search . and the directory the executable is in
8297
+ shlibpath_var=PATH
8300
- if test "x$lt_cv_dlopen" != xno; then
8302
+darwin* | rhapsody*)
8303
+ dynamic_linker="$host_os dyld"
8304
+ version_type=darwin
8305
+ need_lib_prefix=no
8307
+ library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8308
+ soname_spec='${libname}${release}${major}$shared_ext'
8309
+ shlibpath_overrides_runpath=yes
8310
+ shlibpath_var=DYLD_LIBRARY_PATH
8311
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8312
+ # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8313
+ if test "$GCC" = yes; then
8314
+ 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"`
8317
+ sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8319
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8322
- case $lt_cv_dlopen in
8324
- save_CPPFLAGS="$CPPFLAGS"
8325
- test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8327
- save_LDFLAGS="$LDFLAGS"
8328
- eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8330
+ version_type=linux
8331
+ need_lib_prefix=no
8333
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8334
+ soname_spec='${libname}${release}${shared_ext}$major'
8335
+ shlibpath_var=LD_LIBRARY_PATH
8339
- LIBS="$lt_cv_dlopen_libs $LIBS"
8344
- echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8345
-echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8346
-if test "${lt_cv_dlopen_self+set}" = set; then
8347
- echo $ECHO_N "(cached) $ECHO_C" >&6
8349
- if test "$cross_compiling" = yes; then :
8350
- lt_cv_dlopen_self=cross
8352
- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8353
- lt_status=$lt_dlunknown
8354
- cat > conftest.$ac_ext <<EOF
8355
-#line 18280 "configure"
8356
-#include "confdefs.h"
8358
+ version_type=linux
8359
+ need_lib_prefix=no
8361
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8362
+ soname_spec='${libname}${release}${shared_ext}$major'
8363
+ shlibpath_var=LD_LIBRARY_PATH
8364
+ shlibpath_overrides_runpath=no
8365
+ hardcode_into_libs=yes
8366
+ dynamic_linker='GNU ld.so'
8372
+freebsd* | dragonfly*)
8373
+ # DragonFly does not have aout. When/if they implement a new
8374
+ # versioning mechanism, adjust this.
8375
+ if test -x /usr/bin/objformat; then
8376
+ objformat=`/usr/bin/objformat`
8379
+ freebsd[123]*) objformat=aout ;;
8380
+ *) objformat=elf ;;
8383
+ version_type=freebsd-$objformat
8384
+ case $version_type in
8386
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8388
+ need_lib_prefix=no
8391
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8395
+ shlibpath_var=LD_LIBRARY_PATH
8398
+ shlibpath_overrides_runpath=yes
8400
+ freebsd3.[01]* | freebsdelf3.[01]*)
8401
+ shlibpath_overrides_runpath=yes
8402
+ hardcode_into_libs=yes
8404
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8405
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8406
+ shlibpath_overrides_runpath=no
8407
+ hardcode_into_libs=yes
8409
+ freebsd*) # from 4.6 on
8410
+ shlibpath_overrides_runpath=yes
8411
+ hardcode_into_libs=yes
8418
+ version_type=linux
8419
+ need_lib_prefix=no
8421
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8422
+ soname_spec='${libname}${release}${shared_ext}$major'
8423
+ shlibpath_var=LD_LIBRARY_PATH
8424
+ hardcode_into_libs=yes
8428
-# define LT_DLGLOBAL RTLD_GLOBAL
8431
-# define LT_DLGLOBAL DL_GLOBAL
8433
-# define LT_DLGLOBAL 0
8436
+hpux9* | hpux10* | hpux11*)
8437
+ # Give a soname corresponding to the major version so that dld.sl refuses to
8438
+ # link against other versions.
8439
+ version_type=sunos
8440
+ need_lib_prefix=no
8445
+ hardcode_into_libs=yes
8446
+ dynamic_linker="$host_os dld.so"
8447
+ shlibpath_var=LD_LIBRARY_PATH
8448
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8449
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8450
+ soname_spec='${libname}${release}${shared_ext}$major'
8451
+ if test "X$HPUX_IA64_MODE" = X32; then
8452
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8454
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8456
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8460
+ hardcode_into_libs=yes
8461
+ dynamic_linker="$host_os dld.sl"
8462
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8463
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8464
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8465
+ soname_spec='${libname}${release}${shared_ext}$major'
8466
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8467
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8471
+ dynamic_linker="$host_os dld.sl"
8472
+ shlibpath_var=SHLIB_PATH
8473
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8474
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8475
+ soname_spec='${libname}${release}${shared_ext}$major'
8478
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
8479
+ postinstall_cmds='chmod 555 $lib'
8482
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8483
- find out it does not work in some platform. */
8484
-#ifndef LT_DLLAZY_OR_NOW
8486
-# define LT_DLLAZY_OR_NOW RTLD_LAZY
8489
-# define LT_DLLAZY_OR_NOW DL_LAZY
8492
-# define LT_DLLAZY_OR_NOW RTLD_NOW
8495
-# define LT_DLLAZY_OR_NOW DL_NOW
8497
-# define LT_DLLAZY_OR_NOW 0
8504
+ version_type=linux
8505
+ need_lib_prefix=no
8507
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8508
+ soname_spec='${libname}${release}${shared_ext}$major'
8509
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8510
+ shlibpath_var=LD_LIBRARY_PATH
8511
+ shlibpath_overrides_runpath=no
8512
+ hardcode_into_libs=yes
8516
-extern "C" void exit (int);
8518
+irix5* | irix6* | nonstopux*)
8520
+ nonstopux*) version_type=nonstopux ;;
8522
+ if test "$lt_cv_prog_gnu_ld" = yes; then
8523
+ version_type=linux
8528
+ need_lib_prefix=no
8530
+ soname_spec='${libname}${release}${shared_ext}$major'
8531
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8533
+ irix5* | nonstopux*)
8534
+ libsuff= shlibsuff=
8537
+ case $LD in # libtool.m4 will add one of these switches to LD
8538
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8539
+ libsuff= shlibsuff= libmagic=32-bit;;
8540
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8541
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
8542
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8543
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
8544
+ *) libsuff= shlibsuff= libmagic=never-match;;
8548
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8549
+ shlibpath_overrides_runpath=no
8550
+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8551
+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8552
+ hardcode_into_libs=yes
8555
-void fnord() { int i=42;}
8558
- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8559
- int status = $lt_dlunknown;
8560
+# No shared lib support for Linux oldld, aout, or coff.
8561
+linux*oldld* | linux*aout* | linux*coff*)
8567
- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8568
- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8569
- /* dlclose (self); */
8571
+# This must be Linux ELF.
8573
+ version_type=linux
8574
+ need_lib_prefix=no
8576
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8577
+ soname_spec='${libname}${release}${shared_ext}$major'
8578
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8579
+ shlibpath_var=LD_LIBRARY_PATH
8580
+ shlibpath_overrides_runpath=no
8581
+ # This implies no fast_install, which is unacceptable.
8582
+ # Some rework will be needed to allow for fast_install
8583
+ # before this can be enabled.
8584
+ hardcode_into_libs=yes
8589
- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8590
- (eval $ac_link) 2>&5
8592
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593
- (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8594
- (./conftest; exit; ) >&5 2>/dev/null
8596
- case x$lt_status in
8597
- x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8598
- x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8599
- x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8602
- # compilation failed
8603
- lt_cv_dlopen_self=no
8604
+ # Append ld.so.conf contents to the search path
8605
+ if test -f /etc/ld.so.conf; then
8606
+ 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' ' '`
8607
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8612
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
8613
+ # powerpc, because MkLinux only supported shared libraries with the
8614
+ # GNU dynamic linker. Since this was broken with cross compilers,
8615
+ # most powerpc-linux boxes support dynamic linking these days and
8616
+ # people can always --disable-shared, the test was removed, and we
8617
+ # assume the GNU/Linux dynamic linker is in use.
8618
+ dynamic_linker='GNU/Linux ld.so'
8622
-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8623
-echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8625
+ version_type=linux
8626
+ need_lib_prefix=no
8628
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8629
+ soname_spec='${libname}${release}${shared_ext}$major'
8630
+ shlibpath_var=LD_LIBRARY_PATH
8631
+ shlibpath_overrides_runpath=no
8632
+ hardcode_into_libs=yes
8633
+ dynamic_linker='NetBSD ld.elf_so'
8636
- if test "x$lt_cv_dlopen_self" = xyes; then
8637
- LDFLAGS="$LDFLAGS $link_static_flag"
8638
- echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8639
-echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8640
-if test "${lt_cv_dlopen_self_static+set}" = set; then
8641
- echo $ECHO_N "(cached) $ECHO_C" >&6
8643
- if test "$cross_compiling" = yes; then :
8644
- lt_cv_dlopen_self_static=cross
8646
- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8647
- lt_status=$lt_dlunknown
8648
- cat > conftest.$ac_ext <<EOF
8649
-#line 18378 "configure"
8650
-#include "confdefs.h"
8652
+ version_type=linux
8653
+ need_lib_prefix=no
8655
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8656
+ soname_spec='${libname}${release}${shared_ext}$major'
8657
+ shlibpath_var=LD_LIBRARY_PATH
8658
+ shlibpath_overrides_runpath=no
8659
+ hardcode_into_libs=yes
8660
+ dynamic_linker='GNU ld.so'
8667
+ version_type=sunos
8668
+ need_lib_prefix=no
8670
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8671
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8672
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8673
+ dynamic_linker='NetBSD (a.out) ld.so'
8675
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8676
+ soname_spec='${libname}${release}${shared_ext}$major'
8677
+ dynamic_linker='NetBSD ld.elf_so'
8679
+ shlibpath_var=LD_LIBRARY_PATH
8680
+ shlibpath_overrides_runpath=yes
8681
+ hardcode_into_libs=yes
8686
+ version_type=linux
8687
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8688
+ shlibpath_var=LD_LIBRARY_PATH
8689
+ shlibpath_overrides_runpath=yes
8693
-# define LT_DLGLOBAL RTLD_GLOBAL
8696
-# define LT_DLGLOBAL DL_GLOBAL
8698
-# define LT_DLGLOBAL 0
8702
+ version_type=linux
8703
+ need_lib_prefix=no
8705
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8706
+ soname_spec='${libname}${release}${shared_ext}$major'
8707
+ shlibpath_var=LD_LIBRARY_PATH
8708
+ shlibpath_overrides_runpath=yes
8711
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8712
- find out it does not work in some platform. */
8713
-#ifndef LT_DLLAZY_OR_NOW
8715
-# define LT_DLLAZY_OR_NOW RTLD_LAZY
8718
-# define LT_DLLAZY_OR_NOW DL_LAZY
8721
-# define LT_DLLAZY_OR_NOW RTLD_NOW
8724
-# define LT_DLLAZY_OR_NOW DL_NOW
8726
-# define LT_DLLAZY_OR_NOW 0
8733
+ version_type=sunos
8734
+ sys_lib_dlsearch_path_spec="/usr/lib"
8735
+ need_lib_prefix=no
8736
+ # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8738
+ openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8739
+ *) need_version=no ;;
8741
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8742
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8743
+ shlibpath_var=LD_LIBRARY_PATH
8744
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8746
+ openbsd2.[89] | openbsd2.[89].*)
8747
+ shlibpath_overrides_runpath=no
8750
+ shlibpath_overrides_runpath=yes
8754
+ shlibpath_overrides_runpath=yes
8759
-extern "C" void exit (int);
8762
+ libname_spec='$name'
8763
+ shrext_cmds=".dll"
8764
+ need_lib_prefix=no
8765
+ library_names_spec='$libname${shared_ext} $libname.a'
8766
+ dynamic_linker='OS/2 ld.exe'
8767
+ shlibpath_var=LIBPATH
8770
-void fnord() { int i=42;}
8773
- void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8774
- int status = $lt_dlunknown;
8775
+osf3* | osf4* | osf5*)
8777
+ need_lib_prefix=no
8779
+ soname_spec='${libname}${release}${shared_ext}$major'
8780
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8781
+ shlibpath_var=LD_LIBRARY_PATH
8782
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8783
+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8788
- if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8789
- else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8790
- /* dlclose (self); */
8793
+ version_type=linux
8794
+ need_lib_prefix=no
8796
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8797
+ soname_spec='${libname}${release}${shared_ext}$major'
8798
+ shlibpath_var=LD_LIBRARY_PATH
8799
+ shlibpath_overrides_runpath=yes
8800
+ hardcode_into_libs=yes
8801
+ # ldd complains unless libraries are executable
8802
+ postinstall_cmds='chmod +x $lib'
8806
+ version_type=sunos
8807
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8808
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8809
+ shlibpath_var=LD_LIBRARY_PATH
8810
+ shlibpath_overrides_runpath=yes
8811
+ if test "$with_gnu_ld" = yes; then
8812
+ need_lib_prefix=no
8818
+ version_type=linux
8819
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8820
+ soname_spec='${libname}${release}${shared_ext}$major'
8821
+ shlibpath_var=LD_LIBRARY_PATH
8822
+ case $host_vendor in
8824
+ shlibpath_overrides_runpath=no
8825
+ need_lib_prefix=no
8826
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
8827
+ runpath_var=LD_RUN_PATH
8830
+ need_lib_prefix=no
8833
+ need_lib_prefix=no
8835
+ shlibpath_overrides_runpath=no
8836
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8844
- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8845
- (eval $ac_link) 2>&5
8847
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848
- (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8849
- (./conftest; exit; ) >&5 2>/dev/null
8851
- case x$lt_status in
8852
- x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8853
- x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8854
- x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8856
+ if test -d /usr/nec ;then
8857
+ version_type=linux
8858
+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8859
+ soname_spec='$libname${shared_ext}.$major'
8860
+ shlibpath_var=LD_LIBRARY_PATH
8864
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8865
+ version_type=freebsd-elf
8866
+ need_lib_prefix=no
8868
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8869
+ soname_spec='${libname}${release}${shared_ext}$major'
8870
+ shlibpath_var=LD_LIBRARY_PATH
8871
+ hardcode_into_libs=yes
8872
+ if test "$with_gnu_ld" = yes; then
8873
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8874
+ shlibpath_overrides_runpath=no
8876
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
8877
+ shlibpath_overrides_runpath=yes
8880
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
8884
- # compilation failed
8885
- lt_cv_dlopen_self_static=no
8889
+ sys_lib_dlsearch_path_spec='/usr/lib'
8893
+ version_type=linux
8894
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8895
+ soname_spec='${libname}${release}${shared_ext}$major'
8896
+ shlibpath_var=LD_LIBRARY_PATH
8903
+echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8904
+echo "${ECHO_T}$dynamic_linker" >&6
8905
+test "$dynamic_linker" = no && can_build_shared=no
8907
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8908
+if test "$GCC" = yes; then
8909
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8911
-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8912
-echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8915
- CPPFLAGS="$save_CPPFLAGS"
8916
- LDFLAGS="$save_LDFLAGS"
8920
+echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8921
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8922
+hardcode_action_GCJ=
8923
+if test -n "$hardcode_libdir_flag_spec_GCJ" || \
8924
+ test -n "$runpath_var_GCJ" || \
8925
+ test "X$hardcode_automatic_GCJ" = "Xyes" ; then
8927
- case $lt_cv_dlopen_self in
8928
- yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8929
- *) enable_dlopen_self=unknown ;;
8931
+ # We can hardcode non-existant directories.
8932
+ if test "$hardcode_direct_GCJ" != no &&
8933
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
8934
+ # have to relink, otherwise we might link with an installed library
8935
+ # when we should be linking with a yet-to-be-installed one
8936
+ ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
8937
+ test "$hardcode_minus_L_GCJ" != no; then
8938
+ # Linking always hardcodes the temporary library directory.
8939
+ hardcode_action_GCJ=relink
8941
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
8942
+ hardcode_action_GCJ=immediate
8945
+ # We cannot hardcode anything, or else we can only hardcode existing
8947
+ hardcode_action_GCJ=unsupported
8949
+echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
8950
+echo "${ECHO_T}$hardcode_action_GCJ" >&6
8952
- case $lt_cv_dlopen_self_static in
8953
- yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8954
- *) enable_dlopen_self_static=unknown ;;
8956
+if test "$hardcode_action_GCJ" = relink; then
8957
+ # Fast installation is not supported
8958
+ enable_fast_install=no
8959
+elif test "$shlibpath_overrides_runpath" = yes ||
8960
+ test "$enable_shared" = no; then
8961
+ # Fast installation is not necessary
8962
+ enable_fast_install=needless
8966
@@ -18492,7 +17478,7 @@
8967
# Now quote all the things that may contain metacharacters while being
8968
# careful not to overquote the AC_SUBSTed values. We take copies of the
8969
# variables and quote the copies for generation of the libtool script.
8970
- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
8971
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
8973
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8974
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8975
@@ -18610,6 +17596,9 @@
8979
+# LTCC compiler flags.
8980
+LTCFLAGS=$lt_LTCFLAGS
8982
# A language-specific compiler.
8985
@@ -18919,6 +17908,9 @@
8986
# If no C compiler was specified, use CC.
8989
+# If no C compiler flags were specified, use CFLAGS.
8990
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8992
# Allow CC to be a program name with arguments.
8995
@@ -18926,13 +17918,13 @@
8996
# save warnings/boilerplate of simple test code
8997
ac_outfile=conftest.$ac_objext
8998
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
8999
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
9000
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9001
_lt_compiler_boilerplate=`cat conftest.err`
9004
ac_outfile=conftest.$ac_objext
9005
printf "$lt_simple_link_test_code" >conftest.$ac_ext
9006
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
9007
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9008
_lt_linker_boilerplate=`cat conftest.err`
9011
@@ -18967,7 +17959,7 @@
9012
# Now quote all the things that may contain metacharacters while being
9013
# careful not to overquote the AC_SUBSTed values. We take copies of the
9014
# variables and quote the copies for generation of the libtool script.
9015
- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9016
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9018
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9019
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9020
@@ -19085,6 +18077,9 @@
9024
+# LTCC compiler flags.
9025
+LTCFLAGS=$lt_LTCFLAGS
9027
# A language-specific compiler.
9030
@@ -19556,11 +18551,11 @@
9031
CSPI_REQUIRED_VERSION=0.10.0
9036
- if test -z "$PKG_CONFIG"; then
9037
- # Extract the first word of "pkg-config", so it can be a program name with args.
9038
-set dummy pkg-config; ac_word=$2
9039
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9040
+ if test -n "$ac_tool_prefix"; then
9041
+ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9042
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9043
echo "$as_me:$LINENO: checking for $ac_word" >&5
9044
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9045
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9046
@@ -19585,7 +18580,6 @@
9050
- test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
9054
@@ -19599,75 +18593,19 @@
9055
echo "${ECHO_T}no" >&6
9060
- if test "$PKG_CONFIG" = "no" ; then
9061
- echo "*** The pkg-config script could not be found. Make sure it is"
9062
- echo "*** in your path, or set the PKG_CONFIG environment variable"
9063
- echo "*** to the full path to pkg-config."
9064
- echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9066
- PKG_CONFIG_MIN_VERSION=0.9.0
9067
- if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9068
- echo "$as_me:$LINENO: checking for $ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION" >&5
9069
-echo $ECHO_N "checking for $ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION... $ECHO_C" >&6
9071
- if $PKG_CONFIG --exists "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION" ; then
9072
- echo "$as_me:$LINENO: result: yes" >&5
9073
-echo "${ECHO_T}yes" >&6
9076
- echo "$as_me:$LINENO: checking DEPS_CFLAGS" >&5
9077
-echo $ECHO_N "checking DEPS_CFLAGS... $ECHO_C" >&6
9078
- DEPS_CFLAGS=`$PKG_CONFIG --cflags "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION"`
9079
- echo "$as_me:$LINENO: result: $DEPS_CFLAGS" >&5
9080
-echo "${ECHO_T}$DEPS_CFLAGS" >&6
9082
- echo "$as_me:$LINENO: checking DEPS_LIBS" >&5
9083
-echo $ECHO_N "checking DEPS_LIBS... $ECHO_C" >&6
9084
- DEPS_LIBS=`$PKG_CONFIG --libs "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION"`
9085
- echo "$as_me:$LINENO: result: $DEPS_LIBS" >&5
9086
-echo "${ECHO_T}$DEPS_LIBS" >&6
9090
- ## If we have a custom action on failure, don't print errors, but
9091
- ## do set a variable so people can do so.
9092
- DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION"`
9093
- echo $DEPS_PKG_ERRORS
9099
- echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9100
- echo "*** See http://www.freedesktop.org/software/pkgconfig"
9104
- if test $succeeded = yes; then
9107
- { { echo "$as_me:$LINENO: error: Library requirements ($ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
9108
-echo "$as_me: error: Library requirements ($ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
9109
- { (exit 1); exit 1; }; }
9116
- if test -z "$PKG_CONFIG"; then
9117
- # Extract the first word of "pkg-config", so it can be a program name with args.
9119
+if test -z "$ac_cv_path_PKG_CONFIG"; then
9120
+ ac_pt_PKG_CONFIG=$PKG_CONFIG
9121
+ # Extract the first word of "pkg-config", so it can be a program name with args.
9122
set dummy pkg-config; ac_word=$2
9123
echo "$as_me:$LINENO: checking for $ac_word" >&5
9124
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9125
-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9126
+if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
9127
echo $ECHO_N "(cached) $ECHO_C" >&6
9129
- case $PKG_CONFIG in
9130
+ case $ac_pt_PKG_CONFIG in
9132
- ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9133
+ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9136
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9137
@@ -19677,81 +18615,269 @@
9138
test -z "$as_dir" && as_dir=.
9139
for ac_exec_ext in '' $ac_executable_extensions; do
9140
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9141
- ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9142
+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9143
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9149
- test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
9153
-PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9154
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9156
-if test -n "$PKG_CONFIG"; then
9157
- echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9158
-echo "${ECHO_T}$PKG_CONFIG" >&6
9159
+if test -n "$ac_pt_PKG_CONFIG"; then
9160
+ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
9161
+echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
9163
echo "$as_me:$LINENO: result: no" >&5
9164
echo "${ECHO_T}no" >&6
9168
+ PKG_CONFIG=$ac_pt_PKG_CONFIG
9170
+ PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9173
- if test "$PKG_CONFIG" = "no" ; then
9174
- echo "*** The pkg-config script could not be found. Make sure it is"
9175
- echo "*** in your path, or set the PKG_CONFIG environment variable"
9176
- echo "*** to the full path to pkg-config."
9177
- echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9179
- PKG_CONFIG_MIN_VERSION=0.9.0
9180
- if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9181
- echo "$as_me:$LINENO: checking for $ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION" >&5
9182
-echo $ECHO_N "checking for $ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION... $ECHO_C" >&6
9184
+if test -n "$PKG_CONFIG"; then
9185
+ _pkg_min_version=0.9.0
9186
+ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
9187
+echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
9188
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9189
+ echo "$as_me:$LINENO: result: yes" >&5
9190
+echo "${ECHO_T}yes" >&6
9192
+ echo "$as_me:$LINENO: result: no" >&5
9193
+echo "${ECHO_T}no" >&6
9200
+echo "$as_me:$LINENO: checking for DEPS" >&5
9201
+echo $ECHO_N "checking for DEPS... $ECHO_C" >&6
9203
+if test -n "$PKG_CONFIG"; then
9204
+ if test -n "$DEPS_CFLAGS"; then
9205
+ pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
9207
+ if test -n "$PKG_CONFIG" && \
9208
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$ATK_PACKAGES >= \$ATK_REQUIRED_VERSION \$GTK_PACKAGES >= \$GTK_REQUIRED_VERSION \$LIBBONOBO_PACKAGES >= \$LIBBONOBO_REQUIRED_VERSION \$LIBBONOBOUI_PACKAGES >= \$LIBBONOBO_REQUIRED_VERSION \$LIBGNOMEUI_PACKAGES >= \$LIBGNOMEUI_REQUIRED_VERSION \$AT_SPI_PACKAGES >= \$AT_SPI_REQUIRED_VERSION \$PANEL_APPLET_PACKAGES >= \$PANEL_APPLET_REQUIRED_VERSION\"") >&5
9209
+ ($PKG_CONFIG --exists --print-errors "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION") 2>&5
9211
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212
+ (exit $ac_status); }; then
9213
+ pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION" 2>/dev/null`
9219
+ pkg_failed=untried
9221
+if test -n "$PKG_CONFIG"; then
9222
+ if test -n "$DEPS_LIBS"; then
9223
+ pkg_cv_DEPS_LIBS="$DEPS_LIBS"
9225
+ if test -n "$PKG_CONFIG" && \
9226
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$ATK_PACKAGES >= \$ATK_REQUIRED_VERSION \$GTK_PACKAGES >= \$GTK_REQUIRED_VERSION \$LIBBONOBO_PACKAGES >= \$LIBBONOBO_REQUIRED_VERSION \$LIBBONOBOUI_PACKAGES >= \$LIBBONOBO_REQUIRED_VERSION \$LIBGNOMEUI_PACKAGES >= \$LIBGNOMEUI_REQUIRED_VERSION \$AT_SPI_PACKAGES >= \$AT_SPI_REQUIRED_VERSION \$PANEL_APPLET_PACKAGES >= \$PANEL_APPLET_REQUIRED_VERSION\"") >&5
9227
+ ($PKG_CONFIG --exists --print-errors "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION") 2>&5
9229
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
9230
+ (exit $ac_status); }; then
9231
+ pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION" 2>/dev/null`
9237
+ pkg_failed=untried
9242
+if test $pkg_failed = yes; then
9244
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9245
+ _pkg_short_errors_supported=yes
9247
+ _pkg_short_errors_supported=no
9249
+ if test $_pkg_short_errors_supported = yes; then
9250
+ DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION"`
9252
+ DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION"`
9254
+ # Put the nasty error message in config.log where it belongs
9255
+ echo "$DEPS_PKG_ERRORS" >&5
9257
+ { { echo "$as_me:$LINENO: error: Package requirements ($ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION) were not met:
9261
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
9262
+installed software in a non-standard prefix.
9264
+Alternatively, you may set the environment variables DEPS_CFLAGS
9265
+and DEPS_LIBS to avoid the need to call pkg-config.
9266
+See the pkg-config man page for more details.
9268
+echo "$as_me: error: Package requirements ($ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION) were not met:
9272
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
9273
+installed software in a non-standard prefix.
9275
- if $PKG_CONFIG --exists "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION" ; then
9276
- echo "$as_me:$LINENO: result: yes" >&5
9277
+Alternatively, you may set the environment variables DEPS_CFLAGS
9278
+and DEPS_LIBS to avoid the need to call pkg-config.
9279
+See the pkg-config man page for more details.
9281
+ { (exit 1); exit 1; }; }
9282
+elif test $pkg_failed = untried; then
9283
+ { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
9284
+is in your PATH or set the PKG_CONFIG environment variable to the full
9285
+path to pkg-config.
9287
+Alternatively, you may set the environment variables DEPS_CFLAGS
9288
+and DEPS_LIBS to avoid the need to call pkg-config.
9289
+See the pkg-config man page for more details.
9291
+To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
9292
+See \`config.log' for more details." >&5
9293
+echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
9294
+is in your PATH or set the PKG_CONFIG environment variable to the full
9295
+path to pkg-config.
9297
+Alternatively, you may set the environment variables DEPS_CFLAGS
9298
+and DEPS_LIBS to avoid the need to call pkg-config.
9299
+See the pkg-config man page for more details.
9301
+To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
9302
+See \`config.log' for more details." >&2;}
9303
+ { (exit 1); exit 1; }; }
9305
+ DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
9306
+ DEPS_LIBS=$pkg_cv_DEPS_LIBS
9307
+ echo "$as_me:$LINENO: result: yes" >&5
9308
echo "${ECHO_T}yes" >&6
9315
+echo "$as_me:$LINENO: checking for TEST" >&5
9316
+echo $ECHO_N "checking for TEST... $ECHO_C" >&6
9318
+if test -n "$PKG_CONFIG"; then
9319
+ if test -n "$TEST_CFLAGS"; then
9320
+ pkg_cv_TEST_CFLAGS="$TEST_CFLAGS"
9322
+ if test -n "$PKG_CONFIG" && \
9323
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$ATK_PACKAGES >= \$ATK_REQUIRED_VERSION \$GTK_PACKAGES >= \$GTK_REQUIRED_VERSION \$LIBBONOBO_PACKAGES >= \$LIBBONOBO_REQUIRED_VERSION \$LIBBONOBOUI_PACKAGES >= \$LIBBONOBO_REQUIRED_VERSION \$LIBGNOMEUI_PACKAGES >= \$LIBGNOMEUI_REQUIRED_VERSION \$AT_SPI_PACKAGES >= \$AT_SPI_REQUIRED_VERSION \$CSPI_PACKAGES >= \$CSPI_REQUIRED_VERSION \$PANEL_APPLET_PACKAGES >= \$PANEL_APPLET_REQUIRED_VERSION\"") >&5
9324
+ ($PKG_CONFIG --exists --print-errors "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION") 2>&5
9326
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327
+ (exit $ac_status); }; then
9328
+ pkg_cv_TEST_CFLAGS=`$PKG_CONFIG --cflags "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION" 2>/dev/null`
9334
+ pkg_failed=untried
9336
+if test -n "$PKG_CONFIG"; then
9337
+ if test -n "$TEST_LIBS"; then
9338
+ pkg_cv_TEST_LIBS="$TEST_LIBS"
9340
+ if test -n "$PKG_CONFIG" && \
9341
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$ATK_PACKAGES >= \$ATK_REQUIRED_VERSION \$GTK_PACKAGES >= \$GTK_REQUIRED_VERSION \$LIBBONOBO_PACKAGES >= \$LIBBONOBO_REQUIRED_VERSION \$LIBBONOBOUI_PACKAGES >= \$LIBBONOBO_REQUIRED_VERSION \$LIBGNOMEUI_PACKAGES >= \$LIBGNOMEUI_REQUIRED_VERSION \$AT_SPI_PACKAGES >= \$AT_SPI_REQUIRED_VERSION \$CSPI_PACKAGES >= \$CSPI_REQUIRED_VERSION \$PANEL_APPLET_PACKAGES >= \$PANEL_APPLET_REQUIRED_VERSION\"") >&5
9342
+ ($PKG_CONFIG --exists --print-errors "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION") 2>&5
9344
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345
+ (exit $ac_status); }; then
9346
+ pkg_cv_TEST_LIBS=`$PKG_CONFIG --libs "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION" 2>/dev/null`
9352
+ pkg_failed=untried
9355
- echo "$as_me:$LINENO: checking TEST_CFLAGS" >&5
9356
-echo $ECHO_N "checking TEST_CFLAGS... $ECHO_C" >&6
9357
- TEST_CFLAGS=`$PKG_CONFIG --cflags "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION"`
9358
- echo "$as_me:$LINENO: result: $TEST_CFLAGS" >&5
9359
-echo "${ECHO_T}$TEST_CFLAGS" >&6
9361
- echo "$as_me:$LINENO: checking TEST_LIBS" >&5
9362
-echo $ECHO_N "checking TEST_LIBS... $ECHO_C" >&6
9363
- TEST_LIBS=`$PKG_CONFIG --libs "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION"`
9364
- echo "$as_me:$LINENO: result: $TEST_LIBS" >&5
9365
-echo "${ECHO_T}$TEST_LIBS" >&6
9368
+if test $pkg_failed = yes; then
9370
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9371
+ _pkg_short_errors_supported=yes
9373
+ _pkg_short_errors_supported=no
9375
+ if test $_pkg_short_errors_supported = yes; then
9376
+ TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION"`
9380
- ## If we have a custom action on failure, don't print errors, but
9381
- ## do set a variable so people can do so.
9382
- TEST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION"`
9383
- echo $TEST_PKG_ERRORS
9384
+ TEST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION"`
9386
+ # Put the nasty error message in config.log where it belongs
9387
+ echo "$TEST_PKG_ERRORS" >&5
9389
+ { { echo "$as_me:$LINENO: error: Package requirements ($ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION) were not met:
9394
- echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9395
- echo "*** See http://www.freedesktop.org/software/pkgconfig"
9398
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
9399
+installed software in a non-standard prefix.
9401
- if test $succeeded = yes; then
9404
- { { echo "$as_me:$LINENO: error: Library requirements ($ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
9405
-echo "$as_me: error: Library requirements ($ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
9406
+Alternatively, you may set the environment variables TEST_CFLAGS
9407
+and TEST_LIBS to avoid the need to call pkg-config.
9408
+See the pkg-config man page for more details.
9410
+echo "$as_me: error: Package requirements ($ATK_PACKAGES >= $ATK_REQUIRED_VERSION $GTK_PACKAGES >= $GTK_REQUIRED_VERSION $LIBBONOBO_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBBONOBOUI_PACKAGES >= $LIBBONOBO_REQUIRED_VERSION $LIBGNOMEUI_PACKAGES >= $LIBGNOMEUI_REQUIRED_VERSION $AT_SPI_PACKAGES >= $AT_SPI_REQUIRED_VERSION $CSPI_PACKAGES >= $CSPI_REQUIRED_VERSION $PANEL_APPLET_PACKAGES >= $PANEL_APPLET_REQUIRED_VERSION) were not met:
9414
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
9415
+installed software in a non-standard prefix.
9417
+Alternatively, you may set the environment variables TEST_CFLAGS
9418
+and TEST_LIBS to avoid the need to call pkg-config.
9419
+See the pkg-config man page for more details.
9421
{ (exit 1); exit 1; }; }
9423
+elif test $pkg_failed = untried; then
9424
+ { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
9425
+is in your PATH or set the PKG_CONFIG environment variable to the full
9426
+path to pkg-config.
9428
+Alternatively, you may set the environment variables TEST_CFLAGS
9429
+and TEST_LIBS to avoid the need to call pkg-config.
9430
+See the pkg-config man page for more details.
9432
+To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
9433
+See \`config.log' for more details." >&5
9434
+echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
9435
+is in your PATH or set the PKG_CONFIG environment variable to the full
9436
+path to pkg-config.
9438
+Alternatively, you may set the environment variables TEST_CFLAGS
9439
+and TEST_LIBS to avoid the need to call pkg-config.
9440
+See the pkg-config man page for more details.
9442
+To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
9443
+See \`config.log' for more details." >&2;}
9444
+ { (exit 1); exit 1; }; }
9446
+ TEST_CFLAGS=$pkg_cv_TEST_CFLAGS
9447
+ TEST_LIBS=$pkg_cv_TEST_LIBS
9448
+ echo "$as_me:$LINENO: result: yes" >&5
9449
+echo "${ECHO_T}yes" >&6
9455
@@ -19824,8 +18950,7 @@
9456
cat conftest.err >&5
9457
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458
(exit $ac_status); } &&
9459
- { ac_try='test -z "$ac_c_werror_flag"
9460
- || test ! -s conftest.err'
9461
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9462
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9465
@@ -19891,8 +19016,7 @@
9466
cat conftest.err >&5
9467
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468
(exit $ac_status); } &&
9469
- { ac_try='test -z "$ac_c_werror_flag"
9470
- || test ! -s conftest.err'
9471
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9472
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9475
@@ -19993,8 +19117,7 @@
9476
cat conftest.err >&5
9477
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478
(exit $ac_status); } &&
9479
- { ac_try='test -z "$ac_c_werror_flag"
9480
- || test ! -s conftest.err'
9481
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9482
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9485
@@ -20060,8 +19183,7 @@
9486
cat conftest.err >&5
9487
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9488
(exit $ac_status); } &&
9489
- { ac_try='test -z "$ac_c_werror_flag"
9490
- || test ! -s conftest.err'
9491
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9492
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9495
@@ -20162,8 +19284,7 @@
9496
cat conftest.err >&5
9497
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498
(exit $ac_status); } &&
9499
- { ac_try='test -z "$ac_c_werror_flag"
9500
- || test ! -s conftest.err'
9501
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9502
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9505
@@ -20229,8 +19350,7 @@
9506
cat conftest.err >&5
9507
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508
(exit $ac_status); } &&
9509
- { ac_try='test -z "$ac_c_werror_flag"
9510
- || test ! -s conftest.err'
9511
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9512
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9515
@@ -20965,6 +20085,7 @@
9516
s,@MS_LIB_AVAILABLE_FALSE@,$MS_LIB_AVAILABLE_FALSE,;t t
9517
s,@GAIL_GNOME_DEBUG_CFLAGS@,$GAIL_GNOME_DEBUG_CFLAGS,;t t
9518
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
9519
+s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
9520
s,@DEPS_CFLAGS@,$DEPS_CFLAGS,;t t
9521
s,@DEPS_LIBS@,$DEPS_LIBS,;t t
9522
s,@TEST_CFLAGS@,$TEST_CFLAGS,;t t
9523
@@ -21138,11 +20259,6 @@
9524
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9527
- if test x"$ac_file" != x-; then
9528
- { echo "$as_me:$LINENO: creating $ac_file" >&5
9529
-echo "$as_me: creating $ac_file" >&6;}
9532
# Let's still pretend it is `configure' which instantiates (i.e., don't
9533
# use $as_me), people would be surprised to read:
9534
# /* config.h. Generated by config.status. */
9535
@@ -21181,6 +20297,12 @@
9538
done` || { (exit 1); exit 1; }
9540
+ if test x"$ac_file" != x-; then
9541
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
9542
+echo "$as_me: creating $ac_file" >&6;}
9546
cat >>$CONFIG_STATUS <<_ACEOF
9548
diff -urN -x config.guess -x config.sub libgail-gnome-1.1.3.orig/ltmain.sh libgail-gnome-1.1.3/ltmain.sh
9549
--- libgail-gnome-1.1.3.orig/ltmain.sh 2005-09-05 14:34:52.000000000 +0200
9550
+++ libgail-gnome-1.1.3/ltmain.sh 2006-01-09 16:21:15.000000000 +0100
9556
-TIMESTAMP=" (1.1220.2.287 2005/08/31 18:54:15)"
9557
+VERSION="1.5.22 Debian 1.5.22-2"
9558
+TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
9560
# See if we are running on zsh, and set the options which allow our
9561
# commands through without removal of \ escapes.
9568
lo2o="s/\\.lo\$/.${objext}/"
9569
o2lo="s/\\.${objext}\$/.lo/"
9571
@@ -139,6 +141,43 @@
9572
# Shell function definitions:
9573
# This seems to be the best place for them
9575
+# func_mktempdir [string]
9576
+# Make a temporary directory that won't clash with other running
9577
+# libtool processes, and avoids race conditions if possible. If
9578
+# given, STRING is the basename for that directory.
9581
+ my_template="${TMPDIR-/tmp}/${1-$progname}"
9583
+ if test "$run" = ":"; then
9584
+ # Return a directory name, but don't create it in dry-run mode
9585
+ my_tmpdir="${my_template}-$$"
9588
+ # If mktemp works, use that first and foremost
9589
+ my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
9591
+ if test ! -d "$my_tmpdir"; then
9592
+ # Failing that, at least try and use $RANDOM to avoid a race
9593
+ my_tmpdir="${my_template}-${RANDOM-0}$$"
9595
+ save_mktempdir_umask=`umask`
9597
+ $mkdir "$my_tmpdir"
9598
+ umask $save_mktempdir_umask
9601
+ # If we're not in dry-run mode, bomb out on failure
9602
+ test -d "$my_tmpdir" || {
9603
+ $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
9604
+ exit $EXIT_FAILURE
9608
+ $echo "X$my_tmpdir" | $Xsed
9612
# func_win32_libid arg
9613
# return the library type of file 'arg'
9615
@@ -157,12 +196,11 @@
9616
if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
9617
$EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
9618
win32_nmres=`eval $NM -f posix -A $1 | \
9619
- sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
9620
- if test "X$win32_nmres" = "Ximport" ; then
9621
- win32_libid_type="x86 archive import"
9623
- win32_libid_type="x86 archive static"
9625
+ $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
9626
+ case $win32_nmres in
9627
+ import*) win32_libid_type="x86 archive import";;
9628
+ *) win32_libid_type="x86 archive static";;
9634
$run ${rm}r "$my_xdir"
9635
$show "$mkdir $my_xdir"
9636
$run $mkdir "$my_xdir"
9638
- if test "$status" -ne 0 && test ! -d "$my_xdir"; then
9641
+ if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
9648
eval std_shrext=\"$shrext_cmds\"
9652
# Parse our command line options once, thoroughly.
9653
while test "$#" -gt 0
9655
@@ -468,7 +508,11 @@
9656
preserve_args="$preserve_args $arg"
9659
- --tag) prevopt="--tag" prev=tag ;;
9663
+ preserve_args="$preserve_args --tag"
9666
set tag "$optarg" ${1+"$@"}
9668
@@ -500,6 +544,18 @@
9672
+case $disable_libs in
9676
+ build_libtool_libs=no
9677
+ build_old_libs=yes
9680
+ build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
9684
# If this variable is set in any of the actions, the command in it
9685
# will be execed at the end. This prevents here-documents from being
9686
# left over by shells.
9688
if test ! -d "${xdir}$objdir"; then
9689
$show "$mkdir ${xdir}$objdir"
9690
$run $mkdir ${xdir}$objdir
9692
- if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
9695
+ if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
9700
@@ -1061,6 +1117,7 @@
9704
+ notinst_path= # paths that contain not-installed libtool libraries
9705
precious_files_regex=
9706
prefer_static_libs=no
9708
@@ -1089,14 +1146,15 @@
9709
if test -n "$link_static_flag"; then
9710
dlopen_self=$dlopen_self_static
9712
+ prefer_static_libs=yes
9714
if test -z "$pic_flag" && test -n "$link_static_flag"; then
9715
dlopen_self=$dlopen_self_static
9717
+ prefer_static_libs=built
9719
build_libtool_libs=no
9721
- prefer_static_libs=yes
9725
@@ -1271,6 +1329,11 @@
9726
if test -z "$pic_object" || test "$pic_object" = none ; then
9727
arg="$non_pic_object"
9730
+ # If the PIC object exists, use it instead.
9731
+ # $xdir was prepended to $pic_object above.
9732
+ non_pic_object="$pic_object"
9733
+ non_pic_objects="$non_pic_objects $non_pic_object"
9736
# Only an error if not doing a dry-run.
9737
@@ -1354,8 +1417,8 @@
9742
- compiler_flags="$compiler_flags $arg"
9743
+ darwin_framework|darwin_framework_skip)
9744
+ test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
9745
compile_command="$compile_command $arg"
9746
finalize_command="$finalize_command $arg"
9748
@@ -1419,13 +1482,17 @@
9753
- prev=darwin_framework
9754
- compiler_flags="$compiler_flags $arg"
9755
+ -framework|-arch|-isysroot)
9757
+ *" ${arg} ${1} "* | *" ${arg} ${1} "*)
9758
+ prev=darwin_framework_skip ;;
9759
+ *) compiler_flags="$compiler_flags $arg"
9760
+ prev=darwin_framework ;;
9762
compile_command="$compile_command $arg"
9763
finalize_command="$finalize_command $arg"
9771
@@ -1453,7 +1520,8 @@
9772
absdir=`cd "$dir" && pwd`
9773
if test -z "$absdir"; then
9774
$echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
9775
- exit $EXIT_FAILURE
9777
+ notinst_path="$notinst_path $dir"
9781
@@ -1467,10 +1535,15 @@
9784
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
9785
+ testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
9786
case :$dllsearchpath: in
9788
*) dllsearchpath="$dllsearchpath:$dir";;
9790
+ case :$dllsearchpath: in
9791
+ *":$testbindir:"*) ;;
9792
+ *) dllsearchpath="$dllsearchpath:$testbindir";;
9797
@@ -1479,11 +1552,11 @@
9799
if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
9801
- *-*-cygwin* | *-*-pw32* | *-*-beos*)
9802
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
9803
# These systems don't actually have a C or math library (as such)
9806
- *-*-mingw* | *-*-os2*)
9808
# These systems don't actually have a C library (as such)
9809
test "X$arg" = "X-lc" && continue
9811
@@ -1495,6 +1568,15 @@
9812
# Rhapsody C and math libraries are in the System framework
9813
deplibs="$deplibs -framework System"
9816
+ *-*-sco3.2v5* | *-*-sco5v6*)
9817
+ # Causes problems with __ctype
9818
+ test "X$arg" = "X-lc" && continue
9820
+ *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
9821
+ # Compiler inserts libc in the correct place for threads to work
9822
+ test "X$arg" = "X-lc" && continue
9825
elif test "X$arg" = "X-lc_r"; then
9827
@@ -1536,7 +1618,12 @@
9828
# +DA*, +DD* enable 64-bit mode on the HP compiler
9829
# -q* pass through compiler args for the IBM compiler
9830
# -m* pass through architecture-specific compiler args for GCC
9831
- -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*)
9832
+ # -m*, -t[45]*, -txscale* pass through architecture-specific
9833
+ # compiler args for GCC
9834
+ # -pg pass through profiling flag for GCC
9835
+ # @file GCC response files
9836
+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
9837
+ -t[45]*|-txscale*|@*)
9839
# Unknown arguments in both finalize_command and compile_command need
9840
# to be aesthetically quoted because they are evaled later.
9841
@@ -1548,9 +1635,7 @@
9843
compile_command="$compile_command $arg"
9844
finalize_command="$finalize_command $arg"
9845
- if test "$with_gcc" = "yes" ; then
9846
- compiler_flags="$compiler_flags $arg"
9848
+ compiler_flags="$compiler_flags $arg"
9852
@@ -1788,6 +1873,11 @@
9853
if test -z "$pic_object" || test "$pic_object" = none ; then
9854
arg="$non_pic_object"
9857
+ # If the PIC object exists, use it instead.
9858
+ # $xdir was prepended to $pic_object above.
9859
+ non_pic_object="$pic_object"
9860
+ non_pic_objects="$non_pic_objects $non_pic_object"
9863
# Only an error if not doing a dry-run.
9864
@@ -1893,9 +1983,9 @@
9865
if test ! -d "$output_objdir"; then
9866
$show "$mkdir $output_objdir"
9867
$run $mkdir $output_objdir
9869
- if test "$status" -ne 0 && test ! -d "$output_objdir"; then
9872
+ if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
9877
@@ -1958,7 +2048,6 @@
9879
need_relink=no # whether we're linking any uninstalled libtool libraries
9880
notinst_deplibs= # not-installed libtool libraries
9881
- notinst_path= # paths that contain not-installed libtool libraries
9885
@@ -1993,7 +2082,10 @@
9887
dlopen) libs="$dlfiles" ;;
9888
dlpreopen) libs="$dlprefiles" ;;
9889
- link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
9891
+ libs="$deplibs %DEPLIBS%"
9892
+ test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
9896
if test "$pass" = dlopen; then
9897
@@ -2194,7 +2286,7 @@
9899
if test "$found" = yes || test -f "$lib"; then :
9901
- $echo "$modename: cannot find the library \`$lib'" 1>&2
9902
+ $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
9906
@@ -2445,8 +2537,12 @@
9909
link_static=no # Whether the deplib will be linked statically
9910
+ use_static_libs=$prefer_static_libs
9911
+ if test "$use_static_libs" = built && test "$installed" = yes ; then
9912
+ use_static_libs=no
9914
if test -n "$library_names" &&
9915
- { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
9916
+ { test "$use_static_libs" = no || test -z "$old_library"; }; then
9917
if test "$installed" = no; then
9918
notinst_deplibs="$notinst_deplibs $lib"
9920
@@ -2559,11 +2655,15 @@
9921
if test "$hardcode_direct" = no; then
9924
- *-*-sco3.2v5* ) add_dir="-L$dir" ;;
9925
+ *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
9926
+ *-*-sysv4*uw2*) add_dir="-L$dir" ;;
9927
+ *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
9928
+ *-*-unixware7*) add_dir="-L$dir" ;;
9930
# if the lib is a module then we can not link against
9931
# it, someone is ignoring the new warnings I added
9932
- if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
9933
+ if /usr/bin/file -L $add 2> /dev/null |
9934
+ $EGREP ": [^:]* bundle" >/dev/null ; then
9935
$echo "** Warning, lib $linklib is a module, not a shared library"
9936
if test -z "$old_library" ; then
9938
@@ -3104,6 +3204,11 @@
9940
revision="$number_minor"
9943
+ $echo "$modename: unknown library version type \`$version_type'" 1>&2
9944
+ $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
9945
+ exit $EXIT_FAILURE
9950
@@ -3314,9 +3419,9 @@
9952
# Eliminate all temporary directories.
9953
for path in $notinst_path; do
9954
- lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
9955
- deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
9956
- dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
9957
+ lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
9958
+ deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
9959
+ dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
9962
if test -n "$xrpath"; then
9963
@@ -3369,7 +3474,12 @@
9965
*-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
9966
# Do not include libc due to us having libc/libc_r.
9967
- test "X$arg" = "X-lc" && continue
9969
+ *-*-sco3.2v5* | *-*-sco5v6*)
9970
+ # Causes problems with __ctype
9972
+ *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
9973
+ # Compiler inserts libc in the correct place for threads to work
9976
# Add libc to deplibs on all other systems if necessary.
9977
@@ -3413,7 +3523,7 @@
9978
int main() { return 0; }
9981
- $LTCC -o conftest conftest.c $deplibs
9982
+ $LTCC $LTCFLAGS -o conftest conftest.c $deplibs
9983
if test "$?" -eq 0 ; then
9984
ldd_output=`ldd conftest`
9985
for i in $deplibs; do
9986
@@ -3458,7 +3568,7 @@
9987
# If $name is empty we are operating on a -L argument.
9988
if test "$name" != "" && test "$name" != "0"; then
9990
- $LTCC -o conftest conftest.c $i
9991
+ $LTCC $LTCFLAGS -o conftest conftest.c $i
9993
if test "$?" -eq 0 ; then
9994
ldd_output=`ldd conftest`
9995
@@ -3705,6 +3815,35 @@
10000
+ # move library search paths that coincide with paths to not yet
10001
+ # installed libraries to the beginning of the library search list
10003
+ for path in $notinst_path; do
10004
+ case " $new_libs " in
10005
+ *" -L$path/$objdir "*) ;;
10007
+ case " $deplibs " in
10008
+ *" -L$path/$objdir "*)
10009
+ new_libs="$new_libs -L$path/$objdir" ;;
10014
+ for deplib in $deplibs; do
10017
+ case " $new_libs " in
10018
+ *" $deplib "*) ;;
10019
+ *) new_libs="$new_libs $deplib" ;;
10022
+ *) new_libs="$new_libs $deplib" ;;
10025
+ deplibs="$new_libs"
10028
# All the library-specific variables (install_libdir is set above).
10031
@@ -3788,6 +3927,7 @@
10034
lib="$output_objdir/$realname"
10038
linknames="$linknames $link"
10039
@@ -4219,6 +4359,35 @@
10044
+ # move library search paths that coincide with paths to not yet
10045
+ # installed libraries to the beginning of the library search list
10047
+ for path in $notinst_path; do
10048
+ case " $new_libs " in
10049
+ *" -L$path/$objdir "*) ;;
10051
+ case " $compile_deplibs " in
10052
+ *" -L$path/$objdir "*)
10053
+ new_libs="$new_libs -L$path/$objdir" ;;
10058
+ for deplib in $compile_deplibs; do
10061
+ case " $new_libs " in
10062
+ *" $deplib "*) ;;
10063
+ *) new_libs="$new_libs $deplib" ;;
10066
+ *) new_libs="$new_libs $deplib" ;;
10069
+ compile_deplibs="$new_libs"
10072
compile_command="$compile_command $compile_deplibs"
10073
finalize_command="$finalize_command $finalize_deplibs"
10075
@@ -4263,10 +4432,15 @@
10078
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
10079
+ testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
10080
case :$dllsearchpath: in
10082
*) dllsearchpath="$dllsearchpath:$libdir";;
10084
+ case :$dllsearchpath: in
10085
+ *":$testbindir:"*) ;;
10086
+ *) dllsearchpath="$dllsearchpath:$testbindir";;
10091
@@ -4383,10 +4557,22 @@
10092
export_symbols="$output_objdir/$outputname.exp"
10093
$run $rm $export_symbols
10094
$run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
10096
+ *cygwin* | *mingw* )
10097
+ $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
10098
+ $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
10102
- $run eval "${SED} -e 's/\([ ][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
10103
+ $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
10104
$run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
10105
$run eval 'mv "$nlist"T "$nlist"'
10107
+ *cygwin* | *mingw* )
10108
+ $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
10109
+ $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
10115
@@ -4503,16 +4689,29 @@
10118
# Now compile the dynamic symbol file.
10119
- $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
10120
- $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
10121
+ $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
10122
+ $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
10124
# Clean up the generated files.
10125
$show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
10126
$run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
10128
# Transform the symbol file into the correct name.
10129
- compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
10130
- finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
10132
+ *cygwin* | *mingw* )
10133
+ if test -f "$output_objdir/${outputname}.def" ; then
10134
+ compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
10135
+ finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
10137
+ compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
10138
+ finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
10142
+ compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
10143
+ finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
10148
$echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
10149
@@ -4537,7 +4736,7 @@
10150
# We have no uninstalled library dependencies, so finalize right now.
10151
$show "$link_command"
10152
$run eval "$link_command"
10156
# Delete the generated files.
10157
if test -n "$dlsyms"; then
10158
@@ -4545,7 +4744,7 @@
10159
$run $rm "$output_objdir/${outputname}S.${objext}"
10163
+ exit $exit_status
10166
if test -n "$shlibpath_var"; then
10167
@@ -4685,10 +4884,12 @@
10170
*cygwin* | *mingw* )
10171
- cwrappersource=`$echo ${objdir}/lt-${outputname}.c`
10172
- cwrapper=`$echo ${output}.exe`
10173
- $rm $cwrappersource $cwrapper
10174
- trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
10175
+ output_name=`basename $output`
10176
+ output_path=`dirname $output`
10177
+ cwrappersource="$output_path/$objdir/lt-$output_name.c"
10178
+ cwrapper="$output_path/$output_name.exe"
10179
+ $rm $cwrappersource $cwrapper
10180
+ trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
10182
cat > $cwrappersource <<EOF
10184
@@ -4713,6 +4914,9 @@
10185
#include <malloc.h>
10186
#include <stdarg.h>
10187
#include <assert.h>
10188
+#include <string.h>
10189
+#include <ctype.h>
10190
+#include <sys/stat.h>
10192
#if defined(PATH_MAX)
10193
# define LT_PATHMAX PATH_MAX
10194
@@ -4723,15 +4927,19 @@
10197
#ifndef DIR_SEPARATOR
10198
-#define DIR_SEPARATOR '/'
10199
+# define DIR_SEPARATOR '/'
10200
+# define PATH_SEPARATOR ':'
10203
#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
10205
-#define HAVE_DOS_BASED_FILE_SYSTEM
10206
-#ifndef DIR_SEPARATOR_2
10207
-#define DIR_SEPARATOR_2 '\\'
10209
+# define HAVE_DOS_BASED_FILE_SYSTEM
10210
+# ifndef DIR_SEPARATOR_2
10211
+# define DIR_SEPARATOR_2 '\\'
10213
+# ifndef PATH_SEPARATOR_2
10214
+# define PATH_SEPARATOR_2 ';'
10218
#ifndef DIR_SEPARATOR_2
10219
@@ -4741,17 +4949,32 @@
10220
(((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
10221
#endif /* DIR_SEPARATOR_2 */
10223
+#ifndef PATH_SEPARATOR_2
10224
+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
10225
+#else /* PATH_SEPARATOR_2 */
10226
+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
10227
+#endif /* PATH_SEPARATOR_2 */
10229
#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
10230
#define XFREE(stale) do { \
10231
if (stale) { free ((void *) stale); stale = 0; } \
10234
+/* -DDEBUG is fairly common in CFLAGS. */
10236
+#if defined DEBUGWRAPPER
10237
+# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
10239
+# define DEBUG(format, ...)
10242
const char *program_name = NULL;
10244
void * xmalloc (size_t num);
10245
char * xstrdup (const char *string);
10246
-char * basename (const char *name);
10247
-char * fnqualify(const char *path);
10248
+const char * base_name (const char *name);
10249
+char * find_executable(const char *wrapper);
10250
+int check_executable(const char *path);
10251
char * strendzap(char *str, const char *pat);
10252
void lt_fatal (const char *message, ...);
10254
@@ -4761,29 +4984,50 @@
10258
- program_name = (char *) xstrdup ((char *) basename (argv[0]));
10259
+ program_name = (char *) xstrdup (base_name (argv[0]));
10260
+ DEBUG("(main) argv[0] : %s\n",argv[0]);
10261
+ DEBUG("(main) program_name : %s\n",program_name);
10262
newargz = XMALLOC(char *, argc+2);
10265
- cat >> $cwrappersource <<EOF
10266
- newargz[0] = "$SHELL";
10267
+ cat >> $cwrappersource <<EOF
10268
+ newargz[0] = (char *) xstrdup("$SHELL");
10271
- cat >> $cwrappersource <<"EOF"
10272
- newargz[1] = fnqualify(argv[0]);
10273
+ cat >> $cwrappersource <<"EOF"
10274
+ newargz[1] = find_executable(argv[0]);
10275
+ if (newargz[1] == NULL)
10276
+ lt_fatal("Couldn't find %s", argv[0]);
10277
+ DEBUG("(main) found exe at : %s\n",newargz[1]);
10278
/* we know the script has the same name, without the .exe */
10279
/* so make sure newargz[1] doesn't end in .exe */
10280
strendzap(newargz[1],".exe");
10281
for (i = 1; i < argc; i++)
10282
newargz[i+1] = xstrdup(argv[i]);
10283
newargz[argc+1] = NULL;
10285
+ for (i=0; i<argc+1; i++)
10287
+ DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
10293
- cat >> $cwrappersource <<EOF
10296
+ cat >> $cwrappersource <<EOF
10297
+ execv("$SHELL",(char const **)newargz);
10301
+ cat >> $cwrappersource <<EOF
10302
execv("$SHELL",newargz);
10307
- cat >> $cwrappersource <<"EOF"
10308
+ cat >> $cwrappersource <<"EOF"
10312
@@ -4804,48 +5048,148 @@
10317
-basename (const char *name)
10319
+base_name (const char *name)
10323
#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
10324
/* Skip over the disk name in MSDOS pathnames. */
10325
- if (isalpha (name[0]) && name[1] == ':')
10326
+ if (isalpha ((unsigned char)name[0]) && name[1] == ':')
10330
for (base = name; *name; name++)
10331
if (IS_DIR_SEPARATOR (*name))
10333
- return (char *) base;
10338
+check_executable(const char * path)
10342
+ DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
10343
+ if ((!path) || (!*path))
10346
+ if ((stat (path, &st) >= 0) &&
10348
+ /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
10349
+#if defined (S_IXOTH)
10350
+ ((st.st_mode & S_IXOTH) == S_IXOTH) ||
10352
+#if defined (S_IXGRP)
10353
+ ((st.st_mode & S_IXGRP) == S_IXGRP) ||
10355
+ ((st.st_mode & S_IXUSR) == S_IXUSR))
10362
+/* Searches for the full path of the wrapper. Returns
10363
+ newly allocated full path name if found, NULL otherwise */
10365
-fnqualify(const char *path)
10366
+find_executable (const char* wrapper)
10370
+ int has_slash = 0;
10372
+ const char* p_next;
10373
+ /* static buffer for getcwd */
10374
char tmp[LT_PATHMAX + 1];
10376
+ char* concat_name;
10378
- assert(path != NULL);
10379
+ DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
10381
- /* Is it qualified already? */
10382
+ if ((wrapper == NULL) || (*wrapper == '\0'))
10385
+ /* Absolute path? */
10386
#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
10387
- if (isalpha (path[0]) && path[1] == ':')
10388
- return xstrdup (path);
10389
+ if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
10391
+ concat_name = xstrdup (wrapper);
10392
+ if (check_executable(concat_name))
10393
+ return concat_name;
10394
+ XFREE(concat_name);
10399
+ if (IS_DIR_SEPARATOR (wrapper[0]))
10401
+ concat_name = xstrdup (wrapper);
10402
+ if (check_executable(concat_name))
10403
+ return concat_name;
10404
+ XFREE(concat_name);
10406
+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
10409
- if (IS_DIR_SEPARATOR (path[0]))
10410
- return xstrdup (path);
10412
- /* prepend the current directory */
10413
- /* doesn't handle '~' */
10414
+ for (p = wrapper; *p; p++)
10422
+ /* no slashes; search PATH */
10423
+ const char* path = getenv ("PATH");
10424
+ if (path != NULL)
10426
+ for (p = path; *p; p = p_next)
10430
+ for (q = p; *q; q++)
10431
+ if (IS_PATH_SEPARATOR(*q))
10434
+ p_next = (*q == '\0' ? q : q + 1);
10437
+ /* empty path: current directory */
10438
+ if (getcwd (tmp, LT_PATHMAX) == NULL)
10439
+ lt_fatal ("getcwd failed");
10440
+ tmp_len = strlen(tmp);
10441
+ concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
10442
+ memcpy (concat_name, tmp, tmp_len);
10443
+ concat_name[tmp_len] = '/';
10444
+ strcpy (concat_name + tmp_len + 1, wrapper);
10448
+ concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
10449
+ memcpy (concat_name, p, p_len);
10450
+ concat_name[p_len] = '/';
10451
+ strcpy (concat_name + p_len + 1, wrapper);
10453
+ if (check_executable(concat_name))
10454
+ return concat_name;
10455
+ XFREE(concat_name);
10458
+ /* not found in PATH; assume curdir */
10460
+ /* Relative path | not found in path: prepend cwd */
10461
if (getcwd (tmp, LT_PATHMAX) == NULL)
10462
lt_fatal ("getcwd failed");
10463
- size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */
10464
- p = XMALLOC(char, size);
10465
- sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path);
10467
+ tmp_len = strlen(tmp);
10468
+ concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
10469
+ memcpy (concat_name, tmp, tmp_len);
10470
+ concat_name[tmp_len] = '/';
10471
+ strcpy (concat_name + tmp_len + 1, wrapper);
10473
+ if (check_executable(concat_name))
10474
+ return concat_name;
10475
+ XFREE(concat_name);
10480
@@ -4889,16 +5233,16 @@
10484
- # we should really use a build-platform specific compiler
10485
- # here, but OTOH, the wrappers (shell script and this C one)
10486
- # are only useful if you want to execute the "real" binary.
10487
- # Since the "real" binary is built for $host, then this
10488
- # wrapper might as well be built for $host, too.
10489
- $run $LTCC -s -o $cwrapper $cwrappersource
10493
- trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
10494
+ # we should really use a build-platform specific compiler
10495
+ # here, but OTOH, the wrappers (shell script and this C one)
10496
+ # are only useful if you want to execute the "real" binary.
10497
+ # Since the "real" binary is built for $host, then this
10498
+ # wrapper might as well be built for $host, too.
10499
+ $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
10503
+ trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
10507
@@ -5128,9 +5472,9 @@
10508
$run ${rm}r "$gentop"
10509
$show "$mkdir $gentop"
10510
$run $mkdir "$gentop"
10512
- if test "$status" -ne 0 && test ! -d "$gentop"; then
10515
+ if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
10516
+ exit $exit_status
10520
@@ -5797,18 +6141,7 @@
10522
if test "$fast_install" = no && test -n "$relink_command"; then
10523
if test "$finalize" = yes && test -z "$run"; then
10525
- test -n "$TMPDIR" && tmpdir="$TMPDIR"
10526
- tmpdir="$tmpdir/libtool-$$"
10527
- save_umask=`umask`
10529
- if $mkdir "$tmpdir"; then
10530
- umask $save_umask
10532
- umask $save_umask
10533
- $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
10536
+ tmpdir=`func_mktempdir`
10537
file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
10538
outputname="$tmpdir/$file"
10539
# Replace the output file specification.
10540
@@ -5932,7 +6265,7 @@
10541
# Exit here if they wanted silent mode.
10542
test "$show" = : && exit $EXIT_SUCCESS
10544
- $echo "----------------------------------------------------------------------"
10545
+ $echo "X----------------------------------------------------------------------" | $Xsed
10546
$echo "Libraries have been installed in:"
10547
for libdir in $libdirs; do
10549
@@ -5965,7 +6298,7 @@
10551
$echo "See any operating system documentation about shared libraries for"
10552
$echo "more information, such as the ld(1) and ld.so(8) manual pages."
10553
- $echo "----------------------------------------------------------------------"
10554
+ $echo "X----------------------------------------------------------------------" | $Xsed
10558
@@ -6182,9 +6515,17 @@
10559
rmfiles="$rmfiles $objdir/$n"
10561
test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
10562
- test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
10564
- if test "$mode" = uninstall; then
10567
+ case " $library_names " in
10568
+ # " " in the beginning catches empty $dlname
10569
+ *" $dlname "*) ;;
10570
+ *) rmfiles="$rmfiles $objdir/$dlname" ;;
10572
+ test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
10575
if test -n "$library_names"; then
10576
# Do each command in the postuninstall commands.
10577
cmds=$postuninstall_cmds
10578
@@ -6217,7 +6558,8 @@
10581
# FIXME: should reinstall the best remaining shared library.
10588
@@ -6516,12 +6858,11 @@
10589
# configuration. But we'll never go from static-only to shared-only.
10591
# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
10592
-build_libtool_libs=no
10593
-build_old_libs=yes
10594
+disable_libs=shared
10595
# ### END LIBTOOL TAG CONFIG: disable-shared
10597
# ### BEGIN LIBTOOL TAG CONFIG: disable-static
10598
-build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
10599
+disable_libs=static
10600
# ### END LIBTOOL TAG CONFIG: disable-static