specific makefiles to support getopt_.h generation with MSVC.
* nt/gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
* nt/nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
+2012-02-05 Christoph Scholtes <cschol2112@googlemail.com>
+
+ * lib/makefile.w32-in (PRAGMA_SYSTEM_HEADER): Move to platform
+ specific makefiles to support getopt_.h generation with MSVC.
+
2012-02-04 Glenn Morris <rgm@gnu.org>
* Makefile.in (uninstall):
HAVE_GETOPT_H = HAVE_GETOPT_H
INCLUDE_NEXT = include_next
-PRAGMA_SYSTEM_HEADER = \#pragma GCC system_header
PRAGMA_COLUMNS =
NEXT_GETOPT_H = <getopt.h>
ARG_NONNULL_H = ../build-aux/snippet/arg-nonnull.h
2012-02-05 Christoph Scholtes <cschol2112@googlemail.com>
+ * gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
+
+ * nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
+
* makefile.w32-in (maybe-copy-distfiles)
(maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
(create-tmp-dist-dir): Added to make --distfiles optional.
USER_LIBS := $(patsubst %,-l%,$(USER_LIBS))
endif
+PRAGMA_SYSTEM_HEADER = \#pragma GCC system_header
+
ifeq "$(ARCH)" "i386"
ifdef NOOPT
ARCH_CFLAGS = -c $(DEBUG_FLAG) $(NOCYGWIN)
D = d\r
!endif\r
\r
+# gcc-specific pragma (ignore for MSVC)\r
+PRAGMA_SYSTEM_HEADER =\r
+\r
!if "$(ARCH)" == "i386"\r
!ifdef NOOPT\r
#ARCH_CFLAGS = -nologo -c -Zel -W2 -H63 -Od -G3d -Zp8 $(DEBUG_FLAG)\r