2017-05-14 16:26:30 +00:00
|
|
|
AC_INIT([libfprint], [0.7.0])
|
2013-08-12 08:45:17 +00:00
|
|
|
AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz check-news subdir-objects])
|
2009-06-20 13:50:35 +00:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2007-10-07 22:20:12 +00:00
|
|
|
AC_CONFIG_SRCDIR([libfprint/core.c])
|
2013-01-13 13:42:13 +00:00
|
|
|
AC_CONFIG_HEADERS([config.h])
|
2007-10-07 22:20:12 +00:00
|
|
|
|
2011-04-08 14:38:33 +00:00
|
|
|
# Enable silent build when available (Automake 1.11)
|
|
|
|
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
|
|
|
|
|
2007-10-29 23:37:28 +00:00
|
|
|
AC_PREREQ([2.50])
|
2007-10-07 22:20:12 +00:00
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
AC_C_INLINE
|
2007-10-27 14:17:19 +00:00
|
|
|
AM_PROG_CC_C_O
|
2010-09-08 10:03:58 +00:00
|
|
|
AC_PROG_CXX
|
2008-02-16 12:44:50 +00:00
|
|
|
AC_DEFINE([_GNU_SOURCE], [], [Use GNU extensions])
|
2007-10-07 22:20:12 +00:00
|
|
|
|
|
|
|
# Library versioning
|
|
|
|
lt_major="0"
|
|
|
|
lt_revision="0"
|
|
|
|
lt_age="0"
|
|
|
|
AC_SUBST(lt_major)
|
|
|
|
AC_SUBST(lt_revision)
|
|
|
|
AC_SUBST(lt_age)
|
|
|
|
|
2017-10-15 13:38:29 +00:00
|
|
|
all_drivers="upekts upektc upeksonly vcom5s uru4000 fdu2000 aes1610 aes1660 aes2501 aes2550 aes2660 aes3500 aes4000 vfs101 vfs301 vfs5011 upektc_img etes603 vfs0050 elan"
|
2008-08-10 19:21:58 +00:00
|
|
|
|
2008-10-29 12:53:24 +00:00
|
|
|
require_imaging='no'
|
2008-08-10 19:21:58 +00:00
|
|
|
require_aeslib='no'
|
2012-11-30 09:26:51 +00:00
|
|
|
require_aesX660='no'
|
2013-05-16 10:25:10 +00:00
|
|
|
require_aes3k='no'
|
2018-04-27 12:07:20 +00:00
|
|
|
require_nss='no'
|
2010-08-17 18:36:56 +00:00
|
|
|
enable_upeke2='no'
|
2008-08-10 19:21:58 +00:00
|
|
|
enable_upekts='no'
|
|
|
|
enable_upektc='no'
|
|
|
|
enable_upeksonly='no'
|
|
|
|
enable_vcom5s='no'
|
|
|
|
enable_uru4000='no'
|
|
|
|
enable_fdu2000='no'
|
|
|
|
enable_aes1610='no'
|
2012-11-25 17:50:11 +00:00
|
|
|
enable_aes1660='no'
|
2008-08-10 19:21:58 +00:00
|
|
|
enable_aes2501='no'
|
2012-10-08 22:20:44 +00:00
|
|
|
enable_aes2550='no'
|
2012-11-25 17:51:32 +00:00
|
|
|
enable_aes2660='no'
|
2013-05-21 05:40:36 +00:00
|
|
|
enable_aes3500='no'
|
2008-08-10 19:21:58 +00:00
|
|
|
enable_aes4000='no'
|
2011-03-30 12:20:22 +00:00
|
|
|
enable_vfs101='no'
|
2012-07-22 19:44:34 +00:00
|
|
|
enable_vfs301='no'
|
2013-11-05 08:32:15 +00:00
|
|
|
enable_vfs5011='no'
|
2013-02-08 16:04:30 +00:00
|
|
|
enable_upektc_img='no'
|
2012-12-12 19:43:09 +00:00
|
|
|
enable_etes603='no'
|
2016-01-19 11:26:29 +00:00
|
|
|
enable_vfs0050='no'
|
2017-10-15 13:38:29 +00:00
|
|
|
enable_elan='no'
|
2008-08-10 19:21:58 +00:00
|
|
|
|
|
|
|
AC_ARG_WITH([drivers],[AS_HELP_STRING([--with-drivers],
|
|
|
|
[List of drivers to enable])],
|
|
|
|
[drivers="$withval"],
|
|
|
|
[drivers="$all_drivers"])
|
|
|
|
|
2012-12-03 15:22:33 +00:00
|
|
|
if test "x$drivers" = "xall" ; then
|
2012-12-01 14:10:13 +00:00
|
|
|
drivers=$all_drivers
|
|
|
|
fi
|
|
|
|
|
2008-08-10 19:21:58 +00:00
|
|
|
for driver in `echo ${drivers} | sed -e 's/,/ /g' -e 's/,$//g'`; do
|
|
|
|
case ${driver} in
|
|
|
|
upekts)
|
|
|
|
AC_DEFINE([ENABLE_UPEKTS], [], [Build UPEK TouchStrip driver])
|
|
|
|
enable_upekts="yes"
|
|
|
|
;;
|
2010-08-17 18:36:56 +00:00
|
|
|
upeke2)
|
|
|
|
AC_DEFINE([ENABLE_UPEKE2], [], [Build UPEK Eikon 2])
|
|
|
|
enable_upeke2="yes"
|
|
|
|
;;
|
2008-08-10 19:21:58 +00:00
|
|
|
upektc)
|
|
|
|
AC_DEFINE([ENABLE_UPEKTC], [], [Build UPEK TouchChip driver])
|
2012-11-10 15:22:32 +00:00
|
|
|
enable_upektc="yes"
|
2008-08-10 19:21:58 +00:00
|
|
|
;;
|
|
|
|
upeksonly)
|
|
|
|
AC_DEFINE([ENABLE_UPEKSONLY], [], [Build UPEK TouchStrip sensor-only driver])
|
|
|
|
enable_upeksonly="yes"
|
|
|
|
;;
|
|
|
|
uru4000)
|
|
|
|
AC_DEFINE([ENABLE_URU4000], [], [Build Digital Persona U.are.U 4000 driver])
|
|
|
|
enable_uru4000="yes"
|
2018-04-27 12:07:20 +00:00
|
|
|
require_nss="yes"
|
2008-08-10 19:21:58 +00:00
|
|
|
;;
|
|
|
|
fdu2000)
|
|
|
|
AC_DEFINE([ENABLE_FDU2000], [], [Build Secugen FDU 2000 driver])
|
2010-08-25 10:17:19 +00:00
|
|
|
enable_fdu2000="no"
|
|
|
|
# Driver not ported
|
2008-08-10 19:21:58 +00:00
|
|
|
;;
|
|
|
|
vcom5s)
|
|
|
|
AC_DEFINE([ENABLE_VCOM5S], [], [Build Veridicom 5thSense driver])
|
|
|
|
enable_vcom5s="yes"
|
|
|
|
;;
|
|
|
|
aes2501)
|
|
|
|
AC_DEFINE([ENABLE_AES2501], [], [Build AuthenTec AES2501 driver])
|
|
|
|
require_aeslib="yes"
|
|
|
|
enable_aes2501="yes"
|
|
|
|
;;
|
2012-10-08 22:20:44 +00:00
|
|
|
aes2550)
|
|
|
|
AC_DEFINE([ENABLE_AES2550], [], [Build AuthenTec AES2550/AES2810 driver])
|
|
|
|
require_aeslib="yes"
|
|
|
|
enable_aes2550="yes"
|
|
|
|
;;
|
2008-08-10 19:21:58 +00:00
|
|
|
aes1610)
|
|
|
|
AC_DEFINE([ENABLE_AES1610], [], [Build AuthenTec AES1610 driver])
|
|
|
|
require_aeslib="yes"
|
|
|
|
enable_aes1610="yes"
|
|
|
|
;;
|
2012-11-25 17:50:11 +00:00
|
|
|
aes1660)
|
|
|
|
AC_DEFINE([ENABLE_AES1660], [], [Build AuthenTec AES1660 driver])
|
|
|
|
require_aeslib="yes"
|
|
|
|
require_aesX660="yes"
|
|
|
|
enable_aes1660="yes"
|
|
|
|
;;
|
2012-11-25 17:51:32 +00:00
|
|
|
aes2660)
|
|
|
|
AC_DEFINE([ENABLE_AES2660], [], [Build AuthenTec AES1660 driver])
|
|
|
|
require_aeslib="yes"
|
|
|
|
require_aesX660="yes"
|
|
|
|
enable_aes2660="yes"
|
|
|
|
;;
|
2013-05-21 05:40:36 +00:00
|
|
|
aes3500)
|
|
|
|
AC_DEFINE([ENABLE_AES3500], [], [Build AuthenTec AES3500 driver])
|
|
|
|
require_aeslib="yes"
|
|
|
|
require_imaging="yes"
|
|
|
|
require_aes3k="yes"
|
|
|
|
enable_aes3500="yes"
|
|
|
|
;;
|
2008-08-10 19:21:58 +00:00
|
|
|
aes4000)
|
|
|
|
AC_DEFINE([ENABLE_AES4000], [], [Build AuthenTec AES4000 driver])
|
|
|
|
require_aeslib="yes"
|
2008-10-29 12:53:24 +00:00
|
|
|
require_imaging="yes"
|
2013-05-16 10:25:10 +00:00
|
|
|
require_aes3k="yes"
|
2008-08-10 19:21:58 +00:00
|
|
|
enable_aes4000="yes"
|
|
|
|
;;
|
2011-03-30 12:20:22 +00:00
|
|
|
vfs101)
|
|
|
|
AC_DEFINE([ENABLE_VFS101], [], [Build Validity VFS101 driver])
|
|
|
|
enable_vfs101="yes"
|
|
|
|
;;
|
2012-07-22 19:44:34 +00:00
|
|
|
vfs301)
|
|
|
|
AC_DEFINE([ENABLE_VFS301], [], [Build Validity VFS301/VFS300 driver])
|
|
|
|
enable_vfs301="yes"
|
|
|
|
;;
|
2013-11-05 08:32:15 +00:00
|
|
|
vfs5011)
|
|
|
|
AC_DEFINE([ENABLE_VFS5011], [], [Build Validity VFS5011 driver])
|
|
|
|
enable_vfs5011="yes"
|
|
|
|
;;
|
2013-02-08 16:04:30 +00:00
|
|
|
upektc_img)
|
|
|
|
AC_DEFINE([ENABLE_UPEKTC_IMG], [], [Build Upek TouchChip Fingerprint Coprocessor driver])
|
|
|
|
enable_upektc_img="yes"
|
|
|
|
;;
|
2012-12-12 19:43:09 +00:00
|
|
|
etes603)
|
|
|
|
AC_DEFINE([ENABLE_ETES603], [], [Build EgisTec ES603 driver])
|
|
|
|
enable_etes603="yes"
|
|
|
|
;;
|
2016-01-19 11:26:29 +00:00
|
|
|
vfs0050)
|
|
|
|
AC_DEFINE([ENABLE_VFS0050], [], [Build Validity VFS0050 driver])
|
|
|
|
enable_vfs0050="yes"
|
|
|
|
;;
|
2017-10-15 13:38:29 +00:00
|
|
|
elan)
|
|
|
|
AC_DEFINE([ENABLE_ELAN], [], [Build Elan driver])
|
|
|
|
enable_elan="yes"
|
|
|
|
;;
|
2008-08-10 19:21:58 +00:00
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
2010-08-25 10:17:19 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_UPEKTS], [test "$enable_upekts" = "yes"])
|
|
|
|
AM_CONDITIONAL([ENABLE_UPEKE2], [test "$enable_upeke2" = "yes"])
|
2012-11-10 15:22:32 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_UPEKTC], [test "$enable_upektc" = "yes"])
|
2010-08-25 10:17:19 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_UPEKSONLY], [test "$enable_upeksonly" = "yes"])
|
|
|
|
AM_CONDITIONAL([ENABLE_VCOM5S], [test "$enable_vcom5s" = "yes"])
|
|
|
|
AM_CONDITIONAL([ENABLE_URU4000], [test "$enable_uru4000" = "yes"])
|
|
|
|
AM_CONDITIONAL([ENABLE_FDU2000], [test "$enable_fdu2000" = "yes"])
|
|
|
|
AM_CONDITIONAL([ENABLE_AES1610], [test "$enable_aes1610" = "yes"])
|
2012-11-25 17:50:11 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_AES1660], [test "$enable_aes1660" = "yes"])
|
2010-08-25 10:17:19 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_AES2501], [test "$enable_aes2501" = "yes"])
|
2012-10-08 22:20:44 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_AES2550], [test "$enable_aes2550" = "yes"])
|
2012-11-25 17:51:32 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_AES2660], [test "$enable_aes2660" = "yes"])
|
2013-05-21 05:40:36 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_AES3500], [test "$enable_aes3500" = "yes"])
|
2010-08-25 10:17:19 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_AES4000], [test "$enable_aes4000" = "yes"])
|
|
|
|
AM_CONDITIONAL([REQUIRE_AESLIB], [test "$require_aeslib" = "yes"])
|
2012-11-25 17:47:01 +00:00
|
|
|
AM_CONDITIONAL([REQUIRE_AESX660], [test "$require_aesX660" = "yes"])
|
2013-05-16 10:25:10 +00:00
|
|
|
AM_CONDITIONAL([REQUIRE_AES3K], [test "$require_aes3k" = "yes"])
|
2011-03-30 12:20:22 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_VFS101], [test "$enable_vfs101" = "yes"])
|
2012-07-22 19:44:34 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_VFS301], [test "$enable_vfs301" = "yes"])
|
2013-11-05 08:32:15 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_VFS5011], [test "$enable_vfs5011" = "yes"])
|
2013-02-08 16:04:30 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_UPEKTC_IMG], [test "$enable_upektc_img" = "yes"])
|
2012-12-12 19:43:09 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_ETES603], [test "$enable_etes603" = "yes"])
|
2016-01-19 11:26:29 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_VFS0050], [test "$enable_vfs0050" = "yes"])
|
2017-10-15 13:38:29 +00:00
|
|
|
AM_CONDITIONAL([ENABLE_ELAN], [test "$enable_elan" = "yes"])
|
2008-08-10 19:21:58 +00:00
|
|
|
|
|
|
|
|
2008-07-03 04:27:37 +00:00
|
|
|
PKG_CHECK_MODULES(LIBUSB, [libusb-1.0 >= 0.9.1])
|
2007-10-07 22:20:12 +00:00
|
|
|
AC_SUBST(LIBUSB_CFLAGS)
|
|
|
|
AC_SUBST(LIBUSB_LIBS)
|
|
|
|
|
2018-04-27 12:07:20 +00:00
|
|
|
if test "$require_nss" = "yes"; then
|
|
|
|
# check for NSS
|
|
|
|
PKG_CHECK_MODULES(CRYPTO, nss, [nss_found=yes], [nss_found=no])
|
|
|
|
if test "$nss_found" != "yes"; then
|
|
|
|
AC_MSG_ERROR([NSS is required for the URU4000/URU4500 driver])
|
|
|
|
fi
|
|
|
|
fi
|
2007-11-16 17:25:41 +00:00
|
|
|
AC_SUBST(CRYPTO_CFLAGS)
|
|
|
|
AC_SUBST(CRYPTO_LIBS)
|
|
|
|
|
2013-01-24 09:05:36 +00:00
|
|
|
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.28])
|
2007-10-07 22:20:12 +00:00
|
|
|
AC_SUBST(GLIB_CFLAGS)
|
|
|
|
AC_SUBST(GLIB_LIBS)
|
|
|
|
|
2013-05-24 09:34:45 +00:00
|
|
|
pixman_found=no
|
2008-10-29 12:53:24 +00:00
|
|
|
|
2012-08-14 14:19:35 +00:00
|
|
|
AC_ARG_ENABLE(udev-rules,
|
|
|
|
AC_HELP_STRING([--enable-udev-rules],[Update the udev rules]),
|
|
|
|
[case "${enableval}" in
|
|
|
|
yes) ENABLE_UDEV_RULES=yes ;;
|
|
|
|
no) ENABLE_UDEV_RULES=no ;;
|
|
|
|
*) AC_MSG_ERROR(bad value ${enableval} for --enable-udev-rules) ;;
|
|
|
|
esac],
|
|
|
|
[ENABLE_UDEV_RULES=yes]) dnl Default value
|
|
|
|
AM_CONDITIONAL(ENABLE_UDEV_RULES, test x$ENABLE_UDEV_RULES = "xyes")
|
|
|
|
|
2013-01-07 11:36:45 +00:00
|
|
|
if test $ENABLE_UDEV_RULES = no && test -d .git/ ; then
|
|
|
|
AC_MSG_ERROR(--disable-udev-rules can only be used when building from tarballs)
|
|
|
|
fi
|
|
|
|
|
2012-08-14 14:12:20 +00:00
|
|
|
AC_ARG_WITH(udev-rules-dir,
|
|
|
|
AS_HELP_STRING([--with-udev-rules-dir=DIR],[Installation path for udev rules @<:@auto@:>@]),
|
|
|
|
[ac_with_udev_rules_dir=$withval],
|
|
|
|
[ac_with_udev_rules_dir=""])
|
|
|
|
|
|
|
|
if test "${ac_with_udev_rules_dir}" = ""; then
|
|
|
|
ac_with_udev_rules_dir=`$PKG_CONFIG --variable=udevdir udev`/rules.d
|
|
|
|
fi
|
|
|
|
AC_MSG_NOTICE([installing udev rules in ${ac_with_udev_rules_dir}])
|
|
|
|
AC_SUBST([udev_rulesdir],[${ac_with_udev_rules_dir}])
|
2012-05-28 12:13:03 +00:00
|
|
|
|
2010-08-25 10:17:19 +00:00
|
|
|
if test "$require_imaging" = "yes"; then
|
2013-05-24 09:34:45 +00:00
|
|
|
PKG_CHECK_MODULES(IMAGING, pixman-1, [pixman_found=yes], [pixman_found=no])
|
|
|
|
if test "$pixman_found" != "yes"; then
|
|
|
|
AC_MSG_ERROR([pixman is required for imaging support])
|
2008-10-29 12:53:24 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2013-05-24 09:34:45 +00:00
|
|
|
AM_CONDITIONAL([REQUIRE_PIXMAN], [test "$pixman_found" = "yes"])
|
2008-10-29 12:53:24 +00:00
|
|
|
AC_SUBST(IMAGING_CFLAGS)
|
|
|
|
AC_SUBST(IMAGING_LIBS)
|
2007-11-08 17:04:45 +00:00
|
|
|
|
2007-10-08 16:15:21 +00:00
|
|
|
# Examples build
|
|
|
|
AC_ARG_ENABLE([examples-build], [AS_HELP_STRING([--enable-examples-build],
|
|
|
|
[build example applications (default n)])],
|
|
|
|
[build_examples=$enableval],
|
|
|
|
[build_examples='no'])
|
|
|
|
AM_CONDITIONAL([BUILD_EXAMPLES], [test "x$build_examples" != "xno"])
|
|
|
|
|
2007-10-27 14:17:19 +00:00
|
|
|
# Examples build
|
|
|
|
AC_ARG_ENABLE([x11-examples-build], [AS_HELP_STRING([--enable-x11-examples-build],
|
|
|
|
[build X11 example applications (default n)])],
|
|
|
|
[build_x11_examples=$enableval],
|
|
|
|
[build_x11_examples='no'])
|
|
|
|
AM_CONDITIONAL([BUILD_X11_EXAMPLES], [test "x$build_x11_examples" != "xno"])
|
|
|
|
|
|
|
|
|
|
|
|
if test "x$build_x11_examples" != "xno"; then
|
|
|
|
# check for Xv extensions
|
|
|
|
# imported from Coriander
|
|
|
|
AC_DEFUN([AC_CHECK_XV],[
|
|
|
|
AC_SUBST(XV_CFLAGS)
|
|
|
|
AC_SUBST(XV_LIBS)
|
|
|
|
AC_MSG_CHECKING(for Xv extensions)
|
|
|
|
AC_TRY_COMPILE([
|
|
|
|
#include <X11/Xlib.h>
|
2012-08-28 18:41:41 +00:00
|
|
|
#include <X11/extensions/Xvlib.h>],[
|
2007-10-27 14:17:19 +00:00
|
|
|
int main(void) { (void) XvGetPortAttribute(0, 0, 0, 0); return 0; }
|
|
|
|
],xv=yes,xv=no);
|
|
|
|
AC_MSG_RESULT($xv)
|
2012-08-28 18:41:41 +00:00
|
|
|
if test x$xv = xyes; then
|
|
|
|
XV_LIBS="-lXv -lXext"
|
|
|
|
XV_CFLAGS=""
|
2007-10-27 14:17:19 +00:00
|
|
|
AC_DEFINE(HAVE_XV,1,[defined if XV video overlay is available])
|
|
|
|
else
|
|
|
|
AC_MSG_ERROR([XV is required for X11 examples])
|
2012-08-28 18:41:41 +00:00
|
|
|
fi
|
2007-10-27 14:17:19 +00:00
|
|
|
])
|
|
|
|
AC_CHECK_XV
|
|
|
|
fi
|
|
|
|
|
2007-10-13 14:52:50 +00:00
|
|
|
# Message logging
|
|
|
|
AC_ARG_ENABLE([log], [AS_HELP_STRING([--disable-log], [disable all logging])],
|
|
|
|
[log_enabled=$enableval],
|
|
|
|
[log_enabled='yes'])
|
|
|
|
if test "x$log_enabled" != "xno"; then
|
|
|
|
AC_DEFINE([ENABLE_LOGGING], 1, [Message logging])
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_ARG_ENABLE([debug-log], [AS_HELP_STRING([--enable-debug-log],
|
|
|
|
[enable debug logging (default n)])],
|
|
|
|
[debug_log_enabled=$enableval],
|
|
|
|
[debug_log_enabled='no'])
|
|
|
|
if test "x$debug_log_enabled" != "xno"; then
|
|
|
|
AC_DEFINE([ENABLE_DEBUG_LOGGING], 1, [Debug message logging])
|
|
|
|
fi
|
|
|
|
|
2008-03-07 00:11:56 +00:00
|
|
|
# Restore gnu89 inline semantics on gcc 4.3 and newer
|
|
|
|
saved_cflags="$CFLAGS"
|
|
|
|
CFLAGS="$CFLAGS -fgnu89-inline"
|
2013-02-18 09:58:28 +00:00
|
|
|
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[]])], inline_cflags="-fgnu89-inline", inline_cflags="")
|
2008-03-07 00:11:56 +00:00
|
|
|
CFLAGS="$saved_cflags"
|
2007-10-13 14:52:50 +00:00
|
|
|
|
2007-10-07 22:20:12 +00:00
|
|
|
AC_DEFINE([API_EXPORTED], [__attribute__((visibility("default")))], [Default visibility])
|
2008-03-07 00:11:56 +00:00
|
|
|
AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow"
|
2007-10-13 14:52:50 +00:00
|
|
|
AC_SUBST(AM_CFLAGS)
|
2007-10-07 22:20:12 +00:00
|
|
|
|
2010-08-25 10:17:19 +00:00
|
|
|
if test "$require_imaging" = "yes"; then
|
2013-05-24 09:34:45 +00:00
|
|
|
if test x$pixman_found != no; then
|
|
|
|
AC_MSG_NOTICE([** Using pixman for imaging])
|
2010-08-25 10:17:19 +00:00
|
|
|
fi
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ Imaging support disabled])
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test x$enable_upekts != xno ; then
|
|
|
|
AC_MSG_NOTICE([** upekts driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ upekts driver disabled])
|
|
|
|
fi
|
|
|
|
if test x$enable_upeke2 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** upeke2 driver enabled])
|
|
|
|
else
|
2015-03-15 22:10:03 +00:00
|
|
|
AC_MSG_NOTICE([ upeke2 driver disabled (handled by upektc_img driver)])
|
2010-08-25 10:17:19 +00:00
|
|
|
fi
|
|
|
|
if test x$enable_upektc != xno ; then
|
|
|
|
AC_MSG_NOTICE([** upektc driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ upektc driver disabled])
|
|
|
|
fi
|
|
|
|
if test x$enable_upeksonly != xno ; then
|
|
|
|
AC_MSG_NOTICE([** upeksonly driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ upeksonly driver disabled])
|
|
|
|
fi
|
|
|
|
if test x$enable_vcom5s != xno ; then
|
|
|
|
AC_MSG_NOTICE([** vcom5s driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ vcom5s driver disabled])
|
|
|
|
fi
|
|
|
|
if test x$enable_uru4000 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** uru4000 driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ uru4000 driver disabled])
|
|
|
|
fi
|
|
|
|
if test x$enable_fdu2000 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** fdu2000 driver enabled])
|
|
|
|
else
|
2015-03-15 22:10:03 +00:00
|
|
|
AC_MSG_NOTICE([ fdu2000 driver disabled (not ported)])
|
2010-08-25 10:17:19 +00:00
|
|
|
fi
|
|
|
|
if test x$enable_aes1610 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** aes1610 driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ aes1610 driver disabled])
|
|
|
|
fi
|
2012-11-25 17:50:11 +00:00
|
|
|
if test x$enable_aes1660 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** aes1660 driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ aes1660 driver disabled])
|
|
|
|
fi
|
2010-08-25 10:17:19 +00:00
|
|
|
if test x$enable_aes2501 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** aes2501 driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ aes2501 driver disabled])
|
|
|
|
fi
|
2012-10-08 22:20:44 +00:00
|
|
|
if test x$enable_aes2550 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** aes2550/aes2810 driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ aes2550/aes2810 driver disabled])
|
|
|
|
fi
|
2012-11-25 17:51:32 +00:00
|
|
|
if test x$enable_aes2660 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** aes2660 driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ aes2660 driver disabled])
|
|
|
|
fi
|
2013-05-21 05:40:36 +00:00
|
|
|
if test x$enable_aes3500 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** aes3500 driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ aes3500 driver disabled])
|
|
|
|
fi
|
2010-08-25 10:17:19 +00:00
|
|
|
if test x$enable_aes4000 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** aes4000 driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ aes4000 driver disabled])
|
|
|
|
fi
|
2011-03-30 12:20:22 +00:00
|
|
|
if test x$enable_vfs101 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** vfs101 driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ vfs101 driver disabled])
|
|
|
|
fi
|
2012-07-22 19:44:34 +00:00
|
|
|
if test x$enable_vfs301 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** vfs301 driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ vfs301 driver disabled])
|
|
|
|
fi
|
2013-11-05 08:32:15 +00:00
|
|
|
if test x$enable_vfs5011 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** vfs5011 driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ vfs5011 driver disabled])
|
|
|
|
fi
|
2013-02-08 16:04:30 +00:00
|
|
|
if test x$enable_upektc_img != xno ; then
|
|
|
|
AC_MSG_NOTICE([** upektc_img driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ upektc_img driver disabled])
|
|
|
|
fi
|
2012-12-12 19:43:09 +00:00
|
|
|
if test x$enable_etes603 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** etes603 driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ etes603 driver disabled])
|
|
|
|
fi
|
2016-01-19 11:26:29 +00:00
|
|
|
if test x$enable_vfs0050 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** vfs0050 driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ vfs0050 driver disabled])
|
|
|
|
fi
|
2017-10-15 13:38:29 +00:00
|
|
|
if test x$enable_elan != xno ; then
|
|
|
|
AC_MSG_NOTICE([** elan driver enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ elan driver disabled])
|
|
|
|
fi
|
2010-08-25 10:17:19 +00:00
|
|
|
if test x$require_aeslib != xno ; then
|
|
|
|
AC_MSG_NOTICE([** aeslib helper functions enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ aeslib helper functions disabled])
|
|
|
|
fi
|
2012-11-25 17:47:01 +00:00
|
|
|
if test x$require_aesX660 != xno ; then
|
|
|
|
AC_MSG_NOTICE([** aesX660 common routines enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ aesX660 common routines disabled])
|
|
|
|
fi
|
2013-05-16 10:25:10 +00:00
|
|
|
if test x$require_aes3k != xno ; then
|
|
|
|
AC_MSG_NOTICE([** aes3k common routines enabled])
|
|
|
|
else
|
|
|
|
AC_MSG_NOTICE([ aes3k common routines disabled])
|
|
|
|
fi
|
2010-08-25 10:17:19 +00:00
|
|
|
|
2007-11-01 23:11:29 +00:00
|
|
|
AC_CONFIG_FILES([libfprint.pc] [Makefile] [libfprint/Makefile] [examples/Makefile] [doc/Makefile])
|
2007-10-07 22:20:12 +00:00
|
|
|
AC_OUTPUT
|
|
|
|
|