X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=libtool.m4;h=8966762881f63f1a265e7c93d09a5aa2db3a1093;hb=4ed9ab2de7fd409e385524ab9ca2e62a3097691e;hp=940faaa161dccf9ec77468e0b8564f23994720d3;hpb=d41cd173e23ebea7c758644d6ad6e0fde1c2e3a6;p=gcc.git diff --git a/libtool.m4 b/libtool.m4 index 940faaa161d..8966762881f 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -1079,7 +1079,7 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES], # to the aix ld manual. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl -AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +AC_LINK_IFELSE([AC_LANG_SOURCE([AC_LANG_PROGRAM])],[ lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { @@ -4932,7 +4932,7 @@ _LT_EOF # implicitly export all symbols. save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" - AC_LINK_IFELSE(int foo(void) {}, + AC_LINK_IFELSE([AC_LANG_SOURCE([int foo(void) {}])], _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' ) LDFLAGS="$save_LDFLAGS"