Update of /cvsroot/linux-atm/linux-atm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19090
Modified Files:
Tag: V2_5_0
configure.in
Log Message:
fix multipoint and oamd compile tests
Index: configure.in
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/configure.in,v
retrieving revision 1.2.2.9
retrieving revision 1.2.2.10
diff -C2 -d -r1.2.2.9 -r1.2.2.10
*** configure.in 22 Nov 2005 22:11:05 -0000 1.2.2.9
--- configure.in 25 Nov 2005 16:49:39 -0000 1.2.2.10
***************
*** 169,204 ****
fi
pmp_send=""
AC_SUBST(pmp_send)
AC_ARG_ENABLE(multipoint,
! [ --enable-multipoint Enable point to multipoint signalling],
! [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
! #include <sys/ioctl.h>
#include <linux/atmdev.h>
],
! [[ int fd;
struct atm_iobuf buf;
ioctl(fd, ATM_ADDPARTY, &buf);
]])],
! [AC_DEFINE(MULTIPOINT, [], [Point to multipoint signalling support for atmsigd.])
! pmp_send="pmp_send"],
! [AC_MSG_WARN([*** Multipoint signalling was not enabled. Missing kernel support?])],
! [AC_MSG_WARN([*** Multipoint signalling was not enabled. Can't test when cross-compiling.])])
! ])
atmoamd=""
AC_SUBST(atmoamd)
! AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
! #include <sys/ioctl.h>
#include <linux/atmoam.h>
],
! [[ int fd;
! ioctl(kernel, ATMOAMD_CTRL, 0);
]])],
[atmoamd="atmoamd"],
! [AC_MSG_WARN([*** atmoamd will not be built. Missing kernel support?])],
! [AC_MSG_WARN([*** atmoamd will not be built. Can't test when cross-compiling.])])
dnl Xsed="sed -e s/^X//"
--- 169,203 ----
fi
+ dnl AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[])
pmp_send=""
AC_SUBST(pmp_send)
AC_ARG_ENABLE(multipoint,
! [ --enable-multipoint Enable point to multipoint signalling],
! [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
! #include <stdint.h>
#include <linux/atmdev.h>
],
! [[ int fd;
struct atm_iobuf buf;
ioctl(fd, ATM_ADDPARTY, &buf);
]])],
! [AC_DEFINE(MULTIPOINT, [], [Point to multipoint signalling support for atmsigd.])
! pmp_send="pmp_send"],
! [AC_MSG_WARN([*** Multipoint signalling was not enabled. Missing kernel support?])])]
! )
atmoamd=""
AC_SUBST(atmoamd)
! AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
! #include <stdint.h>
#include <linux/atmoam.h>
],
! [[ int fd;
! ioctl(fd, ATMOAMD_CTRL, 0);
]])],
[atmoamd="atmoamd"],
! [AC_MSG_WARN([*** atmoamd will not be built. Missing kernel support?])])
dnl Xsed="sed -e s/^X//"
|