* configure.ac: Include stdio.h when checking for bzlib.h. Solaris 9 has a

very old bzip2 library and we can at least guarantee that it won't fail
because of the lack of stdio.h.

* THANKS: Added Phong Nguyen, who found the Elgamal signing key problem.
This commit is contained in:
David Shaw 2004-01-12 03:59:29 +00:00
parent 967a61cdb8
commit f7bcce823f
3 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2004-01-11 David Shaw <dshaw@jabberwocky.com>
* configure.ac: Include stdio.h when checking for bzlib.h. Solaris
9 has a very old bzip2 library and we can at least guarantee that
it won't fail because of the lack of stdio.h.
* THANKS: Added Phong Nguyen, who found the Elgamal signing key
problem.
2003-11-30 David Shaw <dshaw@jabberwocky.com>
* NEWS: Note --disable-rsa.

1
THANKS
View File

@ -158,6 +158,7 @@ Peter Fales psfales@lucent.com
Peter Gutmann pgut001@cs.auckland.ac.nz
Peter Marschall Peter.Marschall@gedos.de
Peter Valchev pvalchev@openbsd.org
Phong Nguyen Phong.Nguyen@ens.fr
Piotr Krukowiecki piotr@pingu.ii.uj.edu.pl
QingLong qinglong@bolizm.ihep.su
Ralph Gillen gillen@theochem.uni-duesseldorf.de

View File

@ -1042,6 +1042,10 @@ if test "$use_bzip2" = yes ; then
fi
],withval="")
# Checking alongside stdio.h as an early version of bzip2 (1.0)
# required stdio.h to be included before bzlib.h, and Solaris 9 is
# woefully out of date.
if test "$withval" != no ; then
AC_CHECK_HEADER(bzlib.h,
AC_CHECK_LIB(bz2,BZ2_bzCompressInit,
@ -1052,7 +1056,7 @@ if test "$use_bzip2" = yes ; then
[Defined if the bz2 compression library is available])
],
CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags}),
CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags})
CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags},[#include <stdio.h>])
fi
fi