summaryrefslogtreecommitdiff
path: root/config/python.m4
diff options
context:
space:
mode:
authorPeter Eisentraut2002-09-04 22:54:18 +0000
committerPeter Eisentraut2002-09-04 22:54:18 +0000
commite43ecb3d1a1c5af574fdd6333bdd64330a148bf6 (patch)
tree897b6c54db9c33efff536be673cc6d94fd490d54 /config/python.m4
parentbe475f92cd43ce0c66246cb488fb29b0a12f5674 (diff)
Remove leftovers from subproject removals. Fixes for Python and Kerberos
configuration.
Diffstat (limited to 'config/python.m4')
-rw-r--r--config/python.m47
1 files changed, 6 insertions, 1 deletions
diff --git a/config/python.m4 b/config/python.m4
index 6058ef3d2af..ce126419b77 100644
--- a/config/python.m4
+++ b/config/python.m4
@@ -1,7 +1,7 @@
#
# Autoconf macros for configuring the build of Python extension modules
#
-# $Header: /cvsroot/pgsql/config/python.m4,v 1.4 2002/03/29 17:32:54 petere Exp $
+# $Header: /cvsroot/pgsql/config/python.m4,v 1.5 2002/09/04 22:54:18 petere Exp $
#
# PGAC_PATH_PYTHON
@@ -69,6 +69,11 @@ AC_DEFUN([PGAC_CHECK_PYTHON_EMBED_SETUP],
[AC_REQUIRE([_PGAC_CHECK_PYTHON_DIRS])
AC_MSG_CHECKING([how to link an embedded Python application])
+if test ! -f "$python_configdir/Makefile"; then
+ AC_MSG_RESULT(no)
+ AC_MSG_ERROR([Python Makefile not found])
+fi
+
_python_libs=`grep '^LIBS=' $python_configdir/Makefile | sed 's/^.*=//'`
_python_libc=`grep '^LIBC=' $python_configdir/Makefile | sed 's/^.*=//'`
_python_libm=`grep '^LIBM=' $python_configdir/Makefile | sed 's/^.*=//'`