PDOS

[uia] / trunk / uia / lib / acinclude.m4  

View of /trunk/uia/lib/acinclude.m4

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2508 - (download) (annotate)
Wed May 30 19:22:16 2007 UTC (2 years, 5 months ago) by ctl
File size: 524 byte(s)
Un-revert the library move, and incorporate the needed bits from my branch into the trunk.
This should work if you re-configure (from the top level) and re-install.

AC_DEFUN([ACX_PYTHON], [
AC_ARG_WITH(python,
	AC_HELP_STRING([--with-python=PROG],
		[Specify the python binary to use]), [],
	[with_python=""])
if test "$with_python" = "yes" ; then
   AC_MSG_ERROR([You need to specify a program for --with-python.])
elif test "$with_python" = "no" ; then
     with_python=""
fi
if test "x$with_python" = x ; then
  with_python="python2.5 python2.4 python"
fi 
AC_PATH_PROGS([PYTHON], [$with_python],
  [AC_MSG_ERROR([UIA requires Python, ideally version 2.4. or newer])])
])dnl ACX_PYTHON

Maintained by PDOS
ViewVC Help
Powered by ViewVC 1.0.3