X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fpandora_swig.m4;fp=m4%2Fpandora_swig.m4;h=0000000000000000000000000000000000000000;hb=f1ed1535de64141a6a911cc18a9109f0f9c55c80;hp=89f12dd6bfbc414443159e3ac63266cb6498b659;hpb=21f850c451cb7db8a0085ddcc892290ecac859eb;p=awesomized%2Flibmemcached diff --git a/m4/pandora_swig.m4 b/m4/pandora_swig.m4 deleted file mode 100644 index 89f12dd6..00000000 --- a/m4/pandora_swig.m4 +++ /dev/null @@ -1,39 +0,0 @@ -dnl -*- mode: m4; c-basic-offset: 2; indent-tabs-mode: nil; -*- -dnl vim:expandtab:shiftwidth=2:tabstop=2:smarttab: -dnl -dnl pandora-build: A pedantic build system -dnl Copyright (C) 2009 Sun Microsystems, Inc. -dnl This file is free software; Sun Microsystem -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. -dnl -dnl From Monty Taylor - -AC_DEFUN([PANDORA_SWIG],[ - - AC_PROG_SWIG(1.3.31) - - AC_DEFINE_UNQUOTED([SWIG_TYPE_TABLE], - [$PACKAGE], - [Type Table name for SWIG symbol table]) - - dnl Have to hard-code /usr/local/include and /usr/include into the path. - dnl I hate this. Why is swig sucking me - SWIG="$SWIG \${DEFS} -I\${top_srcdir} -I\${top_builddir} -I/usr/local/include -I/usr/include" - AC_SUBST([SWIG]) - - -]) - -AC_DEFUN([PANDORA_SWIG_PYTHON3],[ - AC_REQUIRE([PANDORA_SWIG]) - AS_IF([test "x$SWIG" != "x"],[ - AC_CACHE_CHECK([if swig supports Python3], - [ac_cv_swig_has_python3_], - [ - AS_IF([$SWIG -python -help 2>&1 | grep py3 > /dev/null], - [ac_cv_swig_has_python3_=yes], - [ac_cv_swig_has_python3_=no]) - ]) - ]) -])