/usr/share/aclocal/llnl_python_library.m4 is in libsidl-dev 1.4.0.dfsg-8build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | dnl @synopsis LLNL_PYTHON_LIBRARY
dnl
dnl @author ?
AC_DEFUN([LLNL_PYTHON_LIBRARY],[
AC_REQUIRE([LLNL_PROG_PYTHON])dnl
if test "X$PYTHON" != "X"; then
AC_CACHE_CHECK(for Python version, llnl_cv_python_version, [
llnl_cv_python_version=`$PYTHON -c 'import sys; print sys.version' | sed '1s/^\(...\).*/\1/g;1q' 2>/dev/null`
])
AC_CACHE_CHECK(for Python library path, llnl_cv_python_library, [
llnl_python_prefix=`$PYTHON -c 'import sys; print sys.prefix' 2>/dev/null`
llnl_cv_python_library="$llnl_python_prefix/"`$PYTHON -c "import sys; print sys.__dict__.get('lib','lib')"`"/python$llnl_cv_python_version"
])
AC_CACHE_CHECK(for Python include path, llnl_cv_python_include, [
llnl_python_prefix=`$PYTHON -c 'import sys; print sys.prefix' 2>/dev/null`
llnl_cv_python_include="$llnl_python_prefix/include/python$llnl_cv_python_version"
])
fi
AC_DEFINE_UNQUOTED(PYTHON_VERSION,"$llnl_cv_python_version",[A string indicating the Python version number])
PYTHONLIB="$llnl_cv_python_library"
PYTHONINC="-I$llnl_cv_python_include"
PYTHON_VERSION="$llnl_cv_python_version"
AC_SUBST(PYTHONLIB)
AC_SUBST(PYTHONINC)
AC_SUBST(PYTHON_VERSION)
])
|