mirror of https://github.com/MidnightCommander/mc
* configure.in: Don't create a faked malloc.h.
* gtkedit/edit.h: Don't assume that malloc.h always exists. * src/mad.h: Likewise.
This commit is contained in:
parent
c5404ae9cb
commit
7bee992ba2
|
@ -1,5 +1,9 @@
|
|||
2001-01-13 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* configure.in: Don't create a faked malloc.h.
|
||||
* gtkedit/edit.h: Don't assume that malloc.h always exists.
|
||||
* src/mad.h: Likewise.
|
||||
|
||||
* configure.in: Simplified handling of cons.saver.
|
||||
* src/Makefile.in: Likewise. Don't install cons.saver setuid.
|
||||
* mc.spec.in: Remove a workaround for the above.
|
||||
|
|
|
@ -78,10 +78,6 @@ AC_PROG_INSTALL
|
|||
AC_CHECK_HEADERS(unistd.h string.h memory.h crypt.h grp.h limits.h malloc.h)
|
||||
AC_CHECK_HEADERS(stdlib.h termios.h utime.h fcntl.h sys/statfs.h)
|
||||
|
||||
if test x$ac_cv_header_malloc_h = xno; then
|
||||
echo '/* NeXTStep malloc.h stub */' > $srcdir/malloc.h
|
||||
fi
|
||||
|
||||
AC_HEADER_SYS_WAIT
|
||||
AC_HEADER_DIRENT
|
||||
AC_SHORT_D_NAME_LEN
|
||||
|
|
|
@ -45,7 +45,9 @@
|
|||
# include <fcntl.h>
|
||||
|
||||
# include <stdlib.h>
|
||||
# include <malloc.h>
|
||||
# ifdef HAVE_MALLOC_H
|
||||
# include <malloc.h>
|
||||
# endif
|
||||
|
||||
#else /* ! MIDNIGHT */
|
||||
|
||||
|
|
Loading…
Reference in New Issue