Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
88ffee68
Commit
88ffee68
authored
May 04, 1999
by
sof
Browse files
[project @ 1999-05-04 08:35:12 by sof]
New option: --enable-win32-dlls
parent
5aebbfce
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
88ffee68
...
...
@@ -168,6 +168,11 @@ i[[3456]]86-*-mingw32*)
HostVendor_CPP='unknown'
HostOS_CPP='mingw32'
exeext='.exe'
# We assume you're using mingw32 via the gcc that comes
# with cygwin, and not the native port, so let's augment
# the gcc command-line used here with -mno-cygwin to
# arrange for good things to happen.
CFLAGS="-mno-cygwin $CFLAGS"
;;
m68k-next-nextstep2)
HostPlatform_CPP='m68k_next_nextstep2'
...
...
@@ -338,6 +343,30 @@ AC_ARG_ENABLE(hc-boot,
AC_SUBST(BootingFromHc)
dnl ** Enable the construction of Win32 DLLs?
dnl --------------------------------------------------------------
AC_ARG_ENABLE(win32-dlls,
[ --enable-win32-dlls
If on a Win32 platform running mingw32/cygwin, enable the
construction of DLLs containing ghc-compiled code.
],
[
case $HostOS_CPP in
cygwin32) ;;
mingw32) ;;
*) echo "Unrecognised win32 platform: $HostPlatform"
exit 1
;;
esac
EnableWin32DLLs=YES
],
[EnableWin32DLLs=NO]
)
AC_SUBST(EnableWin32DLLs)
if test x"$EnableWin32DLLs" = "xYES" ; then
AC_DEFINE(HAVE_WIN32_DLL_SUPPORT)
fi
dnl --------------------------------------------------------------
dnl End of configure script option section
dnl --------------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment