[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05-clean-beforehand.patch
From: |
Akim Demaille |
Subject: |
05-clean-beforehand.patch |
Date: |
16 Oct 2000 09:48:09 +0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
Index: ChangeLog
from Akim Demaille <address@hidden>
* acgeneral.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
(_AC_RUN_IFELSE): Before compiling, remove the files expected to
be produced.
(_AC_LINK_IFELSE, _AC_RUN_IFELSE): You don't create object files,
so don't remove them.
Index: acgeneral.m4
--- acgeneral.m4 Sun, 15 Oct 2000 20:48:59 +0200 akim (ace/27_acgeneral.
1.169.8.72 666)
+++ acgeneral.m4 Sun, 15 Oct 2000 21:10:59 +0200 akim (ace/27_acgeneral.
1.169.8.72 666)
@@ -3450,6 +3450,7 @@ AC_DEFUN([AC_EGREP_CPP],
# This macro can be used during the selection of a compiler.
define([_AC_COMPILE_IFELSE],
[m4_ifvanl([$1], [AC_LANG_CONFTEST([$1])])dnl
+rm -f conftest.$ac_objext
if AC_TRY_EVAL(ac_compile) && test -s conftest.$ac_objext; then
m4_default([$2], :)
else
@@ -3490,6 +3491,7 @@ AC_DEFUN([AC_TRY_COMPILE],
# This macro can be used during the selection of a compiler.
define([_AC_LINK_IFELSE],
[m4_ifvanl([$1], [AC_LANG_CONFTEST([$1])])dnl
+rm -f conftest.$ac_objext conftest$ac_exeext
if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
m4_default([$2], :)
else
@@ -3497,8 +3499,7 @@ define([_AC_LINK_IFELSE],
cat conftest.$ac_ext >&AC_FD_LOG
m4_ifvanl([$3], [ $3])dnl
fi
-rm -f conftest.$ac_objext conftest$ac_exeext ifval([$1],
- [conftest.$ac_ext])[]dnl
+rm -f conftest$ac_exeext ifval([$1], [conftest.$ac_ext])[]dnl
])# _AC_LINK_IFELSE
@@ -3548,6 +3549,7 @@ AC_DEFUN([AC_TRY_LINK],
# This macro can be used during the selection of a compiler.
define([_AC_RUN_IFELSE],
[m4_ifvanl([$1], [AC_LANG_CONFTEST([$1])])dnl
+rm -f conftest$ac_exeext
if AC_TRY_EVAL(ac_link) &&
test -s conftest$ac_exeext && (./conftest$ac_exeext; exit) 2>/dev/null; then
m4_default([$2], :)
@@ -3556,8 +3558,7 @@ define([_AC_RUN_IFELSE],
cat conftest.$ac_ext >&AC_FD_LOG
m4_ifvanl([$3], [ $3])dnl
fi
-rm -f conftest.$ac_objext conftest$ac_exeext ifval([$1],
- [conftest.$ac_ext])[]dnl
+rm -f conftest$ac_exeext ifval([$1], [conftest.$ac_ext])[]dnl
])# _AC_RUN_IFELSE
- 05-clean-beforehand.patch,
Akim Demaille <=