diff options
Diffstat (limited to 'sha1/configure.ac')
| -rw-r--r-- | sha1/configure.ac | 41 | 
1 files changed, 19 insertions, 22 deletions
| diff --git a/sha1/configure.ac b/sha1/configure.ac index 6bc8351..39d9165 100644 --- a/sha1/configure.ac +++ b/sha1/configure.ac @@ -3,8 +3,8 @@ dnl  dnl Copyright 2001-2004 Double Precision, Inc.  dnl See COPYING for distribution information. -AC_PREREQ(2.59) -AC_INIT(libsha1, 1.21, courier-users@lists.sourceforge.net) +AC_PREREQ([2.71]) +AC_INIT([libsha1],[1.21],[courier-users@lists.sourceforge.net])  >confdefs.h  # Kill PACKAGE_ macros @@ -17,10 +17,9 @@ AM_CONDITIONAL(HMACC, test -d ${srcdir}/../libhmac)  dnl Checks for programs.  AC_PROG_CC -AC_PROG_CC_C99  AC_PROG_INSTALL  AC_PROG_LN_S -AC_PROG_LIBTOOL +LT_INIT  if test "$GCC" = yes  then @@ -41,7 +40,7 @@ AC_ARG_WITH(int32,  		AC_MSG_CHECKING(for uint32_t) -		AC_TRY_COMPILE([ +		AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[  #if HAVE_SYS_TYPES_H  #include	<sys/types.h>  #endif @@ -49,13 +48,13 @@ AC_ARG_WITH(int32,  #include	<stdint.h>  #endif  uint32_t i; -		],[ -		], [ AC_MSG_RESULT(yes) ; int32="uint32_t"], [ +		]], [[ +		]])],[ AC_MSG_RESULT(yes) ; int32="uint32_t"],[  		AC_MSG_RESULT(no)  		AC_MSG_CHECKING(for u_int_32_t) -		AC_TRY_COMPILE([ +		AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[  #if HAVE_SYS_TYPES_H  #include	<sys/types.h>  #endif @@ -63,8 +62,8 @@ uint32_t i;  #include	<stdint.h>  #endif  u_int32_t i; -			],[ -			], [AC_MSG_RESULT(yes); int32="u_int32_t"],[ +			]], [[ +			]])],[AC_MSG_RESULT(yes); int32="u_int32_t"],[  			AC_MSG_RESULT(no) @@ -77,7 +76,7 @@ u_int32_t i;  					AC_CHECK_SIZEOF(unsigned short, 0)  					if test "$ac_cv_sizeof_unsigned_short" != 4  					then -						AC_ERROR(--with-int32 option is required) +						AC_MSG_ERROR(--with-int32 option is required)  					fi  					int32="unsigned short"  				else @@ -101,7 +100,7 @@ AC_ARG_WITH(int64,  		AC_MSG_CHECKING(for uint64_t) -		AC_TRY_COMPILE([ +		AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[  #if HAVE_SYS_TYPES_H  #include	<sys/types.h>  #endif @@ -109,13 +108,13 @@ AC_ARG_WITH(int64,  #include	<stdint.h>  #endif  uint64_t	i; -		],[ -		], [ AC_MSG_RESULT(yes) ; int64="uint64_t"], [ +		]], [[ +		]])],[ AC_MSG_RESULT(yes) ; int64="uint64_t"],[  		AC_MSG_RESULT(no)  		AC_MSG_CHECKING(for u_int_64_t) -		AC_TRY_COMPILE([ +		AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[  #if HAVE_SYS_TYPES_H  #include	<sys/types.h>  #endif @@ -123,8 +122,8 @@ uint64_t	i;  #include	<stdint.h>  #endif  u_int64_t	i; -			],[ -			], [AC_MSG_RESULT(yes); int64="u_int64_t"],[ +			]], [[ +			]])],[AC_MSG_RESULT(yes); int64="u_int64_t"],[  			AC_MSG_RESULT(no) @@ -140,7 +139,7 @@ u_int64_t	i;  						AC_CHECK_SIZEOF(unsigned short, 0)  						if test "$ac_cv_sizeof_unsigned_short" != 8  						then -							AC_ERROR(--with-int64 option is required) +							AC_MSG_ERROR(--with-int64 option is required)  						fi  						int64="unsigned short"  					else @@ -163,7 +162,5 @@ dnl Checks for typedefs, structures, and compiler characteristics.  AC_C_CONST  AC_SYS_LARGEFILE -dnl Checks for library functions. -AC_HEADER_STDC - -AC_OUTPUT(Makefile) +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT | 
