[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_SEARCH_LIBS does not clean up
From: |
Stepan Kasal |
Subject: |
AC_SEARCH_LIBS does not clean up |
Date: |
Wed, 31 Aug 2005 17:40:59 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
I noticed that the "break" called in a parameter to
AC_LINK_IFELSE skips the command
rm conftest conftest.$ac_objext ...
This means that the files are left uncleaned.
The patch attached to this mail exposes the problem.
There are two ways to fix the problem:
1) Add a "rm" to AC_SEARCH_LIBS
2) Fix the macro AC_LINK_IFELSE so that it cleans up before it executes
the commands given as parameters.
Variant 2) seems cleaner. If we decide for it, we also have to fix
a dozen of similar macros in autoconf/general.m4.
Which variant would the reders here prefer?
Have a nice day,
Stepan Kasal
autoconf-20050831-search-test.patch
Description: Text document
- AC_SEARCH_LIBS does not clean up,
Stepan Kasal <=