1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-08 21:42:07 +03:00

updating Makefiles to fix the prelinking. Daniel

* Makefile.am configure.in breakpoint/Makefile.am libexslt/Makefile.am:
  updating Makefiles to fix the prelinking.
Daniel
This commit is contained in:
Daniel Veillard
2001-11-26 09:29:54 +00:00
parent 2c9f53506e
commit 972c7783bb
6 changed files with 40 additions and 26 deletions

View File

@@ -1,3 +1,8 @@
Mon Nov 26 10:27:30 CET 2001 Daniel Veillard <daniel@veillard.com>
* Makefile.am configure.in breakpoint/Makefile.am libexslt/Makefile.am:
updating Makefiles to fix the prelinking.
Sun Nov 25 15:52:38 CET 2001 Daniel Veillard <daniel@veillard.com> Sun Nov 25 15:52:38 CET 2001 Daniel Veillard <daniel@veillard.com>
* libxslt/transform.c: fixed a bug in the document extension * libxslt/transform.c: fixed a bug in the document extension

View File

@@ -1,10 +1,20 @@
## don't bother compiling the breakpoint library unless it is needed
if WITH_DEBUGGER
SUBDIRS = \ SUBDIRS = \
libxslt \
breakpoint \ breakpoint \
libxslt \
libexslt \ libexslt \
xsltproc \ xsltproc \
tests \ tests \
doc doc
else
SUBDIRS = \
libxslt \
libexslt \
xsltproc \
tests \
doc
endif
confexecdir=$(libdir) confexecdir=$(libdir)
confexec_DATA = xsltConf.sh confexec_DATA = xsltConf.sh

View File

@@ -14,7 +14,7 @@ libxsltbreakpoint_la_SOURCES = \
dbgmain.c dbgmain.c
libxsltbreakpoint_la_LIBADD = $(EXTRA_LIBS) libxsltbreakpoint_la_LIBADD = -lxml2 $(M_LIBS)
libxsltbreakpoint_la_LDFLAGS = -version-info @LIBXSLT_VERSION_INFO@ libxsltbreakpoint_la_LDFLAGS = -version-info @LIBXSLT_VERSION_INFO@
man_MANS = #breakpoint.4 man_MANS = #breakpoint.4

View File

@@ -241,15 +241,11 @@ AC_SUBST(LDFLAGS)
dnl dnl
dnl In build tree I use a static version with memory debug enabled dnl In build tree I use a static version with memory debug enabled
dnl libtool 1.4 tries to use the shared lib and this won't work
dnl libtool is a 5000+ line of perl module and hence absolutely pure crap
dnl no surprise there.
dnl dnl
if test "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XSLT" ; then if test "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XSLT" ; then
LIBXML_LIBS="../../XML/.libs/libxml2.a -lz" LIBXML_LIBS="../../XML/.libs/libxml2.a -lz"
DV_LINK="1" DV_LINK="1"
fi fi
AM_CONDITIONAL(DV_STATIC_LINK, test "${DV_LINK}" = "1")
AC_SUBST(XML_CONFIG) AC_SUBST(XML_CONFIG)
AC_SUBST(LIBXML_LIBS) AC_SUBST(LIBXML_LIBS)
@@ -266,11 +262,12 @@ esac
XSLT_INCLUDEDIR='-I${includedir}' XSLT_INCLUDEDIR='-I${includedir}'
if test "${WITH_DEBUGGER}" = "1" ; then if test "${WITH_DEBUGGER}" = "1" ; then
XSLT_LIBS="-lxslt -lxsltbreakpoint $LIBXML_LIBS $M_LIBS" XSLT_LIBS="-lxslt -lxsltbreakpoint $LIBXML_LIBS $M_LIBS"
EXTRA_LIBS='$(top_builddir)/breakpoint/libxsltbreakpoint.la'" $LIBXML_LIBS $M_LIBS"
else else
XSLT_LIBS="-lxslt $LIBXML_LIBS $M_LIBS" XSLT_LIBS="-lxslt $LIBXML_LIBS $M_LIBS"
EXTRA_LIBS="$LIBXML_LIBS $M_LIBS"
fi fi
EXTRA_LIBS="-lxml2 $M_LIBS"
AC_SUBST(XSLT_LIBDIR) AC_SUBST(XSLT_LIBDIR)
AC_SUBST(XSLT_INCLUDEDIR) AC_SUBST(XSLT_INCLUDEDIR)
AC_SUBST(EXTRA_LIBS) AC_SUBST(EXTRA_LIBS)

View File

@@ -22,7 +22,7 @@ libexslt_la_SOURCES = \
date.c \ date.c \
saxon.c saxon.c
libexslt_la_LIBADD = $(EXTRA_LIBS) libexslt_la_LIBADD = $(top_builddir)/libxslt/libxslt.la $(EXTRA_LIBS)
libexslt_la_LDFLAGS = -version-info @LIBEXSLT_VERSION_INFO@ libexslt_la_LDFLAGS = -version-info @LIBEXSLT_VERSION_INFO@
man_MANS = libexslt.4 man_MANS = libexslt.4

View File

@@ -295,31 +295,33 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
static void usage(const char *name) { static void usage(const char *name) {
printf("Usage: %s [options] stylesheet file [file ...]\n", name); printf("Usage: %s [options] stylesheet file [file ...]\n", name);
printf(" Options:\n"); printf(" Options:\n");
printf(" --version or -V: show the version of libxml and libxslt used\n"); printf("\t--version or -V: show the version of libxml and libxslt used\n");
printf(" --verbose or -v: show logs of what's happening\n"); printf("\t--verbose or -v: show logs of what's happening\n");
printf(" --output file or -o file: save to a given file\n"); printf("\t--output file or -o file: save to a given file\n");
printf(" --timing: display the time used\n"); printf("\t--timing: display the time used\n");
printf(" --repeat: run the transformation 20 times\n"); printf("\t--repeat: run the transformation 20 times\n");
printf(" --debug: dump the tree of the result instead\n"); printf("\t--debug: dump the tree of the result instead\n");
printf(" --novalid: skip the Dtd loading phase\n"); printf("\t--novalid: skip the Dtd loading phase\n");
printf(" --noout: do not dump the result\n"); printf("\t--noout: do not dump the result\n");
printf(" --maxdepth val : increase the maximum depth\n"); printf("\t--maxdepth val : increase the maximum depth\n");
#ifdef LIBXML_HTML_ENABLED #ifdef LIBXML_HTML_ENABLED
printf(" --html: the input document is(are) an HTML file(s)\n"); printf("\t--html: the input document is(are) an HTML file(s)\n");
#endif #endif
#ifdef LIBXML_DOCB_ENABLED #ifdef LIBXML_DOCB_ENABLED
printf(" --docbook: the input document is SGML docbook\n"); printf("\t--docbook: the input document is SGML docbook\n");
#endif #endif
printf(" --param name value : pass a (parameter,value) pair\n"); printf("\t--param name value : pass a (parameter,value) pair\n");
printf(" string values must be quoted like \"'string'\"\n"); printf("\t string values must be quoted like \"'string'\"\n");
printf(" --nonet refuse to fetch DTDs or entities over network\n"); printf("\t--nonet refuse to fetch DTDs or entities over network\n");
#ifdef LIBXML_CATALOG_ENABLED #ifdef LIBXML_CATALOG_ENABLED
printf(" --catalogs : use the catalogs from $SGML_CATALOG_FILES\n"); printf("\t--catalogs : use SGML catalogs from $SGML_CATALOG_FILES\n");
printf("\t otherwise XML Catalogs starting from \n");
printf("\t file:///etc/xml/catalog are activated by default\n");
#endif #endif
#ifdef LIBXML_XINCLUDE_ENABLED #ifdef LIBXML_XINCLUDE_ENABLED
printf(" --xinclude : do XInclude processing on document intput\n"); printf("\t--xinclude : do XInclude processing on document intput\n");
#endif #endif
printf(" --profile or --norman : dump profiling informations \n"); printf("\t--profile or --norman : dump profiling informations \n");
} }
int int