hal ChangeLog,1.376,1.377 configure.in,1.58,1.59

David Zeuthen david at freedesktop.org
Wed Dec 15 20:55:30 PST 2004


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

Modified Files:
	ChangeLog configure.in 
Log Message:
2004-12-15  David Zeuthen  <davidz at redhat.com>

	* hald/dummy/Makefile.am: New file

	* hald/dummy/osspec.c: New file

	* hald/linux/Makefile.am: New file

	* hald/Makefile.am: Use new $(HALD_BACKEND) variable

	* configure.in: Add --with-backend; default to linux



Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.376
retrieving revision 1.377
diff -u -d -r1.376 -r1.377
--- ChangeLog	14 Dec 2004 02:57:48 -0000	1.376
+++ ChangeLog	16 Dec 2004 04:55:28 -0000	1.377
@@ -1,3 +1,15 @@
+2004-12-15  David Zeuthen  <davidz at redhat.com>
+
+	* hald/dummy/Makefile.am: New file
+
+	* hald/dummy/osspec.c: New file
+
+	* hald/linux/Makefile.am: New file
+
+	* hald/Makefile.am: Use new $(HALD_BACKEND) variable
+
+	* configure.in: Add --with-backend; default to linux
+
 2004-12-13  David Zeuthen  <davidz at redhat.com>
 
 	Merged all changes from the stable branch so HEAD is on par.

Index: configure.in
===================================================================
RCS file: /cvs/hal/hal/configure.in,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- configure.in	14 Dec 2004 02:57:48 -0000	1.58
+++ configure.in	16 Dec 2004 04:55:28 -0000	1.59
@@ -193,6 +193,19 @@
 AC_CHECK_LIB(expat,XML_ParserCreate, EXPAT_LIB="-lexpat")
 AC_SUBST(EXPAT_LIB)
 
+AC_ARG_WITH(backend, [  --with-backend=<name>   Backend to use (linux/dummy)],
+                      [
+                      backend=$withval
+                      ]
+                      )
+if ! test -z "$with_backend" ; then
+    HALD_BACKEND="$with_backend"
+else
+    HALD_BACKEND="linux"
+fi
+AC_SUBST(HALD_BACKEND)
+
+
 dnl DBUS API is subject to changes
 AC_DEFINE_UNQUOTED(DBUS_API_SUBJECT_TO_CHANGE, ,DBUS API is subject to change)
 AC_SUBST(PACKAGE_CFLAGS)
@@ -398,6 +411,8 @@
 hal.conf
 Makefile
 hald/Makefile
+hald/dummy/Makefile
+hald/linux/Makefile
 hald/haldaemon
 libhal/Makefile
 libhal-storage/Makefile
@@ -449,6 +464,9 @@
         User for HAL:             ${HAL_USER}
         Group for HAL:            ${HAL_GROUP}
         hald pidfile:             ${HALD_PID_FILE}
+
+        hald backend:             ${HALD_BACKEND}
+
         Building SELinux support: ${have_selinux}
 
         install fstab-sync:       ${enable_fstab_sync}




More information about the hal-commit mailing list