From 92cac004da34f711b061345ad38cc71dcf43c066 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 3 Apr 2004 21:54:21 +0000 Subject: [PATCH] Fixed configure scripts --- config.h.in | 2 +- configure | 6 ++++-- configure.in | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/config.h.in b/config.h.in index ad582ae9..0744d57d 100644 --- a/config.h.in +++ b/config.h.in @@ -183,7 +183,7 @@ #undef HAVE_UTMPX_H /* Define if you have the utmp.ut_id strcuture member */ -#undef HAVE_UTMP_UT_ID +#undef HAVE_STRUCT_UTMP_UT_ID /* Define if you have the memcpy function. */ #undef HAVE_MEMCPY diff --git a/configure b/configure index 16263c1b..f1189746 100755 --- a/configure +++ b/configure @@ -6492,7 +6492,8 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -$ac_includes_default +#include + int main () { @@ -6527,7 +6528,8 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -$ac_includes_default +#include + int main () { diff --git a/configure.in b/configure.in index 15c24e8e..89fe6fdc 100644 --- a/configure.in +++ b/configure.in @@ -237,7 +237,7 @@ AC_TYPE_SIZE_T AC_STRUCT_ST_BLKSIZE AC_HEADER_STAT AC_STRUCT_TM -AC_CHECK_MEMBERS([struct utmp.ut_id]) +AC_CHECK_MEMBERS([struct utmp.ut_id],,,[#include ]) dnl dnl Checks for library functions.