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

Diff of /mcrypt/configure.in

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

revision 1.26 by nmav, Fri Jun 7 18:06:48 2002 UTC revision 1.27 by nmav, Sun Jun 9 08:53:58 2002 UTC
# Line 22  AM_PATH_LIBMCRYPT( 2.5.0,, Line 22  AM_PATH_LIBMCRYPT( 2.5.0,,
22   AC_MSG_ERROR([[*** libmcrypt was not found]])   AC_MSG_ERROR([[*** libmcrypt was not found]])
23  )  )
24    
25    AC_CHECK_LIB(mhash, mhash_keygen, LIBS="${LIBS} -lmhash",
26      AC_MSG_ERROR("You need at least libmhash 0.8.15 to compile this program. http://mhash.sf.net/"))
27    
28    AC_MSG_CHECKING([whether mhash >= 0.8.15])
29    AC_TRY_RUN(
30    #include <mhash.h>
31    
32    int main() {
33    
34    if (MHASH_API_VERSION >= 20020524)
35            exit(0);
36    else
37            exit(-1);
38    },
39    dnl     ************ CASE >= 0.8.15
40    AC_MSG_RESULT(yes)
41    ,
42    dnl      ************ CASE < 0.8.15
43    AC_MSG_RESULT(no)
44    AC_MSG_ERROR("You need at least libmhash 0.8.15 to compile this program. http://mhash.sf.net/")
45    )        
46    
47    
48  dnl For GNU gettext  dnl For GNU gettext
49  ALL_LINGUAS="el cs pl de"  ALL_LINGUAS="el cs pl de"
50  AM_GNU_GETTEXT  AM_GNU_GETTEXT
# Line 55  AC_ARG_ENABLE(dev-random, Line 78  AC_ARG_ENABLE(dev-random,
78      try_dev_random=$enableval, try_dev_random=yes)      try_dev_random=$enableval, try_dev_random=yes)
79  AC_MSG_RESULT($try_dev_random)  AC_MSG_RESULT($try_dev_random)
80    
 AC_CHECK_LIB(mhash, mhash_keygen, LIBS="${LIBS} -lmhash",  
   AC_MSG_ERROR("You need at least libmhash 0.8.15 to compile this program. http://mhash.sf.net/"))  
   
 AC_MSG_CHECKING([whether mhash >= 0.8.15...])  
 AC_TRY_RUN( int main() {  
 #include <mhash.h>  
   
 if (MHASH_API_VERSION >= 20020524)  
         exit(0);  
 else  
         exit(-1);  
 },  
 dnl     ************ CASE >= 0.8.15  
 AC_MSG_RESULT(yes)  
 ,  
 dnl      ************ CASE < 0.8.15  
 AC_MSG_RESULT(no)  
 AC_MSG_ERROR("You need at least libmhash 0.8.15 to compile this program. http://mhash.sf.net/")  
 )          
81    
82  opt_static_link=no  opt_static_link=no
83  AC_MSG_CHECKING([whether static link is requested])  AC_MSG_CHECKING([whether static link is requested])

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26