core: don't generate WiMAX glib enums when WiMAX isn't enabled

The enum generator stuff apparently includes any #include in source or
header files that it's given, which was causing nm-enum-types.c to
include files from the Intel WiMAX SDK even when WiMAX wasn't enabled.
This commit is contained in:
Dan Williams 2012-07-31 18:40:55 -05:00
parent f0886e07d7
commit 54dd265001

View file

@ -57,9 +57,12 @@ INCLUDES = \
-I$(top_srcdir)/src/firewall-manager \
-I$(top_srcdir)/src/settings \
-I$(top_srcdir)/src/wifi \
-I$(top_srcdir)/src/wimax \
-I$(top_srcdir)/libnm-util
if WITH_WIMAX
INCLUDES += -I$(top_srcdir)/src/wimax
endif
libnm_generated_la_CPPFLAGS = \
$(DBUS_CFLAGS) \
$(GLIB_CFLAGS) \