From: chas w. <ch...@us...> - 2005-04-21 14:29:36
|
Update of /cvsroot/linux-atm/linux-atm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8223 Modified Files: Tag: V2_5_0 configure.in Log Message: make oamd build conditionally Index: configure.in =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/configure.in,v retrieving revision 1.2.2.7 retrieving revision 1.2.2.8 diff -C2 -d -r1.2.2.7 -r1.2.2.8 *** configure.in 13 Feb 2005 17:47:22 -0000 1.2.2.7 --- configure.in 21 Apr 2005 14:29:27 -0000 1.2.2.8 *************** *** 180,183 **** --- 180,197 ---- ]) + 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//" dnl LTLIBOBJS=`echo X"$LIBOBJS" | \$Xsed -e "s,\. [^.]* ,.lo,g;s,\.[^.]*$,.lo,"` |