/[mcrypt]/module-rc6/configure.in
ViewVC logotype

Contents of /module-rc6/configure.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations)
Sun Sep 16 18:54:18 2001 UTC (22 years, 6 months ago) by nmav
Branch: MAIN
CVS Tags: libmcrypt_2_4_16, HEAD
Changes since 1.4: +4 -19 lines
updated for libmcrypt 2.4.16

1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(lib/libdefs.h)
3
4 AM_INIT_AUTOMAKE(libmcrypt, rc6-0.9)
5 AM_CONFIG_HEADER(config.h)
6
7 #AM_MAINTAINER_MODE
8
9 AC_PROG_MAKE_SET
10
11 AC_PROG_CC
12
13 dnl Checks for programs.
14 AC_PROG_INSTALL
15 AC_PROG_LN_S
16
17
18 opt_maintainer_mode=no
19 AC_MSG_CHECKING([whether in maintanance mode])
20 AC_ARG_ENABLE(maintainer-mode,
21 [ --enable-maintainer-mode enable maintainer mode],
22 opt_maintainer_mode=$enableval)
23 AC_MSG_RESULT($opt_maintainer_mode)
24
25
26 if test $ac_cv_prog_gcc = yes; then
27 CFLAGS="${CFLAGS} -ffast-math"
28 if test $opt_maintainer_mode = yes; then
29 CFLAGS="${CFLAGS} -Wall -Wpointer-arith -pedantic"
30 fi
31 fi
32
33 AC_HEADER_STDC
34 AC_CHECK_HEADERS(unistd.h strings.h endian.h machine/endian.h sys/endian.h machine/endian.h)
35 AC_CHECK_HEADERS(sys/types.h sys/mman.h dirent.h byteswap.h)
36 AC_CHECK_HEADERS(limits.h)
37 AC_CHECK_FUNCS(bzero memset mlock,,)
38 AC_CHECK_FUNCS(memmove bcopy,,)
39
40
41 dnl Checks for libraries.
42 AC_C_BIGENDIAN
43 AC_CHECK_SIZEOF(unsigned long int, 4)
44 AC_CHECK_SIZEOF(unsigned int, 4)
45 AC_CHECK_SIZEOF(unsigned short int, 2)
46 AC_CHECK_SIZEOF(unsigned char, 1)
47
48 AM_PATH_LIBMCRYPT( 2.4.16,,
49 AC_MSG_ERROR([[*** libmcrypt was not found]])
50 )
51
52 AC_LIBTOOL_DLOPEN
53 dnl AC_LIBTOOL_WIN32_DLL
54
55 AM_PROG_LIBTOOL
56
57
58 AC_OUTPUT([Makefile doc/Makefile lib/Makefile src/Makefile modules/Makefile modules/algorithms/Makefile])

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26