libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit aeb5eccad1c7baea4d8980f36823afd52e140aef
parent eb8c5a908ce46ad899887e9cba79c859a63b3709
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  6 May 2005 19:52:42 +0000

build updates

Diffstat:
MChangeLog | 4++++
Mconfigure.ac | 20++++++++++++++++++++
Msrc/plugins/Makefile.am | 6+++++-
3 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,7 @@ +Fri May 6 14:54:58 EST 2005 + Added flag to disable building of printable extractors + (important for systems with not that much memory). + Fri May 6 06:02:02 EST 2005 Added Python binding. diff --git a/configure.ac b/configure.ac @@ -227,6 +227,26 @@ else fi + +printable=1 +AC_MSG_CHECKING([whether to enable printable extractors]) +AC_ARG_ENABLE(printable, + [AC_HELP_STRING([--enable-printable],[Enable printable support]) + AC_HELP_STRING([--disable-printable],[Disable printable support])], + [case "$enableval" in + no) AC_MSG_RESULT(no) + printable=0 + ;; + *) AC_MSG_RESULT(yes) + printable=1 + ;; + esac], + [ AC_MSG_RESULT(yes) + printable=1]) +AM_CONDITIONAL(HAVE_PRINTABLE, test x$printable != x0) + + + AC_SUBST(CPPFLAGS) AC_SUBST(LDFLAGS) AC_SUBST(XTRA_CPPLIBS) diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am @@ -14,7 +14,11 @@ if HAVE_WAND thumbdir=thumbnail endif -SUBDIRS = . oo printable hash $(oledir) rpm pdf $(thumbdir) +if HAVE_PRINTABLE + printdir=printable +endif + +SUBDIRS = . oo $(printdir) hash $(oledir) rpm pdf $(thumbdir) PLUGINFLAGS = -export-dynamic -avoid-version -module