2004-02-06 Moritz Schulte <mo@g10code.com>

* configure.ac: Fix funopen replacement mechanism.
This commit is contained in:
Moritz Schulte 2004-02-06 15:45:44 +00:00
parent b1b57049f5
commit cdf91c300d
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2004-02-06 Moritz Schulte <mo@g10code.com>
* configure.ac: Fix funopen replacement mechanism.
2004-01-31 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Add invocation of AC_SYS_LARGEFILE, AC_TYPE_OFF_T

View File

@ -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)