X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.ac;h=b733914d289d0b457e1d434e259a79ee13fbfac0;hb=72c776b15ed8f48acb406c9a543bd808b3cfc5a3;hp=5663c9bb2387ac7cd3c72a7523f48394ee88d6fe;hpb=87b857f34ce8fb0af15a4b7f1becb5a54cec3ab7;p=idzebra-moved-to-github.git diff --git a/configure.ac b/configure.ac index 5663c9b..b733914 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ dnl Zebra, Index Data ApS, 1995-2006 -dnl $Id: configure.ac,v 1.1 2006-03-28 17:03:55 adam Exp $ +dnl $Id: configure.ac,v 1.13 2006-06-12 09:27:00 marc Exp $ dnl AC_PREREQ(2.59) AC_INIT([idzebra],[1.4.0],[adam@indexdata.dk]) @@ -18,7 +18,7 @@ AM_DISABLE_SHARED AM_PROG_LIBTOOL dnl dnl ------ headers -AC_CHECK_HEADERS(sys/times.h sys/time.h unistd.h sys/resource.h) +AC_CHECK_HEADERS(sys/resource.h sys/times.h sys/time.h sys/wait.h unistd.h) dnl ------ crypt AC_CHECK_LIB(crypt, crypt) if test "$ac_cv_lib_crypt_crypt" = "yes"; then @@ -34,7 +34,7 @@ else fi dnl dnl ------ YAZ -YAZ_INIT($yazflag,2.1.9) +YAZ_INIT($yazflag,2.1.20) YAZ_DOC dnl ----- libXSLT AC_SUBST(XSLT_LIBS) @@ -265,6 +265,9 @@ if test "$bits" = "64"; then else AC_MSG_RESULT(no) fi +AC_CHECK_SIZEOF([off_t]) +AC_CHECK_SIZEOF([long long]) +AC_CHECK_SIZEOF([long]) dnl ------ Modules AC_SUBST(SHARED_MODULE_LA) SHARED_MODULE_LA="" @@ -305,8 +308,6 @@ ZEBRA_MODULE(text,static, [ --enable-mod-text Text filter]) ZEBRA_MODULE(grs-sgml,static,[ --enable-mod-grs-sgml Simple SGML/XML filter]) ZEBRA_MODULE(grs-regx,shared,[ --enable-mod-grs-regx REGX/TCL filter]) ZEBRA_MODULE(grs-marc,shared,[ --enable-mod-grs-marc MARC filter]) -ZEBRA_MODULE(grs-csv,shared, [ --enable-mod-grs-csv CSV filter]) -ZEBRA_MODULE(grs-danbib,shared,[ --enable-mod-grs-danbib DanBib filter (DBC)]) ZEBRA_MODULE(safari,shared, [ --enable-mod-safari Safari filter (DBC)]) if test "$ac_cv_header_expat_h" = "yes"; then def="shared" @@ -319,7 +320,6 @@ if test "$XSLT_VER"; then else def="no" fi -ZEBRA_MODULE(xslt,[$def], [ --enable-mod-xslt XSLT filter]) ZEBRA_MODULE(alvis,[$def], [ --enable-mod-alvis ALVIS filter]) dnl ------ ANSI C Header files AC_STDC_HEADERS @@ -347,11 +347,9 @@ AC_OUTPUT([ include/Makefile include/idzebra/Makefile tab/Makefile doc/Makefile - doc/zebra.xml - doc/zebrahtml.dsl - doc/zebraprint.dsl - doc/zebraphp.dsl - doc/tkl.xsl + doc/local.ent + doc/common/Makefile + doc/common/print.dsl test/Makefile test/gils/Makefile test/usmarc/Makefile test/api/Makefile test/xslt/Makefile test/xpath/Makefile @@ -364,13 +362,56 @@ AC_OUTPUT([ test/espec/Makefile test/filters/Makefile examples/Makefile examples/gils/Makefile examples/zthes/Makefile - examples/marc21/Makefile examples/alvis-oai/Makefile + examples/marc21/Makefile examples/marcxml/Makefile + examples/alvis-oai/Makefile idzebra.spec idzebra-config Doxyfile ],[sed s%idzebra_echo_source=yes%idzebra_echo_source=no%g < idzebra-config > util/idzebra-config && chmod +x idzebra-config util/idzebra-config]) + + +echo \ ' +Build and install binaries with the usual + make + make check + make install + +Build distribution tarball with + make dist + +Verify distribution tarball with + make distcheck + +Or just build the Debian packages without configuring + dpkg-buildpackage -rfakeroot +' + if test -z "$YAZLIB"; then echo "YAZ was not found. Use --with-yaz=DIR to specify location." test -f /etc/debian_version && echo "Debian package libyaz-dev is required." fi +echo \ +"------------------------------------------------------------------------ + + ZEBRA Package: ${PACKAGE} + ZEBRA Version: ${VERSION} + Source code location: ${srcdir} + C Preprocessor: ${CPP} + C Preprocessor flags: ${CPPFLAGS} + C Compiler: ${CC} + C Compiler flags: ${CFLAGS} + Linker flags: ${LDFLAGS} + Linked libs: ${LIBS} + Host System Type: ${host} + Install path: ${prefix} + Automake: ${AUTOMAKE} + Archiver: ${AR} + Ranlib: ${RANLIB} + YAZ Version: ${YAZVERSION} + YAZ Include: ${YAZINC} + YAZ La Lib: ${YAZLALIB} + YAZ Lib: ${YAZLIB} + Bugreport: ${PACKAGE_BUGREPORT} + +------------------------------------------------------------------------"