Add an include to remove any C Preprocessor symbol libcdio's config.h creates. Programs using

libcdio can do this:

// for cdio:

// for your program
This commit is contained in:
R. Bernstein
2011-10-20 20:32:20 -04:00
parent f215cad224
commit 958476abf4
5 changed files with 170 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ endif
hack = check_sizeof testassert testgetdevices testischar \
testisocd testisocd2 testiso9660 test_lib_driver_util \
$(testparanoia) testpregap
$(testparanoia) testpregap testunconfig
EXTRA_PROGRAMS = testdefault
DATA_DIR = @abs_top_srcdir@/test/data
@@ -45,8 +45,10 @@ testgetdevices_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
testischar_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LTLIBICONV)
testiso9660_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LTLIBICONV)
testisocd_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LTLIBICONV)
testisocd2_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LTLIBICONV)
testisocd_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LTLIBICONV)
testisocd2_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LTLIBICONV)
testunconfig_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
test_lib_driver_util_LDADD = $(LIBCDIO_LIBS) $(LTLIBICONV)
test_lib_driver_util_CFLAGS = -DDATA_DIR=\"$(DATA_DIR)\"