From 6f74df238e660ffeb27d86feaf01222122a296eb Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 27 Jan 2010 11:43:29 +0000 Subject: accept --with-cc to set the path to gcc (#2966) --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index bb171d2..a415609 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,11 @@ AC_INIT([Haskell unix package], [2.0], [libraries@haskell.org], [unix]) # Safety check: Ensure that we are in the correct source directory. AC_CONFIG_SRCDIR([include/HsUnix.h]) +AC_ARG_WITH([cc], + [C compiler], + [CC=$withval]) +AC_PROG_CC() + AC_CONFIG_HEADERS([include/HsUnixConfig.h]) # Is this a Unix system? -- cgit v1.2.3