X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=configure.in;h=78d4da099dc3d526d0f4c834633d399fd903f921;hp=a12e1558aca866dc762150b3702f441ae08a01eb;hb=3293084bd0b889ce7a3a87517f40e985ad2eb7ef;hpb=07d46508569f470e1577a66c0f7adce024b4eec6 diff --git a/configure.in b/configure.in index a12e155..78d4da0 100644 --- a/configure.in +++ b/configure.in @@ -60,27 +60,24 @@ AC_ARG_WITH(dsssl,[ --with-dsssl[=DIR] Use DSSSL in DIR/{html,print}/docbo ]) dnl +AC_ARG_ENABLE(zoom,[ --disable-zoom disable ZOOM (for old C++ compilers)],[enable_zoom=$enableval],[enable_zoom=yes]) +AM_CONDITIONAL(ZOOM, test $enable_zoom = "yes") AC_SUBST(YAZPP_SRC_ROOT) AC_SUBST(YAZPP_BUILD_ROOT) YAZPP_SRC_ROOT=`cd ${srcdir}; pwd` YAZPP_BUILD_ROOT=`pwd` -if test -f ${srcdir}/src/yaz++-config.in; then - rm ${srcdir}/src/yaz++-config.in -fi -sed s%yaz_echo_source=yes%yaz_echo_source=no%g < ${srcdir}/yaz++-config.in >${srcdir}/src/yaz++-config.in AC_OUTPUT([ Makefile src/Makefile include/Makefile include/yaz++/Makefile yaz++-config - src/yaz++-config zoom/Makefile lib/Makefile doc/Makefile doc/yaz++.xml doc/yazprint.dsl doc/yazphp.dsl doc/yazhtml.dsl doc/tkl.xsl -],[chmod +x yaz++-config src/yaz++-config]) +],[sed s%yaz_echo_source=yes%yaz_echo_source=no%g < yaz++-config >src/yaz++-config && chmod +x yaz++-config src/yaz++-config])