this links-are-a-problem thing on windows seems to be archaic now

This commit is contained in:
Caolán McNamara 2011-06-09 12:44:29 +01:00
parent 228b4400a0
commit f5cf4a6157

View file

@ -1526,19 +1526,6 @@ AC_SUBST(PTHREAD_CFLAGS)
AC_SUBST(PTHREAD_LIBS)
if test $build_os = "cygwin"; then
AC_MSG_CHECKING([Cygwin build environment sanity])
dnl ===================================================================
dnl Sanity check! Native Windows programs cannot use Cygwin symlinks!
dnl ===================================================================
dnl As long as awk instead of $AWK is used somewhere in the sources,
dnl check for $AWK and awk. $AWK is pointing to gawk in Cygwin.
if test -L $AWK -o -L `which awk` -o -L `which tar` -o -L `which gunzip` ; then
AC_MSG_ERROR([$AWK, awk, tar or gunzip is a Cygwin symlink!
Native Windows programs cannot use Cygwin symlinks. Remove the symbolic
link, and copy the program to the name of the link.])
fi
AC_MSG_RESULT([ok])
dnl ===================================================================
dnl If $CC is set to a MinGW compiler, set WITH_MINGW
dnl ===================================================================