aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2010-03-16 15:38:26 +0100
committerReinhard Tartler <siretart@tauware.de>2010-03-16 15:38:26 +0100
commit45c665b2326c78c6c4f8e56623acd8fb67950ee1 (patch)
tree9f25fe4d6dc266b3bb2a76c012e291ba660dc057
parentf36951777b61700d4fad375938111152770dd8f5 (diff)
downloadlcd4linux-45c665b2326c78c6c4f8e56623acd8fb67950ee1.tar.gz
update ac_python_devel.m4 from upstream, has been renamed now to ax_python_devel
-rw-r--r--ax_python_devel.m4 (renamed from ac_python_devel.m4)11
1 files changed, 8 insertions, 3 deletions
diff --git a/ac_python_devel.m4 b/ax_python_devel.m4
index 5183450..8dfa5e1 100644
--- a/ac_python_devel.m4
+++ b/ax_python_devel.m4
@@ -1,10 +1,10 @@
# ===========================================================================
-# http://autoconf-archive.cryp.to/ac_python_devel.html
+# http://www.gnu.org/software/autoconf-archive/ax_python_devel.html
# ===========================================================================
#
# SYNOPSIS
#
-# AC_PYTHON_DEVEL([version])
+# AX_PYTHON_DEVEL([version])
#
# DESCRIPTION
#
@@ -66,7 +66,10 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-AC_DEFUN([AC_PYTHON_DEVEL],[
+#serial 4
+
+AU_ALIAS([AC_PYTHON_DEVEL], [AX_PYTHON_DEVEL])
+AC_DEFUN([AX_PYTHON_DEVEL],[
#
# Allow the use of a (user set) custom python version
#
@@ -285,6 +288,8 @@ EOD`
#
AC_MSG_CHECKING([consistency of all components of python development environment])
# save current global flags
+ ac_save_LIBS="$LIBS"
+ ac_save_CPPFLAGS="$CPPFLAGS"
LIBS="$ac_save_LIBS $PYTHON_LDFLAGS $PYTHON_EXTRA_LDFLAGS $PYTHON_EXTRA_LIBS"
CPPFLAGS="$ac_save_CPPFLAGS $PYTHON_CPPFLAGS"
AC_LANG_PUSH([C])