summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrey Kiselev <dron@ak4719.spb.edu>2004-09-14 06:50:22 +0000
committerAndrey Kiselev <dron@ak4719.spb.edu>2004-09-14 06:50:22 +0000
commit2d978a7e7fa32dd21f3a0f936df037838c199bac (patch)
treeb2d50575e703c00f8237e245bb5c04e333af2e11 /configure.ac
parent84085967497cc9f98ed609731b90b45324d39ff7 (diff)
downloadlibtiff-git-2d978a7e7fa32dd21f3a0f936df037838c199bac.tar.gz
Get rid of BSD data types (u_char, u_short, u_int, u_long).
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 1 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac
index 7cb8fe22..89563d97 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,7 +76,7 @@ case "$target_os" in
esac
dnl Checks for header files.
-AC_CHECK_HEADERS([fcntl.h limits.h malloc.h sys/time.h unistd.h winsock.h])
+AC_CHECK_HEADERS([fcntl.h limits.h malloc.h sys/time.h unistd.h])
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
@@ -88,17 +88,6 @@ AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
AC_HEADER_TIME
AC_STRUCT_TM
-dnl Check for BSDTYPES. winsock.h defines those types, so avoid redefinition
-dnl in Cygwin and MinGW environments
-AC_CHECK_TYPES([u_char, u_short, u_int, u_long],,,
-[
-#if HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#if HAVE_WINSOCK_H
-#include <winsock.h>
-#endif
-])
dnl Some compilers (IBM VisualAge) has these types defined, so check it here:
AC_CHECK_TYPES([int8, int16, int32],,,
[