summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-09-26 17:52:58 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-09-26 17:52:58 +0000
commit72859bf2f677fd09013c86d1c00bfc38b89eaa35 (patch)
tree734967862974c529b3e5145b85ea556212d486c5
parent145500bbe0149b9ceb75cd4afcb569f26466de8c (diff)
downloadlibxslt-72859bf2f677fd09013c86d1c00bfc38b89eaa35.tar.gz
libxslt-72859bf2f677fd09013c86d1c00bfc38b89eaa35.tar.bz2
libxslt-72859bf2f677fd09013c86d1c00bfc38b89eaa35.zip
Fixed some troubles when compiling on the x86_64, specific to my environment, Daniel
-rw-r--r--configure.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 8cbb3e0a..9acf53ce 100644
--- a/configure.in
+++ b/configure.in
@@ -273,7 +273,12 @@ if [[ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XSLT" ]] || \
with_mem_debug="yes"
fi
CFLAGS="-Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline "
- STATIC_BINARIES="-static"
+ if test "`uname -i`" != "x86_64" ;
+ then
+ STATIC_BINARIES="-static"
+ else
+ STATIC_BINARIES=
+ fi
if test "$LOGNAME" = "veillard"
then
LIBXML_SRC="/u/veillard/XML"
@@ -433,7 +438,10 @@ dnl
dnl In build tree I use a static version with memory debug enabled
dnl
if test "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XSLT" ; then
- LIBXML_LIBS="../../XML/.libs/libxml2.a -lpthread -lz"
+ if test "`uname -i`" != "x86_64" ;
+ then
+ LIBXML_LIBS="../../XML/.libs/libxml2.a -lpthread -lz"
+ fi
DV_LINK="1"
XSLTPROCDV="xsltproc.dv"
INSTALLED_XSLT_LIB=""