зеркало из https://github.com/mozilla/pjs.git
Verified that the autoconf build system is equivalent to the classic
build system on Win32. Modified Files: configure configure.in
This commit is contained in:
Родитель
6756302c8a
Коммит
0d3052811b
|
@ -3596,7 +3596,7 @@ EOF
|
|||
DLL_LIBS='$(GLOWDIR)/glowcode.lib'
|
||||
fi
|
||||
OBJDIR_TAG=_DBG
|
||||
LDFLAGS="$LDFLAGS -DEBUG -DEBUGTYPE:CV"
|
||||
LDFLAGS="-DEBUG -DEBUGTYPE:CV"
|
||||
if test -n "$PROFILE"; then
|
||||
LDFLAGS="$LDFLAGS -PROFILE -MAP"
|
||||
DLLFLAGS="$DLLFLAGS -PROFILE -MAP"
|
||||
|
@ -3605,6 +3605,9 @@ EOF
|
|||
|
||||
if test "$OS_TARGET" = "WINNT"; then
|
||||
CFLAGS="$CFLAGS -GT"
|
||||
if test "$CPU_ARCH" = "x86"; then
|
||||
CFLAGS="$CFLAGS -G5"
|
||||
fi
|
||||
LIBNSPR='$(dist_libdir)/libnspr$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)'
|
||||
LIBPLC='$(dist_libdir)/libplc$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)'
|
||||
else
|
||||
|
@ -3621,9 +3624,6 @@ EOF
|
|||
fi
|
||||
|
||||
if test "$OS_TARGET" = "WINNT"; then
|
||||
if test "$CPU_ARCH" = "x86"; then
|
||||
CFLAGS="$CFLAGS -G5"
|
||||
fi
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define WINNT 1
|
||||
EOF
|
||||
|
|
|
@ -1113,7 +1113,7 @@ case "$target" in
|
|||
DLL_LIBS='$(GLOWDIR)/glowcode.lib'
|
||||
fi
|
||||
OBJDIR_TAG=_DBG
|
||||
LDFLAGS="$LDFLAGS -DEBUG -DEBUGTYPE:CV"
|
||||
LDFLAGS="-DEBUG -DEBUGTYPE:CV"
|
||||
if test -n "$PROFILE"; then
|
||||
LDFLAGS="$LDFLAGS -PROFILE -MAP"
|
||||
DLLFLAGS="$DLLFLAGS -PROFILE -MAP"
|
||||
|
@ -1122,6 +1122,9 @@ case "$target" in
|
|||
|
||||
if test "$OS_TARGET" = "WINNT"; then
|
||||
CFLAGS="$CFLAGS -GT"
|
||||
if test "$CPU_ARCH" = "x86"; then
|
||||
CFLAGS="$CFLAGS -G5"
|
||||
fi
|
||||
LIBNSPR='$(dist_libdir)/libnspr$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)'
|
||||
LIBPLC='$(dist_libdir)/libplc$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)'
|
||||
else
|
||||
|
@ -1135,9 +1138,6 @@ case "$target" in
|
|||
fi
|
||||
|
||||
if test "$OS_TARGET" = "WINNT"; then
|
||||
if test "$CPU_ARCH" = "x86"; then
|
||||
CFLAGS="$CFLAGS -G5"
|
||||
fi
|
||||
AC_DEFINE(WINNT)
|
||||
else
|
||||
AC_DEFINE(WIN95)
|
||||
|
|
Загрузка…
Ссылка в новой задаче