2004-07-04 13:53:02 +00:00
|
|
|
dnl Process this file with autoconf to produce a configuration script.
|
2011-05-18 06:50:50 +00:00
|
|
|
AC_PREREQ(2.59)
|
2001-01-07 14:01:28 +00:00
|
|
|
AC_INIT(libxslt/xslt.c)
|
Various "make distcheck" and other fixes
Makefile.am:
* Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed
variables in Makefile.am files
* Touch these *.xml/*.syms files in the "dist-hook" target to prevent them
from being regenerated, because the "make dist" process in itself
updates the timestamps of the source files when it copies them into
$(distdir)
* Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required
dependency when client applications link against -lxslt
(note that the definition of EXTRA_LIBS has been changed; see below)
* Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU
Make programs
autogen.sh:
* Add --warnings=all options to automake and autoconf invocations, to
better catch potential problems (most of which I've fixed in this patch)
configure.in:
* Replaced obsolete macros with their current equivalents; for reference,
see
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
(I removed AC_ISC_POSIX outright because the doc states it is no longer
useful)
* test(1) uses "=" as an operator, not "=="
* Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors
* Don't add redundant libraries to EXTRA_LIBS, because (1) this variable
already contains LibXSLT's own additional system-library deps, and is
useful in that form, and (2) the LibXML2 deps are already handled by
Libtool
* Don't delete files in srcdir, and don't create the symlink to
"Copyright" there either
(I don't understand why this is being symlinked in the first place...)
doc/Makefile.am:
* Can't use wildcards in EXTRA_DIST, because this breaks dependencies
(e.g. you can't "make EXSLT/\*.html"), and they only work properly when
building inside the source tree; these have been replaced with their
expansions. Other entries have been added here in lieu of the wildcards
in the dist-hook target, as well as opportunistic use of the $(*PAGES)
variables.
* Don't define an "all" target, because this steps on Automake's toes; use
"all-local" instead
* Define and use an "xsltproc" variable to reference an in-tree-built
version of xsltproc, instead of e.g. $(bindir)/xsltproc
NOTE: The makefile also uses $(XSLTPROC), which names an external
instance of the program found at configure time. Some instances of this
could probably be changed to $(xsltproc) to remove the dependency on an
existing installed program.
* Qualified various filenames as appropriate with $(srcdir)
* Use $(XMLLINT) consistently instead of $(bindir)/xmllint
* In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking
apibuild.py as this script has to run in srcdir anyway
* In the "clean-local" rule, clear out some additional files to allow
"make distcheck" to pass
* Eliminated the redundant "maintainer-clean-local" rule
* Added a "distclean-local" rule to clear out the build directory in an
out-of-source build to allow "make distcheck" to pass
* Added a "check-extra-dist" target to make it easier to check that
EXTRA_DIST isn't missing anything
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
* Use $(VAR) instead of @VAR@
* The "dist-hook" target didn't work (if any generated files were in
builddir and not in srcdir), and is no longer needed thanks to the
comprehensive EXTRA_DIST variable
* Added an "uninstall-local" rule to allow "make distcheck" to pass
* Updated the .PHONY target list, removed non-existent targets
doc/symbols.xml:
* Needed to add this bit to make the generation scripts shut up
libexslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
(Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake
already references both in the build rules)
* Use $(VAR) instead of @VAR@
libxslt.pc.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
libxslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
libxslt/xsltutils.c:
* Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about
CLOCK_HIGHRES. Some systems, alas, have no usable alternative to
CLOCK_REALTIME.
python/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Because libxslt-py.c is (presumably) supposed to be generated every time
at build time, don't bundle it in the dist tarball
* Use $(VAR) instead of @VAR@
* libxsltclass.py is a generated file, so it doesn't get qualified with
$(srcdir)
* Use $(MKDIR_P) instead of (mkinstalldirs)
* Added an uninstall-local rule so that "make distcheck" passes
* Removed the $(srcdir) qualifications in the GENERATED file list, as
these files may exist in builddir
* In the gen_prog rule, qualify the script invocation with $(srcdir), and
set the SRCDIR environment variable so that the script can find the
files it needs when builddir != srcdir
* Don't define an "all" target, as this steps on Automake's toes
python/generator.py:
* Get the source directory from the SRCDIR environment variable, and use
it appropriately
python/tests/Makefile.am:
* Set CLEANFILES instead of defining a "clean" rule
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
tests/*/Makefile.am, tests/exslt/*/Makefile.am:
* Need to clean up .memdump files for "make distcheck" to pass
* Don't define an "all" target, as this steps on Automake's toes
tests/REC/Makefile.am:
* Added two missing *.stand.out files to EXTRA_DIST
tests/XSLTMark/Makefile.am:
* Replaced the GNU-Make-specific %.out bit with a more broadly compatible
rule
(the "dummy" bit shuts up Automake)
* Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc"
* Use a less $(MAKE)-heavy invocation in the "tests" target
* Replaced a conflicting "clean" target with CLEANFILES
* Added a dependency on $(xsltproc) to all the test targets
* Added a .PHONY target list
tests/docbook/Makefile.am:
* Ditched the "echo -n" bit, because it wasn't working as advertised
* Create output directories for out-of-source builds
* "$(basename $$i)" is a typo in a makefile
* Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can
refer to these files in builddir or srcdir
* Add a trailing "echo" to complete the "echo -n"
* Don't output files unconditionally to srcdir (it may be read-only, for
starters)
tests/plugins/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
(Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here
can be dropped entirely, because these already appear in
xmlsoft_org_xslt_testplugin_la_CFLAGS)
* Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of
EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin
if module support is disabled)
* Need to clean up *.res files for "make distcheck" to pass
* Use the abs_builddir variable conveniently provided to us by Automake
instead of a GNU Make $(shell ...) construct
xslt-config.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
xsltproc/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) into AM_CFLAGS
* Use $(VAR) instead of @VAR@
* Need to clean .memdump for "make distcheck" to pass
* Added rules to build lib[e]xslt.la if needed, which allows test
makefiles to build xsltproc on the fly even if nothing else has been
built already
* Create .memdump file in the "tests" target, as it's being grepped
afterward
2012-08-09 11:46:03 +00:00
|
|
|
AC_CONFIG_HEADERS(config.h)
|
2004-07-04 13:53:02 +00:00
|
|
|
AC_CANONICAL_HOST
|
Various "make distcheck" and other fixes
Makefile.am:
* Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed
variables in Makefile.am files
* Touch these *.xml/*.syms files in the "dist-hook" target to prevent them
from being regenerated, because the "make dist" process in itself
updates the timestamps of the source files when it copies them into
$(distdir)
* Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required
dependency when client applications link against -lxslt
(note that the definition of EXTRA_LIBS has been changed; see below)
* Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU
Make programs
autogen.sh:
* Add --warnings=all options to automake and autoconf invocations, to
better catch potential problems (most of which I've fixed in this patch)
configure.in:
* Replaced obsolete macros with their current equivalents; for reference,
see
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
(I removed AC_ISC_POSIX outright because the doc states it is no longer
useful)
* test(1) uses "=" as an operator, not "=="
* Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors
* Don't add redundant libraries to EXTRA_LIBS, because (1) this variable
already contains LibXSLT's own additional system-library deps, and is
useful in that form, and (2) the LibXML2 deps are already handled by
Libtool
* Don't delete files in srcdir, and don't create the symlink to
"Copyright" there either
(I don't understand why this is being symlinked in the first place...)
doc/Makefile.am:
* Can't use wildcards in EXTRA_DIST, because this breaks dependencies
(e.g. you can't "make EXSLT/\*.html"), and they only work properly when
building inside the source tree; these have been replaced with their
expansions. Other entries have been added here in lieu of the wildcards
in the dist-hook target, as well as opportunistic use of the $(*PAGES)
variables.
* Don't define an "all" target, because this steps on Automake's toes; use
"all-local" instead
* Define and use an "xsltproc" variable to reference an in-tree-built
version of xsltproc, instead of e.g. $(bindir)/xsltproc
NOTE: The makefile also uses $(XSLTPROC), which names an external
instance of the program found at configure time. Some instances of this
could probably be changed to $(xsltproc) to remove the dependency on an
existing installed program.
* Qualified various filenames as appropriate with $(srcdir)
* Use $(XMLLINT) consistently instead of $(bindir)/xmllint
* In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking
apibuild.py as this script has to run in srcdir anyway
* In the "clean-local" rule, clear out some additional files to allow
"make distcheck" to pass
* Eliminated the redundant "maintainer-clean-local" rule
* Added a "distclean-local" rule to clear out the build directory in an
out-of-source build to allow "make distcheck" to pass
* Added a "check-extra-dist" target to make it easier to check that
EXTRA_DIST isn't missing anything
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
* Use $(VAR) instead of @VAR@
* The "dist-hook" target didn't work (if any generated files were in
builddir and not in srcdir), and is no longer needed thanks to the
comprehensive EXTRA_DIST variable
* Added an "uninstall-local" rule to allow "make distcheck" to pass
* Updated the .PHONY target list, removed non-existent targets
doc/symbols.xml:
* Needed to add this bit to make the generation scripts shut up
libexslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
(Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake
already references both in the build rules)
* Use $(VAR) instead of @VAR@
libxslt.pc.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
libxslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
libxslt/xsltutils.c:
* Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about
CLOCK_HIGHRES. Some systems, alas, have no usable alternative to
CLOCK_REALTIME.
python/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Because libxslt-py.c is (presumably) supposed to be generated every time
at build time, don't bundle it in the dist tarball
* Use $(VAR) instead of @VAR@
* libxsltclass.py is a generated file, so it doesn't get qualified with
$(srcdir)
* Use $(MKDIR_P) instead of (mkinstalldirs)
* Added an uninstall-local rule so that "make distcheck" passes
* Removed the $(srcdir) qualifications in the GENERATED file list, as
these files may exist in builddir
* In the gen_prog rule, qualify the script invocation with $(srcdir), and
set the SRCDIR environment variable so that the script can find the
files it needs when builddir != srcdir
* Don't define an "all" target, as this steps on Automake's toes
python/generator.py:
* Get the source directory from the SRCDIR environment variable, and use
it appropriately
python/tests/Makefile.am:
* Set CLEANFILES instead of defining a "clean" rule
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
tests/*/Makefile.am, tests/exslt/*/Makefile.am:
* Need to clean up .memdump files for "make distcheck" to pass
* Don't define an "all" target, as this steps on Automake's toes
tests/REC/Makefile.am:
* Added two missing *.stand.out files to EXTRA_DIST
tests/XSLTMark/Makefile.am:
* Replaced the GNU-Make-specific %.out bit with a more broadly compatible
rule
(the "dummy" bit shuts up Automake)
* Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc"
* Use a less $(MAKE)-heavy invocation in the "tests" target
* Replaced a conflicting "clean" target with CLEANFILES
* Added a dependency on $(xsltproc) to all the test targets
* Added a .PHONY target list
tests/docbook/Makefile.am:
* Ditched the "echo -n" bit, because it wasn't working as advertised
* Create output directories for out-of-source builds
* "$(basename $$i)" is a typo in a makefile
* Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can
refer to these files in builddir or srcdir
* Add a trailing "echo" to complete the "echo -n"
* Don't output files unconditionally to srcdir (it may be read-only, for
starters)
tests/plugins/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
(Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here
can be dropped entirely, because these already appear in
xmlsoft_org_xslt_testplugin_la_CFLAGS)
* Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of
EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin
if module support is disabled)
* Need to clean up *.res files for "make distcheck" to pass
* Use the abs_builddir variable conveniently provided to us by Automake
instead of a GNU Make $(shell ...) construct
xslt-config.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
xsltproc/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) into AM_CFLAGS
* Use $(VAR) instead of @VAR@
* Need to clean .memdump for "make distcheck" to pass
* Added rules to build lib[e]xslt.la if needed, which allows test
makefiles to build xsltproc on the fly even if nothing else has been
built already
* Create .memdump file in the "tests" target, as it's being grepped
afterward
2012-08-09 11:46:03 +00:00
|
|
|
AC_USE_SYSTEM_EXTENSIONS
|
2001-01-07 14:01:28 +00:00
|
|
|
|
2001-07-15 18:30:53 +00:00
|
|
|
dnl
|
|
|
|
dnl libxslt is the main part of the package
|
2001-09-12 20:51:09 +00:00
|
|
|
dnl libexslt is an extension
|
2001-07-15 18:30:53 +00:00
|
|
|
dnl
|
2001-07-10 16:08:10 +00:00
|
|
|
LIBXSLT_MAJOR_VERSION=1
|
2003-11-02 09:53:42 +00:00
|
|
|
LIBXSLT_MINOR_VERSION=1
|
2020-07-03 01:19:02 +00:00
|
|
|
LIBXSLT_MICRO_VERSION=29
|
2001-01-07 14:01:28 +00:00
|
|
|
PACKAGE=libxslt
|
2001-08-15 13:21:46 +00:00
|
|
|
LIBEXSLT_MAJOR_VERSION=0
|
2003-11-02 09:53:42 +00:00
|
|
|
LIBEXSLT_MINOR_VERSION=8
|
2012-11-21 07:22:59 +00:00
|
|
|
LIBEXSLT_MICRO_VERSION=17
|
2006-10-26 13:32:42 +00:00
|
|
|
LIBXML_REQUIRED_VERSION=2.6.27
|
2001-08-15 13:21:46 +00:00
|
|
|
|
2001-01-07 14:01:28 +00:00
|
|
|
|
2001-05-03 17:03:52 +00:00
|
|
|
LIBXSLT_VERSION=$LIBXSLT_MAJOR_VERSION.$LIBXSLT_MINOR_VERSION.$LIBXSLT_MICRO_VERSION
|
|
|
|
LIBXSLT_VERSION_INFO=`expr $LIBXSLT_MAJOR_VERSION + $LIBXSLT_MINOR_VERSION`:$LIBXSLT_MICRO_VERSION:$LIBXSLT_MINOR_VERSION
|
|
|
|
|
|
|
|
LIBXSLT_VERSION_NUMBER=`expr $LIBXSLT_MAJOR_VERSION \* 10000 + $LIBXSLT_MINOR_VERSION \* 100 + $LIBXSLT_MICRO_VERSION`
|
2005-01-15 12:56:23 +00:00
|
|
|
LIBXSLT_MAJOR_MINOR_VERSION=$LIBXSLT_MAJOR_VERSION.$LIBXSLT_MINOR_VERSION
|
2001-05-03 17:03:52 +00:00
|
|
|
|
2004-08-18 21:27:08 +00:00
|
|
|
if test -f CVS/Entries; then
|
2004-08-20 16:48:53 +00:00
|
|
|
extra=`grep ChangeLog CVS/Entries | grep -v LIBXSLT | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
|
|
|
|
echo extra=$extra
|
|
|
|
if test "$extra" != ""
|
|
|
|
then
|
|
|
|
LIBXSLT_VERSION_EXTRA="-CVS$extra"
|
|
|
|
fi
|
2007-01-03 15:39:01 +00:00
|
|
|
else if test -d .svn ; then
|
|
|
|
extra=`svn info | grep Revision | sed 's+Revision: ++'`
|
|
|
|
echo extra=$extra
|
|
|
|
if test "$extra" != ""
|
|
|
|
then
|
|
|
|
LIBXSLT_VERSION_EXTRA="-SVN$extra"
|
|
|
|
fi
|
2009-05-12 07:04:37 +00:00
|
|
|
else if test -d .git ; then
|
|
|
|
extra=`git describe | sed 's+LIBXSLT[[0-9.]]*-++'`
|
|
|
|
echo extra=$extra
|
|
|
|
if test "$extra" != ""
|
|
|
|
then
|
|
|
|
LIBXSLT_VERSION_EXTRA="-GIT$extra"
|
|
|
|
fi
|
|
|
|
fi
|
2007-01-03 15:39:01 +00:00
|
|
|
fi
|
2004-08-18 21:27:08 +00:00
|
|
|
fi
|
|
|
|
|
2001-05-03 17:03:52 +00:00
|
|
|
AC_SUBST(LIBXSLT_MAJOR_VERSION)
|
|
|
|
AC_SUBST(LIBXSLT_MINOR_VERSION)
|
|
|
|
AC_SUBST(LIBXSLT_MICRO_VERSION)
|
|
|
|
AC_SUBST(LIBXSLT_VERSION)
|
|
|
|
AC_SUBST(LIBXSLT_VERSION_INFO)
|
|
|
|
AC_SUBST(LIBXSLT_VERSION_NUMBER)
|
2004-08-18 21:27:08 +00:00
|
|
|
AC_SUBST(LIBXSLT_VERSION_EXTRA)
|
2005-01-15 12:56:23 +00:00
|
|
|
AC_SUBST(LIBXSLT_MAJOR_MINOR_VERSION)
|
2001-07-15 18:30:53 +00:00
|
|
|
|
|
|
|
dnl
|
|
|
|
dnl libexslt is an extension library
|
|
|
|
dnl
|
|
|
|
|
|
|
|
LIBEXSLT_VERSION=$LIBEXSLT_MAJOR_VERSION.$LIBEXSLT_MINOR_VERSION.$LIBEXSLT_MICRO_VERSION
|
|
|
|
LIBEXSLT_VERSION_INFO=`expr $LIBEXSLT_MAJOR_VERSION + $LIBEXSLT_MINOR_VERSION`:$LIBEXSLT_MICRO_VERSION:$LIBEXSLT_MINOR_VERSION
|
|
|
|
|
|
|
|
LIBEXSLT_VERSION_NUMBER=`expr $LIBEXSLT_MAJOR_VERSION \* 10000 + $LIBEXSLT_MINOR_VERSION \* 100 + $LIBEXSLT_MICRO_VERSION`
|
|
|
|
|
2004-08-18 21:27:08 +00:00
|
|
|
if test -f CVS/Entries; then
|
|
|
|
LIBEXSLT_VERSION_EXTRA=-CVS`grep ChangeLog CVS/Entries | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
|
|
|
|
fi
|
|
|
|
|
2001-07-15 18:30:53 +00:00
|
|
|
AC_SUBST(LIBEXSLT_MAJOR_VERSION)
|
|
|
|
AC_SUBST(LIBEXSLT_MINOR_VERSION)
|
|
|
|
AC_SUBST(LIBEXSLT_MICRO_VERSION)
|
|
|
|
AC_SUBST(LIBEXSLT_VERSION)
|
|
|
|
AC_SUBST(LIBEXSLT_VERSION_INFO)
|
|
|
|
AC_SUBST(LIBEXSLT_VERSION_NUMBER)
|
2004-08-18 21:27:08 +00:00
|
|
|
AC_SUBST(LIBEXSLT_VERSION_EXTRA)
|
2001-07-15 18:30:53 +00:00
|
|
|
|
2001-05-03 17:03:52 +00:00
|
|
|
VERSION=${LIBXSLT_VERSION}
|
|
|
|
|
2001-05-22 14:59:48 +00:00
|
|
|
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
|
2004-07-04 13:53:02 +00:00
|
|
|
|
|
|
|
# AM_MAINTAINER_MODE
|
2001-01-07 14:01:28 +00:00
|
|
|
|
2011-05-10 07:35:43 +00:00
|
|
|
# Support silent build rules, requires at least automake-1.11. Disable
|
|
|
|
# by either passing --disable-silent-rules to configure or passing V=1
|
|
|
|
# to make
|
|
|
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
|
|
|
|
2001-07-19 20:23:20 +00:00
|
|
|
dnl
|
|
|
|
dnl Specific dir for HTML output ?
|
|
|
|
dnl
|
|
|
|
|
Various "make distcheck" and other fixes
Makefile.am:
* Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed
variables in Makefile.am files
* Touch these *.xml/*.syms files in the "dist-hook" target to prevent them
from being regenerated, because the "make dist" process in itself
updates the timestamps of the source files when it copies them into
$(distdir)
* Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required
dependency when client applications link against -lxslt
(note that the definition of EXTRA_LIBS has been changed; see below)
* Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU
Make programs
autogen.sh:
* Add --warnings=all options to automake and autoconf invocations, to
better catch potential problems (most of which I've fixed in this patch)
configure.in:
* Replaced obsolete macros with their current equivalents; for reference,
see
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
(I removed AC_ISC_POSIX outright because the doc states it is no longer
useful)
* test(1) uses "=" as an operator, not "=="
* Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors
* Don't add redundant libraries to EXTRA_LIBS, because (1) this variable
already contains LibXSLT's own additional system-library deps, and is
useful in that form, and (2) the LibXML2 deps are already handled by
Libtool
* Don't delete files in srcdir, and don't create the symlink to
"Copyright" there either
(I don't understand why this is being symlinked in the first place...)
doc/Makefile.am:
* Can't use wildcards in EXTRA_DIST, because this breaks dependencies
(e.g. you can't "make EXSLT/\*.html"), and they only work properly when
building inside the source tree; these have been replaced with their
expansions. Other entries have been added here in lieu of the wildcards
in the dist-hook target, as well as opportunistic use of the $(*PAGES)
variables.
* Don't define an "all" target, because this steps on Automake's toes; use
"all-local" instead
* Define and use an "xsltproc" variable to reference an in-tree-built
version of xsltproc, instead of e.g. $(bindir)/xsltproc
NOTE: The makefile also uses $(XSLTPROC), which names an external
instance of the program found at configure time. Some instances of this
could probably be changed to $(xsltproc) to remove the dependency on an
existing installed program.
* Qualified various filenames as appropriate with $(srcdir)
* Use $(XMLLINT) consistently instead of $(bindir)/xmllint
* In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking
apibuild.py as this script has to run in srcdir anyway
* In the "clean-local" rule, clear out some additional files to allow
"make distcheck" to pass
* Eliminated the redundant "maintainer-clean-local" rule
* Added a "distclean-local" rule to clear out the build directory in an
out-of-source build to allow "make distcheck" to pass
* Added a "check-extra-dist" target to make it easier to check that
EXTRA_DIST isn't missing anything
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
* Use $(VAR) instead of @VAR@
* The "dist-hook" target didn't work (if any generated files were in
builddir and not in srcdir), and is no longer needed thanks to the
comprehensive EXTRA_DIST variable
* Added an "uninstall-local" rule to allow "make distcheck" to pass
* Updated the .PHONY target list, removed non-existent targets
doc/symbols.xml:
* Needed to add this bit to make the generation scripts shut up
libexslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
(Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake
already references both in the build rules)
* Use $(VAR) instead of @VAR@
libxslt.pc.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
libxslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
libxslt/xsltutils.c:
* Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about
CLOCK_HIGHRES. Some systems, alas, have no usable alternative to
CLOCK_REALTIME.
python/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Because libxslt-py.c is (presumably) supposed to be generated every time
at build time, don't bundle it in the dist tarball
* Use $(VAR) instead of @VAR@
* libxsltclass.py is a generated file, so it doesn't get qualified with
$(srcdir)
* Use $(MKDIR_P) instead of (mkinstalldirs)
* Added an uninstall-local rule so that "make distcheck" passes
* Removed the $(srcdir) qualifications in the GENERATED file list, as
these files may exist in builddir
* In the gen_prog rule, qualify the script invocation with $(srcdir), and
set the SRCDIR environment variable so that the script can find the
files it needs when builddir != srcdir
* Don't define an "all" target, as this steps on Automake's toes
python/generator.py:
* Get the source directory from the SRCDIR environment variable, and use
it appropriately
python/tests/Makefile.am:
* Set CLEANFILES instead of defining a "clean" rule
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
tests/*/Makefile.am, tests/exslt/*/Makefile.am:
* Need to clean up .memdump files for "make distcheck" to pass
* Don't define an "all" target, as this steps on Automake's toes
tests/REC/Makefile.am:
* Added two missing *.stand.out files to EXTRA_DIST
tests/XSLTMark/Makefile.am:
* Replaced the GNU-Make-specific %.out bit with a more broadly compatible
rule
(the "dummy" bit shuts up Automake)
* Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc"
* Use a less $(MAKE)-heavy invocation in the "tests" target
* Replaced a conflicting "clean" target with CLEANFILES
* Added a dependency on $(xsltproc) to all the test targets
* Added a .PHONY target list
tests/docbook/Makefile.am:
* Ditched the "echo -n" bit, because it wasn't working as advertised
* Create output directories for out-of-source builds
* "$(basename $$i)" is a typo in a makefile
* Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can
refer to these files in builddir or srcdir
* Add a trailing "echo" to complete the "echo -n"
* Don't output files unconditionally to srcdir (it may be read-only, for
starters)
tests/plugins/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
(Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here
can be dropped entirely, because these already appear in
xmlsoft_org_xslt_testplugin_la_CFLAGS)
* Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of
EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin
if module support is disabled)
* Need to clean up *.res files for "make distcheck" to pass
* Use the abs_builddir variable conveniently provided to us by Automake
instead of a GNU Make $(shell ...) construct
xslt-config.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
xsltproc/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) into AM_CFLAGS
* Use $(VAR) instead of @VAR@
* Need to clean .memdump for "make distcheck" to pass
* Added rules to build lib[e]xslt.la if needed, which allows test
makefiles to build xsltproc on the fly even if nothing else has been
built already
* Create .memdump file in the "tests" target, as it's being grepped
afterward
2012-08-09 11:46:03 +00:00
|
|
|
AC_ARG_WITH(html-dir, AS_HELP_STRING([--with-html-dir=path],
|
2009-08-21 14:10:26 +00:00
|
|
|
[path to base html directory, default $datadir/doc/html]),
|
|
|
|
[HTML_DIR=$withval], [HTML_DIR='$(datadir)/doc'])
|
|
|
|
|
Various "make distcheck" and other fixes
Makefile.am:
* Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed
variables in Makefile.am files
* Touch these *.xml/*.syms files in the "dist-hook" target to prevent them
from being regenerated, because the "make dist" process in itself
updates the timestamps of the source files when it copies them into
$(distdir)
* Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required
dependency when client applications link against -lxslt
(note that the definition of EXTRA_LIBS has been changed; see below)
* Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU
Make programs
autogen.sh:
* Add --warnings=all options to automake and autoconf invocations, to
better catch potential problems (most of which I've fixed in this patch)
configure.in:
* Replaced obsolete macros with their current equivalents; for reference,
see
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
(I removed AC_ISC_POSIX outright because the doc states it is no longer
useful)
* test(1) uses "=" as an operator, not "=="
* Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors
* Don't add redundant libraries to EXTRA_LIBS, because (1) this variable
already contains LibXSLT's own additional system-library deps, and is
useful in that form, and (2) the LibXML2 deps are already handled by
Libtool
* Don't delete files in srcdir, and don't create the symlink to
"Copyright" there either
(I don't understand why this is being symlinked in the first place...)
doc/Makefile.am:
* Can't use wildcards in EXTRA_DIST, because this breaks dependencies
(e.g. you can't "make EXSLT/\*.html"), and they only work properly when
building inside the source tree; these have been replaced with their
expansions. Other entries have been added here in lieu of the wildcards
in the dist-hook target, as well as opportunistic use of the $(*PAGES)
variables.
* Don't define an "all" target, because this steps on Automake's toes; use
"all-local" instead
* Define and use an "xsltproc" variable to reference an in-tree-built
version of xsltproc, instead of e.g. $(bindir)/xsltproc
NOTE: The makefile also uses $(XSLTPROC), which names an external
instance of the program found at configure time. Some instances of this
could probably be changed to $(xsltproc) to remove the dependency on an
existing installed program.
* Qualified various filenames as appropriate with $(srcdir)
* Use $(XMLLINT) consistently instead of $(bindir)/xmllint
* In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking
apibuild.py as this script has to run in srcdir anyway
* In the "clean-local" rule, clear out some additional files to allow
"make distcheck" to pass
* Eliminated the redundant "maintainer-clean-local" rule
* Added a "distclean-local" rule to clear out the build directory in an
out-of-source build to allow "make distcheck" to pass
* Added a "check-extra-dist" target to make it easier to check that
EXTRA_DIST isn't missing anything
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
* Use $(VAR) instead of @VAR@
* The "dist-hook" target didn't work (if any generated files were in
builddir and not in srcdir), and is no longer needed thanks to the
comprehensive EXTRA_DIST variable
* Added an "uninstall-local" rule to allow "make distcheck" to pass
* Updated the .PHONY target list, removed non-existent targets
doc/symbols.xml:
* Needed to add this bit to make the generation scripts shut up
libexslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
(Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake
already references both in the build rules)
* Use $(VAR) instead of @VAR@
libxslt.pc.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
libxslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
libxslt/xsltutils.c:
* Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about
CLOCK_HIGHRES. Some systems, alas, have no usable alternative to
CLOCK_REALTIME.
python/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Because libxslt-py.c is (presumably) supposed to be generated every time
at build time, don't bundle it in the dist tarball
* Use $(VAR) instead of @VAR@
* libxsltclass.py is a generated file, so it doesn't get qualified with
$(srcdir)
* Use $(MKDIR_P) instead of (mkinstalldirs)
* Added an uninstall-local rule so that "make distcheck" passes
* Removed the $(srcdir) qualifications in the GENERATED file list, as
these files may exist in builddir
* In the gen_prog rule, qualify the script invocation with $(srcdir), and
set the SRCDIR environment variable so that the script can find the
files it needs when builddir != srcdir
* Don't define an "all" target, as this steps on Automake's toes
python/generator.py:
* Get the source directory from the SRCDIR environment variable, and use
it appropriately
python/tests/Makefile.am:
* Set CLEANFILES instead of defining a "clean" rule
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
tests/*/Makefile.am, tests/exslt/*/Makefile.am:
* Need to clean up .memdump files for "make distcheck" to pass
* Don't define an "all" target, as this steps on Automake's toes
tests/REC/Makefile.am:
* Added two missing *.stand.out files to EXTRA_DIST
tests/XSLTMark/Makefile.am:
* Replaced the GNU-Make-specific %.out bit with a more broadly compatible
rule
(the "dummy" bit shuts up Automake)
* Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc"
* Use a less $(MAKE)-heavy invocation in the "tests" target
* Replaced a conflicting "clean" target with CLEANFILES
* Added a dependency on $(xsltproc) to all the test targets
* Added a .PHONY target list
tests/docbook/Makefile.am:
* Ditched the "echo -n" bit, because it wasn't working as advertised
* Create output directories for out-of-source builds
* "$(basename $$i)" is a typo in a makefile
* Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can
refer to these files in builddir or srcdir
* Add a trailing "echo" to complete the "echo -n"
* Don't output files unconditionally to srcdir (it may be read-only, for
starters)
tests/plugins/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
(Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here
can be dropped entirely, because these already appear in
xmlsoft_org_xslt_testplugin_la_CFLAGS)
* Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of
EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin
if module support is disabled)
* Need to clean up *.res files for "make distcheck" to pass
* Use the abs_builddir variable conveniently provided to us by Automake
instead of a GNU Make $(shell ...) construct
xslt-config.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
xsltproc/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) into AM_CFLAGS
* Use $(VAR) instead of @VAR@
* Need to clean .memdump for "make distcheck" to pass
* Added rules to build lib[e]xslt.la if needed, which allows test
makefiles to build xsltproc on the fly even if nothing else has been
built already
* Create .memdump file in the "tests" target, as it's being grepped
afterward
2012-08-09 11:46:03 +00:00
|
|
|
AC_ARG_WITH(html-subdir, AS_HELP_STRING([--with-html-subdir=path],
|
2009-08-21 14:10:26 +00:00
|
|
|
[directory used under html-dir, default $PACKAGE-$VERSION/html]),
|
|
|
|
[test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"],
|
|
|
|
[HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"])
|
|
|
|
|
2001-07-19 20:23:20 +00:00
|
|
|
AC_SUBST(HTML_DIR)
|
|
|
|
|
2001-01-25 11:16:26 +00:00
|
|
|
dnl
|
|
|
|
dnl Check the environment
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_PROG_CC
|
2004-07-04 13:53:02 +00:00
|
|
|
AC_PROG_INSTALL
|
|
|
|
AC_PROG_CPP
|
|
|
|
AC_PATH_PROG(RM, rm, /bin/rm)
|
|
|
|
AC_PATH_PROG(MV, mv, /bin/mv)
|
|
|
|
AC_PATH_PROG(TAR, tar, /bin/tar)
|
2009-09-16 14:16:21 +00:00
|
|
|
AC_PATH_PROG(XMLLINT, xmllint, /usr/bin/xmllint)
|
|
|
|
AC_PATH_PROG(XSLTPROC, xsltproc, /usr/bin/xsltproc)
|
2004-07-04 13:53:02 +00:00
|
|
|
|
Various "make distcheck" and other fixes
Makefile.am:
* Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed
variables in Makefile.am files
* Touch these *.xml/*.syms files in the "dist-hook" target to prevent them
from being regenerated, because the "make dist" process in itself
updates the timestamps of the source files when it copies them into
$(distdir)
* Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required
dependency when client applications link against -lxslt
(note that the definition of EXTRA_LIBS has been changed; see below)
* Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU
Make programs
autogen.sh:
* Add --warnings=all options to automake and autoconf invocations, to
better catch potential problems (most of which I've fixed in this patch)
configure.in:
* Replaced obsolete macros with their current equivalents; for reference,
see
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
(I removed AC_ISC_POSIX outright because the doc states it is no longer
useful)
* test(1) uses "=" as an operator, not "=="
* Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors
* Don't add redundant libraries to EXTRA_LIBS, because (1) this variable
already contains LibXSLT's own additional system-library deps, and is
useful in that form, and (2) the LibXML2 deps are already handled by
Libtool
* Don't delete files in srcdir, and don't create the symlink to
"Copyright" there either
(I don't understand why this is being symlinked in the first place...)
doc/Makefile.am:
* Can't use wildcards in EXTRA_DIST, because this breaks dependencies
(e.g. you can't "make EXSLT/\*.html"), and they only work properly when
building inside the source tree; these have been replaced with their
expansions. Other entries have been added here in lieu of the wildcards
in the dist-hook target, as well as opportunistic use of the $(*PAGES)
variables.
* Don't define an "all" target, because this steps on Automake's toes; use
"all-local" instead
* Define and use an "xsltproc" variable to reference an in-tree-built
version of xsltproc, instead of e.g. $(bindir)/xsltproc
NOTE: The makefile also uses $(XSLTPROC), which names an external
instance of the program found at configure time. Some instances of this
could probably be changed to $(xsltproc) to remove the dependency on an
existing installed program.
* Qualified various filenames as appropriate with $(srcdir)
* Use $(XMLLINT) consistently instead of $(bindir)/xmllint
* In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking
apibuild.py as this script has to run in srcdir anyway
* In the "clean-local" rule, clear out some additional files to allow
"make distcheck" to pass
* Eliminated the redundant "maintainer-clean-local" rule
* Added a "distclean-local" rule to clear out the build directory in an
out-of-source build to allow "make distcheck" to pass
* Added a "check-extra-dist" target to make it easier to check that
EXTRA_DIST isn't missing anything
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
* Use $(VAR) instead of @VAR@
* The "dist-hook" target didn't work (if any generated files were in
builddir and not in srcdir), and is no longer needed thanks to the
comprehensive EXTRA_DIST variable
* Added an "uninstall-local" rule to allow "make distcheck" to pass
* Updated the .PHONY target list, removed non-existent targets
doc/symbols.xml:
* Needed to add this bit to make the generation scripts shut up
libexslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
(Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake
already references both in the build rules)
* Use $(VAR) instead of @VAR@
libxslt.pc.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
libxslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
libxslt/xsltutils.c:
* Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about
CLOCK_HIGHRES. Some systems, alas, have no usable alternative to
CLOCK_REALTIME.
python/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Because libxslt-py.c is (presumably) supposed to be generated every time
at build time, don't bundle it in the dist tarball
* Use $(VAR) instead of @VAR@
* libxsltclass.py is a generated file, so it doesn't get qualified with
$(srcdir)
* Use $(MKDIR_P) instead of (mkinstalldirs)
* Added an uninstall-local rule so that "make distcheck" passes
* Removed the $(srcdir) qualifications in the GENERATED file list, as
these files may exist in builddir
* In the gen_prog rule, qualify the script invocation with $(srcdir), and
set the SRCDIR environment variable so that the script can find the
files it needs when builddir != srcdir
* Don't define an "all" target, as this steps on Automake's toes
python/generator.py:
* Get the source directory from the SRCDIR environment variable, and use
it appropriately
python/tests/Makefile.am:
* Set CLEANFILES instead of defining a "clean" rule
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
tests/*/Makefile.am, tests/exslt/*/Makefile.am:
* Need to clean up .memdump files for "make distcheck" to pass
* Don't define an "all" target, as this steps on Automake's toes
tests/REC/Makefile.am:
* Added two missing *.stand.out files to EXTRA_DIST
tests/XSLTMark/Makefile.am:
* Replaced the GNU-Make-specific %.out bit with a more broadly compatible
rule
(the "dummy" bit shuts up Automake)
* Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc"
* Use a less $(MAKE)-heavy invocation in the "tests" target
* Replaced a conflicting "clean" target with CLEANFILES
* Added a dependency on $(xsltproc) to all the test targets
* Added a .PHONY target list
tests/docbook/Makefile.am:
* Ditched the "echo -n" bit, because it wasn't working as advertised
* Create output directories for out-of-source builds
* "$(basename $$i)" is a typo in a makefile
* Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can
refer to these files in builddir or srcdir
* Add a trailing "echo" to complete the "echo -n"
* Don't output files unconditionally to srcdir (it may be read-only, for
starters)
tests/plugins/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
(Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here
can be dropped entirely, because these already appear in
xmlsoft_org_xslt_testplugin_la_CFLAGS)
* Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of
EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin
if module support is disabled)
* Need to clean up *.res files for "make distcheck" to pass
* Use the abs_builddir variable conveniently provided to us by Automake
instead of a GNU Make $(shell ...) construct
xslt-config.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
xsltproc/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) into AM_CFLAGS
* Use $(VAR) instead of @VAR@
* Need to clean .memdump for "make distcheck" to pass
* Added rules to build lib[e]xslt.la if needed, which allows test
makefiles to build xsltproc on the fly even if nothing else has been
built already
* Create .memdump file in the "tests" target, as it's being grepped
afterward
2012-08-09 11:46:03 +00:00
|
|
|
AC_HEADER_STDC
|
2008-11-14 14:08:37 +00:00
|
|
|
|
Various "make distcheck" and other fixes
Makefile.am:
* Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed
variables in Makefile.am files
* Touch these *.xml/*.syms files in the "dist-hook" target to prevent them
from being regenerated, because the "make dist" process in itself
updates the timestamps of the source files when it copies them into
$(distdir)
* Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required
dependency when client applications link against -lxslt
(note that the definition of EXTRA_LIBS has been changed; see below)
* Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU
Make programs
autogen.sh:
* Add --warnings=all options to automake and autoconf invocations, to
better catch potential problems (most of which I've fixed in this patch)
configure.in:
* Replaced obsolete macros with their current equivalents; for reference,
see
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
(I removed AC_ISC_POSIX outright because the doc states it is no longer
useful)
* test(1) uses "=" as an operator, not "=="
* Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors
* Don't add redundant libraries to EXTRA_LIBS, because (1) this variable
already contains LibXSLT's own additional system-library deps, and is
useful in that form, and (2) the LibXML2 deps are already handled by
Libtool
* Don't delete files in srcdir, and don't create the symlink to
"Copyright" there either
(I don't understand why this is being symlinked in the first place...)
doc/Makefile.am:
* Can't use wildcards in EXTRA_DIST, because this breaks dependencies
(e.g. you can't "make EXSLT/\*.html"), and they only work properly when
building inside the source tree; these have been replaced with their
expansions. Other entries have been added here in lieu of the wildcards
in the dist-hook target, as well as opportunistic use of the $(*PAGES)
variables.
* Don't define an "all" target, because this steps on Automake's toes; use
"all-local" instead
* Define and use an "xsltproc" variable to reference an in-tree-built
version of xsltproc, instead of e.g. $(bindir)/xsltproc
NOTE: The makefile also uses $(XSLTPROC), which names an external
instance of the program found at configure time. Some instances of this
could probably be changed to $(xsltproc) to remove the dependency on an
existing installed program.
* Qualified various filenames as appropriate with $(srcdir)
* Use $(XMLLINT) consistently instead of $(bindir)/xmllint
* In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking
apibuild.py as this script has to run in srcdir anyway
* In the "clean-local" rule, clear out some additional files to allow
"make distcheck" to pass
* Eliminated the redundant "maintainer-clean-local" rule
* Added a "distclean-local" rule to clear out the build directory in an
out-of-source build to allow "make distcheck" to pass
* Added a "check-extra-dist" target to make it easier to check that
EXTRA_DIST isn't missing anything
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
* Use $(VAR) instead of @VAR@
* The "dist-hook" target didn't work (if any generated files were in
builddir and not in srcdir), and is no longer needed thanks to the
comprehensive EXTRA_DIST variable
* Added an "uninstall-local" rule to allow "make distcheck" to pass
* Updated the .PHONY target list, removed non-existent targets
doc/symbols.xml:
* Needed to add this bit to make the generation scripts shut up
libexslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
(Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake
already references both in the build rules)
* Use $(VAR) instead of @VAR@
libxslt.pc.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
libxslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
libxslt/xsltutils.c:
* Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about
CLOCK_HIGHRES. Some systems, alas, have no usable alternative to
CLOCK_REALTIME.
python/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Because libxslt-py.c is (presumably) supposed to be generated every time
at build time, don't bundle it in the dist tarball
* Use $(VAR) instead of @VAR@
* libxsltclass.py is a generated file, so it doesn't get qualified with
$(srcdir)
* Use $(MKDIR_P) instead of (mkinstalldirs)
* Added an uninstall-local rule so that "make distcheck" passes
* Removed the $(srcdir) qualifications in the GENERATED file list, as
these files may exist in builddir
* In the gen_prog rule, qualify the script invocation with $(srcdir), and
set the SRCDIR environment variable so that the script can find the
files it needs when builddir != srcdir
* Don't define an "all" target, as this steps on Automake's toes
python/generator.py:
* Get the source directory from the SRCDIR environment variable, and use
it appropriately
python/tests/Makefile.am:
* Set CLEANFILES instead of defining a "clean" rule
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
tests/*/Makefile.am, tests/exslt/*/Makefile.am:
* Need to clean up .memdump files for "make distcheck" to pass
* Don't define an "all" target, as this steps on Automake's toes
tests/REC/Makefile.am:
* Added two missing *.stand.out files to EXTRA_DIST
tests/XSLTMark/Makefile.am:
* Replaced the GNU-Make-specific %.out bit with a more broadly compatible
rule
(the "dummy" bit shuts up Automake)
* Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc"
* Use a less $(MAKE)-heavy invocation in the "tests" target
* Replaced a conflicting "clean" target with CLEANFILES
* Added a dependency on $(xsltproc) to all the test targets
* Added a .PHONY target list
tests/docbook/Makefile.am:
* Ditched the "echo -n" bit, because it wasn't working as advertised
* Create output directories for out-of-source builds
* "$(basename $$i)" is a typo in a makefile
* Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can
refer to these files in builddir or srcdir
* Add a trailing "echo" to complete the "echo -n"
* Don't output files unconditionally to srcdir (it may be read-only, for
starters)
tests/plugins/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
(Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here
can be dropped entirely, because these already appear in
xmlsoft_org_xslt_testplugin_la_CFLAGS)
* Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of
EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin
if module support is disabled)
* Need to clean up *.res files for "make distcheck" to pass
* Use the abs_builddir variable conveniently provided to us by Automake
instead of a GNU Make $(shell ...) construct
xslt-config.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
xsltproc/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) into AM_CFLAGS
* Use $(VAR) instead of @VAR@
* Need to clean .memdump for "make distcheck" to pass
* Added rules to build lib[e]xslt.la if needed, which allows test
makefiles to build xsltproc on the fly even if nothing else has been
built already
* Create .memdump file in the "tests" target, as it's being grepped
afterward
2012-08-09 11:46:03 +00:00
|
|
|
LT_INIT(win32-dll)
|
2001-01-25 11:16:26 +00:00
|
|
|
|
2020-07-03 01:19:02 +00:00
|
|
|
dnl #ifdef __APPLE__
|
|
|
|
dnl Disable -Wl,-undefined -Wl,dynamic_lookup when using libtool to link.
|
|
|
|
case $host_os in
|
|
|
|
darwin*)
|
|
|
|
allow_undefined_flag=
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
dnl #endif // defined(__APPLE__)
|
|
|
|
|
2008-06-12 09:43:28 +00:00
|
|
|
|
2008-08-01 08:27:18 +00:00
|
|
|
AC_CHECK_HEADERS(sys/types.h sys/time.h stdlib.h unistd.h string.h)
|
|
|
|
|
2009-09-16 14:16:21 +00:00
|
|
|
dnl
|
|
|
|
dnl if the system support linker version scripts for symbol versioning
|
|
|
|
dnl then add it
|
|
|
|
dnl
|
2012-11-21 06:04:29 +00:00
|
|
|
AC_MSG_CHECKING([how to pass version script to the linker ($LD)])
|
|
|
|
VERSION_SCRIPT_FLAGS=none
|
|
|
|
if $LD --help 2>&1 | grep "version-script" >/dev/null 2>/dev/null; then
|
2009-09-16 14:16:21 +00:00
|
|
|
VERSION_SCRIPT_FLAGS=-Wl,--version-script=
|
2012-11-21 06:04:29 +00:00
|
|
|
elif $LD --help 2>&1 | grep "M mapfile" >/dev/null 2>/dev/null; then
|
2009-09-16 14:16:21 +00:00
|
|
|
VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"
|
2012-11-21 06:04:29 +00:00
|
|
|
fi
|
|
|
|
AC_MSG_RESULT([$VERSION_SCRIPT_FLAGS])
|
2009-09-16 14:16:21 +00:00
|
|
|
AC_SUBST(VERSION_SCRIPT_FLAGS)
|
2012-11-21 06:04:29 +00:00
|
|
|
AM_CONDITIONAL([USE_VERSION_SCRIPT], [test "$VERSION_SCRIPT_FLAGS" != none])
|
2009-09-16 14:16:21 +00:00
|
|
|
|
2009-08-14 06:58:50 +00:00
|
|
|
dnl Look for pthread.h, needed for testThreads
|
2010-01-23 17:01:41 +00:00
|
|
|
case $host in
|
|
|
|
*-mingw*) ;;
|
|
|
|
*)
|
2009-08-20 10:21:52 +00:00
|
|
|
THREAD_LIBS=""
|
2009-08-14 06:58:50 +00:00
|
|
|
AC_CHECK_HEADER(pthread.h,
|
|
|
|
AC_CHECK_LIB(pthread, pthread_join,[
|
|
|
|
AC_DEFINE([HAVE_LIBPTHREAD], [], [Define if pthread library is there (-lpthread)])
|
2009-08-20 10:21:52 +00:00
|
|
|
AC_DEFINE([HAVE_PTHREAD_H], [], [Define if <pthread.h> is there])
|
|
|
|
THREAD_LIBS="-lpthread"]))
|
2010-01-23 17:01:41 +00:00
|
|
|
;;
|
|
|
|
esac
|
2009-08-20 10:21:52 +00:00
|
|
|
|
|
|
|
AC_SUBST(THREAD_LIBS)
|
2009-08-14 06:58:50 +00:00
|
|
|
|
2008-06-12 09:43:28 +00:00
|
|
|
dnl
|
|
|
|
dnl Detect supported locale
|
|
|
|
dnl
|
|
|
|
|
|
|
|
XSLT_LOCALE_XLOCALE=0
|
2008-08-01 08:27:18 +00:00
|
|
|
XSLT_LOCALE_WINAPI=0
|
2008-06-12 09:43:28 +00:00
|
|
|
|
2008-08-01 08:27:18 +00:00
|
|
|
AC_CHECK_HEADERS([locale.h xlocale.h])
|
2008-06-12 09:43:28 +00:00
|
|
|
if test $ac_cv_header_xlocale_h = yes; then
|
2008-08-01 08:27:18 +00:00
|
|
|
dnl
|
|
|
|
dnl Check for generic locale_t declaration
|
|
|
|
dnl
|
|
|
|
AC_MSG_CHECKING([if xlocale program link])
|
Various "make distcheck" and other fixes
Makefile.am:
* Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed
variables in Makefile.am files
* Touch these *.xml/*.syms files in the "dist-hook" target to prevent them
from being regenerated, because the "make dist" process in itself
updates the timestamps of the source files when it copies them into
$(distdir)
* Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required
dependency when client applications link against -lxslt
(note that the definition of EXTRA_LIBS has been changed; see below)
* Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU
Make programs
autogen.sh:
* Add --warnings=all options to automake and autoconf invocations, to
better catch potential problems (most of which I've fixed in this patch)
configure.in:
* Replaced obsolete macros with their current equivalents; for reference,
see
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
(I removed AC_ISC_POSIX outright because the doc states it is no longer
useful)
* test(1) uses "=" as an operator, not "=="
* Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors
* Don't add redundant libraries to EXTRA_LIBS, because (1) this variable
already contains LibXSLT's own additional system-library deps, and is
useful in that form, and (2) the LibXML2 deps are already handled by
Libtool
* Don't delete files in srcdir, and don't create the symlink to
"Copyright" there either
(I don't understand why this is being symlinked in the first place...)
doc/Makefile.am:
* Can't use wildcards in EXTRA_DIST, because this breaks dependencies
(e.g. you can't "make EXSLT/\*.html"), and they only work properly when
building inside the source tree; these have been replaced with their
expansions. Other entries have been added here in lieu of the wildcards
in the dist-hook target, as well as opportunistic use of the $(*PAGES)
variables.
* Don't define an "all" target, because this steps on Automake's toes; use
"all-local" instead
* Define and use an "xsltproc" variable to reference an in-tree-built
version of xsltproc, instead of e.g. $(bindir)/xsltproc
NOTE: The makefile also uses $(XSLTPROC), which names an external
instance of the program found at configure time. Some instances of this
could probably be changed to $(xsltproc) to remove the dependency on an
existing installed program.
* Qualified various filenames as appropriate with $(srcdir)
* Use $(XMLLINT) consistently instead of $(bindir)/xmllint
* In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking
apibuild.py as this script has to run in srcdir anyway
* In the "clean-local" rule, clear out some additional files to allow
"make distcheck" to pass
* Eliminated the redundant "maintainer-clean-local" rule
* Added a "distclean-local" rule to clear out the build directory in an
out-of-source build to allow "make distcheck" to pass
* Added a "check-extra-dist" target to make it easier to check that
EXTRA_DIST isn't missing anything
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
* Use $(VAR) instead of @VAR@
* The "dist-hook" target didn't work (if any generated files were in
builddir and not in srcdir), and is no longer needed thanks to the
comprehensive EXTRA_DIST variable
* Added an "uninstall-local" rule to allow "make distcheck" to pass
* Updated the .PHONY target list, removed non-existent targets
doc/symbols.xml:
* Needed to add this bit to make the generation scripts shut up
libexslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
(Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake
already references both in the build rules)
* Use $(VAR) instead of @VAR@
libxslt.pc.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
libxslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
libxslt/xsltutils.c:
* Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about
CLOCK_HIGHRES. Some systems, alas, have no usable alternative to
CLOCK_REALTIME.
python/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Because libxslt-py.c is (presumably) supposed to be generated every time
at build time, don't bundle it in the dist tarball
* Use $(VAR) instead of @VAR@
* libxsltclass.py is a generated file, so it doesn't get qualified with
$(srcdir)
* Use $(MKDIR_P) instead of (mkinstalldirs)
* Added an uninstall-local rule so that "make distcheck" passes
* Removed the $(srcdir) qualifications in the GENERATED file list, as
these files may exist in builddir
* In the gen_prog rule, qualify the script invocation with $(srcdir), and
set the SRCDIR environment variable so that the script can find the
files it needs when builddir != srcdir
* Don't define an "all" target, as this steps on Automake's toes
python/generator.py:
* Get the source directory from the SRCDIR environment variable, and use
it appropriately
python/tests/Makefile.am:
* Set CLEANFILES instead of defining a "clean" rule
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
tests/*/Makefile.am, tests/exslt/*/Makefile.am:
* Need to clean up .memdump files for "make distcheck" to pass
* Don't define an "all" target, as this steps on Automake's toes
tests/REC/Makefile.am:
* Added two missing *.stand.out files to EXTRA_DIST
tests/XSLTMark/Makefile.am:
* Replaced the GNU-Make-specific %.out bit with a more broadly compatible
rule
(the "dummy" bit shuts up Automake)
* Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc"
* Use a less $(MAKE)-heavy invocation in the "tests" target
* Replaced a conflicting "clean" target with CLEANFILES
* Added a dependency on $(xsltproc) to all the test targets
* Added a .PHONY target list
tests/docbook/Makefile.am:
* Ditched the "echo -n" bit, because it wasn't working as advertised
* Create output directories for out-of-source builds
* "$(basename $$i)" is a typo in a makefile
* Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can
refer to these files in builddir or srcdir
* Add a trailing "echo" to complete the "echo -n"
* Don't output files unconditionally to srcdir (it may be read-only, for
starters)
tests/plugins/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
(Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here
can be dropped entirely, because these already appear in
xmlsoft_org_xslt_testplugin_la_CFLAGS)
* Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of
EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin
if module support is disabled)
* Need to clean up *.res files for "make distcheck" to pass
* Use the abs_builddir variable conveniently provided to us by Automake
instead of a GNU Make $(shell ...) construct
xslt-config.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
xsltproc/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) into AM_CFLAGS
* Use $(VAR) instead of @VAR@
* Need to clean .memdump for "make distcheck" to pass
* Added rules to build lib[e]xslt.la if needed, which allows test
makefiles to build xsltproc on the fly even if nothing else has been
built already
* Create .memdump file in the "tests" target, as it's being grepped
afterward
2012-08-09 11:46:03 +00:00
|
|
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
|
2008-08-01 08:27:18 +00:00
|
|
|
#ifdef HAVE_LOCALE_H
|
2008-06-03 16:40:54 +00:00
|
|
|
#include <locale.h>
|
2008-08-01 08:27:18 +00:00
|
|
|
#endif
|
|
|
|
#ifdef HAVE_XLOCALE_H
|
2008-06-03 16:40:54 +00:00
|
|
|
#include <xlocale.h>
|
2008-08-01 08:27:18 +00:00
|
|
|
#endif
|
|
|
|
#ifdef HAVE_STRING_H
|
2008-06-03 16:40:54 +00:00
|
|
|
#include <string.h>
|
2008-08-01 08:27:18 +00:00
|
|
|
#endif
|
|
|
|
#ifdef HAVE_STDLIB_H
|
2008-06-03 16:40:54 +00:00
|
|
|
#include <stdlib.h>
|
2008-08-01 08:27:18 +00:00
|
|
|
#endif
|
2008-06-03 16:40:54 +00:00
|
|
|
|
2008-08-01 08:27:18 +00:00
|
|
|
#ifdef __GLIBC__
|
|
|
|
typedef __locale_t xsltLocale;
|
|
|
|
#else
|
|
|
|
typedef locale_t xsltLocale;
|
|
|
|
#endif
|
2008-06-03 16:40:54 +00:00
|
|
|
#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ <= 2
|
|
|
|
#define newlocale __newlocale
|
|
|
|
#define freelocale __freelocale
|
|
|
|
#define strxfrm_l __strxfrm_l
|
|
|
|
#define LC_COLLATE_MASK (1 << LC_COLLATE)
|
|
|
|
#endif
|
2008-06-12 09:43:28 +00:00
|
|
|
]],[[
|
2008-08-01 08:27:18 +00:00
|
|
|
xsltLocale locale;
|
2013-07-30 11:57:28 +00:00
|
|
|
const char *src[2] = { "\xc3\x84rger", "Zeppelin" };
|
|
|
|
char *dst[2];
|
2008-06-03 16:40:54 +00:00
|
|
|
size_t len, r;
|
|
|
|
int i;
|
2008-06-12 09:43:28 +00:00
|
|
|
|
2008-06-03 16:40:54 +00:00
|
|
|
locale = newlocale(LC_COLLATE_MASK, "en_US.utf8", NULL);
|
|
|
|
if (locale == NULL) exit(1);
|
|
|
|
for (i=0; i<2; ++i) {
|
2013-07-30 11:57:28 +00:00
|
|
|
len = strxfrm_l(NULL, src[i], 0, locale) + 1;
|
|
|
|
dst[i] = malloc(len);
|
|
|
|
if(dst[i] == NULL) exit(1);
|
|
|
|
r = strxfrm_l(dst[i], src[i], len, locale);
|
2008-06-03 16:40:54 +00:00
|
|
|
if(r >= len) exit(1);
|
|
|
|
}
|
2013-07-30 11:57:28 +00:00
|
|
|
if (strcmp(dst[0], dst[1]) >= 0) exit(1);
|
2008-06-12 09:43:28 +00:00
|
|
|
|
2008-06-03 16:40:54 +00:00
|
|
|
exit(0);
|
2008-06-12 09:43:28 +00:00
|
|
|
return(0);
|
Various "make distcheck" and other fixes
Makefile.am:
* Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed
variables in Makefile.am files
* Touch these *.xml/*.syms files in the "dist-hook" target to prevent them
from being regenerated, because the "make dist" process in itself
updates the timestamps of the source files when it copies them into
$(distdir)
* Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required
dependency when client applications link against -lxslt
(note that the definition of EXTRA_LIBS has been changed; see below)
* Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU
Make programs
autogen.sh:
* Add --warnings=all options to automake and autoconf invocations, to
better catch potential problems (most of which I've fixed in this patch)
configure.in:
* Replaced obsolete macros with their current equivalents; for reference,
see
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
(I removed AC_ISC_POSIX outright because the doc states it is no longer
useful)
* test(1) uses "=" as an operator, not "=="
* Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors
* Don't add redundant libraries to EXTRA_LIBS, because (1) this variable
already contains LibXSLT's own additional system-library deps, and is
useful in that form, and (2) the LibXML2 deps are already handled by
Libtool
* Don't delete files in srcdir, and don't create the symlink to
"Copyright" there either
(I don't understand why this is being symlinked in the first place...)
doc/Makefile.am:
* Can't use wildcards in EXTRA_DIST, because this breaks dependencies
(e.g. you can't "make EXSLT/\*.html"), and they only work properly when
building inside the source tree; these have been replaced with their
expansions. Other entries have been added here in lieu of the wildcards
in the dist-hook target, as well as opportunistic use of the $(*PAGES)
variables.
* Don't define an "all" target, because this steps on Automake's toes; use
"all-local" instead
* Define and use an "xsltproc" variable to reference an in-tree-built
version of xsltproc, instead of e.g. $(bindir)/xsltproc
NOTE: The makefile also uses $(XSLTPROC), which names an external
instance of the program found at configure time. Some instances of this
could probably be changed to $(xsltproc) to remove the dependency on an
existing installed program.
* Qualified various filenames as appropriate with $(srcdir)
* Use $(XMLLINT) consistently instead of $(bindir)/xmllint
* In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking
apibuild.py as this script has to run in srcdir anyway
* In the "clean-local" rule, clear out some additional files to allow
"make distcheck" to pass
* Eliminated the redundant "maintainer-clean-local" rule
* Added a "distclean-local" rule to clear out the build directory in an
out-of-source build to allow "make distcheck" to pass
* Added a "check-extra-dist" target to make it easier to check that
EXTRA_DIST isn't missing anything
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
* Use $(VAR) instead of @VAR@
* The "dist-hook" target didn't work (if any generated files were in
builddir and not in srcdir), and is no longer needed thanks to the
comprehensive EXTRA_DIST variable
* Added an "uninstall-local" rule to allow "make distcheck" to pass
* Updated the .PHONY target list, removed non-existent targets
doc/symbols.xml:
* Needed to add this bit to make the generation scripts shut up
libexslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
(Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake
already references both in the build rules)
* Use $(VAR) instead of @VAR@
libxslt.pc.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
libxslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
libxslt/xsltutils.c:
* Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about
CLOCK_HIGHRES. Some systems, alas, have no usable alternative to
CLOCK_REALTIME.
python/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Because libxslt-py.c is (presumably) supposed to be generated every time
at build time, don't bundle it in the dist tarball
* Use $(VAR) instead of @VAR@
* libxsltclass.py is a generated file, so it doesn't get qualified with
$(srcdir)
* Use $(MKDIR_P) instead of (mkinstalldirs)
* Added an uninstall-local rule so that "make distcheck" passes
* Removed the $(srcdir) qualifications in the GENERATED file list, as
these files may exist in builddir
* In the gen_prog rule, qualify the script invocation with $(srcdir), and
set the SRCDIR environment variable so that the script can find the
files it needs when builddir != srcdir
* Don't define an "all" target, as this steps on Automake's toes
python/generator.py:
* Get the source directory from the SRCDIR environment variable, and use
it appropriately
python/tests/Makefile.am:
* Set CLEANFILES instead of defining a "clean" rule
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
tests/*/Makefile.am, tests/exslt/*/Makefile.am:
* Need to clean up .memdump files for "make distcheck" to pass
* Don't define an "all" target, as this steps on Automake's toes
tests/REC/Makefile.am:
* Added two missing *.stand.out files to EXTRA_DIST
tests/XSLTMark/Makefile.am:
* Replaced the GNU-Make-specific %.out bit with a more broadly compatible
rule
(the "dummy" bit shuts up Automake)
* Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc"
* Use a less $(MAKE)-heavy invocation in the "tests" target
* Replaced a conflicting "clean" target with CLEANFILES
* Added a dependency on $(xsltproc) to all the test targets
* Added a .PHONY target list
tests/docbook/Makefile.am:
* Ditched the "echo -n" bit, because it wasn't working as advertised
* Create output directories for out-of-source builds
* "$(basename $$i)" is a typo in a makefile
* Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can
refer to these files in builddir or srcdir
* Add a trailing "echo" to complete the "echo -n"
* Don't output files unconditionally to srcdir (it may be read-only, for
starters)
tests/plugins/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
(Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here
can be dropped entirely, because these already appear in
xmlsoft_org_xslt_testplugin_la_CFLAGS)
* Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of
EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin
if module support is disabled)
* Need to clean up *.res files for "make distcheck" to pass
* Use the abs_builddir variable conveniently provided to us by Automake
instead of a GNU Make $(shell ...) construct
xslt-config.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
xsltproc/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) into AM_CFLAGS
* Use $(VAR) instead of @VAR@
* Need to clean .memdump for "make distcheck" to pass
* Added rules to build lib[e]xslt.la if needed, which allows test
makefiles to build xsltproc on the fly even if nothing else has been
built already
* Create .memdump file in the "tests" target, as it's being grepped
afterward
2012-08-09 11:46:03 +00:00
|
|
|
]])],
|
2008-06-12 09:43:28 +00:00
|
|
|
[AC_MSG_RESULT(yes); XSLT_LOCALE_XLOCALE=1],
|
2008-08-01 08:27:18 +00:00
|
|
|
[AC_MSG_RESULT(no)]
|
2008-06-03 16:40:54 +00:00
|
|
|
)
|
2008-06-12 09:43:28 +00:00
|
|
|
else
|
2008-08-01 08:27:18 +00:00
|
|
|
case "$host" in
|
|
|
|
*-*-mingw*)
|
|
|
|
AC_MSG_NOTICE([using winapi locale])
|
|
|
|
XSLT_LOCALE_WINAPI=1;;
|
|
|
|
esac
|
2008-06-12 09:43:28 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
AC_SUBST(XSLT_LOCALE_XLOCALE)
|
2008-08-01 08:27:18 +00:00
|
|
|
AC_SUBST(XSLT_LOCALE_WINAPI)
|
2008-06-03 16:40:54 +00:00
|
|
|
|
2001-01-25 11:16:26 +00:00
|
|
|
dnl
|
|
|
|
dnl Math detection
|
|
|
|
dnl
|
|
|
|
|
2001-04-11 12:30:25 +00:00
|
|
|
AC_CHECK_HEADERS(ieeefp.h nan.h math.h fp_class.h float.h ansidecl.h)
|
2004-07-04 13:53:02 +00:00
|
|
|
AC_CHECK_HEADERS(sys/timeb.h time.h sys/stat.h sys/select.h stdarg.h)
|
2020-07-03 01:19:02 +00:00
|
|
|
AC_CHECK_HEADERS(errno.h)
|
2001-08-23 21:20:28 +00:00
|
|
|
AC_CHECK_FUNCS(stat _stat)
|
2001-01-25 11:16:26 +00:00
|
|
|
AC_CHECK_FUNC(pow, , AC_CHECK_LIB(m, pow,
|
2011-05-18 06:50:50 +00:00
|
|
|
[M_LIBS="-lm"; AC_DEFINE([HAVE_POW],[], [Define if pow is there])]))
|
2001-01-25 11:16:26 +00:00
|
|
|
|
2002-01-14 09:36:51 +00:00
|
|
|
AC_CHECK_FUNC(floor, , AC_CHECK_LIB(m, floor,
|
2011-05-18 06:50:50 +00:00
|
|
|
[M_LIBS="-lm"; AC_DEFINE([HAVE_FLOOR],[], [Define if floor is there])]))
|
2001-01-25 11:16:26 +00:00
|
|
|
|
2002-01-14 09:36:51 +00:00
|
|
|
AC_CHECK_FUNC(fabs, , AC_CHECK_LIB(m, fabs,
|
2011-05-18 06:50:50 +00:00
|
|
|
[M_LIBS="-lm"; AC_DEFINE([HAVE_FABS],[], [Define if fabs is there])]))
|
2010-03-08 12:58:00 +00:00
|
|
|
|
|
|
|
|
2001-07-07 21:24:06 +00:00
|
|
|
AC_CHECK_FUNCS(gettimeofday)
|
2012-02-26 16:36:27 +00:00
|
|
|
AC_CHECK_FUNCS(mktime localtime localtime_r asctime time gmtime gmtime_r ftime)
|
2001-01-25 11:16:26 +00:00
|
|
|
|
2002-11-04 17:04:59 +00:00
|
|
|
dnl Checking the standard string functions availability
|
|
|
|
AC_CHECK_FUNCS(printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf,,
|
|
|
|
NEED_TRIO=1)
|
2004-10-15 05:46:56 +00:00
|
|
|
|
2010-03-08 12:58:00 +00:00
|
|
|
dnl Checking for POSIX timers
|
|
|
|
AC_CHECK_FUNCS(clock_gettime, [], [
|
|
|
|
AC_CHECK_LIB(rt, clock_gettime, [
|
|
|
|
AC_DEFINE(HAVE_CLOCK_GETTIME, 1)
|
|
|
|
EXTRA_LIBS="$EXTRA_LIBS -lrt"
|
|
|
|
])
|
|
|
|
])
|
|
|
|
|
2002-11-04 17:04:59 +00:00
|
|
|
dnl
|
|
|
|
dnl Check for trio string functions
|
|
|
|
dnl
|
|
|
|
|
|
|
|
if test "${NEED_TRIO}" = "1" ; then
|
|
|
|
echo Reusing trio library for string functions
|
|
|
|
WITH_TRIO=1
|
|
|
|
else
|
|
|
|
WITH_TRIO=0
|
|
|
|
fi
|
|
|
|
AC_SUBST(WITH_TRIO)
|
|
|
|
|
2004-07-04 13:53:02 +00:00
|
|
|
dnl
|
|
|
|
dnl Some packages need to be checked against version numbers so we
|
|
|
|
dnl define a function here for later use
|
|
|
|
dnl
|
2005-01-09 15:43:24 +00:00
|
|
|
AC_DEFUN([VERSION_TO_NUMBER],
|
2004-07-04 13:53:02 +00:00
|
|
|
[`$1 | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'`])
|
|
|
|
|
2001-05-11 14:23:17 +00:00
|
|
|
dnl
|
|
|
|
dnl Perl is just needed for generating some data for XSLtmark
|
|
|
|
dnl
|
|
|
|
|
2001-05-20 18:57:32 +00:00
|
|
|
AC_CHECK_PROG(PERL, perl, perl, false)
|
|
|
|
AM_CONDITIONAL(WITH_PERL, test "$PERL" != "false")
|
2001-01-25 11:16:26 +00:00
|
|
|
|
2002-02-04 18:51:53 +00:00
|
|
|
dnl
|
|
|
|
dnl check for python
|
|
|
|
dnl
|
|
|
|
|
|
|
|
PYTHON_VERSION=
|
|
|
|
PYTHON_INCLUDES=
|
|
|
|
PYTHON_SITE_PACKAGES=
|
2003-05-15 20:28:53 +00:00
|
|
|
pythondir=
|
2002-02-04 18:51:53 +00:00
|
|
|
AC_ARG_WITH(python, [ --with-python[=DIR] Build Python bindings if found])
|
|
|
|
if test "$with_python" != "no" ; then
|
2003-02-25 15:20:58 +00:00
|
|
|
if test -x "$with_python/bin/python"
|
2002-02-04 18:51:53 +00:00
|
|
|
then
|
2003-02-25 15:20:58 +00:00
|
|
|
echo Found python in $with_python/bin/python
|
|
|
|
PYTHON="$with_python/bin/python"
|
2002-02-04 18:51:53 +00:00
|
|
|
else
|
2003-02-25 15:20:58 +00:00
|
|
|
if test -x "$with_python"
|
|
|
|
then
|
|
|
|
echo Found python in $with_python
|
|
|
|
PYTHON="$with_python"
|
|
|
|
else
|
2006-04-25 13:14:09 +00:00
|
|
|
if test -x "$PYTHON"
|
|
|
|
then
|
|
|
|
echo Found python in environment PYTHON=$PYTHON
|
|
|
|
with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`
|
2005-09-10 12:34:55 +00:00
|
|
|
else
|
2006-04-25 13:14:09 +00:00
|
|
|
AC_PATH_PROG(PYTHON, python python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5)
|
2005-09-10 12:34:55 +00:00
|
|
|
fi
|
2003-02-25 15:20:58 +00:00
|
|
|
fi
|
2002-02-04 18:51:53 +00:00
|
|
|
fi
|
|
|
|
if test "$PYTHON" != ""
|
|
|
|
then
|
2006-12-11 11:11:06 +00:00
|
|
|
echo "PYTHON is pointing at $PYTHON"
|
2002-02-04 18:51:53 +00:00
|
|
|
PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[[0:3]]"`
|
|
|
|
echo Found Python version $PYTHON_VERSION
|
2003-10-15 15:31:56 +00:00
|
|
|
LIBXML2_PYTHON=`$PYTHON -c "try : import libxml2 ; print 1
|
2002-02-05 16:37:05 +00:00
|
|
|
except: print 0"`
|
2002-02-09 18:06:02 +00:00
|
|
|
if test "$LIBXML2_PYTHON" = "1"
|
2002-02-05 16:37:05 +00:00
|
|
|
then
|
|
|
|
echo Found libxml2-python module
|
|
|
|
else
|
2002-08-01 12:30:37 +00:00
|
|
|
echo Warning: Missing libxml2-python
|
2002-02-05 16:37:05 +00:00
|
|
|
fi
|
2002-02-04 18:51:53 +00:00
|
|
|
fi
|
2002-08-01 12:30:37 +00:00
|
|
|
if test "$PYTHON_VERSION" != ""
|
2002-02-04 18:51:53 +00:00
|
|
|
then
|
|
|
|
if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
|
|
|
|
-d $with_python/lib/python$PYTHON_VERSION/site-packages
|
|
|
|
then
|
|
|
|
PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
|
2006-11-23 14:32:26 +00:00
|
|
|
PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages'
|
2002-02-04 18:51:53 +00:00
|
|
|
else
|
|
|
|
if test -r $prefix/include/python$PYTHON_VERSION/Python.h
|
|
|
|
then
|
2006-04-25 13:14:09 +00:00
|
|
|
PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
|
2006-05-01 21:25:09 +00:00
|
|
|
PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages'
|
2002-02-04 18:51:53 +00:00
|
|
|
else
|
|
|
|
if test -r /usr/include/python$PYTHON_VERSION/Python.h
|
|
|
|
then
|
|
|
|
PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
|
2006-05-01 21:25:09 +00:00
|
|
|
PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages'
|
2002-02-04 18:51:53 +00:00
|
|
|
else
|
|
|
|
echo could not find python$PYTHON_VERSION/Python.h
|
|
|
|
fi
|
|
|
|
fi
|
2004-01-06 15:41:32 +00:00
|
|
|
if test ! -d "$PYTHON_SITE_PACKAGES"
|
2002-08-14 16:56:52 +00:00
|
|
|
then
|
|
|
|
PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
|
|
|
|
fi
|
2002-02-04 18:51:53 +00:00
|
|
|
fi
|
2009-09-24 16:16:07 +00:00
|
|
|
PYTHON_LIBS=`python$PYTHON_VERSION-config --libs`
|
2002-02-04 18:51:53 +00:00
|
|
|
fi
|
2003-05-15 20:28:53 +00:00
|
|
|
if test "$with_python" != ""
|
|
|
|
then
|
2006-06-01 13:04:44 +00:00
|
|
|
pythondir='$(PYTHON_SITE_PACKAGES)'
|
2003-05-15 20:28:53 +00:00
|
|
|
else
|
2006-05-01 21:25:09 +00:00
|
|
|
pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
|
2003-05-15 20:28:53 +00:00
|
|
|
fi
|
2002-02-04 18:51:53 +00:00
|
|
|
fi
|
|
|
|
AM_CONDITIONAL(WITH_PYTHON, test "$PYTHON_INCLUDES" != "")
|
2002-09-23 08:16:17 +00:00
|
|
|
if test "$PYTHON_INCLUDES" != ""
|
|
|
|
then
|
|
|
|
PYTHON_SUBDIR=python
|
|
|
|
else
|
|
|
|
PYTHON_SUBDIR=
|
|
|
|
fi
|
2003-05-15 20:28:53 +00:00
|
|
|
AC_SUBST(pythondir)
|
2002-09-23 08:16:17 +00:00
|
|
|
AC_SUBST(PYTHON_SUBDIR)
|
2009-09-24 16:16:07 +00:00
|
|
|
AC_SUBST(PYTHON_LIBS)
|
2002-02-04 18:51:53 +00:00
|
|
|
|
2004-07-16 10:17:29 +00:00
|
|
|
AC_ARG_WITH(crypto, [ --with-crypto Add crypto support to exslt (on)])
|
|
|
|
WITH_CRYPTO=0
|
2013-08-01 16:03:21 +00:00
|
|
|
CRYPTO_TESTDIR=
|
2004-07-16 10:17:29 +00:00
|
|
|
if test "$with_crypto" = "no" ; then
|
|
|
|
echo Disabling crypto support
|
2004-07-04 13:53:02 +00:00
|
|
|
LIBGCRYPT_CFLAGS=""
|
|
|
|
LIBGCRYPT_LIBS=""
|
2004-06-30 16:43:53 +00:00
|
|
|
else
|
2012-05-27 13:53:51 +00:00
|
|
|
case $host in
|
|
|
|
*-mingw*)
|
|
|
|
dnl Use only native crypto-API for mingw* hosts
|
|
|
|
dnl TODO: to implement --with-crypto=foo to allow switch between
|
|
|
|
dnl crypto libraries
|
|
|
|
WITH_CRYPTO=1
|
2013-08-01 16:03:21 +00:00
|
|
|
CRYPTO_TESTDIR=crypto
|
2012-05-27 13:53:51 +00:00
|
|
|
;;
|
|
|
|
*)
|
2014-09-03 09:21:01 +00:00
|
|
|
AC_PATH_TOOL(LIBGCRYPT_CONFIG, libgcrypt-config, no)
|
2004-07-16 10:17:29 +00:00
|
|
|
if test "$LIBGCRYPT_CONFIG" != "no" ; then
|
|
|
|
LIBGCRYPT_VERSION=`$LIBGCRYPT_CONFIG --version`
|
|
|
|
if test VERSION_TO_NUMBER(echo $LIBGCRYPT_VERSION) -lt VERSION_TO_NUMBER(echo "1.1.42")
|
|
|
|
then
|
|
|
|
LIBGCRYPT_CFLAGS=""
|
|
|
|
LIBGCRYPT_LIBS=""
|
2007-11-29 10:45:29 +00:00
|
|
|
echo 'gcrypt library version < 1.1.42 - Crypto extensions will not be available.'
|
2004-07-16 10:17:29 +00:00
|
|
|
else
|
|
|
|
LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --cflags`
|
|
|
|
LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --libs`
|
|
|
|
AC_DEFINE(HAVE_GCRYPT, 1, [Define if gcrypt library is available.])
|
2007-11-29 10:45:29 +00:00
|
|
|
echo 'Crypto extensions will be available.'
|
2013-08-01 16:03:21 +00:00
|
|
|
WITH_CRYPTO=1
|
|
|
|
CRYPTO_TESTDIR=crypto
|
2004-07-16 10:17:29 +00:00
|
|
|
fi
|
|
|
|
else
|
|
|
|
LIBGCRYPT_CFLAGS=""
|
|
|
|
LIBGCRYPT_LIBS=""
|
2007-11-29 10:45:29 +00:00
|
|
|
echo 'Crypto extensions will not be available. Install libgcrypt and reconfigure to make available.'
|
2004-07-16 10:17:29 +00:00
|
|
|
fi
|
2012-05-27 13:53:51 +00:00
|
|
|
esac
|
2004-06-30 16:43:53 +00:00
|
|
|
fi
|
2004-07-16 10:17:29 +00:00
|
|
|
AC_SUBST(WITH_CRYPTO)
|
2013-08-01 16:03:21 +00:00
|
|
|
AC_SUBST(CRYPTO_TESTDIR)
|
2004-06-30 16:43:53 +00:00
|
|
|
AC_SUBST(LIBGCRYPT_CFLAGS)
|
|
|
|
AC_SUBST(LIBGCRYPT_LIBS)
|
2004-07-16 10:17:29 +00:00
|
|
|
|
2001-01-08 18:57:17 +00:00
|
|
|
dnl
|
2001-05-22 14:59:48 +00:00
|
|
|
dnl Debug for DV (-Wunreachable-code)
|
2001-01-08 18:57:17 +00:00
|
|
|
dnl
|
2003-10-17 04:49:04 +00:00
|
|
|
if [[ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XSLT" ]] || \
|
added new function replace from Joel Reed. added new test case for above.
* libexslt/strings.c: added new function replace from Joel
Reed.
* tests/exslt/Makefile.am, replace.1.xml, replace.1.xsl,
replace.1.out: added new test case for above.
* libxslt.spec.in: trivial change from Gnome to GNOME
* configure.in: trivial change for flags on my compilations
* libxslt/documents.c, libxslt/documents.h, libxslt/keys.c,
libxslt/keys.h, libxslt/variables.c, libxslt/templates.c,
libxslt/transform.c, libxslt/variables.c, libxslt/xslt.c,
libxslt/xsltutils.c: fixed some documentation/comments and
compilation warnings - no change to logic.
* re-generated the documentation.
svn path=/trunk/; revision=1413
2007-01-11 03:13:13 +00:00
|
|
|
[[ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxslt" ]]
|
2003-10-17 04:49:04 +00:00
|
|
|
then
|
2004-08-06 18:12:26 +00:00
|
|
|
if test "${with_mem_debug}" = "" ;
|
|
|
|
then
|
2001-01-08 18:57:17 +00:00
|
|
|
with_mem_debug="yes"
|
|
|
|
fi
|
2020-07-03 01:19:02 +00:00
|
|
|
CFLAGS="-Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat=2 -Wmissing-format-attribute -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline "
|
2001-01-08 18:57:17 +00:00
|
|
|
fi
|
2001-01-17 16:47:36 +00:00
|
|
|
|
2001-04-22 20:31:17 +00:00
|
|
|
AC_ARG_WITH(debug, [ --with-debug Add the debugging code (on)])
|
2001-04-29 09:52:50 +00:00
|
|
|
if test "$with_debug" = "no" ; then
|
2001-04-22 20:31:17 +00:00
|
|
|
echo Disabling debug support
|
|
|
|
WITH_XSLT_DEBUG=0
|
|
|
|
else
|
|
|
|
WITH_XSLT_DEBUG=1
|
|
|
|
fi
|
|
|
|
AC_SUBST(WITH_XSLT_DEBUG)
|
|
|
|
|
2001-01-08 18:57:17 +00:00
|
|
|
AC_ARG_WITH(mem_debug, [ --with-mem-debug Add the memory debugging module (off)])
|
|
|
|
if test "$with_mem_debug" = "yes" ; then
|
|
|
|
echo Enabling memory debug support
|
|
|
|
WITH_MEM_DEBUG=1
|
|
|
|
else
|
|
|
|
WITH_MEM_DEBUG=0
|
|
|
|
fi
|
|
|
|
AC_SUBST(WITH_MEM_DEBUG)
|
|
|
|
|
2001-11-05 13:34:01 +00:00
|
|
|
dnl
|
|
|
|
dnl Is debugger support requested
|
|
|
|
dnl
|
2008-07-26 19:42:39 +00:00
|
|
|
AC_ARG_WITH(debugger, [ --with-debugger Add the debugging support (on)])
|
2001-11-05 13:34:01 +00:00
|
|
|
if test "$with_debugger" = "no" ; then
|
|
|
|
echo Disabling debugger
|
|
|
|
WITH_DEBUGGER=0
|
|
|
|
else
|
|
|
|
echo Enabling debugger
|
|
|
|
WITH_DEBUGGER=1
|
2011-05-18 06:50:50 +00:00
|
|
|
AC_DEFINE([WITH_DEBUGGER],[], [Define if debugging support is enabled])
|
2001-11-05 13:34:01 +00:00
|
|
|
fi
|
|
|
|
AC_SUBST(WITH_DEBUGGER)
|
|
|
|
|
2001-01-07 14:01:28 +00:00
|
|
|
dnl
|
|
|
|
dnl The following new parameters were added to offer
|
|
|
|
dnl the ability to specify the location of the libxml
|
|
|
|
dnl library during linking and compilation.
|
|
|
|
dnl
|
2001-10-30 18:33:50 +00:00
|
|
|
dnl original work - Mathieu Lacage 30/03/2000
|
2010-03-08 12:58:00 +00:00
|
|
|
dnl some tweaking - David Härdeman 30/10/2001
|
2001-10-30 18:33:50 +00:00
|
|
|
dnl
|
|
|
|
|
|
|
|
LIBXML_CONFIG_PREFIX=""
|
|
|
|
LIBXML_SRC=""
|
|
|
|
|
2001-01-07 14:01:28 +00:00
|
|
|
AC_ARG_WITH(libxml-prefix,
|
2001-10-30 18:33:50 +00:00
|
|
|
[ --with-libxml-prefix=[PFX] Specify location of libxml config],
|
|
|
|
LIBXML_CONFIG_PREFIX=$withval
|
2001-01-07 14:01:28 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_WITH(libxml-include-prefix,
|
|
|
|
[ --with-libxml-include-prefix=[PFX] Specify location of libxml headers],
|
|
|
|
LIBXML_CFLAGS="-I$withval"
|
|
|
|
)
|
|
|
|
|
|
|
|
AC_ARG_WITH(libxml-libs-prefix,
|
|
|
|
[ --with-libxml-libs-prefix=[PFX] Specify location of libxml libs],
|
2001-10-04 13:29:22 +00:00
|
|
|
LIBXML_LIBS="-L$withval"
|
2001-01-07 14:01:28 +00:00
|
|
|
)
|
|
|
|
|
2001-10-30 18:33:50 +00:00
|
|
|
AC_ARG_WITH(libxml-src,
|
|
|
|
[ --with-libxml-src=[DIR] For libxml thats not installed yet (sets all three above)],
|
|
|
|
LIBXML_SRC="$withval"
|
|
|
|
)
|
2003-10-28 14:33:17 +00:00
|
|
|
AC_SUBST(LIBXML_SRC)
|
2001-01-07 14:01:28 +00:00
|
|
|
|
|
|
|
dnl
|
2001-10-30 18:33:50 +00:00
|
|
|
dnl where is xml2-config
|
2001-01-07 14:01:28 +00:00
|
|
|
dnl
|
2001-10-30 18:33:50 +00:00
|
|
|
|
2001-07-23 21:47:41 +00:00
|
|
|
AC_SUBST(LIBXML_REQUIRED_VERSION)
|
2001-06-18 13:45:59 +00:00
|
|
|
AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION)
|
2001-10-30 18:33:50 +00:00
|
|
|
if test "x$LIBXML_CONFIG_PREFIX" != "x"
|
|
|
|
then
|
2014-09-03 09:21:01 +00:00
|
|
|
AC_PATH_TOOL([XML_CONFIG], [xml2-config], [false], [${LIBXML_CONFIG_PREFIX}/bin])
|
2001-10-30 18:33:50 +00:00
|
|
|
else
|
2014-09-03 09:21:01 +00:00
|
|
|
AC_PATH_TOOL([XML_CONFIG], [xml2-config], [false])
|
2001-10-30 18:33:50 +00:00
|
|
|
fi
|
|
|
|
|
2002-04-14 13:35:25 +00:00
|
|
|
dnl
|
|
|
|
dnl imported from libxml2, c.f. #77827
|
|
|
|
dnl
|
|
|
|
if test "${GCC}" != "yes" ; then
|
|
|
|
case "${host}" in
|
|
|
|
*-*-hpux* )
|
|
|
|
CFLAGS="${CFLAGS} -Wp,-H30000"
|
|
|
|
;;
|
|
|
|
*-dec-osf* )
|
|
|
|
CFLAGS="${CFLAGS} -ieee"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
else
|
2020-07-03 01:19:02 +00:00
|
|
|
CFLAGS="${CFLAGS} -Wall -Wformat=2 -Wmissing-format-attribute"
|
2002-04-14 13:35:25 +00:00
|
|
|
case "${host}" in
|
|
|
|
alpha*-*-linux* )
|
|
|
|
CFLAGS="${CFLAGS} -mieee"
|
|
|
|
;;
|
|
|
|
alpha*-*-osf* )
|
|
|
|
CFLAGS="${CFLAGS} -mieee"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
|
2001-10-30 18:33:50 +00:00
|
|
|
dnl
|
|
|
|
dnl Override other variables if LIBXML_SRC is set
|
|
|
|
dnl
|
|
|
|
|
|
|
|
if test "x$LIBXML_SRC" != "x"
|
2001-01-07 14:01:28 +00:00
|
|
|
then
|
2001-10-30 18:33:50 +00:00
|
|
|
CWD=`pwd`
|
|
|
|
if cd $LIBXML_SRC
|
2001-01-07 14:01:28 +00:00
|
|
|
then
|
2001-10-30 18:33:50 +00:00
|
|
|
SRC_DIR=`pwd`
|
|
|
|
XML_CONFIG=${SRC_DIR}/xml2-config
|
|
|
|
LIBXML_CFLAGS="-I${SRC_DIR}/include"
|
|
|
|
LIBXML_LIBS="-L${SRC_DIR}"
|
|
|
|
cd $CWD
|
2001-01-07 14:01:28 +00:00
|
|
|
else
|
2001-10-30 18:33:50 +00:00
|
|
|
AC_MSG_ERROR([libxml source dir not found (${LIBXML_SRC}), typo?])
|
2001-01-07 14:01:28 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
dnl
|
2001-10-30 18:33:50 +00:00
|
|
|
dnl make sure xml2-config is executable,
|
2001-01-07 14:01:28 +00:00
|
|
|
dnl test version and init our variables
|
|
|
|
dnl
|
2001-10-30 18:33:50 +00:00
|
|
|
|
|
|
|
if ${XML_CONFIG} --libs print > /dev/null 2>&1
|
2001-01-07 14:01:28 +00:00
|
|
|
then
|
2001-10-30 18:33:50 +00:00
|
|
|
XMLVERS=`$XML_CONFIG --version`
|
|
|
|
if test VERSION_TO_NUMBER(echo $XMLVERS) -ge VERSION_TO_NUMBER(echo $LIBXML_REQUIRED_VERSION)
|
2001-01-07 14:01:28 +00:00
|
|
|
then
|
2001-10-30 18:33:50 +00:00
|
|
|
AC_MSG_RESULT($XMLVERS found)
|
2001-01-07 14:01:28 +00:00
|
|
|
else
|
2001-10-30 18:33:50 +00:00
|
|
|
AC_MSG_ERROR(Version $XMLVERS found. You need at least libxml2 $LIBXML_REQUIRED_VERSION for this version of libxslt)
|
2001-01-07 14:01:28 +00:00
|
|
|
fi
|
2010-01-23 17:01:41 +00:00
|
|
|
LIBXML_LIBS="$LIBXML_LIBS `$XML_CONFIG --libs`"
|
|
|
|
if test "x$LIBXML_SRC" = "x"; then
|
|
|
|
LIBXML_CFLAGS="$LIBXML_CFLAGS `$XML_CONFIG --cflags`"
|
|
|
|
fi
|
2001-01-07 14:01:28 +00:00
|
|
|
else
|
2001-10-30 18:33:50 +00:00
|
|
|
AC_MSG_ERROR([Could not find libxml2 anywhere, check ftp://xmlsoft.org/.])
|
2001-01-07 14:01:28 +00:00
|
|
|
fi
|
|
|
|
|
2001-10-30 18:33:50 +00:00
|
|
|
|
|
|
|
AC_SUBST(CFLAGS)
|
|
|
|
AC_SUBST(CPPFLAGS)
|
|
|
|
AC_SUBST(LDFLAGS)
|
|
|
|
|
2005-01-09 15:43:24 +00:00
|
|
|
AC_ARG_WITH(plugins,
|
|
|
|
[ --with-plugins Add plugin extension support (on)])
|
|
|
|
if test "$with_plugins" = ""
|
|
|
|
then
|
|
|
|
with_plugins=yes
|
|
|
|
fi
|
|
|
|
|
2005-01-19 12:59:19 +00:00
|
|
|
AC_MSG_CHECKING([whether shared libraries will be built (required for plugins)])
|
|
|
|
if test "$enable_shared" = "no" -a "$with_plugins" = "yes"; then
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
AC_MSG_WARN([Disabling plugin support.])
|
|
|
|
AC_MSG_WARN([Plugins require that shared libraries be built.])
|
|
|
|
with_plugins=no
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
fi
|
|
|
|
|
2005-01-09 15:43:24 +00:00
|
|
|
if test "$with_plugins" = "yes" ; then
|
|
|
|
AC_MSG_CHECKING([libxml2 module support])
|
|
|
|
WITH_MODULES="`$XML_CONFIG --modules`"
|
|
|
|
if test "${WITH_MODULES}" = "1"; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
WITH_MODULES="0"
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
WITH_MODULES="0"
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_SUBST(WITH_MODULES)
|
2007-01-17 14:40:20 +00:00
|
|
|
AM_CONDITIONAL(WITH_MODULES, test "$WITH_MODULES" = "1")
|
2005-01-09 15:43:24 +00:00
|
|
|
|
|
|
|
dnl
|
|
|
|
dnl setup default module path
|
|
|
|
dnl
|
2020-07-03 01:19:02 +00:00
|
|
|
expanded_libdir=$(
|
|
|
|
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
|
|
|
|
test "x$exec_prefix" = xNONE && exec_prefix="$prefix"
|
|
|
|
while test "$libdir_old" != "$libdir"; do
|
|
|
|
libdir_old="$libdir"
|
|
|
|
eval libdir="$libdir"
|
|
|
|
done
|
|
|
|
echo "$libdir"
|
|
|
|
)
|
|
|
|
LIBXSLT_DEFAULT_PLUGINS_PATH="$expanded_libdir/libxslt-plugins"
|
2005-01-09 15:43:24 +00:00
|
|
|
AC_SUBST(LIBXSLT_DEFAULT_PLUGINS_PATH)
|
|
|
|
|
2003-08-18 22:41:26 +00:00
|
|
|
WIN32_EXTRA_LIBADD=
|
|
|
|
WIN32_EXTRA_LDFLAGS=
|
|
|
|
case "$host" in
|
2008-11-14 14:08:37 +00:00
|
|
|
*-*-cygwin*)
|
|
|
|
WIN32_EXTRA_LDFLAGS="-no-undefined"
|
|
|
|
;;
|
2003-08-18 22:41:26 +00:00
|
|
|
*-*-mingw*)
|
|
|
|
WIN32_EXTRA_LIBADD="-lwsock32"
|
|
|
|
WIN32_EXTRA_LDFLAGS="-no-undefined"
|
|
|
|
AC_DEFINE([_WINSOCKAPI_],1,[Using the Win32 Socket implementation])
|
|
|
|
AC_DEFINE([snprintf],[_snprintf],[Win32 Std C name mangling work-around])
|
|
|
|
AC_DEFINE([vsnprintf],[_vsnprintf],[Win32 Std C name mangling work-around])
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
AC_SUBST(WIN32_EXTRA_LIBADD)
|
|
|
|
AC_SUBST(WIN32_EXTRA_LDFLAGS)
|
|
|
|
|
|
|
|
|
2002-01-17 09:35:52 +00:00
|
|
|
AC_SUBST(XSLTPROCDV)
|
2002-02-05 23:23:15 +00:00
|
|
|
AC_SUBST(PYTHONSODV)
|
2001-01-07 14:01:28 +00:00
|
|
|
AC_SUBST(XML_CONFIG)
|
|
|
|
AC_SUBST(LIBXML_LIBS)
|
|
|
|
AC_SUBST(LIBXML_CFLAGS)
|
2002-02-04 18:51:53 +00:00
|
|
|
AC_SUBST(PYTHON)
|
|
|
|
AC_SUBST(PYTHON_VERSION)
|
|
|
|
AC_SUBST(PYTHON_INCLUDES)
|
|
|
|
AC_SUBST(PYTHON_SITE_PACKAGES)
|
2001-01-07 14:01:28 +00:00
|
|
|
|
|
|
|
XSLT_LIBDIR='-L${libdir}'
|
|
|
|
XSLT_INCLUDEDIR='-I${includedir}'
|
2001-11-30 12:01:25 +00:00
|
|
|
XSLT_LIBS="-lxslt $LIBXML_LIBS $M_LIBS"
|
2001-01-07 14:01:28 +00:00
|
|
|
AC_SUBST(XSLT_LIBDIR)
|
|
|
|
AC_SUBST(XSLT_INCLUDEDIR)
|
2003-11-14 17:46:01 +00:00
|
|
|
AC_SUBST(XSLT_LIBS)
|
|
|
|
|
|
|
|
EXSLT_LIBDIR='-L${libdir}'
|
|
|
|
EXSLT_INCLUDEDIR='-I${includedir}'
|
2004-06-30 16:43:53 +00:00
|
|
|
EXSLT_LIBS="-lexslt $XSLT_LIBS $LIBGCRYPT_LIBS"
|
2003-11-14 17:46:01 +00:00
|
|
|
AC_SUBST(EXSLT_LIBDIR)
|
|
|
|
AC_SUBST(EXSLT_INCLUDEDIR)
|
|
|
|
AC_SUBST(EXSLT_LIBS)
|
|
|
|
|
2001-01-25 11:16:26 +00:00
|
|
|
AC_SUBST(EXTRA_LIBS)
|
2003-11-14 17:46:01 +00:00
|
|
|
|
2001-11-22 11:13:21 +00:00
|
|
|
AC_SUBST(M_LIBS)
|
2001-01-07 14:01:28 +00:00
|
|
|
|
2002-11-25 16:31:39 +00:00
|
|
|
dnl for the spec file
|
|
|
|
RELDATE=`date +'%a %b %e %Y'`
|
|
|
|
AC_SUBST(RELDATE)
|
|
|
|
|
Various "make distcheck" and other fixes
Makefile.am:
* Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed
variables in Makefile.am files
* Touch these *.xml/*.syms files in the "dist-hook" target to prevent them
from being regenerated, because the "make dist" process in itself
updates the timestamps of the source files when it copies them into
$(distdir)
* Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required
dependency when client applications link against -lxslt
(note that the definition of EXTRA_LIBS has been changed; see below)
* Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU
Make programs
autogen.sh:
* Add --warnings=all options to automake and autoconf invocations, to
better catch potential problems (most of which I've fixed in this patch)
configure.in:
* Replaced obsolete macros with their current equivalents; for reference,
see
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
(I removed AC_ISC_POSIX outright because the doc states it is no longer
useful)
* test(1) uses "=" as an operator, not "=="
* Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors
* Don't add redundant libraries to EXTRA_LIBS, because (1) this variable
already contains LibXSLT's own additional system-library deps, and is
useful in that form, and (2) the LibXML2 deps are already handled by
Libtool
* Don't delete files in srcdir, and don't create the symlink to
"Copyright" there either
(I don't understand why this is being symlinked in the first place...)
doc/Makefile.am:
* Can't use wildcards in EXTRA_DIST, because this breaks dependencies
(e.g. you can't "make EXSLT/\*.html"), and they only work properly when
building inside the source tree; these have been replaced with their
expansions. Other entries have been added here in lieu of the wildcards
in the dist-hook target, as well as opportunistic use of the $(*PAGES)
variables.
* Don't define an "all" target, because this steps on Automake's toes; use
"all-local" instead
* Define and use an "xsltproc" variable to reference an in-tree-built
version of xsltproc, instead of e.g. $(bindir)/xsltproc
NOTE: The makefile also uses $(XSLTPROC), which names an external
instance of the program found at configure time. Some instances of this
could probably be changed to $(xsltproc) to remove the dependency on an
existing installed program.
* Qualified various filenames as appropriate with $(srcdir)
* Use $(XMLLINT) consistently instead of $(bindir)/xmllint
* In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking
apibuild.py as this script has to run in srcdir anyway
* In the "clean-local" rule, clear out some additional files to allow
"make distcheck" to pass
* Eliminated the redundant "maintainer-clean-local" rule
* Added a "distclean-local" rule to clear out the build directory in an
out-of-source build to allow "make distcheck" to pass
* Added a "check-extra-dist" target to make it easier to check that
EXTRA_DIST isn't missing anything
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
* Use $(VAR) instead of @VAR@
* The "dist-hook" target didn't work (if any generated files were in
builddir and not in srcdir), and is no longer needed thanks to the
comprehensive EXTRA_DIST variable
* Added an "uninstall-local" rule to allow "make distcheck" to pass
* Updated the .PHONY target list, removed non-existent targets
doc/symbols.xml:
* Needed to add this bit to make the generation scripts shut up
libexslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
(Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake
already references both in the build rules)
* Use $(VAR) instead of @VAR@
libxslt.pc.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
libxslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
libxslt/xsltutils.c:
* Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about
CLOCK_HIGHRES. Some systems, alas, have no usable alternative to
CLOCK_REALTIME.
python/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Because libxslt-py.c is (presumably) supposed to be generated every time
at build time, don't bundle it in the dist tarball
* Use $(VAR) instead of @VAR@
* libxsltclass.py is a generated file, so it doesn't get qualified with
$(srcdir)
* Use $(MKDIR_P) instead of (mkinstalldirs)
* Added an uninstall-local rule so that "make distcheck" passes
* Removed the $(srcdir) qualifications in the GENERATED file list, as
these files may exist in builddir
* In the gen_prog rule, qualify the script invocation with $(srcdir), and
set the SRCDIR environment variable so that the script can find the
files it needs when builddir != srcdir
* Don't define an "all" target, as this steps on Automake's toes
python/generator.py:
* Get the source directory from the SRCDIR environment variable, and use
it appropriately
python/tests/Makefile.am:
* Set CLEANFILES instead of defining a "clean" rule
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
tests/*/Makefile.am, tests/exslt/*/Makefile.am:
* Need to clean up .memdump files for "make distcheck" to pass
* Don't define an "all" target, as this steps on Automake's toes
tests/REC/Makefile.am:
* Added two missing *.stand.out files to EXTRA_DIST
tests/XSLTMark/Makefile.am:
* Replaced the GNU-Make-specific %.out bit with a more broadly compatible
rule
(the "dummy" bit shuts up Automake)
* Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc"
* Use a less $(MAKE)-heavy invocation in the "tests" target
* Replaced a conflicting "clean" target with CLEANFILES
* Added a dependency on $(xsltproc) to all the test targets
* Added a .PHONY target list
tests/docbook/Makefile.am:
* Ditched the "echo -n" bit, because it wasn't working as advertised
* Create output directories for out-of-source builds
* "$(basename $$i)" is a typo in a makefile
* Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can
refer to these files in builddir or srcdir
* Add a trailing "echo" to complete the "echo -n"
* Don't output files unconditionally to srcdir (it may be read-only, for
starters)
tests/plugins/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
(Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here
can be dropped entirely, because these already appear in
xmlsoft_org_xslt_testplugin_la_CFLAGS)
* Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of
EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin
if module support is disabled)
* Need to clean up *.res files for "make distcheck" to pass
* Use the abs_builddir variable conveniently provided to us by Automake
instead of a GNU Make $(shell ...) construct
xslt-config.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
xsltproc/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) into AM_CFLAGS
* Use $(VAR) instead of @VAR@
* Need to clean .memdump for "make distcheck" to pass
* Added rules to build lib[e]xslt.la if needed, which allows test
makefiles to build xsltproc on the fly even if nothing else has been
built already
* Create .memdump file in the "tests" target, as it's being grepped
afterward
2012-08-09 11:46:03 +00:00
|
|
|
rm -f COPYING.LIB COPYING 2>/dev/null && $LN_S $srcdir/Copyright COPYING
|
2002-02-08 16:09:27 +00:00
|
|
|
|
2001-11-05 13:34:01 +00:00
|
|
|
|
Various "make distcheck" and other fixes
Makefile.am:
* Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed
variables in Makefile.am files
* Touch these *.xml/*.syms files in the "dist-hook" target to prevent them
from being regenerated, because the "make dist" process in itself
updates the timestamps of the source files when it copies them into
$(distdir)
* Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required
dependency when client applications link against -lxslt
(note that the definition of EXTRA_LIBS has been changed; see below)
* Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU
Make programs
autogen.sh:
* Add --warnings=all options to automake and autoconf invocations, to
better catch potential problems (most of which I've fixed in this patch)
configure.in:
* Replaced obsolete macros with their current equivalents; for reference,
see
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
(I removed AC_ISC_POSIX outright because the doc states it is no longer
useful)
* test(1) uses "=" as an operator, not "=="
* Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors
* Don't add redundant libraries to EXTRA_LIBS, because (1) this variable
already contains LibXSLT's own additional system-library deps, and is
useful in that form, and (2) the LibXML2 deps are already handled by
Libtool
* Don't delete files in srcdir, and don't create the symlink to
"Copyright" there either
(I don't understand why this is being symlinked in the first place...)
doc/Makefile.am:
* Can't use wildcards in EXTRA_DIST, because this breaks dependencies
(e.g. you can't "make EXSLT/\*.html"), and they only work properly when
building inside the source tree; these have been replaced with their
expansions. Other entries have been added here in lieu of the wildcards
in the dist-hook target, as well as opportunistic use of the $(*PAGES)
variables.
* Don't define an "all" target, because this steps on Automake's toes; use
"all-local" instead
* Define and use an "xsltproc" variable to reference an in-tree-built
version of xsltproc, instead of e.g. $(bindir)/xsltproc
NOTE: The makefile also uses $(XSLTPROC), which names an external
instance of the program found at configure time. Some instances of this
could probably be changed to $(xsltproc) to remove the dependency on an
existing installed program.
* Qualified various filenames as appropriate with $(srcdir)
* Use $(XMLLINT) consistently instead of $(bindir)/xmllint
* In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking
apibuild.py as this script has to run in srcdir anyway
* In the "clean-local" rule, clear out some additional files to allow
"make distcheck" to pass
* Eliminated the redundant "maintainer-clean-local" rule
* Added a "distclean-local" rule to clear out the build directory in an
out-of-source build to allow "make distcheck" to pass
* Added a "check-extra-dist" target to make it easier to check that
EXTRA_DIST isn't missing anything
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
* Use $(VAR) instead of @VAR@
* The "dist-hook" target didn't work (if any generated files were in
builddir and not in srcdir), and is no longer needed thanks to the
comprehensive EXTRA_DIST variable
* Added an "uninstall-local" rule to allow "make distcheck" to pass
* Updated the .PHONY target list, removed non-existent targets
doc/symbols.xml:
* Needed to add this bit to make the generation scripts shut up
libexslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
(Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake
already references both in the build rules)
* Use $(VAR) instead of @VAR@
libxslt.pc.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
libxslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
libxslt/xsltutils.c:
* Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about
CLOCK_HIGHRES. Some systems, alas, have no usable alternative to
CLOCK_REALTIME.
python/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Because libxslt-py.c is (presumably) supposed to be generated every time
at build time, don't bundle it in the dist tarball
* Use $(VAR) instead of @VAR@
* libxsltclass.py is a generated file, so it doesn't get qualified with
$(srcdir)
* Use $(MKDIR_P) instead of (mkinstalldirs)
* Added an uninstall-local rule so that "make distcheck" passes
* Removed the $(srcdir) qualifications in the GENERATED file list, as
these files may exist in builddir
* In the gen_prog rule, qualify the script invocation with $(srcdir), and
set the SRCDIR environment variable so that the script can find the
files it needs when builddir != srcdir
* Don't define an "all" target, as this steps on Automake's toes
python/generator.py:
* Get the source directory from the SRCDIR environment variable, and use
it appropriately
python/tests/Makefile.am:
* Set CLEANFILES instead of defining a "clean" rule
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
tests/*/Makefile.am, tests/exslt/*/Makefile.am:
* Need to clean up .memdump files for "make distcheck" to pass
* Don't define an "all" target, as this steps on Automake's toes
tests/REC/Makefile.am:
* Added two missing *.stand.out files to EXTRA_DIST
tests/XSLTMark/Makefile.am:
* Replaced the GNU-Make-specific %.out bit with a more broadly compatible
rule
(the "dummy" bit shuts up Automake)
* Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc"
* Use a less $(MAKE)-heavy invocation in the "tests" target
* Replaced a conflicting "clean" target with CLEANFILES
* Added a dependency on $(xsltproc) to all the test targets
* Added a .PHONY target list
tests/docbook/Makefile.am:
* Ditched the "echo -n" bit, because it wasn't working as advertised
* Create output directories for out-of-source builds
* "$(basename $$i)" is a typo in a makefile
* Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can
refer to these files in builddir or srcdir
* Add a trailing "echo" to complete the "echo -n"
* Don't output files unconditionally to srcdir (it may be read-only, for
starters)
tests/plugins/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
(Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here
can be dropped entirely, because these already appear in
xmlsoft_org_xslt_testplugin_la_CFLAGS)
* Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of
EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin
if module support is disabled)
* Need to clean up *.res files for "make distcheck" to pass
* Use the abs_builddir variable conveniently provided to us by Automake
instead of a GNU Make $(shell ...) construct
xslt-config.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
xsltproc/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) into AM_CFLAGS
* Use $(VAR) instead of @VAR@
* Need to clean .memdump for "make distcheck" to pass
* Added rules to build lib[e]xslt.la if needed, which allows test
makefiles to build xsltproc on the fly even if nothing else has been
built already
* Create .memdump file in the "tests" target, as it's being grepped
afterward
2012-08-09 11:46:03 +00:00
|
|
|
AC_CONFIG_FILES([
|
2001-01-07 14:01:28 +00:00
|
|
|
Makefile
|
2001-12-20 13:59:22 +00:00
|
|
|
libxslt.pc
|
2003-11-14 17:46:01 +00:00
|
|
|
libexslt.pc
|
2001-01-07 14:01:28 +00:00
|
|
|
libxslt/Makefile
|
2001-01-08 18:57:17 +00:00
|
|
|
libxslt/xsltconfig.h
|
2001-06-28 14:23:39 +00:00
|
|
|
libxslt/xsltwin32config.h
|
2001-07-15 18:30:53 +00:00
|
|
|
libexslt/Makefile
|
|
|
|
libexslt/exsltconfig.h
|
|
|
|
xsltproc/Makefile
|
2002-02-04 18:51:53 +00:00
|
|
|
python/Makefile
|
2002-02-06 10:35:19 +00:00
|
|
|
python/tests/Makefile
|
2001-01-07 14:01:28 +00:00
|
|
|
tests/Makefile
|
2001-02-01 13:57:07 +00:00
|
|
|
tests/docs/Makefile
|
2001-01-13 22:29:51 +00:00
|
|
|
tests/REC1/Makefile
|
|
|
|
tests/REC2/Makefile
|
2001-01-30 14:19:41 +00:00
|
|
|
tests/REC/Makefile
|
2001-02-01 13:57:07 +00:00
|
|
|
tests/general/Makefile
|
2001-09-17 12:52:18 +00:00
|
|
|
tests/reports/Makefile
|
2001-07-04 13:22:40 +00:00
|
|
|
tests/extensions/Makefile
|
2001-02-27 21:09:59 +00:00
|
|
|
tests/namespaces/Makefile
|
2002-04-15 12:02:03 +00:00
|
|
|
tests/keys/Makefile
|
2001-01-29 17:44:52 +00:00
|
|
|
tests/numbers/Makefile
|
2001-02-11 20:12:24 +00:00
|
|
|
tests/documents/Makefile
|
2001-02-05 18:29:06 +00:00
|
|
|
tests/xmlspec/Makefile
|
2001-04-02 15:13:28 +00:00
|
|
|
tests/multiple/Makefile
|
2005-03-30 12:12:53 +00:00
|
|
|
tests/xinclude/Makefile
|
2001-04-02 15:13:28 +00:00
|
|
|
tests/XSLTMark/Makefile
|
2001-02-24 22:42:36 +00:00
|
|
|
tests/docbook/Makefile
|
2001-07-27 02:15:58 +00:00
|
|
|
tests/exslt/Makefile
|
|
|
|
tests/exslt/common/Makefile
|
|
|
|
tests/exslt/functions/Makefile
|
|
|
|
tests/exslt/math/Makefile
|
2020-07-03 01:19:02 +00:00
|
|
|
tests/exslt/saxon/Makefile
|
2001-07-27 02:15:58 +00:00
|
|
|
tests/exslt/sets/Makefile
|
2001-09-03 00:17:54 +00:00
|
|
|
tests/exslt/strings/Makefile
|
2002-03-04 11:03:26 +00:00
|
|
|
tests/exslt/date/Makefile
|
2005-07-10 14:20:06 +00:00
|
|
|
tests/exslt/dynamic/Makefile
|
2013-08-01 16:03:21 +00:00
|
|
|
tests/exslt/crypto/Makefile
|
2005-01-17 15:51:34 +00:00
|
|
|
tests/plugins/Makefile
|
2001-01-26 21:32:59 +00:00
|
|
|
doc/Makefile
|
2001-01-07 14:01:28 +00:00
|
|
|
xslt-config
|
2001-01-22 19:25:37 +00:00
|
|
|
libxslt.spec
|
2001-01-07 14:01:28 +00:00
|
|
|
])
|
Various "make distcheck" and other fixes
Makefile.am:
* Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed
variables in Makefile.am files
* Touch these *.xml/*.syms files in the "dist-hook" target to prevent them
from being regenerated, because the "make dist" process in itself
updates the timestamps of the source files when it copies them into
$(distdir)
* Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required
dependency when client applications link against -lxslt
(note that the definition of EXTRA_LIBS has been changed; see below)
* Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU
Make programs
autogen.sh:
* Add --warnings=all options to automake and autoconf invocations, to
better catch potential problems (most of which I've fixed in this patch)
configure.in:
* Replaced obsolete macros with their current equivalents; for reference,
see
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
(I removed AC_ISC_POSIX outright because the doc states it is no longer
useful)
* test(1) uses "=" as an operator, not "=="
* Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors
* Don't add redundant libraries to EXTRA_LIBS, because (1) this variable
already contains LibXSLT's own additional system-library deps, and is
useful in that form, and (2) the LibXML2 deps are already handled by
Libtool
* Don't delete files in srcdir, and don't create the symlink to
"Copyright" there either
(I don't understand why this is being symlinked in the first place...)
doc/Makefile.am:
* Can't use wildcards in EXTRA_DIST, because this breaks dependencies
(e.g. you can't "make EXSLT/\*.html"), and they only work properly when
building inside the source tree; these have been replaced with their
expansions. Other entries have been added here in lieu of the wildcards
in the dist-hook target, as well as opportunistic use of the $(*PAGES)
variables.
* Don't define an "all" target, because this steps on Automake's toes; use
"all-local" instead
* Define and use an "xsltproc" variable to reference an in-tree-built
version of xsltproc, instead of e.g. $(bindir)/xsltproc
NOTE: The makefile also uses $(XSLTPROC), which names an external
instance of the program found at configure time. Some instances of this
could probably be changed to $(xsltproc) to remove the dependency on an
existing installed program.
* Qualified various filenames as appropriate with $(srcdir)
* Use $(XMLLINT) consistently instead of $(bindir)/xmllint
* In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking
apibuild.py as this script has to run in srcdir anyway
* In the "clean-local" rule, clear out some additional files to allow
"make distcheck" to pass
* Eliminated the redundant "maintainer-clean-local" rule
* Added a "distclean-local" rule to clear out the build directory in an
out-of-source build to allow "make distcheck" to pass
* Added a "check-extra-dist" target to make it easier to check that
EXTRA_DIST isn't missing anything
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
* Use $(VAR) instead of @VAR@
* The "dist-hook" target didn't work (if any generated files were in
builddir and not in srcdir), and is no longer needed thanks to the
comprehensive EXTRA_DIST variable
* Added an "uninstall-local" rule to allow "make distcheck" to pass
* Updated the .PHONY target list, removed non-existent targets
doc/symbols.xml:
* Needed to add this bit to make the generation scripts shut up
libexslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
(Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake
already references both in the build rules)
* Use $(VAR) instead of @VAR@
libxslt.pc.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
libxslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
libxslt/xsltutils.c:
* Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about
CLOCK_HIGHRES. Some systems, alas, have no usable alternative to
CLOCK_REALTIME.
python/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Because libxslt-py.c is (presumably) supposed to be generated every time
at build time, don't bundle it in the dist tarball
* Use $(VAR) instead of @VAR@
* libxsltclass.py is a generated file, so it doesn't get qualified with
$(srcdir)
* Use $(MKDIR_P) instead of (mkinstalldirs)
* Added an uninstall-local rule so that "make distcheck" passes
* Removed the $(srcdir) qualifications in the GENERATED file list, as
these files may exist in builddir
* In the gen_prog rule, qualify the script invocation with $(srcdir), and
set the SRCDIR environment variable so that the script can find the
files it needs when builddir != srcdir
* Don't define an "all" target, as this steps on Automake's toes
python/generator.py:
* Get the source directory from the SRCDIR environment variable, and use
it appropriately
python/tests/Makefile.am:
* Set CLEANFILES instead of defining a "clean" rule
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
tests/*/Makefile.am, tests/exslt/*/Makefile.am:
* Need to clean up .memdump files for "make distcheck" to pass
* Don't define an "all" target, as this steps on Automake's toes
tests/REC/Makefile.am:
* Added two missing *.stand.out files to EXTRA_DIST
tests/XSLTMark/Makefile.am:
* Replaced the GNU-Make-specific %.out bit with a more broadly compatible
rule
(the "dummy" bit shuts up Automake)
* Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc"
* Use a less $(MAKE)-heavy invocation in the "tests" target
* Replaced a conflicting "clean" target with CLEANFILES
* Added a dependency on $(xsltproc) to all the test targets
* Added a .PHONY target list
tests/docbook/Makefile.am:
* Ditched the "echo -n" bit, because it wasn't working as advertised
* Create output directories for out-of-source builds
* "$(basename $$i)" is a typo in a makefile
* Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can
refer to these files in builddir or srcdir
* Add a trailing "echo" to complete the "echo -n"
* Don't output files unconditionally to srcdir (it may be read-only, for
starters)
tests/plugins/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
(Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here
can be dropped entirely, because these already appear in
xmlsoft_org_xslt_testplugin_la_CFLAGS)
* Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of
EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin
if module support is disabled)
* Need to clean up *.res files for "make distcheck" to pass
* Use the abs_builddir variable conveniently provided to us by Automake
instead of a GNU Make $(shell ...) construct
xslt-config.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
xsltproc/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) into AM_CFLAGS
* Use $(VAR) instead of @VAR@
* Need to clean .memdump for "make distcheck" to pass
* Added rules to build lib[e]xslt.la if needed, which allows test
makefiles to build xsltproc on the fly even if nothing else has been
built already
* Create .memdump file in the "tests" target, as it's being grepped
afterward
2012-08-09 11:46:03 +00:00
|
|
|
|
|
|
|
AC_OUTPUT
|