1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Do not check for standard C headers.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4761 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2008-03-14 10:34:34 +00:00 committed by exg
parent e1713c17cb
commit aa602a00ac
2 changed files with 3 additions and 8 deletions

View File

@ -11,7 +11,6 @@ AM_MAINTAINER_MODE
AC_ISC_POSIX AC_ISC_POSIX
AC_PROG_CC AC_PROG_CC
AC_PROG_CPP AC_PROG_CPP
AC_STDC_HEADERS
AM_PROG_LIBTOOL AM_PROG_LIBTOOL
AC_PATH_PROG(sedpath, sed) AC_PATH_PROG(sedpath, sed)
@ -22,7 +21,7 @@ if test "x$enable_static" = "xno"; then
AC_ERROR([Don't give --disable-static option to configure]) AC_ERROR([Don't give --disable-static option to configure])
fi fi
AC_CHECK_HEADERS(string.h stdlib.h unistd.h dirent.h sys/ioctl.h sys/resource.h) AC_CHECK_HEADERS(unistd.h dirent.h sys/ioctl.h sys/resource.h)
# check posix headers.. # check posix headers..
AC_CHECK_HEADERS(sys/time.h sys/utsname.h regex.h) AC_CHECK_HEADERS(sys/time.h sys/utsname.h regex.h)

View File

@ -16,12 +16,8 @@
#include <stddef.h> #include <stddef.h>
#include <stdarg.h> #include <stdarg.h>
#include <ctype.h> #include <ctype.h>
#ifdef HAVE_STRING_H
#include <string.h> #include <string.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h> #include <stdlib.h>
#endif
#include <errno.h> #include <errno.h>
#include <time.h> #include <time.h>