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

Contents of /module-skipjack/configure.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations)
Sun Sep 16 18:54:04 2001 UTC (20 years, 2 months ago) by nmav
Branch: MAIN
CVS Tags: libmcrypt_2_4_16, HEAD
Changes since 1.4: +4 -20 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, skipjack-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 byteswap.h)
35 AC_CHECK_HEADERS(sys/types.h sys/mman.h dirent.h)
36 AC_CHECK_HEADERS(limits.h)
37 AC_CHECK_FUNCS(bzero memset mlock,,)
38 AC_CHECK_FUNCS(memmove bcopy,,)
39
40 dnl Checks for libraries.
41 AC_C_BIGENDIAN
42 AC_CHECK_SIZEOF(unsigned long int, 4)
43 AC_CHECK_SIZEOF(unsigned int, 4)
44 AC_CHECK_SIZEOF(unsigned short int, 2)
45 AC_CHECK_SIZEOF(unsigned char, 1)
46
47 AM_PATH_LIBMCRYPT( 2.4.16,,
48 AC_MSG_ERROR([[*** libmcrypt was not found]])
49 )
50
51 AC_LIBTOOL_DLOPEN
52 dnl AC_LIBTOOL_WIN32_DLL
53
54 AM_PROG_LIBTOOL
55
56
57 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