List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:October 28 2007 12:18am
Subject:Rev 214: Made configure die if SWIG cannot be found. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge

------------------------------------------------------------
revno: 214
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: ndbjmerge
timestamp: Sun 2007-10-28 01:17:55 +0100
message:
  Made configure die if SWIG cannot be found.
modified:
  configure.in                   configure.in-20070228020914-u2pk759xg7thauwf-13
=== modified file 'configure.in'
--- a/configure.in	2007-10-27 10:38:56 +0000
+++ b/configure.in	2007-10-28 00:17:55 +0000
@@ -30,8 +30,8 @@
     AC_MSG_ERROR([php support requires at least swig version 1.3.32])
   fi
 fi 
-if test "x$SWIG" == "x"  ; then 
-  AC_MSG_ERROR([Couldn't find swig.])
+if `echo $SWIG | grep "SWIG is not installed." 2>&1` ; then 
+  AC_MSG_ERROR([NDB/Connectors cannot build without SWIG.])
 fi
 
 SWIG_ENABLE_CXX

Thread
Rev 214: Made configure die if SWIG cannot be found. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmergeMonty Taylor28 Oct