OSSP CVS Repository

ossp - Check-in [3811]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3811
Date: 2002-Dec-03 11:01:03 (local)
2002-Dec-03 10:01:03 (UTC)
User:ms
Branch:
Comment: More autoconf macro changes to support GUID generation.
Tickets:
Inspections:
Files:
ossp-pkg/as/as-gui/aclocal.m4      1.4 -> 1.5     3 inserted, 5 deleted
ossp-pkg/as/as-gui/configure.in      1.7 -> 1.8     1 inserted, 5 deleted

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

--- aclocal.m4   2002/12/02 18:10:19     1.4
+++ aclocal.m4   2002/12/03 10:01:03     1.5
@@ -34,16 +34,15 @@
 dnl ##
 
 AC_DEFUN(AC_CHECK_SIOCGIFHWADDR,[
-AC_MSG_CHECKING(whether ioctl.h has SIOCGIFHWADDR)
+AC_MSG_CHECKING(whether <sys/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_DEFINE(HAVE_SIOCGIFHWADDR, 1, [Define to 1 if <sys/ioctl.h> defines or includes SIOCFIFHWADDR.]),
     AC_MSG_RESULT([no]),
     AC_MSG_RESULT([yes]))
 ])dnl
@@ -56,14 +55,13 @@
 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_DEFINE(HAVE_SIOCGENADDR, 1, [Define to 1 if <sys/ioctl.h> defines or includes SIOCGENADDR.]),
     AC_MSG_RESULT([no]),
     AC_MSG_RESULT([yes]))
 ])dnl


ossp-pkg/as/as-gui/configure.in 1.7 -> 1.8

--- configure.in 2002/12/02 18:10:19     1.7
+++ configure.in 2002/12/03 10:01:03     1.8
@@ -54,11 +54,7 @@
 dnl Checks header requirements
 AC_HEADER_STDC
 AC_HEADER_TIME
-AC_CHECK_HEADER([net/if.h],
-                [AC_DEFINE([HAVE_NET_IF_H], 1, [Define to 1 if net/if.h is present])],
-                [AC_MSG_ERROR(You don't have net/if.h)])
-
-dnl AC_CHECK_HEADER(net/if.h, [HAVE_NET_IF_H = yes])
+AC_CHECK_HEADER(net/if.h)
 
 dnl Portable thread conf from acx_pthread.m4 autoconf macro
 ACX_PTHREAD

CVSTrac 2.0.1