aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorreinelt <>2005-06-01 12:46:32 +0000
committerreinelt <>2005-06-01 12:46:32 +0000
commitff037b537b1e3608fb529ce416b284ce5e03e337 (patch)
tree41a56a39aef7d573280616ec89cba0cb9c494a00 /configure.in
parent56dec72f14243944fd6578e453db440d901cfd44 (diff)
downloadlcd4linux-ff037b537b1e3608fb529ce416b284ce5e03e337.tar.gz
[lcd4linux @ 2005-06-01 12:46:31 by reinelt]
--with-python added to configure
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 8 insertions, 2 deletions
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)