Add --with-subdir to allow user specification of install subdirectory

to be used.  --without-subdir can be used to specify no subdirectory.
This commit is contained in:
Kurt Zeilenga 1998-11-29 20:03:57 +00:00
parent edd464ee8f
commit 0c24fa2f3d
3 changed files with 399 additions and 377 deletions

View file

@ -17,8 +17,9 @@ VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
ldap_subdir = @ldap_subdir@
bindir = @bindir@
datadir = @datadir@/@ldap_subdir@
datadir = @datadir@/$(ldap_subdir)
includedir = @includedir@
infodir = @infodir@
libdir = @libdir@
@ -27,7 +28,7 @@ localstatedir = @localstatedir@
mandir = @mandir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@/@ldap_subdir@
sysconfdir = @sysconfdir@/$(ldap_subdir)
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@

763
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -29,6 +29,14 @@ AC_SUBST(top_builddir)dnl
ldap_subdir="openldap"
AC_SUBST(ldap_subdir)dnl
AC_ARG_WITH(subdir, [ --with-subdir=DIR change default subdirectory used for installs], [
if test "$withval" = "no"; then
ldap_subdir=""
elif test "$withval" != "yes"; then
ldap_subdir="$withval"
fi
])dnl
OL_ARG_ENABLE(debug,[ --enable-debug enable debugging], yes)dnl
dnl OL_ARG_ENABLE(syslog,[ --enable-syslog enable syslog support], auto)dnl
OL_ARG_ENABLE(proctitle,[ --enable-proctitle enable proctitle support], yes)dnl