Keep systems happy which do not have sys/resource.h
[pspp] / configure.ac
index 6bb1b260c136158be8e20a8b2aeaea2a3684c686..24cb008fcbf81bd350c10b34764e2f87fbfffcbf 100644 (file)
@@ -22,7 +22,7 @@ AC_INIT([GNU PSPP], [1.3.0], [bug-gnu-pspp@gnu.org], [pspp])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_TESTDIR([tests])
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([tar-ustar])
 
 dnl Checks for programs.
 AC_GNU_SOURCE
@@ -56,6 +56,8 @@ if test "x$MSGFMT" = x; then
   PSPP_REQUIRED_PREREQ([msgfmt (is usually provided with gettext)])
 fi
 
+AC_CHECK_HEADERS([sys/resource.h])
+
 
 dnl Checks for libraries.
 AC_SYS_LARGEFILE
@@ -296,9 +298,6 @@ if test x"$enable_debug" = x"yes"  ; then
   AC_DEFINE(DEBUGGING, 1, [Define to 1 if debugging is enabled.])
 fi
 
-# exp10 is not available on all systems (MacOS)
-AC_CHECK_LIB(m, exp10, [AC_DEFINE([HAVE_EXP10],[1],[Define to 1 if your system has 'exp10'.])])
-
 # iconv is required
 AM_ICONV
 if test "$am_cv_func_iconv" != "yes"; then