mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 11:30:45 -05:00
build: Add escaping in AS_IF()
Based on a patch by: Owen W. Taylor <otaylor@fishsoup.net>
This commit is contained in:
parent
287b3ba542
commit
e678c746da
21
configure.ac
21
configure.ac
@ -272,19 +272,18 @@ AS_CASE([$CLUTTER_FLAVOUR],
|
|||||||
CLUTTER_SONAME_INFIX=cex100
|
CLUTTER_SONAME_INFIX=cex100
|
||||||
|
|
||||||
found_gdl=no
|
found_gdl=no
|
||||||
AC_CHECK_HEADERS([libgdl.h], found_gdl=yes)
|
AC_CHECK_HEADERS([libgdl.h], [found_gdl=yes])
|
||||||
AS_IF([test x"$found_gdl" = "xno"],
|
AS_IF([test "x$found_gdl" = "xno"],
|
||||||
AC_CHECK_HEADERS([CE4100/libgdl.h],
|
[AC_CHECK_HEADERS([CE4100/libgdl.h],
|
||||||
[
|
[
|
||||||
FLAVOUR_CFLAGS="-I/usr/include/CE4100"
|
FLAVOUR_CFLAGS="-I/usr/include/CE4100"
|
||||||
found_gdl=yes
|
found_gdl=yes
|
||||||
CLUTTER_CEX100_LIBGDL_PREFIX=CE4100/
|
CLUTTER_CEX100_LIBGDL_PREFIX=CE4100/
|
||||||
])
|
])
|
||||||
)
|
])
|
||||||
AC_SUBST(CLUTTER_CEX100_LIBGDL_PREFIX)
|
AC_SUBST(CLUTTER_CEX100_LIBGDL_PREFIX)
|
||||||
|
|
||||||
AS_IF([test x"$found_gdl" = "xno"],
|
AS_IF([test x"$found_gdl" = "xno"], [AC_MSG_ERROR([libgdl.h not found])])
|
||||||
AC_MSG_ERROR([libgdl.h not found]))
|
|
||||||
|
|
||||||
FLAVOUR_LIBS="$FLAVOUR_LIBS -lgdl"
|
FLAVOUR_LIBS="$FLAVOUR_LIBS -lgdl"
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user