OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/aclocal.m4 versions 1.3 and 1.4
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/aclocal.m4 1.3 -> 1.4

--- aclocal.m4   2002/11/28 20:44:36     1.3
+++ aclocal.m4   2002/12/02 18:10:19     1.4
@@ -30,6 +30,46 @@
 
 
 dnl ##
+dnl ##  Look for SIOCGIFHWADDR
+dnl ##
+
+AC_DEFUN(AC_CHECK_SIOCGIFHWADDR,[
+AC_MSG_CHECKING(whether ioctl.h has SIOCGIFHWADDR)
+AC_TRY_RUN(
+    #include <stdio.h>
+    #include <sys/ioctl.h>
+    int main()
+    {
+        int i = SIOCGIFHWADDR;
+        return 0;
+    },
+    AC_DEFINE(HAVE_SIOCGIFHWADDR, 1, [Define to 1 if ioctl.h has SIOCFIFHWADDR]),
+    AC_MSG_RESULT([no]),
+    AC_MSG_RESULT([yes]))
+])dnl
+
+
+dnl ##
+dnl ##  Look for SIOCGENADDR
+dnl ##
+
+AC_DEFUN(AC_CHECK_SIOCGENADDR,[
+AC_MSG_CHECKING(whether ioctl.h has SIOCGENADDR)
+AC_TRY_RUN(
+    #include <stdio.h>
+    #include <sys/ioctl.h>
+    int main()
+    {
+        int i = SIOCGENADDR;
+        return 0;
+    },
+    AC_DEFINE(HAVE_SIOCGENADDR, 1, [Define to 1 if ioctl.h has SIOCGENADDR]),
+    AC_MSG_RESULT([no]),
+    AC_MSG_RESULT([yes]))
+])dnl
+
+
+dnl ##
 dnl ##  Support for Platform IDs
 dnl ##
 dnl ##  configure.in:

CVSTrac 2.0.1