A task-oriented GnuPG frontend
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.
 
 
 
 

43 lines
1.1 KiB

dnl Configure template for the yorkie package
AC_INIT([yorkie], [0.2.0], [devel@incenp.org])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_HEADERS([config.h])
AC_USE_SYSTEM_EXTENSIONS
AM_INIT_AUTOMAKE([foreign])
dnl Check for development tools
AC_PROG_CC
AC_PROG_INSTALL
dnl Check for GTK3
PKG_CHECK_MODULES([GTK3], [gtk+-3.0],
[CFLAGS="$CFLAGS $GTK3_CFLAGS"
LIBS="$LIBS $GTK3_LIBS"])
dnl Check for glib-compile-resources
PKG_CHECK_VAR([GLIB_COMPILE_RESOURCES], [gio-2.0], [glib_compile_resources],
[], [AC_MSG_ERROR([glib-compile-resources not found])])
dnl Check for GPGME
AM_PATH_GPGME([],
[CFLAGS="$CFLAGS $GPGME_CFLAGS"
LIBS="$LIBS $GPGME_LIBS"],
[AC_MSG_ERROR([libgpgme not found])])
dnl Output files
AC_CONFIG_FILES([Makefile src/Makefile extra/Makefile
man/Makefile man/yki.1])
AC_OUTPUT
dnl Summary
echo "
${PACKAGE_NAME} version ${PACKAGE_VERSION}
Configuration complete
Prefix: '{prefix}'
Compiler: '$CC} ${CFLAGS} ${CPPFLAGS}'
"