From 6d72c38a3f19934183b1fc330ccc91992cb8588d Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Fri, 4 Jan 2013 09:54:52 -0500 Subject: 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 --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b86c585046..874d39f5fc 100644 --- a/configure.ac +++ b/configure.ac @@ -218,6 +218,12 @@ AC_ARG_ENABLE([keymap], [], [enable_keymap=yes]) 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]) @@ -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]) -- cgit v1.2.3-54-g00ecf