]> Dogcows Code - chaz/openbox/blobdiff - m4/python.m4
add strict ansi compliance
[chaz/openbox] / m4 / python.m4
index cd5117d09c9dd84849e04aa98644c4df9be329ec..49602977d3dff7ff6e5f678a9f08a093c21be2a1 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Checks for Python and tries to get the include path to 'Python.h', and
 # the libpython library.
-# It provides the $(PYTHON_CFLAGS) $(PYTHON_LIBS) $(PYTHON_LDFLAGS) output
+# It provides the $(PYTHON_CFLAGS) $(PYTHON_LIBS) output
 # variables.
 AC_DEFUN([PYTHON_DEVEL],
 [
@@ -42,20 +42,17 @@ AC_DEFUN([PYTHON_DEVEL],
     if test -r "$i/libpython$PYTHON_VERSION.so"; then
       PYLIB="$i/libpython$PYTHON_VERSION.so"
       PYTHON_LIBS="-L$i -lpython$PYTHON_VERSION"
-      PYTHON_LDFLAGS=""
       break
     else
       if test -r "$i/libpython$PYTHON_VERSION.a"; then
         PYLIB="$i/libpython$PYTHON_VERSION.a"
         PYTHON_LIBS="-L$i -lpython$PYTHON_VERSION -lpthread -ldl -lutil -lm"
-        PYTHON_LDFLAGS="-export-dynamic"
         break
       else
         # look for really old versions
         if test -r "$i/libPython.a"; then
           PYLIB="$i/libPython.a"
           PYTHON_LIBS="-L$i -lModules -lPython -lObjects -lParser"
-          PYTHON_LDFLAGS="-export-dynamic"
           break
         fi
       fi
@@ -68,5 +65,4 @@ AC_DEFUN([PYTHON_DEVEL],
     AC_MSG_ERROR([cannot find python library])
   fi
   AC_SUBST([PYTHON_LIBS])
-  AC_SUBST([PYTHON_LDFLAGS])
 ])
This page took 0.021011 seconds and 4 git commands to generate.