[libxml2] emove a bashism in confgure.in



commit a4fe9b26d3bf7000362dbc2e55a6821710f78a34
Author: John Hein <n4kdlmx02 sneakemail com>
Date:   Thu May 10 22:12:46 2012 +0800

    emove a bashism in confgure.in
    
    Not portable, broke on old FreeBSD

 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index e71f00a..38552a7 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*)



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