From 9d4b79c99dd3f356383a4a92e84e9b06e1decd77 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 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@563 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- 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