From b6e751ec9524ed0692463cf4e0f09f178d9bdd93 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Mon, 3 Mar 2008 02:10:17 +0000 Subject: shell portability fixes (courtesy of Klaus Heinz) git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1950 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- ChangeLog | 5 +++++ configure.ac | 2 +- m4/python.m4 | 8 ++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 71ea6ce..c96ac0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-02 Todd Zullinger + + * configure.ac + m4/python.m4: shell portability fixes (courtesy of Klaus Heinz) + 2008-02-13 Todd Zullinger * bindings/python/ipod.py: Track.set_thumbnail() was renamed diff --git a/configure.ac b/configure.ac index 308f2c0..051470d 100644 --- a/configure.ac +++ b/configure.ac @@ -106,7 +106,7 @@ if test "x$with_hal" != "xno"; then AC_MSG_ERROR([HAL support explicitly requested but HAL couldn't be found]) fi - if test "x$enable_hal" == "xyes"; then + if test "x$enable_hal" = "xyes"; then AC_DEFINE(HAVE_HAL, 1, [Define if you have HAL support]) AC_SUBST(HAL_CFLAGS) AC_SUBST(HAL_LIBS) diff --git a/m4/python.m4 b/m4/python.m4 index a4665a4..ba3b573 100644 --- a/m4/python.m4 +++ b/m4/python.m4 @@ -99,7 +99,7 @@ AC_DEFUN([LIBGPOD_CHECK_PYTHON], fi AC_MSG_RESULT($with_python) - if test "X$with_python" == Xyes; then + if test "X$with_python" = Xyes; then if test -z "$PYTHON"; then AC_PATH_PROG(PYTHON, python) fi @@ -108,7 +108,7 @@ AC_DEFUN([LIBGPOD_CHECK_PYTHON], AM_PATH_PYTHON($PYTHON_MIN_VERSION) AM_CHECK_PYTHON_HEADERS(with_python="yes",with_python="no") - if test "X$with_python" == Xyes; then + if test "X$with_python" = Xyes; then dnl test for python ldflags dnl copied from the Redland RDF bindings, http://librdf.org/ if test `uname` = Darwin; then @@ -127,13 +127,13 @@ AC_DEFUN([LIBGPOD_CHECK_PYTHON], AM_CHECK_PYMOD(mutagen,$PYTHON_MUTAGEN_MIN_VERSION,mutagen.version_string,,with_python=no) dnl this test should perhaps be re-enabled, but only produce a warning -- tmz - dnl if test "X$have_gdkpixbuf" == "Xyes" -a "X$have_pygobject" == "Xyes"; then + dnl if test "X$have_gdkpixbuf" = "Xyes" -a "X$have_pygobject" = "Xyes"; then dnl dnl check for gtk module >= $PYTHON_GTK_MIN_VERSION dnl AM_CHECK_PYMOD(gtk,$PYTHON_GTK_MIN_VERSION,'.'.join(map(str, gtk.ver)),,with_python=no) dnl fi dnl check for swig - if test "X$with_python" == Xyes; then + if test "X$with_python" = Xyes; then AC_PROG_SWIG($SWIG_MIN_VERSION) with_python="$has_swig" fi -- cgit