aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-05-08 21:37:20 +0000
committerDavid Shaw <[email protected]>2003-05-08 21:37:20 +0000
commit7ee7c76121121d24cf086303fb7437f757b8bcad (patch)
tree301d38c086f5128303f59021a610d5a6fee25b3b
parent* revoke.c (ask_revocation_reason): Clear old reason if user elects to (diff)
downloadgnupg-7ee7c76121121d24cf086303fb7437f757b8bcad.tar.gz
gnupg-7ee7c76121121d24cf086303fb7437f757b8bcad.zip
* README: Remove note about HP/UX inline problem since autoconf now
handles this automatically. * configure.ac: Remove some stuff no longer needed with newer autoconf. Use AC_GNU_SOURCE instead of defining _GNU_SOURCE manually. Add check for strchr() for gettext. Add "ngettext" check for gettext, since that check supposedly implies a check for bind_textdomain_codeset. Add check for times() for random.c. Fix URL for EGD.
-rw-r--r--ChangeLog12
-rw-r--r--README7
-rw-r--r--configure.ac30
3 files changed, 29 insertions, 20 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a040f0d7..8854865c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2003-05-08 David Shaw <[email protected]>
+
+ * README: Remove note about HP/UX inline problem since autoconf
+ now handles this automatically.
+
+ * configure.ac: Remove some stuff no longer needed with newer
+ autoconf. Use AC_GNU_SOURCE instead of defining _GNU_SOURCE
+ manually. Add check for strchr() for gettext. Add "ngettext"
+ check for gettext, since that check supposedly implies a check for
+ bind_textdomain_codeset. Add check for times() for random.c. Fix
+ URL for EGD.
+
2003-05-01 Werner Koch <[email protected]>
Released 1.2.2.
diff --git a/README b/README
index cb2133a56..ee5066737 100644
--- a/README
+++ b/README
@@ -600,13 +600,6 @@
Due to problems with the ESIX as, you probably want to do
CFLAGS="-O -K pentium" ./configure --disable-asm
- * HP/UX 11 with HP's C compiler:
-
- This compiler has some issues with inline functions. If you
- get an error like "Unexpected symbol: SWAP" in gettextP.h,
- read and follow the instructions at the top of
- intl/gettextP.h.
-
The Random Device
-----------------
diff --git a/configure.ac b/configure.ac
index b99fd47ca..b11d5706b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,20 +33,13 @@ development_version=no
ALL_LINGUAS="ca cs da de eo el es et fi fr gl hu id it ja nl pl pt_BR pt sk sv tr zh_TW"
-PACKAGE=$PACKAGE_NAME
-VERSION=$PACKAGE_VERSION
-
AC_CONFIG_AUX_DIR(scripts)
AC_CONFIG_SRCDIR(g10/g10.c)
AC_CANONICAL_TARGET()
-AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
+AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
-AC_SUBST(PACKAGE)
-AC_SUBST(VERSION)
-AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of this package])
-AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version of this package])
-AC_DEFINE(_GNU_SOURCE,1,[Some tests rely on this (stpcpy) and it should be used for new programs anyway])
+AC_GNU_SOURCE
dnl
dnl Check for random module options
@@ -514,7 +507,17 @@ AC_SUBST(MPI_OPT_FLAGS)
dnl Checks for libraries.
if test "$try_gettext" = yes; then
- AM_GNU_GETTEXT
+
+# we specify that we need ngettext since that check implies a check
+# for bind_textdomain_codeset, which we really need.
+
+ AM_GNU_GETTEXT(,[need-ngettext])
+
+# gettext requires some extra checks. These really should be part of
+# the basic AM_GNU_GETTEXT macro. TODO: move other gettext-specific
+# function checks to here.
+
+ AC_CHECK_FUNCS(strchr)
else
USE_NLS=no
USE_INCLUDED_LIBINTL=no
@@ -583,7 +586,7 @@ AC_FUNC_FSEEKO
AC_FUNC_VPRINTF
AC_FUNC_FORK
AC_CHECK_FUNCS(strerror stpcpy strsep strlwr tcgetattr strtoul mmap)
-AC_CHECK_FUNCS(strcasecmp strncasecmp ctermid)
+AC_CHECK_FUNCS(strcasecmp strncasecmp ctermid times)
AC_CHECK_FUNCS(memmove gettimeofday getrusage setrlimit clock_gettime)
AC_CHECK_FUNCS(atexit raise getpagesize strftime nl_langinfo setlocale)
AC_CHECK_FUNCS(waitpid wait4 sigaction sigprocmask rand pipe stat)
@@ -864,9 +867,10 @@ if test "$print_egd_warning" = yes; then
*** in Perl and available at the GnuPG FTP servers. For more information
*** consult the GnuPG webpages:
***
-*** http://www.gnupg.org/download.html#egd
+*** http://www.gnupg.org/download/#EGD
***
-*** You may want to run ./configure with --enable-static-rnd=egd to use it.
+*** You may want to run ./configure with --enable-static-rnd=egd or
+*** --enable-static-rnd=auto to use it.
***]])
fi