diff options
author | Todd Zullinger <tmzullinger@users.sourceforge.net> | 2008-03-03 02:10:17 +0000 |
---|---|---|
committer | Todd Zullinger <tmzullinger@users.sourceforge.net> | 2008-03-03 02:10:17 +0000 |
commit | b6e751ec9524ed0692463cf4e0f09f178d9bdd93 (patch) | |
tree | e821f3ebb7fbc7b7da968cacd8f881af4b0dbfbc | |
parent | 1f08b7868f57d16cdbd9dd9f730c4871b18ccb78 (diff) | |
download | libgpod-tmz-b6e751ec9524ed0692463cf4e0f09f178d9bdd93.tar.gz libgpod-tmz-b6e751ec9524ed0692463cf4e0f09f178d9bdd93.tar.xz libgpod-tmz-b6e751ec9524ed0692463cf4e0f09f178d9bdd93.zip |
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | m4/python.m4 | 8 |
3 files changed, 10 insertions, 5 deletions
@@ -1,3 +1,8 @@ +2008-03-02 Todd Zullinger <tmzullinger at users.sourceforge.net> + + * configure.ac + m4/python.m4: shell portability fixes (courtesy of Klaus Heinz) + 2008-02-13 Todd Zullinger <tmzullinger at users.sourceforge.net> * 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 |