From 0c61a29a980a60a4555683ae2fea626ed3cb73e8 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Sat, 9 May 2015 21:09:43 +0200 Subject: glupy: remove debug test in libpython runtime search path detection A configure test was recently added to add libpython runtime search path to glupy.so xlator. The vesion committed was a debug test, it searched pythonxx and not python to check for failure. Fix by removing the xx debug test in python's name. Backport of: I7b691be17fc2a2c812f68710869b1a9a85ced84c Change-Id: I518f369c320dcd5cddbdcfe9d25d27af2e0dc929 Signed-off-by: Emmanuel Dreyfus BUG: 1212676 Reviewed-on: http://review.gluster.org/10733 Reviewed-by: Niels de Vos Tested-by: NetBSD Build System Tested-by: Gluster Build System --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 29e0e269b0c..1a09854224b 100644 --- a/configure.ac +++ b/configure.ac @@ -1131,7 +1131,7 @@ saved_LDFLAGS=$LDFLAGS # Use pkg-config to get runtime search patch missing from ${PYTHON}-config # Just do "true" on failure so that configure does not bail out -PKG_CHECK_MODULES([PYTHON], "pythonxx-$PYTHON_VERSION",,true) +PKG_CHECK_MODULES([PYTHON], "python-$PYTHON_VERSION",,true) CFLAGS="`${PYTHON}-config --cflags`" CPPFLAGS=$CFLAGS LDFLAGS="${PYTHON_LIBS} -L`${PYTHON}-config --prefix`/lib -L`${PYTHON}-config --prefix`/$libdir `${PYTHON}-config --ldflags`" -- cgit