[clutter/clutter-1.6] build: Do not use bashisms



commit b917a4c8c0bbed101d87c1ecd29557b9d0738a21
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Fri Apr 1 12:00:56 2011 +0100

    build: Do not use bashisms
    
    This is a cherry pick of these commits:
    
      0eee5788df79c383a4bd1a6071129a490f47b905
      a4d29ca2e1bcb315349ee87a8eb30cae17629a8f

 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5e2a8f2..1a060ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1124,11 +1124,13 @@ AS_CASE([$enable_maintainer_flags],
         [AC_MSG_ERROR([Invalid option for --enable-maintainer-flags])]
 )
 
+# strip leading spaces
+MAINTAINER_CFLAGS=${MAINTAINER_CFLAGS#*  }
 AC_SUBST(MAINTAINER_CFLAGS)
 
 dnl === Dependencies, compiler flags and linker libraries =====================
 # strip leading space
-BACKEND_PC_FILES=${BACKEND_PC_FILES/# }
+BACKEND_PC_FILES=${BACKEND_PC_FILES#* }
 
 CLUTTER_REQUIRES="$CLUTTER_BASE_PC_FILES $IMAGE_PC_FILES $BACKEND_PC_FILES"
 PKG_CHECK_MODULES(CLUTTER_DEPS, [$CLUTTER_REQUIRES])



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