/usr/share/aclocal/llnl_prog_python.m4 is in libsidl-dev 1.4.0.dfsg-8.2.
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 | dnl @synopsis LLNL_PROG_PYTHON
dnl
dnl LLNL_PROG_PYTHON tests for an existing Python interpreter. It uses
dnl the environment variable PYTHON and then tries to find python
dnl in standard places.
dnl
dnl @author ?
AC_DEFUN([LLNL_PROG_PYTHON],[
AC_REQUIRE([AC_EXEEXT])dnl
AC_CHECK_PROGS(PYTHON, python$EXEEXT)
if test "x$PYTHON" = x; then
AC_MSG_WARN([Not building Python support - unable to find Python executable])
else
AC_MSG_CHECKING([if $PYTHON is executable])
if AC_TRY_COMMAND($PYTHON -c "import sys; print sys.version") >/dev/null 2>&1; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_WARN([Not building Python support - $PYTHON does not run])
unset PYTHON
fi
fi
])
|