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

Annotation of /module-mars/configure.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sat Sep 16 01:22:47 2000 UTC (23 years, 6 months ago) by nmav
Branch: MAIN
Branch point for: module-mars/
Initial revision

1 nmav 1.1 dnl Process this file with autoconf to produce a configure script.
2     AC_INIT(lib/libdefs.h)
3    
4     AM_INIT_AUTOMAKE(libmcrypt, mars-0.6)
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)
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     AC_LIBTOOL_DLOPEN
48     dnl AC_LIBTOOL_WIN32_DLL
49    
50     AM_PROG_LIBTOOL
51    
52    
53     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