Some tools to play with GnuPG’s smartcard daemon and OpenPGP smartcards.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
scdtools/configure.ac

42 lines
1.1 KiB

dnl Configure template for the scdrand package
AC_INIT([scdrand], [0.1.0],
[dgouttegattat@incenp.org])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_LIBOBJ_DIR([lib])
AC_USE_SYSTEM_EXTENSIONS
AM_INIT_AUTOMAKE([foreign])
dnl Check for development tools
AC_PROG_CC
AC_PROG_RANLIB
AC_PROG_INSTALL
dnl Check for some non-ubiquitous
ICP_CHECK_NOTCH_FUNCS
dnl Check for Assuan and libgpg-error
AM_PATH_LIBASSUAN([2.1.0],
[CFLAGS="$CFLAGS $LIBASSUAN_CFLAGS"
LIBS="$LIBS $LIBASSUAN_LIBS"],
[AC_MSG_ERROR([libassuan not found])])
AM_PATH_GPG_ERROR([1.11],
[CFLAGS="$CFLAGS $GPG_ERROR_CFLAGS"
LIBS="$LIBS $GPG_ERROR_LIBS"],
[AC_MSG_ERROR([libgpg-error not found])])
dnl Output files
AC_CONFIG_FILES([Makefile lib/Makefile src/Makefile])
AC_OUTPUT
dnl Summary
echo "
${PACKAGE_NAME} version ${PACKAGE_VERSION}
Configuration complete
Prefix: '${prefix}'
Compiler: '${CC} ${CFLAGS} ${CPPFLAGS}'
"