pypath.m4 332 Bytes
Newer Older
1
AC_DEFUN([adl_CHECK_PYTHON],
2
3
4
 [AM_PATH_PYTHON([2.0])
  AC_CACHE_CHECK([for $am_display_PYTHON includes directory],
    [adl_cv_python_inc],
5
6
    [adl_cv_python_inc=`$PYTHON -c "import sys; from distutils import sysconfig;]
[sys.stdout.write(sysconfig.get_python_inc())" 2>/dev/null`])
7
  AC_SUBST([PYTHONINC], [$adl_cv_python_inc])])