aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2007-12-31 11:16:56 -0500
committerTheodore Ts'o <tytso@mit.edu>2007-12-31 22:34:19 -0500
commit5610f9924bfe506852701f1f11f6ca9f421e8a57 (patch)
treecfb0fa7742bbc687d1fdf6034ae4a347f99e0d5c /configure
parent3249394d4309032de5ca517c6a452777f303fdb8 (diff)
downloade2fsprogs-5610f9924bfe506852701f1f11f6ca9f421e8a57.tar.gz
Add --disable-uuidd configure option
Add a configure option which causes the uuidd helper daemon not to be built or used by the uuid library. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure31
1 files changed, 30 insertions, 1 deletions
diff --git a/configure b/configure
index 50a23ff4..8b88bcda 100755
--- a/configure
+++ b/configure
@@ -697,6 +697,7 @@ DEVMAPPER_REQ
DEVMAPPER_PC_LIBS
DEVMAPPER_LIBS
STATIC_DEVMAPPER_LIBS
+UUIDD_CMT
GETTEXT_PACKAGE
PACKAGE
VERSION
@@ -1377,6 +1378,7 @@ Optional Features:
--enable-e2initrd-helper build e2initrd-helper program
--enable-blkid-devmapper build with device-mapper support
--disable-tls disable use of thread local support
+ --disable-uuidd disable building the uuid daemon
--disable-nls do not use Native Language Support
--disable-rpath do not hardcode runtime library paths
@@ -4262,6 +4264,32 @@ _ACEOF
echo "${ECHO_T}$ac_cv_tls" >&6; }
fi
+# Check whether --enable-uuidd was given.
+if test "${enable_uuidd+set}" = set; then
+ enableval=$enable_uuidd; if test "$enableval" = "no"
+then
+ echo "Not building uuidd"
+ UUIDD_CMT="#"
+else
+ cat >>confdefs.h <<\_ACEOF
+#define USE_UUIDD 1
+_ACEOF
+
+ UUIDD_CMT=""
+ echo "Building uuidd"
+fi
+
+else
+ cat >>confdefs.h <<\_ACEOF
+#define USE_UUIDD 1
+_ACEOF
+
+UUIDD_CMT=""
+echo "Building uuidd by default"
+
+fi
+
+
MAKEFILE_LIBRARY=$srcdir/lib/Makefile.library
GETTEXT_PACKAGE=e2fsprogs
@@ -15874,6 +15902,7 @@ DEVMAPPER_REQ!$DEVMAPPER_REQ$ac_delim
DEVMAPPER_PC_LIBS!$DEVMAPPER_PC_LIBS$ac_delim
DEVMAPPER_LIBS!$DEVMAPPER_LIBS$ac_delim
STATIC_DEVMAPPER_LIBS!$STATIC_DEVMAPPER_LIBS$ac_delim
+UUIDD_CMT!$UUIDD_CMT$ac_delim
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
PACKAGE!$PACKAGE$ac_delim
VERSION!$VERSION$ac_delim
@@ -15949,7 +15978,7 @@ LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5