OSSP CVS Repository

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

ossp-pkg/as/as-gui/aclocal.m4 1.9 -> 1.10

--- aclocal.m4   2003/01/22 20:41:47     1.9
+++ aclocal.m4   2003/01/22 21:56:07     1.10
@@ -35,15 +35,12 @@
 
 AC_DEFUN(AC_CHECK_SIOCGIFHWADDR,[
 AC_MSG_CHECKING(whether <sys/ioctl.h> has SIOCGIFHWADDR)
-AC_TRY_RUN(
-    #include <sys/sockio.h>
-    #include <sys/ioctl.h>
-    int main()
-    {
-        int i = SIOCGIFHWADDR;
-        return 0;
-    },
-    AC_DEFINE(HAVE_SIOCGIFHWADDR, 1, [Define to 1 if <sys/ioctl.h> defines or includes SIOCFIFHWADDR.]),
+AC_TRY_COMPILE([#include <sys/sockio.h>
+#include <sys/ioctl.h>
+], [
+  int i = SIOCGIFHWADDR;
+  return 0;],
+    AC_DEFINE(HAVE_SIOCGIFHWADDR, 1, [Define to 1 if <sys/ioctl.h> defines or includes SIOCGIFHWADDR.]),
     AC_MSG_RESULT([no]),
     AC_MSG_RESULT([yes]))
 ])dnl
@@ -54,15 +51,12 @@
 dnl ##
 
 AC_DEFUN(AC_CHECK_SIOCGENADDR,[
-AC_MSG_CHECKING(whether ioctl.h has SIOCGENADDR)
-AC_TRY_RUN(
-    #include <sys/sockio.h>
-    #include <sys/ioctl.h>
-    int main()
-    {
-        int i = SIOCGENADDR;
-        return 0;
-    },
+AC_MSG_CHECKING(whether <sys/ioctl.h> has SIOCGENADDR)
+AC_TRY_COMPILE([#include <sys/sockio.h>
+#include <sys/ioctl.h>
+], [
+  int i = SIOCGENADDR;
+  return 0;],
     AC_DEFINE(HAVE_SIOCGENADDR, 1, [Define to 1 if <sys/ioctl.h> defines or includes SIOCGENADDR.]),
     AC_MSG_RESULT([no]),
     AC_MSG_RESULT([yes]))

CVSTrac 2.0.1