Skip to content
Snippets Groups Projects
Commit a73564c3 authored by Ashley Yakeley's avatar Ashley Yakeley
Browse files

Merge pull request #44 from hvr/pr/configure

Tweaks to configure.ac
parents cc7f64b0 716033de
No related branches found
No related tags found
No related merge requests found
......@@ -3,13 +3,14 @@ AC_INIT([Haskell time package], [1.6], [ashley@semantic.org], [time])
# Safety check: Ensure that we are in the correct source directory.
AC_CONFIG_SRCDIR([lib/include/HsTime.h])
AC_ARG_WITH([cc],
[C compiler],
[CC=$withval])
# These are to silence warnings with older Cabal versions
AC_ARG_WITH([gcc],[Gnu C compiler])
AC_ARG_WITH([compiler],[Haskell compiler])
AC_PROG_CC()
AC_USE_SYSTEM_EXTENSIONS
AC_CONFIG_HEADERS([lib/include/HsTimeConfig.h])
AC_CHECK_HEADERS([time.h])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment