* Some hackery to make "make check" succeed on Cygwin.

This commit is contained in:
Eelco Dolstra 2008-12-12 15:36:18 +00:00
parent 2b70a8e7c9
commit ac36c6cd44
2 changed files with 15 additions and 0 deletions

View file

@ -270,6 +270,17 @@ if test "$(uname)" = "Darwin"; then
fi fi
if test "$sys_name" = "cygwin"; then
# Dynamically linking against the ATerm DLL does work, except that it requires
# the ATerm "lib" directory to be in $PATH, as Windows doesn't have anything
# like an RPATH embedded in executable. Since this is kind of annoying, we
# use static libraries for now. This has to happen at the end of
# configure, because the C compiler doesn't know about -all-static
# (it's filtered out by libtool, but configure doesn't use libtool).
LDFLAGS="-all-static $LDFLAGS"
fi
AM_CONFIG_HEADER([config.h]) AM_CONFIG_HEADER([config.h])
AC_CONFIG_FILES([Makefile AC_CONFIG_FILES([Makefile
externals/Makefile externals/Makefile

View file

@ -40,6 +40,10 @@ export xmllint="@xmllint@"
export xmlflags="@xmlflags@" export xmlflags="@xmlflags@"
export xsltproc="@xsltproc@" export xsltproc="@xsltproc@"
# Hack to get "atdiff" to run on Cygwin (Windows looks for
# DLLs in $PATH).
export PATH=$aterm_bin/../lib:$PATH
export version=@version@ export version=@version@
export system=@system@ export system=@system@