mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05: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],
|
||||
|
||||
[yes], [
|
||||
if test "x$GCC" = "xyes"; then
|
||||
[yes],
|
||||
[
|
||||
AS_IF([test "x$GCC" = "xyes"],
|
||||
[
|
||||
PKG_CHECK_MODULES([PROFILE_DEP], [uprof-0.2])
|
||||
CLUTTER_PROFILE_CFLAGS=" -DCLUTTER_ENABLE_PROFILE -DCOGL_ENABLE_PROFILE $PROFILE_DEP_CFLAGS"
|
||||
CLUTTER_PROFILE_LDFLAGS=" $PROFILE_DEP_LIBS"
|
||||
if test "x$enable_debug" = "xyes"; then
|
||||
CLUTTER_PROFILE_CFLAGS+=" -DUPROF_DEBUG"
|
||||
fi
|
||||
else
|
||||
AC_MSG_ERROR([--enable-profile is currently only supported if using GCC])
|
||||
fi
|
||||
|
||||
AS_IF([test "x$enable_debug" = "xyes"], [CLUTTER_PROFILE_CFLAGS+=" -DUPROF_DEBUG"])
|
||||
],
|
||||
[no], [
|
||||
[
|
||||
AC_MSG_ERROR([--enable-profile is currently only supported if using GCC])
|
||||
])
|
||||
],
|
||||
|
||||
[no],
|
||||
[
|
||||
CLUTTER_PROFILE_CFLAGS=""
|
||||
CLUTTER_PROFILE_LDFLAGS=""
|
||||
],
|
||||
|
||||
[*], [AC_MSG_ERROR([Invalid value for --enable-profile])]
|
||||
)
|
||||
AM_CONDITIONAL(PROFILE, test "x$enable_profile" != "xno")
|
||||
|
Loading…
Reference in New Issue
Block a user