[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE for mingw32.
From: |
Alexandre Duret-Lutz |
Subject: |
Fix AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE for mingw32. |
Date: |
Sun, 20 Oct 2002 21:36:27 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7 (i386-debian-linux-gnu) |
Hi!
Without this, AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE fails on MinGW32
and I can't link preloaded modules.
The patch is against branch-1-4.
2002-10-20 Alexandre Duret-Lutz <address@hidden>
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Honor
ac_exeext.
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libtool.m4,v
retrieving revision 1.166.2.46
diff -u -r1.166.2.46 libtool.m4
--- libtool.m4 14 Oct 2002 14:38:04 -0000 1.166.2.46
+++ libtool.m4 20 Oct 2002 19:31:02 -0000
@@ -320,7 +320,7 @@
save_CFLAGS="$CFLAGS"
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$no_builtin_flag"
- if AC_TRY_EVAL(ac_link) && test -s conftest; then
+ if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
pipe_works=yes
fi
LIBS="$save_LIBS"
--
Alexandre Duret-Lutz
- Fix AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE for mingw32.,
Alexandre Duret-Lutz <=