From 608080a2f755254a590b4d052451461294fbcee4 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Tue, 13 Mar 2007 14:34:32 -0400 Subject: add a new configure option --with-slibdir to use for connector Turns out that just using libdir breaks the .pc file install. --- configure.ac | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index fce1ff9..ac3a1ba 100644 --- a/configure.ac +++ b/configure.ac @@ -189,6 +189,20 @@ if test "x$enable_pam_module" = "xyes"; then fi AM_CONDITIONAL(ENABLE_PAM_MODULE, test "x$enable_pam_module" = "xyes") +dnl --------------------------------------------------------------------------- +dnl - Install directory for connector +dnl --------------------------------------------------------------------------- + +AC_ARG_WITH(slibdir, + [AC_HELP_STRING([--with-slibdir=], + [directory to install system libraries])]) +if ! test -z "$with_slibdir"; then + SLIBDIR="$with_slibdir" +else + SLIBDIR="$libdir" +fi +AC_SUBST(SLIBDIR) + dnl --------------------------------------------------------------------------- dnl - Where should we put documentation ? dnl --------------------------------------------------------------------------- @@ -323,6 +337,7 @@ echo " libdir: ${LIBDIR} bindir: ${BINDIR} sbindir: ${SBINDIR} + slibdir: ${SLIBDIR} sysconfdir: ${SYSCONFDIR} localstatedir: ${LOCALSTATEDIR} datadir: ${DATADIR} -- cgit