summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2013-01-04 09:54:52 -0500
committerAnthony G. Basile <blueness@gentoo.org>2013-01-21 14:34:02 -0500
commit6d72c38a3f19934183b1fc330ccc91992cb8588d (patch)
tree10fbca7cc1327a7246a011b889cc07bfa859982f /configure.ac
parentf715f6d34a6bfbdd1a9a9be4922315d152b4fbb8 (diff)
Forward-port of libudev.so.0 code from libudev-171
Add --enable-legacylib option to configure, allowing for build and installation of libudev.so.0 shared library for supporting pre-udev-183 software. Library is installed to rootlibdir. Note that this legacy library will not be maintained, and should not be used for anything other than supporting a working system until all software on the system is migrated to use libudev.so.1 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b86c585046..874d39f5fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -219,6 +219,12 @@ AC_ARG_ENABLE([keymap],
AM_CONDITIONAL([ENABLE_KEYMAP], [test "x$enable_keymap" = "xyes"])
# ------------------------------------------------------------------------------
+AC_ARG_ENABLE([legacylib],
+ AS_HELP_STRING([--enable-legacylib], [enable building of libudev.so.0 for legacy support @<:@default=disabled@:>@]),
+ [], [enable_legacylib=no])
+AM_CONDITIONAL([ENABLE_LEGACYLIB], [test "x$enable_legacylib" = "xyes"])
+
+# ------------------------------------------------------------------------------
GTK_DOC_CHECK([1.18],[--flavour no-tmpl])
AM_CONDITIONAL([ENABLE_GTK_DOC],[test "x$enable_gtk_doc" = "xyes"])
@@ -302,6 +308,7 @@ AC_CONFIG_FILES([Makefile
src/keymap/keyboard-force-release.sh
src/libudev/Makefile
src/libudev/libudev.pc
+ src/libudev-legacy/Makefile
src/udev/Makefile
src/udev/udev.pc
test/Makefile])