/[mcrypt]/mcrypt/configure.in
ViewVC logotype

Diff of /mcrypt/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by nmav, Fri May 24 15:20:13 2002 UTC revision 1.20 by nmav, Fri May 24 17:03:47 2002 UTC
# Line 56  AC_ARG_ENABLE(dev-random, Line 56  AC_ARG_ENABLE(dev-random,
56  AC_MSG_RESULT($try_dev_random)  AC_MSG_RESULT($try_dev_random)
57    
58  AC_CHECK_LIB(mhash, mhash_keygen, LIBS="${LIBS} -lmhash",  AC_CHECK_LIB(mhash, mhash_keygen, LIBS="${LIBS} -lmhash",
59    AC_MSG_ERROR("You need at least libmhash 0.8.0 to compile this program. http://mhash.sf.net/"))    AC_MSG_ERROR("You need at least libmhash 0.8.15 to compile this program. http://mhash.sf.net/"))
60    
61    AC_MSG_CHECKING([whether mhash >= 0.8.15...])
62    AC_TRY_RUN( int main() {
63    #include <mhash.h>
64    
65    if (MHASH_API_VERSION >= 20020524)
66            exit(0);
67    else
68            exit(-1);
69    },
70    dnl     ************ CASE >= 0.8.15
71    AC_MSG_RESULT(yes)
72    ,
73    dnl      ************ CASE < 0.8.15
74    AC_MSG_RESULT(no)
75    AC_MSG_ERROR("You need at least libmhash 0.8.15 to compile this program. http://mhash.sf.net/")
76    )        
77    
78  AC_MSG_CHECKING([whether fcntl-locking is requested])  AC_MSG_CHECKING([whether fcntl-locking is requested])
79  AC_ARG_ENABLE(fcntl-locking,  AC_ARG_ENABLE(fcntl-locking,

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26