Commit 5d2b8e77 authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Define WINE_CROSSTEST when building crosstests, and disable use of…

configure: Define WINE_CROSSTEST when building crosstests, and disable use of config.h in that case.
parent 6468fa55
......@@ -143,7 +143,7 @@ filter: dummy
$(CC) -c $(ALLCFLAGS) -o $@ $<
.c.cross.o:
$(CROSSCC) -c $(INCLUDES) $(DEFS) $(CPPFLAGS) $(CFLAGS) -o $@ $<
$(CROSSCC) -c $(INCLUDES) $(DEFS) -DWINE_CROSSTEST $(CPPFLAGS) $(CFLAGS) -o $@ $<
.y.tab.c:
$(BISON) $(BISONFLAGS) -p $*_ -o $@ $<
......
......@@ -2160,7 +2160,9 @@ esac
dnl **** Generate output files ****
AH_TOP([#define __WINE_CONFIG_H])
AH_TOP([#ifndef WINE_CROSSTEST
#define __WINE_CONFIG_H])
AH_BOTTOM([#endif /* WINE_CROSSTEST */])
AC_CONFIG_COMMANDS([include/stamp-h], [echo timestamp > include/stamp-h])
......
/* include/config.h.in. Generated from configure.ac by autoheader. */
#ifndef WINE_CROSSTEST
#define __WINE_CONFIG_H
/* Define to a function attribute for Microsoft hotpatch assembly prefix. */
......@@ -1307,3 +1308,5 @@
#ifndef __cplusplus
#undef inline
#endif
#endif /* WINE_CROSSTEST */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment