diff --git a/configure.in b/configure.in index f192934..125a35f 100644 --- a/configure.in +++ b/configure.in @@ -8,6 +8,13 @@ AC_PROG_CC AC_PROG_LN_S dnl --------------------------------------------------------------------------- +dnl - Should we ship the recall data +dnl --------------------------------------------------------------------------- +AC_ARG_ENABLE(recall, [ --enable-recall include recall data],enable_recall=$enableval,enable_recall=yes) +AM_CONDITIONAL(BUILD_RECALL, test x$enable_recall == xyes) +AC_SUBST(BUILD_RECALL, $enable_recall) + +dnl --------------------------------------------------------------------------- dnl - Make paths available for source files dnl --------------------------------------------------------------------------- AC_SUBST(SYSCONFDIR, $sysconfdir) @@ -30,4 +37,5 @@ echo " prefix: ${prefix} datadir: ${DATADIR} sysconfdir: ${SYSCONFDIR} + hardware recall data: ${enable_recall} " diff --git a/fdi/information/10freedesktop/Makefile.am b/fdi/information/10freedesktop/Makefile.am index 70e09e0..e8e6993 100644 --- a/fdi/information/10freedesktop/Makefile.am +++ b/fdi/information/10freedesktop/Makefile.am @@ -7,12 +7,16 @@ dist_fdi_DATA = 10-usb-card-readers.fdi 10-camera-ptp.fdi \ 10-usb-pda.fdi \ 10-usbcsr-mice.fdi \ - 10-cd-dvd-burner.fdi \ + 10-cd-dvd-burner.fdi + +if BUILD_RECALL +dist_fdi_DATA += \ 10-recall-battery-dell.fdi \ 10-recall-battery-ibm.fdi \ 10-recall-battery-fujitsu.fdi \ 10-recall-battery-gateway.fdi \ 10-recall-battery-toshiba.fdi +endif check: for f in $(dist_fdi_DATA); do \