use configure-time headers checks instead of compiler ones
SVN revision: 55968
This commit is contained in:
parent
0745ad7878
commit
504f0a20f9
|
@ -352,7 +352,7 @@ AC_CHECK_HEADER([jpeglib.h],
|
|||
[dummy="yes"],
|
||||
[AC_MSG_ERROR("Cannot find jpeglib.h. Make sure your CFLAGS environment variable contains include lines for the location of this file")])
|
||||
|
||||
AC_CHECK_HEADERS(netinet/in.h)
|
||||
AC_CHECK_HEADERS([netinet/in.h unistd.h])
|
||||
EFL_CHECK_PATH_MAX
|
||||
|
||||
### Checks for types
|
||||
|
|
|
@ -25,9 +25,9 @@ void * alloca (size_t);
|
|||
#include <sys/stat.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif /* ifndef _MSC_VER */
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
# include <netinet/in.h>
|
||||
|
|
|
@ -34,9 +34,9 @@ void * alloca (size_t);
|
|||
#include <fcntl.h>
|
||||
#include <zlib.h>
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif /* ifndef _MSC_VER */
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
# include <netinet/in.h>
|
||||
|
|
Loading…
Reference in New Issue