aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-04-29 10:37:24 +0000
committerWerner Koch <[email protected]>2003-04-29 10:37:24 +0000
commit8cdc83cdb5c81404e46a699f52be68d6728a16b0 (patch)
treed7b1804db37320d3c017607a7e6c67f3a36366d6 /configure.ac
parentCopied wrong files. Fixed. (diff)
downloadgnupg-8cdc83cdb5c81404e46a699f52be68d6728a16b0.tar.gz
gnupg-8cdc83cdb5c81404e46a699f52be68d6728a16b0.zip
* configure.ac (ALL_LINUGAS): Removed.
* Makefile.am (ACLOCAL_AMFLAGS): New. * configure.ac (AM_GNU_GETTEXT_VERSION): New. Set to 0.11.5.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac35
1 files changed, 25 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index 07b38f973..37125897d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
-# configure.ac - for NewPG
-# Copyright (C) 2001, 2002 Free Software Foundation, Inc,
+# configure.ac - for GnuPG 1.9
+# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc,
#
# This file is part of GnuPG.
#
@@ -21,15 +21,17 @@
AC_PREREQ(2.52)
# Version number: Remember to change it immediately *after* a release.
# Add a "-cvs" prefix for non-released code.
-AC_INIT(newpg, 1.9.0-cvs, [email protected])
+AC_INIT(gnupg, 1.9.0-cvs, [email protected])
NEED_LIBGCRYPT_VERSION=1.1.8
+NEED_LIBASSUAN_VERSION=0.0.1
NEED_KSBA_VERSION=0.4.6
NEED_OPENSC_VERSION=0.7.0
-ALL_LINGUAS="de"
PACKAGE=$PACKAGE_NAME
VERSION=$PACKAGE_VERSION
+AM_GNU_GETTEXT_VERSION(0.11.5)
+
AC_CONFIG_AUX_DIR(scripts)
AC_CONFIG_SRCDIR(sm/gpgsm.c)
AM_CONFIG_HEADER(config.h)
@@ -37,6 +39,7 @@ AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
AM_MAINTAINER_MODE
# Some status variables to give feedback at the end of a configure run
+habe_libassuan=no
have_ksba=no
have_opensc=no
have_pth=no
@@ -215,6 +218,21 @@ AM_PATH_LIBGCRYPT("$NEED_LIBGCRYPT_VERSION",,
#
+# libassuan is used for IPC
+#
+AM_PATH_LIBASSUAN("$NEED_LIBASSUAN_VERSION",
+ have_libasssuan=yes,have_libasssun=no)
+if test "$have_libassuan" = "no"; then
+ AC_MSG_ERROR([[
+***
+*** You need libassuan to build this program..
+*** It should be available at the same place you
+*** got this software.
+***]])
+fi
+
+
+#
# libksba is our X.509 support library
#
AM_PATH_KSBA("$NEED_KSBA_VERSION",have_ksba=yes,have_ksba=no)
@@ -268,10 +286,8 @@ fi
AC_SUBST(PTH_CFLAGS)
AC_SUBST(PTH_LIBS)
-
AM_GNU_GETTEXT
-
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([string.h locale.h])
@@ -343,12 +359,11 @@ AM_CONDITIONAL(BUILD_AGENT, test "$build_agent" = "yes")
AM_CONDITIONAL(BUILD_SCDAEMON, test "$build_scdaemon" = "yes")
-AC_CONFIG_FILES([
+AC_CONFIG_FILES([ m4/Makefile
Makefile
-intl/Makefile
po/Makefile.in
+intl/Makefile
jnlib/Makefile
-assuan/Makefile
common/Makefile
kbx/Makefile
sm/Makefile
@@ -361,7 +376,7 @@ AC_OUTPUT
echo "
- NewPG v${VERSION} has been configured as follows:
+ GnuPG v${VERSION} has been configured as follows:
OpenPGP: $build_gpg
S/MIME: $build_gpgsm