hal ChangeLog,1.536,1.537 configure.in,1.85,1.86

David Zeuthen david at freedesktop.org
Mon Jun 27 07:52:07 PDT 2005


Update of /cvs/hal/hal
In directory gabe:/tmp/cvs-serv15707

Modified Files:
	ChangeLog configure.in 
Log Message:
2005-06-27  David Zeuthen  <davidz at redhat.com>

        * volume_id/util.h: Include stdint.h to get uint8_t and friends so
        we compile on Linux.

2005-06-27  David Zeuthen  <davidz at redhat.com>

        * configure.in, volume_id/*.c: This patch check for some internal
        Linux kernel types and redefine it using the standard system
        types. It also removes the a private Linux kernel include. Patch
        from Alvaro Lopez Ortega <alvaro at sun.com>.



Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.536
retrieving revision 1.537
diff -u -d -r1.536 -r1.537
--- ChangeLog	27 Jun 2005 04:32:28 -0000	1.536
+++ ChangeLog	27 Jun 2005 14:52:03 -0000	1.537
@@ -1,5 +1,17 @@
 2005-06-27  David Zeuthen  <davidz at redhat.com>
 
+	* volume_id/util.h: Include stdint.h to get uint8_t and friends so
+	we compile on Linux.
+
+2005-06-27  David Zeuthen  <davidz at redhat.com>
+
+	* configure.in, volume_id/*.c: This patch check for some internal
+	Linux kernel types and redefine it using the standard system
+	types. It also removes the a private Linux kernel include. Patch
+	from Alvaro Lopez Ortega <alvaro at sun.com>.
+
+2005-06-27  David Zeuthen  <davidz at redhat.com>
+
 	Patch from Alvaro Lopez Ortega <alvaro at sun.com>.
 
 	* volume_id/dasd.c: Use HAVE_SYS_IOCCOM_H to conditionally include

Index: configure.in
===================================================================
RCS file: /cvs/hal/hal/configure.in,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- configure.in	27 Jun 2005 04:32:28 -0000	1.85
+++ configure.in	27 Jun 2005 14:52:03 -0000	1.86
@@ -35,6 +35,17 @@
 
 AC_CHECK_HEADERS([sys/ioccom.h])
 
+AC_CHECK_TYPE(__u8, ,
+              [AC_DEFINE(__s8,  int8_t,   [Signed 8 bits type])
+               AC_DEFINE(__u8,  uint8_t,  [Unsigned 8 bits type])
+               AC_DEFINE(__s16, int16_t,  [Signed 16 bits type])
+               AC_DEFINE(__u16, uint16_t, [Unsigned 16 bits type])
+               AC_DEFINE(__s32, int32_t,  [Signed 32 bits type])
+               AC_DEFINE(__u32, uint32_t, [Unsigned 32 bits type])
+               AC_DEFINE(__s64, int64_t,  [Signed 64 bits type])
+               AC_DEFINE(__u64, uint64_t, [Unsigned 64 bits type])],
+               /usr/include/sys/types.h)
+
 AC_ARG_WITH(os-type,     [  --with-os-type=<os>     Distribution or OS (redhat)])
 AC_ARG_WITH(pid-file,    [  --with-pid-file=<file>  PID file for HAL daemon])
 AC_ARG_WITH(hwdata,[  --with-hwdata=<dir>     where PCI and USB IDs are found (auto)])




More information about the hal-commit mailing list