Patchwork configure: Disable fsck wrapper on Linux by default

login
register
mail settings
Submitter Scott James Remnant
Date July 16, 2009, 6:50 p.m.
Message ID <E1MRWBp-0000yS-Dx@zelda.netsplit.com>
Download mbox | patch
Permalink /patch/29874/
State Deferred
Headers show

Comments

Scott James Remnant - July 16, 2009, 6:50 p.m.
Since util-linux-ng now builds its fsck wrapper by default, e2fsprogs
should not do so on Linux (it already does not on Hurd).

Signed-off-by: Scott James Remnant <scott@ubuntu.com>
---
 configure    |    6 +++---
 configure.in |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
Mike Frysinger - July 16, 2009, 7:17 p.m.
On Thursday 16 July 2009 14:50:15 Scott James Remnant wrote:
>  [case "$host_os" in
> -  gnu*)
> +  gnu*|linux-gnu)

please use "*linux*"
-mike

Patch

diff --git a/configure b/configure
index 5c272d8..9a29609 100755
--- a/configure
+++ b/configure
@@ -4855,15 +4855,15 @@  fi
 
 else
   case "$host_os" in
-  gnu*)
+  gnu*|linux-gnu)
     FSCK_PROG='' FSCK_MAN=''
     { $as_echo "$as_me:$LINENO: result: Not building fsck wrapper by default" >&5
 $as_echo "Not building fsck wrapper by default" >&6; }
     ;;
   *)
     FSCK_PROG=fsck FSCK_MAN=fsck.8
-    { $as_echo "$as_me:$LINENO: result: Building fsck wrapper by default" >&5
-$as_echo "Building fsck wrapper by default" >&6; }
+    { $as_echo "$as_me:$LINENO: result: Building fsck wrapper by default)" >&5
+$as_echo "Building fsck wrapper by default)" >&6; }
 esac
 
 fi
diff --git a/configure.in b/configure.in
index 25b9427..d9990b4 100644
--- a/configure.in
+++ b/configure.in
@@ -576,13 +576,13 @@  else
 fi]
 ,
 [case "$host_os" in
-  gnu*)
+  gnu*|linux-gnu)
     FSCK_PROG='' FSCK_MAN=''
     AC_MSG_RESULT([Not building fsck wrapper by default])
     ;;
   *)
     FSCK_PROG=fsck FSCK_MAN=fsck.8
-    AC_MSG_RESULT([Building fsck wrapper by default])
+    AC_MSG_RESULT([Building fsck wrapper by default)])
 esac]
 )
 AC_SUBST(FSCK_PROG)