mirror of
https://github.com/brl/mutter.git
synced 2025-05-06 07:04:55 +00:00
Remove tabs from configure.ac
This commit is contained in:
parent
5f5f6d825f
commit
21d21adbc4
23
configure.ac
23
configure.ac
@ -717,22 +717,27 @@ AC_ARG_ENABLE(profile,
|
|||||||
|
|
||||||
AS_CASE([$enable_profile],
|
AS_CASE([$enable_profile],
|
||||||
|
|
||||||
[yes], [
|
[yes],
|
||||||
if test "x$GCC" = "xyes"; then
|
[
|
||||||
|
AS_IF([test "x$GCC" = "xyes"],
|
||||||
|
[
|
||||||
PKG_CHECK_MODULES([PROFILE_DEP], [uprof-0.2])
|
PKG_CHECK_MODULES([PROFILE_DEP], [uprof-0.2])
|
||||||
CLUTTER_PROFILE_CFLAGS=" -DCLUTTER_ENABLE_PROFILE -DCOGL_ENABLE_PROFILE $PROFILE_DEP_CFLAGS"
|
CLUTTER_PROFILE_CFLAGS=" -DCLUTTER_ENABLE_PROFILE -DCOGL_ENABLE_PROFILE $PROFILE_DEP_CFLAGS"
|
||||||
CLUTTER_PROFILE_LDFLAGS=" $PROFILE_DEP_LIBS"
|
CLUTTER_PROFILE_LDFLAGS=" $PROFILE_DEP_LIBS"
|
||||||
if test "x$enable_debug" = "xyes"; then
|
|
||||||
CLUTTER_PROFILE_CFLAGS+=" -DUPROF_DEBUG"
|
AS_IF([test "x$enable_debug" = "xyes"], [CLUTTER_PROFILE_CFLAGS+=" -DUPROF_DEBUG"])
|
||||||
fi
|
|
||||||
else
|
|
||||||
AC_MSG_ERROR([--enable-profile is currently only supported if using GCC])
|
|
||||||
fi
|
|
||||||
],
|
],
|
||||||
[no], [
|
[
|
||||||
|
AC_MSG_ERROR([--enable-profile is currently only supported if using GCC])
|
||||||
|
])
|
||||||
|
],
|
||||||
|
|
||||||
|
[no],
|
||||||
|
[
|
||||||
CLUTTER_PROFILE_CFLAGS=""
|
CLUTTER_PROFILE_CFLAGS=""
|
||||||
CLUTTER_PROFILE_LDFLAGS=""
|
CLUTTER_PROFILE_LDFLAGS=""
|
||||||
],
|
],
|
||||||
|
|
||||||
[*], [AC_MSG_ERROR([Invalid value for --enable-profile])]
|
[*], [AC_MSG_ERROR([Invalid value for --enable-profile])]
|
||||||
)
|
)
|
||||||
AM_CONDITIONAL(PROFILE, test "x$enable_profile" != "xno")
|
AM_CONDITIONAL(PROFILE, test "x$enable_profile" != "xno")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user