hal ChangeLog,1.337,1.338 configure.in,1.46,1.47

David Zeuthen david at freedesktop.org
Fri Oct 8 09:40:26 PDT 2004


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

Modified Files:
	ChangeLog configure.in 
Log Message:
2004-10-08  David Zeuthen  <david at fubar.dk>

	* configure.in: look for BLKGETSIZE64 to be provided. From
	Jonathan Blandford  <jrb at gnome.org>

2004-10-08  David Zeuthen  <david at fubar.dk>

	* libhal-storage/libhal-storage.h (LIBHAL_STORAGE_H): Only use one
	underscore, not two. Reported by Jérôme Lodewyck
	<lodewyck at clipper.ens.fr>.



Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.337
retrieving revision 1.338
diff -u -d -r1.337 -r1.338
--- ChangeLog	7 Oct 2004 14:53:08 -0000	1.337
+++ ChangeLog	8 Oct 2004 16:40:24 -0000	1.338
@@ -1,3 +1,14 @@
+2004-10-08  David Zeuthen  <david at fubar.dk>
+
+	* configure.in: look for BLKGETSIZE64 to be provided. From
+	Jonathan Blandford  <jrb at gnome.org>
+
+2004-10-08  David Zeuthen  <david at fubar.dk>
+
+	* libhal-storage/libhal-storage.h (LIBHAL_STORAGE_H): Only use one
+	underscore, not two. Reported by Jérôme Lodewyck
+	<lodewyck at clipper.ens.fr>.
+
 2004-10-07  David Zeuthen  <david at fubar.dk>
 
 	* hald/linux/osspec.c (hald_helper_hotplug_process_queue): Have a

Index: configure.in
===================================================================
RCS file: /cvs/hal/hal/configure.in,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- configure.in	29 Sep 2004 14:28:32 -0000	1.46
+++ configure.in	8 Oct 2004 16:40:24 -0000	1.47
@@ -272,6 +272,24 @@
 AM_CONDITIONAL(DOXYGEN_DOCS_ENABLED, test x$enable_doxygen_docs = xyes)
 AC_MSG_RESULT(yes)
 
+# Check for BLKGETSIZE64
+AC_MSG_CHECKING(for BLKGETSIZE64)
+AC_TRY_COMPILE(
+[#include <sys/types.h>
+#include <linux/ioctl.h>
+#include <linux/fs.h>],
+[int main(int argc, char *argv[])
+{
+	int fd = 0;
+	unsigned long long int n;
+	ioctl (fd, BLKGETSIZE64, &n);
+	return 0;
+}
+], have_size64=yes, have_size64=no)
+AC_MSG_RESULT($have_size64)
+if test x$have_size64 = xno; then
+  AC_MSG_ERROR([BLKGETSIZE64 is not defined])
+fi
 
 # DocBook Documentation
 




More information about the hal-commit mailing list