mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Add usrlibdir & usrsbindir to configure.
This commit is contained in:
parent
620efe9ce7
commit
68f2de6d4a
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.41 -
|
Version 2.02.41 -
|
||||||
=====================================
|
=====================================
|
||||||
|
Add usrlibdir and usrsbindir to configure.
|
||||||
Fix conversion of md chunk size into sectors.
|
Fix conversion of md chunk size into sectors.
|
||||||
Free text metadata buffer after a failure writing it.
|
Free text metadata buffer after a failure writing it.
|
||||||
Fix misleading error message when there are no allocatable extents in VG.
|
Fix misleading error message when there are no allocatable extents in VG.
|
||||||
|
12
configure.in
12
configure.in
@ -581,6 +581,16 @@ case $DMDIR in
|
|||||||
*) DMDIR="`pwd`/$DMDIR" ;;
|
*) DMDIR="`pwd`/$DMDIR" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
AC_ARG_WITH(usrlibdir,
|
||||||
|
[ --with-usrlibdir=DIR],
|
||||||
|
[ usrlibdir="$withval"],
|
||||||
|
[ usrlibdir='${prefix}/lib' ])
|
||||||
|
|
||||||
|
AC_ARG_WITH(usrsbindir,
|
||||||
|
[ --with-usrsbindir=DIR],
|
||||||
|
[ usrsbindir="$withval"],
|
||||||
|
[ usrsbindir='${prefix}/sbin' ])
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
dnl -- Ensure additional headers required
|
dnl -- Ensure additional headers required
|
||||||
if test x$READLINE = xyes; then
|
if test x$READLINE = xyes; then
|
||||||
@ -673,6 +683,8 @@ AC_SUBST(SNAPSHOTS)
|
|||||||
AC_SUBST(STATICDIR)
|
AC_SUBST(STATICDIR)
|
||||||
AC_SUBST(STATIC_LINK)
|
AC_SUBST(STATIC_LINK)
|
||||||
AC_SUBST([LIB_PTHREAD])
|
AC_SUBST([LIB_PTHREAD])
|
||||||
|
AC_SUBST(usrlibdir)
|
||||||
|
AC_SUBST(usrsbindir)
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
dnl -- First and last lines should not contain files to generate in order to
|
dnl -- First and last lines should not contain files to generate in order to
|
||||||
|
@ -90,7 +90,7 @@ clvmd: $(OBJECTS) $(top_srcdir)/lib/liblvm.a
|
|||||||
|
|
||||||
install_clvmd: $(TARGETS)
|
install_clvmd: $(TARGETS)
|
||||||
$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) clvmd \
|
$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) clvmd \
|
||||||
$(sbindir)/clvmd
|
$(usrsbindir)/clvmd
|
||||||
|
|
||||||
install: $(INSTALL_TARGETS)
|
install: $(INSTALL_TARGETS)
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@
|
|||||||
/* Define to 1 to include support for realtime clock. */
|
/* Define to 1 to include support for realtime clock. */
|
||||||
#undef HAVE_REALTIME
|
#undef HAVE_REALTIME
|
||||||
|
|
||||||
/* Define to 1 if rl_completion_matches() is available. */
|
/* Define to 1 if you have the `rl_completion_matches' function. */
|
||||||
#undef HAVE_RL_COMPLETION_MATCHES
|
#undef HAVE_RL_COMPLETION_MATCHES
|
||||||
|
|
||||||
/* Define to 1 if you have the `rmdir' function. */
|
/* Define to 1 if you have the `rmdir' function. */
|
||||||
|
@ -41,7 +41,9 @@ bindir = $(DESTDIR)@bindir@
|
|||||||
confdir = $(DESTDIR)@CONFDIR@/lvm
|
confdir = $(DESTDIR)@CONFDIR@/lvm
|
||||||
includedir = $(DESTDIR)@includedir@
|
includedir = $(DESTDIR)@includedir@
|
||||||
libdir = $(DESTDIR)@libdir@
|
libdir = $(DESTDIR)@libdir@
|
||||||
|
usrlibdir = $(DESTDIR)@usrlibdir@
|
||||||
sbindir = $(DESTDIR)@sbindir@
|
sbindir = $(DESTDIR)@sbindir@
|
||||||
|
usrsbindir = $(DESTDIR)@usrsbindir@
|
||||||
infodir = $(DESTDIR)@infodir@
|
infodir = $(DESTDIR)@infodir@
|
||||||
mandir = $(DESTDIR)@mandir@
|
mandir = $(DESTDIR)@mandir@
|
||||||
localedir = $(DESTDIR)@LOCALEDIR@
|
localedir = $(DESTDIR)@LOCALEDIR@
|
||||||
|
Loading…
Reference in New Issue
Block a user