aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2014-07-05 00:27:02 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-07-05 00:30:35 -0400
commit2d7583bd42a884d9d9fe6413a9f1a8356e7bb803 (patch)
tree361e488f666aa660bfc28cbe557d07de738d3333 /configure
parent5023510dd7f0ab40a216d3600ab665e2053cc070 (diff)
downloade2fsprogs-2d7583bd42a884d9d9fe6413a9f1a8356e7bb803.tar.gz
configure.in: fix external libblkid test for static link
External libblkid needs -luuid when linking statically. Also fix up the bogus other-lib parameter in the libuuid test; $LIBUUID is the null string, so it doesn't do anything other than obfuscate the use of AC_CHECK_LIB. Reported-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index a41e008f..87fd2f3f 100755
--- a/configure
+++ b/configure
@@ -5264,7 +5264,7 @@ if ${ac_cv_lib_uuid_uuid_generate+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-luuid $LIBUUID $LIBS"
+LIBS="-luuid $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -5476,7 +5476,7 @@ if ${ac_cv_lib_blkid_blkid_get_cache+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lblkid $LIBBLKID $LIBS"
+LIBS="-lblkid -luuid $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */