diff options
author | Moritz Schulte <[email protected]> | 2004-02-06 15:45:44 +0000 |
---|---|---|
committer | Moritz Schulte <[email protected]> | 2004-02-06 15:45:44 +0000 |
commit | cdf91c300d80c4da27273fcb7505f1d032dc07f3 (patch) | |
tree | 0547220f97629933610cdd50c0c4fa7208630cf8 /configure.ac | |
parent | 2004-02-01 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-cdf91c300d80c4da27273fcb7505f1d032dc07f3.tar.gz gpgme-cdf91c300d80c4da27273fcb7505f1d032dc07f3.zip |
2004-02-06 Moritz Schulte <[email protected]>
* configure.ac: Fix funopen replacement mechanism.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index c23c478d..393332bc 100644 --- a/configure.ac +++ b/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) |