Download M4 Source | Macro History | Category Index |
AX_WITH_PYTHON([VALUE-IF-NOT-FOUND],[PATH])
Locates an installed Python binary, placing the result in the precious variable $PYTHON. Accepts a present $PYTHON, then --with-python, and failing that searches for python in the given path (which defaults to the system path). If python is found, $PYTHON is set to the full path of the binary; if it is not found, $PYTHON is set to VALUE-IF-NOT-FOUND, which defaults to 'python'.
Francesco Salvestrini <salvestrini@users.sourceforge.net>
2008-04-12
AC_DEFUN([AX_WITH_PYTHON],[ AX_WITH_PROG(PYTHON,python) ])
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.