summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-05-17 19:21:42 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-05-17 19:21:42 -0400
commit5aa6c3f61c0559f03b68bdeef886f34ece106757 (patch)
tree2f1bb396fad8c89a087702aab1de42dff4876a0d /configure
parent822c10e84e5f57394bcad921adc560f5b032c03e (diff)
downloade2fsprogs-5aa6c3f61c0559f03b68bdeef886f34ece106757.tar.gz
Add configure options --enable-symlink-build and --enable-symlink-install
These options allow e2fsprogs to be built using symlinks instead of hard links, and to be installed using symlinks instead of hard links, respectively. Addresses-Sourceforge-Bug: #1436294 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure50
1 files changed, 49 insertions, 1 deletions
diff --git a/configure b/configure
index 12d6a9f4..d563a8de 100755
--- a/configure
+++ b/configure
@@ -700,6 +700,8 @@ ELF_CMT
HTREE_CMT
Q
E
+LINK_BUILD_FLAGS
+LINK_INSTALL_FLAGS
MAINTAINER_CMT
LINUX_INCLUDE
EGREP
@@ -780,6 +782,8 @@ with_ccopts
with_ldopts
with_root_prefix
enable_maintainer_mode
+enable_symlink_install
+enable_symlink_build
enable_verbose_makecmds
enable_compression
enable_htree
@@ -1429,7 +1433,9 @@ Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-maintainer-mode enable makefile rules useful for maintainers
- --enable-verbose-makecmds enable verbose make command output
+ --enable-symlink-install use symlinks when installing instead of hard links
+ --enable-symlink-build use symlinks while building instead of hard links
+ --enable-verbose-makecmds enable verbose make command output
--enable-compression enable EXPERIMENTAL compression support
--enable-htree enable EXPERIMENTAL htree directory support
--enable-elf-shlibs select ELF shared libraries
@@ -4575,6 +4581,48 @@ $as_echo "Disabling maintainer mode by default" >&6; }
fi
+# Check whether --enable-symlink-install was given.
+if test "${enable_symlink_install+set}" = set; then :
+ enableval=$enable_symlink_install; if test "$enableval" = "no"
+then
+ LINK_INSTALL_FLAGS=-f
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install" >&5
+$as_echo "Disabling symlinks for install" >&6; }
+else
+ LINK_INSTALL_FLAGS=-sf
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for install" >&5
+$as_echo "Enabling symlinks for install" >&6; }
+fi
+
+else
+ LINK_INSTALL_FLAGS=-f
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install" >&5
+$as_echo "Disabling symlinks for install" >&6; }
+
+fi
+
+
+# Check whether --enable-symlink-build was given.
+if test "${enable_symlink_build+set}" = set; then :
+ enableval=$enable_symlink_build; if test "$enableval" = "no"
+then
+ LINK_BUILD_FLAGS=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build" >&5
+$as_echo "Disabling symlinks for build" >&6; }
+else
+ LINK_BUILD_FLAGS=-s
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for build" >&5
+$as_echo "Enabling symlinks for build" >&6; }
+fi
+
+else
+ LINK_BUILD_FLAGS=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build" >&5
+$as_echo "Disabling symlinks for build" >&6; }
+
+fi
+
+
# Check whether --enable-verbose-makecmds was given.
if test "${enable_verbose_makecmds+set}" = set; then :
enableval=$enable_verbose_makecmds; if test "$enableval" = "no"