float: Add class instances for Float.
[altfloat.git] / configure.ac
blob61012c40614856dc1efd853c323cc3f7a6309b38
1 dnl Copyright (C) 2009 Nick Bowler
2 dnl Copying and distribution of this file, with or without modification,
3 dnl are permitted in any medium without royalty provided the copyright
4 dnl notice and this notice are preserved.  This file is offered as-is,
5 dnl without any warranty.
7 AC_PREREQ(2.62)
8 AC_INIT([altfloat],[0.1],[nbowler@draconx.ca])
9 AC_CONFIG_SRCDIR([altfloat.cabal])
11 dnl We don't actually care, but this shuts up the warning.
12 AC_ARG_WITH([compiler], [AS_HELP_STRING([--with-compiler],
13         [specify which Haskell compiler to use])])
15 AC_PROG_CC_C99
17 dnl Cabal won't let us specify the C compiler, so we need this hack.
18 CC_OPTS=`echo $CC | sed 's/@<:@^@<:@:space:@:>@@:>@*//'`
19 AC_SUBST([CC_OPTS])
21 AC_CONFIG_FILES([
22         altfloat.buildinfo
24 AC_OUTPUT