summaryrefslogtreecommitdiff
path: root/libraries/base/configure.ac
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2019-08-29 18:42:26 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-09-01 22:44:45 -0400
commit9acba78004d4d4a149b9e1480d1d8c44b7a27cec (patch)
tree3bea723ccd1cccf43f9fcce550addb3c2c36da14 /libraries/base/configure.ac
parentcfab4abeaffa8b6a78a19bbfa485169a9c772741 (diff)
downloadhaskell-9acba78004d4d4a149b9e1480d1d8c44b7a27cec.tar.gz
Use C99 Fixed width types to avoid hack in base's configure
Define MD5Context in terms of `uint*_t` and don't use `HsFFI.h`.
Diffstat (limited to 'libraries/base/configure.ac')
-rw-r--r--libraries/base/configure.ac2
1 files changed, 0 insertions, 2 deletions
diff --git a/libraries/base/configure.ac b/libraries/base/configure.ac
index a141a25a90..0fe2ca52c2 100644
--- a/libraries/base/configure.ac
+++ b/libraries/base/configure.ac
@@ -233,8 +233,6 @@ AS_IF([test "x$with_libcharset" != xno],
fi
-# Hack - md5.h needs HsFFI.h. Is there a better way to do this?
-CFLAGS="-I../.. -I../../../../includes $CFLAGS"
dnl Calling AC_CHECK_TYPE(T) makes AC_CHECK_SIZEOF(T) abort on failure
dnl instead of considering sizeof(T) as 0.
AC_CHECK_TYPE([struct MD5Context], [], [AC_MSG_ERROR([internal error])], [#include "include/md5.h"])