configure.in
上传用户:s81996212
上传日期:2007-01-04
资源大小:722k
文件大小:1k
- dnl Process this file with autoconf to produce a configure script.
- dnl $Id: configure.in,v 1.9 1999/12/06 13:22:43 mrsam Exp $
- dnl
- dnl Copyright 1998 - 1999 Double Precision, Inc. See COPYING for
- dnl distribution information.
- AC_INIT(md5.h)
- AM_INIT_AUTOMAKE(libmd5, 1.10, 0)
- AM_CONFIG_HEADER(config.h)
- AM_CONDITIONAL(HMACC, test -d ${srcdir}/../libhmac)
- dnl Checks for programs.
- AC_PROG_AWK
- AC_PROG_INSTALL
- AC_PROG_LN_S
- AC_PROG_RANLIB
- AC_PROG_CC
- if test "$GCC" = yes
- then
- CFLAGS="-Wall $CFLAGS"
- fi
- dnl Checks for libraries.
- dnl Checks for header files.
- AC_HEADER_STDC
- AC_CHECK_HEADERS(sys/types.h synch.h)
-
- AC_TRY_COMPILE([
- #if HAVE_SYS_TYPES_H
- #include <sys/types.h>
- #endif
- ],[
- u_int32_t i=0;
- ], AC_DEFINE(HAVE_U_INT32_T,1),
- AC_TRY_COMPILE([
- #if HAVE_SYNCH_H
- #include <synch.h>
- #endif
- ],[
- uint32_t i=0;
- ], AC_DEFINE(HAVE_UINT32_T,1))
- )
- dnl Checks for typedefs, structures, and compiler characteristics.
- AC_C_CONST
- dnl Checks for library functions.
- AC_OUTPUT(Makefile)