From: Andrew Deason Date: Tue, 29 Mar 2011 18:04:48 +0000 (-0500) Subject: Always set LIB_roken when we find libroken X-Git-Tag: openafs-devel-1_7_1~699 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=e2cd861cdf30735897cf32617b7641cbd2be1229;hp=e4095aab4ce53cd41e726f34e8810ea421dd7f41 Always set LIB_roken when we find libroken If we found an external libroken when configuring, we were not setting LIB_roken if --with-roken=DIR was not specified. Set LIB_roken when we find a libroken without --with-roken=DIR. Change-Id: I927647a14f4c5cd8925f0e719b0a9b4164584571 Reviewed-on: http://gerrit.openafs.org/4376 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/cf/roken.m4 b/src/cf/roken.m4 index 662cf0e..ee1f095 100644 --- a/src/cf/roken.m4 +++ b/src/cf/roken.m4 @@ -37,8 +37,8 @@ AC_DEFUN([_OPENAFS_ROKEN_CHECK], [ AS_IF([test x"$roken_foundlib" = xtrue && test x"$roken_foundheader" = xtrue], [AS_IF([test x"$roken_path" != x], [CPPFLAGS_roken="-I$roken_path/include" - LDFLAGS_roken="-L$roken_path/lib" - LIB_roken="-lroken"]) + LDFLAGS_roken="-L$roken_path/lib"]) + LIB_roken="-lroken" $2], [$3]) ])