mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-24 14:24:59 +08:00
* ltdl.m4 (AC_CHECK_HEADERS): Check for assert.h.
* libltdl/ltdl.c: If not, disable assertions manually.
This commit is contained in:
parent
56245fe9ef
commit
7eba1343df
@ -1,3 +1,8 @@
|
||||
2001-09-13 Gary V. Vaughan <gary@gnu.org>
|
||||
|
||||
* ltdl.m4 (AC_CHECK_HEADERS): Check for assert.h.
|
||||
* libltdl/ltdl.c: If not, disable assertions manually.
|
||||
|
||||
2001-09-11 Gary V. Vaughan <gary@gnu.org>
|
||||
|
||||
* bootstrap: Be robust to having no files that need removing.
|
||||
|
@ -86,8 +86,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
# include <argz.h>
|
||||
#endif
|
||||
|
||||
/* I have never seen a system without this: */
|
||||
#include <assert.h>
|
||||
#if HAVE_ASSERT_H
|
||||
# include <assert.h>
|
||||
#else
|
||||
# define assert(arg) ((void) 0)
|
||||
#endif
|
||||
|
||||
#include "ltdl.h"
|
||||
|
||||
|
3
ltdl.m4
3
ltdl.m4
@ -45,7 +45,8 @@ AC_REQUIRE([AC_LTDL_DLSYM_USCORE])
|
||||
AC_REQUIRE([AC_LTDL_SYS_DLOPEN_DEPLIBS])
|
||||
AC_REQUIRE([AC_LTDL_FUNC_ARGZ])
|
||||
|
||||
AC_CHECK_HEADERS([ctype.h errno.h malloc.h memory.h stdlib.h stdio.h unistd.h])
|
||||
AC_CHECK_HEADERS([assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
|
||||
stdio.h unistd.h])
|
||||
AC_CHECK_HEADERS([dl.h sys/dl.h dld.h])
|
||||
AC_CHECK_HEADERS([string.h strings.h], [break])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user