]> git.ipfire.org Git - thirdparty/libtool.git/commit
* libltdl/ltdl.c: Move standard headers and preprocessor guards
authorGary V. Vaughan <gary@gnu.org>
Thu, 8 Apr 2004 13:51:15 +0000 (13:51 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 8 Apr 2004 13:51:15 +0000 (13:51 +0000)
commit1cf343d5739f1b73e8d03efdb59a31495268b28d
tree82224d5ef14df4016e90a4ac23f6514532536420
parentb61dada32237a41cf0f639e194e87663a75fc977
* libltdl/ltdl.c: Move standard headers and preprocessor guards
from here...
* libltdl/lt__private.h: ...to here.  New file to declare ltdl's
internal interfaces.
* libltdl/ltdl.c: Include lt__private.h.
* m4/ltdl.m4 (AC_LIB_LTDL): Add lt_dirent to AC_LIBOBJ if all of
opendir, readdir and closedir are missing.
(AC_CHECK_HEADERS): Remove assert.h, ctype.h, errno.h, malloc.h,
stdio.h and stdlib.h; these headers are all available in standard
c89 environments and newer.
* libltdl/lt__private.h: Include them here unconditionally.
* libltdl/lt__dirent.c (opendir, readdir, closedir): New file.
Windows dirent emulation functions moved to here...
* libltdl/ltdl.c (opendir, readdir, closedir): ...from here.
* libltdl/lt__dirent.h: New file.  Rename the global symbols from
lt__dirent.c into the lt__ namespace so they don't clash with
other libraries.
ChangeLog
libltdl/lt__dirent.c [new file with mode: 0644]
libltdl/lt__dirent.h [new file with mode: 0644]
libltdl/lt__private.h [new file with mode: 0644]
libltdl/lt_system.h
libltdl/ltdl.c
m4/ltdl.m4