diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2010-04-09 21:42:48 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2010-04-09 21:42:48 +0000 |
commit | 23b059e7b7559280966b806e30d5b1e9c1ecfeaa (patch) | |
tree | 9048a37126534d34c906b0cd34a46af4e68975de /configure | |
parent | c737d348045479f71ea7d31eaeadda16eea94aa9 (diff) | |
download | lvm2-23b059e7b7559280966b806e30d5b1e9c1ecfeaa.tar.gz lvm2-23b059e7b7559280966b806e30d5b1e9c1ecfeaa.tar.xz lvm2-23b059e7b7559280966b806e30d5b1e9c1ecfeaa.zip |
INSTALL rules updates
Patch is inspired by Debian's extra patch.
- removes OWNER & GROUP make vars they are parts of INSTALL command.
- adds INSTALL_PROGRAM for executable, uses $(INSTALL)
- adds INSTALL_DATA for non-executable data, uses ($INSTALL)
- adds INSTALL_WDATA for writable non-executable data, uses ($INSTALL)
- adds configure option --enable-write_install - to support
installatin of writable files used by distribution
- replaces usage of ifeq @LIB_SUFFIX@ with $(LIB_SUFFIX)
- installs .a files from static builds without executable flag
- installs .a files to $(usrlibdir) instead of $(libdir)
- installs all static binaries to $(staticdir)
- create .so links for devel package in $(usrlibdir) instead of
$(libdir)
- makes .so and .so.LIB_VERSION files within builddir
- removes VERSIONED_SHLIB and created versioned LIB_SHARED automagicaly
- install LIB_SHARED via install_lib_shared target
- install plugins via install_lib_shared_plugin target
- prints whole 'install' command during installation instead of less
informative "Installing $(something) $(somewhere)"
- install multiple man pages with one INSTALL command
- use DISTCLEAN_TARGETS instead of creating multiple distclean targets
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -646,6 +646,7 @@ kernelvsn missingkernel kerneldir interface +WRITE_INSTALL UDEV_SYNC UDEV_RULES UDEV_LIBS @@ -657,7 +658,6 @@ READLINE_LIBS PTHREAD_LIBS POOL PKGCONFIG -OWNER MIRRORS LVM_RELEASE_DATE LVM_RELEASE @@ -676,7 +676,6 @@ INTL_PACKAGE INTL HAVE_REALTIME HAVE_LIBDL -GROUP FSADM DM_LIB_PATCHLEVEL DM_LIB_VERSION @@ -836,6 +835,7 @@ enable_o_direct enable_applib enable_cmdlib enable_pkgconfig +enable_write_install enable_fsadm enable_dmeventd enable_selinux @@ -1527,6 +1527,7 @@ Optional Features: --enable-applib Build application library --enable-cmdlib Build shared command library --enable-pkgconfig Install pkgconfig support + --enable-write_install Install user writable files --disable-fsadm Disable fsadm --enable-dmeventd Enable the device-mapper event daemon --disable-selinux Disable selinux support @@ -9083,8 +9084,6 @@ $as_echo "$STATIC_LINK" >&6; } ################################################################################ { $as_echo "$as_me:$LINENO: checking file owner" >&5 $as_echo_n "checking file owner... " >&6; } -OWNER="" - # Check whether --with-user was given. if test "${with_user+set}" = set; then @@ -9095,13 +9094,12 @@ fi $as_echo "$OWNER" >&6; } if test x$OWNER != x; then - OWNER="-o $OWNER" + INSTALL="$INSTALL -o $OWNER" fi ################################################################################ { $as_echo "$as_me:$LINENO: checking group owner" >&5 $as_echo_n "checking group owner... " >&6; } -GROUP="" # Check whether --with-group was given. if test "${with_group+set}" = set; then @@ -9112,7 +9110,7 @@ fi $as_echo "$GROUP" >&6; } if test x$GROUP != x; then - GROUP="-g $GROUP" + INSTALL="$INSTALL -g $GROUP" fi ################################################################################ @@ -12451,6 +12449,15 @@ fi ################################################################################ +# Check whether --enable-write_install was given. +if test "${enable_write_install+set}" = set; then + enableval=$enable_write_install; WRITE_INSTALL=$enableval +else + WRITE_INSTALL=no +fi + + +################################################################################ { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5 $as_echo_n "checking whether to install fsadm... " >&6; } # Check whether --enable-fsadm was given. @@ -15602,7 +15609,6 @@ LVM_LIBAPI=`echo "$VER" | $AWK -F '[()]' '{print $2}'` - ################################################################################ ac_config_files="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/cmirrord/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/lvm2/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile doc/Makefile include/.symlinks include/Makefile lib/Makefile lib/format1/Makefile lib/format_pool/Makefile lib/locking/Makefile lib/mirror/Makefile lib/misc/lvm-version.h lib/snapshot/Makefile libdm/Makefile libdm/libdevmapper.pc liblvm/Makefile liblvm/liblvm2app.pc man/Makefile po/Makefile scripts/clvmd_init_red_hat scripts/cmirrord_init_red_hat scripts/lvm2_monitoring_init_red_hat scripts/Makefile test/Makefile test/api/Makefile tools/Makefile udev/Makefile" |