* configure.in (WITH_LINUX): New automake conditional.
* src/Makefile.am (PRIVSYMFILES) [WITH_LINUX]: Append libvirt_linux.syms.
* src/libvirt_private.syms: Move two symbol names into...
* src/libvirt_linux.syms: ...this new file.
Author: John Levon
* src/bridge.c: Test WITH_BRIDGE rather than particular drivers.
* src/libvirt_private.syms: Move bridge-related symbols into...
* src/libvirt_bridge.syms: ...this new file.
+
+ migrate linux-specific symbol names into their own sym file
+ * configure.in (WITH_LINUX): New automake conditional.
+ * src/Makefile.am (PRIVSYMFILES) [WITH_LINUX]: Append libvirt_linux.syms.
+ * src/libvirt_private.syms: Move two symbol names into...
+ * src/libvirt_linux.syms: ...this new file.
Author: John Levon
Mon Jan 5 14:22:06 CET 2009 Jim Meyering <meyering@redhat.com>
fi
AM_CONDITIONAL([WITH_NODE_DEVICES], [test "$with_nodedev" = "yes"])
+AM_CONDITIONAL([WITH_LINUX], [test `uname -s` = "Linux"])
+
# Only COPYING.LIB is under version control, yet COPYING
# is included as part of the distribution tarball.
# Copy one to the other, but only if this is a srcdir-build.
PRIVSYMFILES += libvirt_bridge.syms
endif
+if WITH_LINUX
+PRIVSYMFILES += libvirt_linux.syms
+endif
+
EXTRA_DIST += libvirt_public.syms $(PRIVSYMFILES)
libvirt.syms: libvirt_public.syms $(PRIVSYMFILES)
--- /dev/null
+#
+# Linux-specific private symbols.
+#
+
+
+# stats_linux.h
+linuxDomainInterfaceStats;
+xenLinuxDomainBlockStats;
free_qparam_set;
-# stats_linux.h
-linuxDomainInterfaceStats;
-xenLinuxDomainBlockStats;
-
-
# storage_backend.h
virStorageBackendForType;
virStorageBackendRunProgNul;