perform the type size checks before the library checks, because some
authorNathan Bryant <loanshark@uncensored.citadel.org>
Fri, 31 May 2002 16:55:20 +0000 (16:55 +0000)
committerNathan Bryant <loanshark@uncensored.citadel.org>
Fri, 31 May 2002 16:55:20 +0000 (16:55 +0000)
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

index 2463dc0462efd8aa1b1821d9d0f74b6afef18479..d965ba3ce7fbd172ff6fc1dc2a3348876cfcae8a 100644 (file)
@@ -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 <sys/types.h>
 #include <utmp.h>], [struct utmp ut; ut.ut_type;],