autoconfig out things that dont work currently on mac os x

This commit is contained in:
Jean-Francois Dockes 2013-10-08 13:46:16 +02:00
parent b97816bdcb
commit 34047fd2dd
2 changed files with 13 additions and 1 deletions

View File

@ -21,6 +21,12 @@ if test ! -f mk/$sys ; then
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
# OpenBSD needs sys/param.h for mount.h to compile
@ -219,6 +225,7 @@ fi
# 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.]),
@ -228,6 +235,9 @@ if test X$pythonEnabled = Xyes ; then
else
NOPYTHON="#"
fi
else
NOPYTHON="#"
fi
# Build PIC objects for the library ?
AC_ARG_ENABLE(pic,
@ -562,6 +572,7 @@ AC_SUBST(LIBQZEITGEIST)
AC_SUBST(NOPIC)
AC_SUBST(NOTHREADS)
AC_SUBST(NOPYTHON)
AC_SUBST(NODYNLIB)
AC_SUBST(RCLVERSION)
AC_SUBST(RCLLIBVERSION)

View File

@ -117,7 +117,8 @@ ${INSTALL} -m 0444 doc/man/recoll.conf.5 ${mandir}/man5/
${INSTALL} -m 0755 index/recollindex ${bindir} || exit 1
${STRIP} ${bindir}/recollindex
${INSTALL} -m 0644 lib/librecoll.so.${RCLLIBVERSION} ${libdir}/recoll/ || exit 1
@NODYNLIB@${INSTALL} -m 0644 lib/librecoll.so.${RCLLIBVERSION} \
@NODYNLIB@ ${libdir}/recoll/ || exit 1
${INSTALL} -m 0755 filters/rcl* ${datadir}/recoll/filters/ || exit 1
for f in rclexecm.py rcllatinstops.zip;do