obsoleted cygwin hack removed

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1924 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2005-10-26 00:57:05 +00:00
parent 6c08bf462b
commit 0d16bc3e99
-14
View File
@@ -199,21 +199,7 @@ LIB_zlib_DEPEND_DETECT_BIN="pkgconfig"
# Describe the symbols (possibly) used: # # Describe the symbols (possibly) used: #
############################################################################## ##############################################################################
# HACK: The detected regex.h on Cygwin is from Cygwin itself, but as
# the precompiled SDL for Cygwin uses -mno-cygwin in both the
# CFLAGS and LDFLAGS, the actual build would fail when SDL is used.
# The workaround below is is a hack as the detection of regex should
# not depend on SDL, and in theory the program built using these
# scripts need not use SDL.
case "$HOST_SYSTEM" in
CYGWIN*)
# Make sure Cygwin's regex.h is not detected.
HEADER_regex_EXTRA='#error "Forced Cygwin regex.h detection failure."'
;;
*)
HEADER_regex_EXTRA="#include <sys/types.h>" HEADER_regex_EXTRA="#include <sys/types.h>"
;;
esac
SYMBOL_readdir_r_EXTRA="#include <dirent.h>" SYMBOL_readdir_r_EXTRA="#include <dirent.h>"