~siretart/lcd4linux/debian

« back to all changes in this revision

Viewing changes to ax_python_devel.m4

  • Committer: Reinhard Tartler
  • Date: 2011-04-27 17:28:49 UTC
  • mfrom: (0.1.1 upstream)
  • Revision ID: siretart@tauware.de-20110427172849-mj5cj5a0igpcc9fn
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# ===========================================================================
2
 
#      http://www.gnu.org/software/autoconf-archive/ax_python_devel.html
 
2
#         http://www.nongnu.org/autoconf-archive/ax_python_devel.html
3
3
# ===========================================================================
4
4
#
5
5
# SYNOPSIS
66
66
#   modified version of the Autoconf Macro, you may extend this special
67
67
#   exception to the GPL to apply to your modified version as well.
68
68
 
69
 
#serial 4
70
 
 
71
69
AU_ALIAS([AC_PYTHON_DEVEL], [AX_PYTHON_DEVEL])
72
70
AC_DEFUN([AX_PYTHON_DEVEL],[
73
71
        #
266
264
        if test -z "$PYTHON_EXTRA_LIBS"; then
267
265
           PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
268
266
                conf = distutils.sysconfig.get_config_var; \
269
 
                print (conf('LIBS'))"`
 
267
                print (conf('LOCALMODLIBS') + ' ' + conf('LIBS'))"`
270
268
        fi
271
269
        AC_MSG_RESULT([$PYTHON_EXTRA_LIBS])
272
270
        AC_SUBST(PYTHON_EXTRA_LIBS)