diff --git a/aclocal.m4 b/aclocal.m4 index e82a19550..de6a343ad 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -187,7 +187,8 @@ AC_DEFUN(SANE_CHECK_U_TYPES, #endif ],[AC_MSG_RESULT([no, also in standard headers])], [AC_EGREP_HEADER(u_int8_t,netinet/in.h, - [CPPFLAGS="$CPPFLAGS -isys/bitypes.h"; AC_MSG_RESULT(yes)], + [AC_DEFINE(NEED_SYS_BITYPES_H, 1, [Do we need ?]) + AC_MSG_RESULT(yes)], [AC_MSG_RESULT([no, not even included with netinet/in.h])])]) fi AC_CHECK_TYPE(u_int8_t, unsigned char) @@ -198,6 +199,7 @@ AC_CHECK_TYPE(u_int, unsigned int) AC_CHECK_TYPE(u_long, unsigned long) ]) + # serial 40 AC_PROG_LIBTOOL AC_DEFUN(AC_PROG_LIBTOOL, [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl