1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

Define AC_LIBTOOL_WIN32_DLL to build clean dlls

on Win32 platforms.
Define extra compiler flags necessary to build clean dlls.
This commit is contained in:
Marius Vollmer 2001-11-02 00:06:26 +00:00
parent 7ed1380067
commit 78f8126600

View file

@ -6,10 +6,25 @@ AC_CONFIG_SRCDIR([readline.c])
PACKAGE=guile-readline
AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
AC_PROG_INSTALL
AC_PROG_CC
AM_PROG_CC_STDC
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
dnl
dnl Check for Winsock and other functionality on Win32 (*not* CygWin)
dnl
AC_CYGWIN
AC_MINGW32
EXTRA_DEFS=""
if test "$MINGW32" = "yes" ; then
if test $enable_shared = yes ; then
EXTRA_DEFS="-D__SCM_IMPORT__ -D__READLINE_IMPORT__"
fi
fi
AC_SUBST(EXTRA_DEFS)
for termlib in ncurses curses termcap terminfo termlib ; do
AC_CHECK_LIB(${termlib}, tgoto,
[LIBS="-l${termlib} $LIBS"; break])