diff options
author | Theodore Ts'o <tytso@mit.edu> | 2014-07-05 00:27:02 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-07-05 00:30:35 -0400 |
commit | 2d7583bd42a884d9d9fe6413a9f1a8356e7bb803 (patch) | |
tree | 361e488f666aa660bfc28cbe557d07de738d3333 /configure | |
parent | 5023510dd7f0ab40a216d3600ab665e2053cc070 (diff) | |
download | e2fsprogs-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-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. */ |