[mousetrap/gnome3-wip] Removed cruft of ORBit and Bonobo from the acinclude.m4 file. Fixes bug 708786



commit b15240a6e9277f5b7d8e6839bee72cb70543c189
Author: Logan Hotchkiss <lhotchkiss17 gmail com>
Date:   Thu Oct 17 12:48:54 2013 -0400

    Removed cruft of ORBit and Bonobo from the acinclude.m4 file. Fixes bug 708786

 acinclude.m4 |   37 -------------------------------------
 1 files changed, 0 insertions(+), 37 deletions(-)
---
diff --git a/acinclude.m4 b/acinclude.m4
index 4a62118..cade350 100755
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -60,43 +60,6 @@ else
 fi
 ])
 
-dnl AM_CHECK_PYORBIT_MOD(MODNAME [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]])
-dnl Check if a module containing a given ORBit module is visible to python.
-AC_DEFUN([AM_CHECK_PYORBIT_MOD],
-[AC_REQUIRE([AM_PATH_PYTHON])
-py_mod_var=$1
-AC_MSG_CHECKING(for PyORBit module $1)
-AC_CACHE_VAL(py_cv_mod_$py_mod_var, [
-prog="
-import sys
-try:
-       import bonobo 
-       import ORBit
-       ORBit.load_typelib(\"$1\")
-       module_name = \"$1\".replace(\"_\",\".\")
-       __import__(module_name)
-except:
-       sys.exit(1)
-sys.exit(0)"
-if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC
-  then
-    eval "py_cv_mod_$py_mod_var=yes"
-  else
-    eval "py_cv_mod_$py_mod_var=no"
-  fi
-])
-py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
-if test "x$py_val" != xno; then
-  AC_MSG_RESULT(yes)
-  ifelse([$2], [],, [$2
-])dnl
-else
-  AC_MSG_RESULT(no)
-  ifelse([$3], [],, [$3
-])dnl
-fi
-])
-
 dnl   PYDOC_CHECK()
 AC_DEFUN([PYDOC_CHECK],
 [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]