[gthumb] don't use the += operator, which is not supported by all the shells
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] don't use the += operator, which is not supported by all the shells
- Date: Fri, 1 Oct 2010 07:34:29 +0000 (UTC)
commit 09928cae9cab845ccb1ee07bf23bef527b0f6913
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Oct 1 09:31:32 2010 +0200
don't use the += operator, which is not supported by all the shells
[bug #630836]
configure.ac | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5410d34..2082202 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,8 +66,8 @@ AC_ARG_ENABLE(deprecated,
disable_deprecated=yes,
disable_deprecated=no)
if test x$disable_deprecated = xyes; then
- CFLAGS+=" -DG_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"
- CFLAGS+=" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
+ CFLAGS="$CFLAGS -DG_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"
+ CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
fi
dnl ===========================================================================
@@ -82,7 +82,7 @@ AC_ARG_ENABLE(debug,
[ENABLE_DEBUG=no])
if test x$ENABLE_DEBUG = xyes; then
AC_DEFINE(DEBUG, 1, [enable compilation of debugging messages])
- CFLAGS+=" -g -O0 -DDEBUG"
+ CFLAGS="$CFLAGS -g -O0 -DDEBUG"
fi
AC_ARG_ENABLE(gseal,
@@ -94,7 +94,7 @@ AC_ARG_ENABLE(gseal,
esac],
[ENABLE_GSEAL=no])
if test x$ENABLE_GSEAL = xyes; then
- CFLAGS+=" -DGSEAL_ENABLE"
+ CFLAGS="$CFLAGS -DGSEAL_ENABLE"
fi
AC_ARG_ENABLE(run_in_place,
@@ -289,7 +289,7 @@ for option in $WARN_CFLAGS; do
unset SAVE_CFLAGS
done
unset option
-CFLAGS+="$WARNINGS "
+CFLAGS="$CFLAGS $WARNINGS"
dnl ===========================================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]