]> git.openfabrics.org - ~shefty/libibverbs.git/commit
Fix caching of --version-script check
authorRoland Dreier <rolandd@cisco.com>
Fri, 26 Jan 2007 21:42:04 +0000 (13:42 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 26 Jan 2007 21:42:04 +0000 (13:42 -0800)
commit02ccdc3573c28a5c750e67723b4fed80ce2da870
treef7f85934a84c4b1fb0d9c71b646e64572b4439d1
parentacd57662f16df9becd183f6ccc6328c9877953c2
Fix caching of --version-script check

The shell code in AC_CACHE_CHECK() should set the variable that we say
is being cached.  So set ac_cv_version_script when testing whether ld
accepts --version-script, and then set LIBIBVERBS_VERSION_SCRIPT based
on the (possibly cached) value of ac_cv_version_script outside of the
AC_CACHE_CHECK().

Signed-off-by: Roland Dreier <rolandd@cisco.com>
configure.in