X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.ac;h=1026d80e5d152a59a9c9005f1cd6360fb17a9feb;hb=5b0e32406c30be1613fbf556685c77e840dff342;hp=a7dabb4211f0dd6de6a9f4de8c80bd8e0a334a61;hpb=f9d8c8e0ab44b24d06b654d98543e8b39d4ebeca;p=ghc-hetmet.git diff --git a/configure.ac b/configure.ac index a7dabb4..1026d80 100644 --- a/configure.ac +++ b/configure.ac @@ -567,6 +567,14 @@ AC_SUBST(hardtop_plat) AC_MSG_RESULT(${hardtop}) +# We don't support building in directories with spaces. +case "$hardtop" in + *' '*) AC_MSG_ERROR([ + The build system does not support building in a directory containing + space characters. Suggestion: move the build tree somewhere else.]) + ;; +esac + dnl -------------------------------------------------------------- dnl * Project specific configuration options dnl -------------------------------------------------------------- @@ -825,6 +833,9 @@ FP_PROG_CONTEXT_DIFF dnl ** Find find command (for Win32's benefit) FP_PROG_FIND +dnl ** Find sort command (for the benefit of Win32 environs) +FP_PROG_SORT + dnl ** figure out how to do a BSD-ish install AC_PROG_INSTALL @@ -951,11 +962,6 @@ AC_SUBST(GhcLibsWithReadline) dnl ** check if it is safe to include both and AC_HEADER_TIME -dnl ** check for POSIX regex -HavePosixRegex=NO -AC_CHECK_HEADERS([regex.h], [AC_CHECK_FUNCS(regcomp, [HavePosixRegex=YES])]) -AC_SUBST(HavePosixRegex) - dnl ** how do we get a timezone name, and UTC offset ? AC_STRUCT_TIMEZONE