2009-07-16 18:52:21

by Scott James Remnant

[permalink] [raw]
Subject: [PATCH] configure: Disable uuidd by default

Since util-linux-ng now builds uuidd by default, e2fsprogs should
not do so.

Signed-off-by: Scott James Remnant <scott-GeWIH/[email protected]>
---
configure | 12 ++++--------
configure.in | 7 +++----
2 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/configure b/configure
index f3fe992..16eaf6f 100755
--- a/configure
+++ b/configure
@@ -1506,7 +1506,7 @@ Optional Features:
--enable-fsck build fsck wrapper program
--enable-e2initrd-helper build e2initrd-helper program
--disable-tls disable use of thread local support
- --disable-uuidd disable building the uuid daemon
+ --enable-uuidd disable building the uuid daemon
--disable-nls do not use Native Language Support
--disable-rpath do not hardcode runtime library paths

@@ -5091,13 +5091,9 @@ $as_echo "Building uuidd" >&6; }
fi

else
- cat >>confdefs.h <<\_ACEOF
-#define USE_UUIDD 1
-_ACEOF
-
-UUIDD_CMT=""
-{ $as_echo "$as_me:$LINENO: result: Building uuidd by default" >&5
-$as_echo "Building uuidd by default" >&6; }
+ { $as_echo "$as_me:$LINENO: result: Not building uuidd by default" >&5
+$as_echo "Not building uuidd by default" >&6; }
+UUIDD_CMT="#"

fi

diff --git a/configure.in b/configure.in
index 1a7c040..fe845c9 100644
--- a/configure.in
+++ b/configure.in
@@ -641,7 +641,7 @@ dnl
dnl
dnl
AC_ARG_ENABLE([uuidd],
-[ --disable-uuidd disable building the uuid daemon],
+[ --enable-uuidd disable building the uuid daemon],
[if test "$enableval" = "no"
then
AC_MSG_RESULT([Not building uuidd])
@@ -652,9 +652,8 @@ else
AC_MSG_RESULT([Building uuidd])
fi]
,
-AC_DEFINE(USE_UUIDD)
-UUIDD_CMT=""
-AC_MSG_RESULT([Building uuidd by default])
+AC_MSG_RESULT([Not building uuidd by default])
+UUIDD_CMT="#"
)
AC_SUBST(UUIDD_CMT)
dnl
--
1.6.0.5


2009-07-16 19:18:08

by Mike Frysinger

[permalink] [raw]
Subject: Re: [PATCH] configure: Disable uuidd by default

On Thursday 16 July 2009 14:52:21 Scott James Remnant wrote:
> -[ --disable-uuidd disable building the uuid daemon],
> +[ --enable-uuidd disable building the uuid daemon],

help text should be inverted now as well
-mike


Attachments:
(No filename) (238.00 B)
signature.asc (836.00 B)
This is a digitally signed message part.
Download all attachments