]> granicus.if.org Git - graphviz/commitdiff
emit a warning message if swig version is too old
authorellson <devnull@localhost>
Tue, 18 Oct 2005 21:05:11 +0000 (21:05 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 21:05:11 +0000 (21:05 +0000)
configure.ac

index 0d45d673ead0d86be151faadbfe16eeab43e6365..fef3de48b38beab8270c4bdb2fb2691436df67c1 100644 (file)
@@ -292,6 +292,9 @@ if test "x$SWIG" != "x"; then
       fi
     fi
   fi
+  if test "x$SWIG" = "x"; then
+    AC_MSG_WARN([The version of swig is too old. The language bindings will not be built])
+  fi
 fi
 AC_SUBST(SWIG_VERSION)
 AM_CONDITIONAL(WITH_SWIG, [test "x$SWIG" != "x"])