build: Build all the drivers by default

This commit is contained in:
Bastien Nocera 2012-12-01 15:10:13 +01:00
parent 31cf7a9383
commit 258ac2d4da
2 changed files with 5 additions and 1 deletions

View file

@ -11,7 +11,7 @@ endif
DIST_SUBDIRS = libfprint doc examples
DISTCHECK_CONFIGURE_FLAGS = --with-drivers=upekts,upeke2,upeksonly,uru4000,vcom5s,aes2501,aes1610,aes4000,vfs101 --enable-examples-build --enable-x11-examples-build --with-udev-rules-dir='$${libdir}/udev/rules.d-distcheck'
DISTCHECK_CONFIGURE_FLAGS = --with-drivers=all --enable-examples-build --enable-x11-examples-build --with-udev-rules-dir='$${libdir}/udev/rules.d-distcheck'
pkgconfigdir=$(libdir)/pkgconfig
pkgconfig_DATA=libfprint.pc

View file

@ -49,6 +49,10 @@ AC_ARG_WITH([drivers],[AS_HELP_STRING([--with-drivers],
[drivers="$withval"],
[drivers="$all_drivers"])
if test x$drivers = xall ; then
drivers=$all_drivers
fi
for driver in `echo ${drivers} | sed -e 's/,/ /g' -e 's/,$//g'`; do
case ${driver} in
upekts)