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>
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