Check-in Number:
|
3934 | |
Date: |
2003-Jan-22 23:14:52 (local)
2003-Jan-22 22:14:52 (UTC) |
User: | ms |
Branch: | |
Comment: |
More autoconf network device madness. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/as/as-gui/aclocal.m4 1.10 -> 1.11
--- aclocal.m4 2003/01/22 21:56:07 1.10
+++ aclocal.m4 2003/01/22 22:14:52 1.11
@@ -47,6 +47,40 @@
dnl ##
+dnl ## Look for SIOCGIFCONF
+dnl ##
+
+AC_DEFUN(AC_CHECK_SIOCGIFCONF,[
+AC_MSG_CHECKING(whether <sys/ioctl.h> has SIOCGIFCONF)
+AC_TRY_COMPILE([#include <sys/sockio.h>
+#include <sys/ioctl.h>
+], [
+ int i = SIOCGIFCONF;
+ return 0;],
+ AC_DEFINE(HAVE_SIOCGIFCONF, 1, [Define to 1 if <sys/ioctl.h> defines or includes SIOCGIFCONF.]),
+ AC_MSG_RESULT([no]),
+ AC_MSG_RESULT([yes]))
+])dnl
+
+
+dnl ##
+dnl ## Look for SIOGHWADDR
+dnl ##
+
+AC_DEFUN(AC_CHECK_SIOGHWADDR,[
+AC_MSG_CHECKING(whether <sys/ioctl.h> has SIOGHWADDR)
+AC_TRY_COMPILE([#include <sys/sockio.h>
+#include <sys/ioctl.h>
+], [
+ int i = SIOGHWADDR;
+ return 0;],
+ AC_DEFINE(HAVE_SIOGHWADDR, 1, [Define to 1 if <sys/ioctl.h> defines or includes SIOGHWADDR.]),
+ AC_MSG_RESULT([no]),
+ AC_MSG_RESULT([yes]))
+])dnl
+
+
+dnl ##
dnl ## Look for SIOCGENADDR
dnl ##
|
|
ossp-pkg/as/as-gui/configure.in 1.18 -> 1.19
--- configure.in 2003/01/22 20:41:47 1.18
+++ configure.in 2003/01/22 22:14:52 1.19
@@ -65,9 +65,13 @@
dnl Check other requirements
AC_PROG_MAKE_SET
AC_CHECK_DEBUGGING
-AC_CHECK_SIOCGIFHWADDR
-AC_CHECK_SIOCGENADDR
-AC_STRUCT_SA_LEN
+
+dnl Check low level network device necessities
+dnl AC_CHECK_SIOCGIFHWADDR
+dnl AC_CHECK_SIOGHWADDR
+dnl AC_CHECK_SIOCGIFCONF
+dnl AC_CHECK_SIOCGENADDR
+dnl AC_STRUCT_SA_LEN
dnl Check for Dmalloc library
AC_CHECK_EXTLIB([Dmalloc],
|
|