Some small portability improvements.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2199 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2006-01-19 19:13:39 +00:00
parent 91d88d0e53
commit a8ab8facbe
9 changed files with 18 additions and 17 deletions
+5 -5
View File
@@ -33,7 +33,7 @@ uqm_requirements()
use_library SDL_image || exit 1
# Add defines for HAVE_READDIR_R, HAVE_SETENV, HAVE_STRUPR
# Add defines for HAVE_READDIR_R, HAVE_SETENV, HAVE_STRUPR,
# and HAVE_STRICMP
define_have_symbol readdir_r
define_have_symbol setenv
@@ -45,9 +45,8 @@ uqm_requirements()
define_have_type wchar_t
define_have_type wint_t
# Add defines for HAVE_GETOPT_H and HAVE_REGEX_H
define_have_header getopt.h
# Add defines for HAVE_GETOPT_LONG and HAVE_REGEX_H
define_have_symbol getopt_long
define_have_header regex.h
}
@@ -279,7 +278,8 @@ uqm_process_config() {
substitute_vars SUBSTITUTE_VARS SUBSTITUTE_FILES src "$BUILD_WORK"
# Make build.vars from build.vars.in, substituting variables.
SUBSTITUTE_VARS="BUILD_SYSTEM HOST_SYSTEM CFLAGS LDFLAGS MAKE \
SUBSTITUTE_VARS="BUILD_SYSTEM HOST_SYSTEM COMPILE \
CFLAGS LDFLAGS MAKE \
ECHON DEBUG SED SOUNDMODULE \
HAVE_OPENGL HAVE_REGEX_H_FLAG USE_ZIP_IO \
USE_PLATFORM_ACCEL \
+2
View File
@@ -235,4 +235,6 @@ SYMBOL_wint_t_EXTRA="#include <wchar.h>"
SYMBOL_iswgraph_EXTRA="#include <wctype.h>"
SYMBOL_getopt_long_EXTRA="#include <getopt.h>"