From: Peter Ekberg Date: Thu, 22 Sep 2005 04:53:14 +0000 (+0000) Subject: * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS, _LT_COMPILER_PIC) X-Git-Tag: release-2-1b~506 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=914ca45e9a7032d0c315a0a9c31e8aa4a49092ef;p=thirdparty%2Flibtool.git * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS, _LT_COMPILER_PIC) (_LT_LINKER_SHLIBS): Require _LT_TAG_COMPILER to make sure that $compiler is assigned. Fixes crippled configure output. --- diff --git a/ChangeLog b/ChangeLog index 9b83565cd..0b11505cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-09-22 Peter Ekberg , + Ralf Wildenhues + + * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS, _LT_COMPILER_PIC) + (_LT_LINKER_SHLIBS): Require _LT_TAG_COMPILER to make sure that + $compiler is assigned. Fixes crippled configure output. + 2005-09-21 Peter Ekberg , * libltdl/m4/libtool.m4 (LT_PATH_NM): Fix autodetection of diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index ceed3b0c2..daa7ae79c 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -3003,6 +3003,7 @@ AC_REQUIRE([AC_OBJEXT])dnl AC_REQUIRE([LT_PATH_NM])dnl AC_REQUIRE([LT_PATH_LD])dnl m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_TAG_COMPILER])dnl # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) @@ -3215,7 +3216,8 @@ _LT_DECL([global_symbol_to_c_name_address], # _LT_COMPILER_PIC([TAGNAME]) # --------------------------- m4_defun([_LT_COMPILER_PIC], -[_LT_TAGVAR(lt_prog_compiler_wl, $1)= +[m4_require([_LT_TAG_COMPILER])dnl +_LT_TAGVAR(lt_prog_compiler_wl, $1)= _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)= @@ -3766,6 +3768,7 @@ AC_REQUIRE([LT_PATH_NM])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_TAG_COMPILER])dnl AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'