[libxslt] Set LIBXML_SRC to absolute path



commit 0e1a753d80da4af911c7e9c62baf18dfee3c7793
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Thu Jun 1 17:29:14 2017 +0200

    Set LIBXML_SRC to absolute path
    
    Fixes Python tests when using --with-libxml-src with a relative path.

 configure.in |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.in b/configure.in
index 1d14357..e6f649c 100644
--- a/configure.in
+++ b/configure.in
@@ -567,10 +567,10 @@ then
        CWD=`pwd`
        if cd $LIBXML_SRC
        then
-               SRC_DIR=`pwd`
-               XML_CONFIG=${SRC_DIR}/xml2-config
-               LIBXML_CFLAGS="-I${SRC_DIR}/include"
-               LIBXML_LIBS="-L${SRC_DIR}"
+               LIBXML_SRC=`pwd`
+               XML_CONFIG="${LIBXML_SRC}/xml2-config"
+               LIBXML_CFLAGS="-I${LIBXML_SRC}/include"
+               LIBXML_LIBS="-L${LIBXML_SRC}"
                cd $CWD
        else
                AC_MSG_ERROR([libxml source dir not found (${LIBXML_SRC}), typo?])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]