Commit e1c8fc2b authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use autoconf-2.56 and automake-1.7.1: Use AC_COMPILE_IFELSE and

AC_LANG_PROGRAM instead of AC_TRY_COMPILE.  Fixed broken quoting.
parent 82b5ba40
......@@ -19,9 +19,9 @@ dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl Process this file with autoconf to produce a configure script.
AC_REVISION($Revision: 1.18 $)dnl
AC_PREREQ(2.53)
AC_INIT(isc, 1.01)
AC_REVISION($Revision: 1.19 $)dnl
AC_PREREQ(2.56)
AC_INIT([isc],[1.01])
AC_CONFIG_SRCDIR([src/isc_master.c])
AM_INIT_AUTOMAKE(isc, 1.01)
......@@ -143,12 +143,12 @@ then]
for socklen_type in "unsigned int" "size_t" "unsigned long"
do]
echo lyskomd-socklen-test-$socklen_type >&5
AC_TRY_COMPILE([
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <sys/socket.h>],
[ struct sockaddr addr; ]
$socklen_type [len;
getsockname(0, &addr, &len);],
#include <sys/socket.h>]],
[[ struct sockaddr addr;
$socklen_type len;
getsockname(0, &addr, &len);]])],
[ if sed "1,/lyskomd-socklen-test-$socklen_type/d" config.log | grep -i 'warning.*getsockname' >/dev/null
then
echo warnings found, not using $socklen_type >&5
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment