mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
cf: Fix typo in test for enable-shared/with-swig
The commit cf: Disable swig if shared libraries are disabled (0e84b7405) contains a typo in a test: "x$enable_shared" != "yes". This causes configure to exit due to incorrectly testing --enable-shared. Update swig.m4 to correct the typo. Change-Id: I0d769ec41e2e7896f2232965b5eaa19734033c83 Reviewed-on: https://gerrit.openafs.org/14628 Reviewed-by: Benjamin Kaduk <kaduk@mit.edu> Tested-by: Benjamin Kaduk <kaduk@mit.edu>
This commit is contained in:
parent
ed15b0d5b3
commit
a73d337a55
@ -18,7 +18,7 @@ LIBUAFS_BUILD_PERL=
|
||||
dnl Building with swig requires shared library support. If --disable-shared
|
||||
dnl was specified, turn off auto detection (with a notice). If --with-swig=yes
|
||||
dnl generate an error message
|
||||
AS_IF([test "x$enable_shared" != "yes" && test "x$with_swig" != "xno"],
|
||||
AS_IF([test "x$enable_shared" != "xyes" && test "x$with_swig" != "xno"],
|
||||
[AS_IF([test "x$with_swig" = "xyes"],
|
||||
[AC_MSG_ERROR([--with-swig is incompatible with --disable-shared])],
|
||||
[with_swig=no
|
||||
|
Loading…
Reference in New Issue
Block a user