aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-08-06 09:07:39 +0000
committerWerner Koch <[email protected]>2003-08-06 09:07:39 +0000
commit4a9f2da9803c1247eba97f1a40fd1d4c4116a8dc (patch)
tree5913b72fd9a34a4169657977a179e49f6a3a3283 /configure.ac
parentCleanups for newer autoconf. (diff)
downloadlibassuan-0-6-0.tar.gz
libassuan-0-6-0.zip
* lgpl.texi: New.libassuan-0-6-0
* gpl.texi: Removed. * assuan.texi: Dropped requirement vor invariant sections, front- and back-cover texts. Include lgpg.texi.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac20
1 files changed, 8 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac
index e66af68..86b146d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,8 @@
AC_PREREQ(2.57)
# Version number: Remember to change it immediately *after* a release.
# Add a "-cvs" prefix for non-released code.
-AC_INIT(libassuan, 0.0.1-cvs, [email protected])
+AC_INIT(libassuan, 0.6.0, [email protected])
+# Note, that this is not yet available as a shared library.
PACKAGE=$PACKAGE_NAME
VERSION=$PACKAGE_VERSION
@@ -31,6 +32,8 @@ AM_MAINTAINER_MODE
AC_CONFIG_SRCDIR(src/assuan.h)
AM_CONFIG_HEADER(config.h)
+AC_GNU_SOURCE
+
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
@@ -41,13 +44,6 @@ AC_DEFINE_UNQUOTED(PACKAGE_BUGREPORT, "$PACKAGE_BUGREPORT",
-AH_TOP([
-/* We need this, because some autoconf tests rely on this (e.g. stpcpy)
- and it should be used for new programs anyway. */
-#define _GNU_SOURCE 1
-])
-
-
# Checks for programs.
missing_dir=`cd $ac_aux_dir && pwd`
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
@@ -75,8 +71,6 @@ LIBASSUAN_CONFIG_CFLAGS=""
AC_SUBST(LIBASSUAN_CONFIG_LIBS)
AC_SUBST(LIBASSUAN_CONFIG_CFLAGS)
-AC_CONFIG_COMMANDS([assuan-defs],[chmod +x src/libassuan-config])
-
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([string.h locale.h])
@@ -105,9 +99,11 @@ AC_REPLACE_FUNCS(isascii)
AC_REPLACE_FUNCS(putc_unlocked)
AC_REPLACE_FUNCS(memrchr)
-# Create the config file.
+# Create the config files.
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([m4/Makefile])
-AC_CONFIG_FILES([src/Makefile src/libassuan-config])
+AC_CONFIG_FILES([src/Makefile])
AC_CONFIG_FILES([doc/Makefile])
+AC_CONFIG_FILES([src/libassuan-config], [chmod +x src/libassuan-config])
+
AC_OUTPUT