summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJohn Hein <n4kdlmx02@sneakemail.com>2012-05-10 22:12:46 +0800
committerDaniel Veillard <veillard@redhat.com>2012-05-10 22:12:46 +0800
commita4fe9b26d3bf7000362dbc2e55a6821710f78a34 (patch)
tree08bfda643a7aa1d491a6cf7eed36fa43723bfefa /configure.in
parent4cf7325e1f5d6b727bae8f01851c759e49a9d05d (diff)
downloadlibxml2-a4fe9b26d3bf7000362dbc2e55a6821710f78a34.tar.gz
emove a bashism in confgure.in
Not portable, broke on old FreeBSD
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index e71f00a8..38552a7b 100644
--- a/configure.in
+++ b/configure.in
@@ -1479,7 +1479,7 @@ case "$host" in
AC_DEFINE([_WINSOCKAPI_],1,[Using the Win32 Socket implementation])
if test "${PYTHON}" != ""
then
- WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython${PYTHON_VERSION//./}"
+ WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython$(echo ${PYTHON_VERSION} | tr -d .)"
fi
;;
*-*-cygwin*)