From 60f5c4c5403b8874d8177df08a25ae44a6213331 Mon Sep 17 00:00:00 2001 From: Nathan Bryant Date: Fri, 31 May 2002 16:55:20 +0000 Subject: [PATCH] perform the type size checks before the library checks, because some libraries might not be on the ld_library_path type thing and we run programs that will be linked against any libraries we've detected. --- citadel/configure.ac | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/citadel/configure.ac b/citadel/configure.ac index 2463dc046..d965ba3ce 100644 --- a/citadel/configure.ac +++ b/citadel/configure.ac @@ -125,6 +125,13 @@ AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) dnl Checks for system services. +dnl Check the size of various builtin types; see typesize.h (error) +AC_CHECK_SIZEOF(char, 0) +AC_CHECK_SIZEOF(short, 0) +AC_CHECK_SIZEOF(int, 0) +AC_CHECK_SIZEOF(long, 0) +dnl AC_CHECK_SIZEOF(long long, 0) + dnl Checks for libraries. dnl We want to test for the following in libc before checking for their @@ -382,13 +389,6 @@ AC_HEADER_TIME dnl defined in acinclude.m4: CIT_STRUCT_TM -dnl Check the size of various builtin types; see typesize.h (error) -AC_CHECK_SIZEOF(char, 0) -AC_CHECK_SIZEOF(short, 0) -AC_CHECK_SIZEOF(int, 0) -AC_CHECK_SIZEOF(long, 0) -dnl AC_CHECK_SIZEOF(long long, 0) - AC_CACHE_CHECK([for ut_type in struct utmp], ac_cv_struct_ut_type, [AC_TRY_COMPILE([#include #include ], [struct utmp ut; ut.ut_type;], -- 2.39.2