From ff037b537b1e3608fb529ce416b284ce5e03e337 Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Wed, 1 Jun 2005 12:46:32 +0000 Subject: [lcd4linux @ 2005-06-01 12:46:31 by reinelt] --with-python added to configure --- configure.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index bffb449..f3509d9 100644 --- a/configure.in +++ b/configure.in @@ -58,8 +58,14 @@ AC_CHECK_HEADERS(usb.h, [has_usb="true"], [has_usb="false"]) AC_CHECK_HEADERS(serdisplib/serdisp.h, [has_serdisplib="true"], [has_serdisplib="false"]) # check for python -sinclude(python.m4) -AC_PYTHON_DEVEL +AC_MSG_CHECKING(if python support is wanted) +AC_ARG_WITH(python, +[ --with-python enable python support [[default=no]]], +[AC_MSG_RESULT($withval)], [AC_MSG_RESULT(no)]) +if test "$with_python" = "yes"; then + sinclude(python.m4) + AC_PYTHON_DEVEL +fi # drivers sinclude(drivers.m4) -- cgit v1.2.3