From: Moritz Schulte Date: Fri, 6 Feb 2004 15:45:44 +0000 (+0000) Subject: 2004-02-06 Moritz Schulte X-Git-Tag: gpgme-1.2.0@1385~487 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cadac2e3af462ec3d7b2cda3463a90d0c5bba1b5;p=gpgme.git 2004-02-06 Moritz Schulte * configure.ac: Fix funopen replacement mechanism. --- diff --git a/trunk/ChangeLog b/trunk/ChangeLog index 12d4613..74c4d34 100644 --- a/trunk/ChangeLog +++ b/trunk/ChangeLog @@ -1,3 +1,7 @@ +2004-02-06 Moritz Schulte + + * configure.ac: Fix funopen replacement mechanism. + 2004-01-31 Marcus Brinkmann * configure.ac: Add invocation of AC_SYS_LARGEFILE, AC_TYPE_OFF_T diff --git a/trunk/configure.ac b/trunk/configure.ac index c23c478..393332b 100644 --- a/trunk/configure.ac +++ b/trunk/configure.ac @@ -281,10 +281,11 @@ if test "$GPGSM" != "no"; then AC_CHECK_FUNCS(funopen) if test $ac_cv_func_funopen != yes; then # No funopen but we can implement that in terms of fopencookie. - AC_CHECK_FUNCS(fopencookie, AC_LIBOBJ(funopen), - AC_MSG_ERROR([[ -No implementation of fopencookie or funopen available. -]])) + if test $ac_cv_func_fopencookie = yes; then + AC_LIBOBJ([funopen]) + else + AC_MSG_ERROR([No implementation of fopencookie or funopen available]) + fi fi AC_REPLACE_FUNCS(isascii)