--- a/src/configure.ac
+++ b/src/configure.ac
@@ -20,6 +20,12 @@
sys=Default
fi
(cd mk; rm -f sysconf; ln -s $sys sysconf)
+
+# There a few Recoll users on Mac OS X and a few things are just not worth
+# supporting
+if test X$sys = XDarwin ; then
+ NODYNLIB=#
+fi
AC_SYS_LARGEFILE
@@ -219,12 +225,16 @@
# configure --disable-python-module; make; make install;make clean
# configure; make; cd python/recoll; make install
#
+if test X$sys != XDarwin ; then
AC_ARG_ENABLE(python-module,
AC_HELP_STRING([--disable-python-module],
[Do not build the Python module.]),
pythonEnabled=$enableval, pythonEnabled=yes)
if test X$pythonEnabled = Xyes ; then
NOPYTHON=""
+else
+ NOPYTHON="#"
+fi
else
NOPYTHON="#"
fi
@@ -562,6 +572,7 @@
AC_SUBST(NOPIC)
AC_SUBST(NOTHREADS)
AC_SUBST(NOPYTHON)
+AC_SUBST(NODYNLIB)
AC_SUBST(RCLVERSION)
AC_SUBST(RCLLIBVERSION)