]> err.no Git - util-linux/commitdiff
build-sys: minor fixes in configure.in
authorKarel Zak <kzak@redhat.com>
Tue, 22 May 2007 22:04:24 +0000 (00:04 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 22 May 2007 22:04:24 +0000 (00:04 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac

index 68ff7b01fd9804188712d3fbbfb3a57064890553..e678773fef7b474e4b036b2ab2fd799654aa5aa2 100644 (file)
@@ -75,8 +75,8 @@ UTIL_CHECK_LIB(util, openpty)
 UTIL_CHECK_LIB(termcap, tgetnum)
 
 AC_ARG_WITH([fsprobe],
-  AC_HELP_STRING([--with-fsprobe], [library to guess filesystems (blkid|volume_id), default is blkid]),
-  with_fsprobe=$withval, with_fsprobe=blkid
+  [AS_HELP_STRING([--with-fsprobe], [library to guess filesystems (blkid|volume_id), default is blkid])],
+  [], [with_fsprobe=blkid]
 )
 
 AM_CONDITIONAL(HAVE_BLKID, false)
@@ -91,7 +91,7 @@ elif test x$with_fsprobe = xvolume_id; then
 fi
 
 if test $have_blkid = no && test $have_volume_id = no; then
-  AC_MSG_ERROR([Without blkid or volume_id you will not be able to build util-linux-ng.])
+  AC_MSG_ERROR([blkid or volume_id is needed to build util-linux-ng.])
 fi
 
 AM_GNU_GETTEXT_VERSION([0.14.1])