Upstream-Status: Inappropriate [configuration]
Signed-off-by: Mei Lei <lei.mei@intel.com>


These macros are underquoted and break with recent autoconf+automake
combinations.

RP 1/2/10

Index: e2fsprogs-1.41.5/configure.in
===================================================================
--- e2fsprogs-1.41.5.orig/configure.in	2010-02-01 11:40:10.547790252 +0000
+++ e2fsprogs-1.41.5/configure.in	2010-02-01 11:44:51.577876485 +0000
@@ -397,11 +397,11 @@
 		AC_MSG_ERROR([pkg-config not installed; please install it.])
 	fi
 
-	AC_CHECK_LIB(blkid, blkid_get_cache,
+	[AC_CHECK_LIB(blkid, blkid_get_cache,
 		[LIBBLKID=`$PKG_CONFIG --libs blkid`;
 		 STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid`],
 		[AC_MSG_ERROR([external blkid library not found])],
-		[$LIBBLKID])
+		[$LIBBLKID])]
 	BLKID_CMT=#
 	AC_MSG_RESULT([Disabling private blkid library])
 else
@@ -786,15 +786,15 @@
 dnl
 SEM_INIT_LIB=''
 AC_CHECK_FUNC(sem_init, ,
-  AC_CHECK_LIB(pthread, sem_init,
+  [AC_CHECK_LIB(pthread, sem_init,
   	AC_DEFINE(HAVE_SEM_INIT)
   	SEM_INIT_LIB=-lpthread,
-  AC_CHECK_LIB(rt, sem_init,
+  [AC_CHECK_LIB(rt, sem_init,
   	AC_DEFINE(HAVE_SEM_INIT)
   	SEM_INIT_LIB=-lrt,
-  AC_CHECK_LIB(posix4, sem_init,
+  [AC_CHECK_LIB(posix4, sem_init,
   	AC_DEFINE(HAVE_SEM_INIT)
-  	SEM_INIT_LIB=-lposix4))))dnl
+  	SEM_INIT_LIB=-lposix4)])])])dnl
 AC_SUBST(SEM_INIT_LIB)
 dnl
 dnl Check for unified diff
