Fixed funopen test change.

Hey, Moritz what was the orginal problem?  Does autoconf not anymore
allow to put AC_LIBOBJ into AC_CEHCK_FUNCS?
This commit is contained in:
Werner Koch 2004-02-10 10:10:40 +00:00
parent a4bbdd6cbd
commit 867df1aa04
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-02-10 Werner Koch <wk@gnupg.org>
* configure.ac: Fixed funopen test change.
2004-02-06 Moritz Schulte <mo@g10code.com> 2004-02-06 Moritz Schulte <mo@g10code.com>
* configure.ac: Fix funopen replacement mechanism. * configure.ac: Fix funopen replacement mechanism.

View File

@ -24,7 +24,7 @@ AC_PREREQ(2.57)
min_automake_version="1.7.6" min_automake_version="1.7.6"
# Version number: Remember to change it immediately *after* a release. # Version number: Remember to change it immediately *after* a release.
AC_INIT(gpgme, 0.4.4, [bug-gpgme@gnupg.org]) AC_INIT(gpgme, 0.4.5-cvs, [bug-gpgme@gnupg.org])
# LT Version numbers, remember to change them just *before* a release. # LT Version numbers, remember to change them just *before* a release.
# (Code changed: REVISION++) # (Code changed: REVISION++)
# (Interfaces added/removed/changed: CURRENT++, REVISION=0) # (Interfaces added/removed/changed: CURRENT++, REVISION=0)
@ -281,6 +281,7 @@ if test "$GPGSM" != "no"; then
AC_CHECK_FUNCS(funopen) AC_CHECK_FUNCS(funopen)
if test $ac_cv_func_funopen != yes; then if test $ac_cv_func_funopen != yes; then
# No funopen but we can implement that in terms of fopencookie. # No funopen but we can implement that in terms of fopencookie.
AC_CHECK_FUNCS(fopencookie)
if test $ac_cv_func_fopencookie = yes; then if test $ac_cv_func_fopencookie = yes; then
AC_LIBOBJ([funopen]) AC_LIBOBJ([funopen])
else else