From 5740003e06f0c585460501514f3352f5e105c98c Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Thu, 3 Dec 2015 22:25:13 +0100 Subject: Simplify code via AC_USE_SYSTEM_EXTENSIONS `AC_USE_SYSTEM_EXTENSIONS` takes care of defining feature_test_macros(7) thereby allowing us to remove a few manual `#define`s --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c63b45b..8738680 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,11 @@ AC_INIT([Haskell unix package], [2.0], [libraries@haskell.org], [unix]) +AC_PREREQ([2.60]) # Safety check: Ensure that we are in the correct source directory. AC_CONFIG_SRCDIR([include/HsUnix.h]) +AC_USE_SYSTEM_EXTENSIONS + AC_ARG_WITH([cc], [C compiler], [CC=$withval]) -- cgit v1.2.3