mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-10 14:40:58 +03:00
AMD x86-64 induced changes from Frederic Crozat Daniel
* configure.in python/Makefile.am: AMD x86-64 induced changes from Frederic Crozat Daniel
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
Wed Aug 14 18:54:19 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* configure.in python/Makefile.am: AMD x86-64 induced changes from
|
||||
Frederic Crozat
|
||||
|
||||
Wed Aug 14 13:35:04 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* libxslt/functions.c: recovering to the old (somewhat) broken
|
||||
|
@ -169,16 +169,20 @@ except: print 0"`
|
||||
if test -r $prefix/include/python$PYTHON_VERSION/Python.h
|
||||
then
|
||||
PYTHON_INCLUDES='$(prefix)/include/python$(PYTHON_VERSION)'
|
||||
PYTHON_SITE_PACKAGES='$(prefix)/lib/python$(PYTHON_VERSION)/site-packages'
|
||||
PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages'
|
||||
else
|
||||
if test -r /usr/include/python$PYTHON_VERSION/Python.h
|
||||
then
|
||||
PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
|
||||
PYTHON_SITE_PACKAGES='$(prefix)/lib/python$(PYTHON_VERSION)/site-packages'
|
||||
PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages'
|
||||
else
|
||||
echo could not find python$PYTHON_VERSION/Python.h
|
||||
fi
|
||||
fi
|
||||
if ! test -d "$PYTHON_SITE_PACKAGES"
|
||||
then
|
||||
PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
@ -32,7 +32,7 @@ mylibs = \
|
||||
|
||||
all-local: libxslt.py
|
||||
|
||||
pythondir = $(prefix)/lib/python${PYTHON_VERSION}/site-packages
|
||||
pythondir = $(libdir)/python${PYTHON_VERSION}/site-packages
|
||||
python_LTLIBRARIES = libxsltmod.la
|
||||
|
||||
libxsltmod_la_SOURCES = libxslt.c types.c libxslt-py.c
|
||||
|
Reference in New Issue
Block a user