Remove tabs from configure.ac

This commit is contained in:
Emmanuele Bassi 2010-01-29 09:29:37 +00:00
parent 5f5f6d825f
commit 21d21adbc4

View File

@ -157,7 +157,7 @@ AS_IF([test "x$CLUTTER_WINSYS" = "xeglnative" ||
COGL_DRIVER="gles" COGL_DRIVER="gles"
AC_DEFINE([HAVE_COGL_GLES], 1, [Have GL/ES for rendering]) AC_DEFINE([HAVE_COGL_GLES], 1, [Have GL/ES for rendering])
AC_SUBST(COGL_GLES_VERSION, [COGL_HAS_GLES1]) AC_SUBST(COGL_GLES_VERSION, [COGL_HAS_GLES1])
AC_CHECK_HEADERS([GLES/egl.h], AC_CHECK_HEADERS([GLES/egl.h],
[], [],
@ -202,7 +202,7 @@ AS_IF([test "x$CLUTTER_WINSYS" = "xeglnative" ||
use_gles2_wrapper=yes use_gles2_wrapper=yes
COGL_DRIVER="gles" COGL_DRIVER="gles"
AC_DEFINE([HAVE_COGL_GLES2], 1, [Have GL/ES for rendering]) AC_DEFINE([HAVE_COGL_GLES2], 1, [Have GL/ES for rendering])
AC_SUBST(COGL_GLES_VERSION, [COGL_HAS_GLES2]) AC_SUBST(COGL_GLES_VERSION, [COGL_HAS_GLES2])
AC_CHECK_HEADERS([EGL/egl.h], AC_CHECK_HEADERS([EGL/egl.h],
[], [],
@ -216,7 +216,7 @@ AS_IF([test "x$CLUTTER_WINSYS" = "xeglnative" ||
clutter_gl_header="GLES/gl.h" clutter_gl_header="GLES/gl.h"
COGL_DRIVER="gles" COGL_DRIVER="gles"
AC_DEFINE([HAVE_COGL_GLES], 1, [Have GL/ES for rendering]) AC_DEFINE([HAVE_COGL_GLES], 1, [Have GL/ES for rendering])
AC_SUBST(COGL_GLES_VERSION, [COGL_HAS_GLES1]) AC_SUBST(COGL_GLES_VERSION, [COGL_HAS_GLES1])
AC_CHECK_HEADERS([GLES/egl.h], AC_CHECK_HEADERS([GLES/egl.h],
[], [],
@ -712,28 +712,33 @@ m4_define([profile_default], [no])
AC_ARG_ENABLE(profile, AC_ARG_ENABLE(profile,
AC_HELP_STRING([--enable-profile=@<:@no/yes@:>@], AC_HELP_STRING([--enable-profile=@<:@no/yes@:>@],
[Turn on profiling support. yes; All profiling probe points are compiled in and may be runtime enabled. no; No profiling support will built into clutter. @<:@default=no@:>@]), [Turn on profiling support. yes; All profiling probe points are compiled in and may be runtime enabled. no; No profiling support will built into clutter. @<:@default=no@:>@]),
[], [],
[enable_profile=profile_default]) [enable_profile=profile_default])
AS_CASE([$enable_profile], AS_CASE([$enable_profile],
[yes], [ [yes],
if test "x$GCC" = "xyes"; then [
PKG_CHECK_MODULES([PROFILE_DEP], [uprof-0.2]) AS_IF([test "x$GCC" = "xyes"],
CLUTTER_PROFILE_CFLAGS=" -DCLUTTER_ENABLE_PROFILE -DCOGL_ENABLE_PROFILE $PROFILE_DEP_CFLAGS" [
CLUTTER_PROFILE_LDFLAGS=" $PROFILE_DEP_LIBS" PKG_CHECK_MODULES([PROFILE_DEP], [uprof-0.2])
if test "x$enable_debug" = "xyes"; then CLUTTER_PROFILE_CFLAGS=" -DCLUTTER_ENABLE_PROFILE -DCOGL_ENABLE_PROFILE $PROFILE_DEP_CFLAGS"
CLUTTER_PROFILE_CFLAGS+=" -DUPROF_DEBUG" CLUTTER_PROFILE_LDFLAGS=" $PROFILE_DEP_LIBS"
fi
else AS_IF([test "x$enable_debug" = "xyes"], [CLUTTER_PROFILE_CFLAGS+=" -DUPROF_DEBUG"])
AC_MSG_ERROR([--enable-profile is currently only supported if using GCC]) ],
fi [
], AC_MSG_ERROR([--enable-profile is currently only supported if using GCC])
[no], [ ])
CLUTTER_PROFILE_CFLAGS="" ],
CLUTTER_PROFILE_LDFLAGS=""
], [no],
[*], [AC_MSG_ERROR([Invalid value for --enable-profile])] [
CLUTTER_PROFILE_CFLAGS=""
CLUTTER_PROFILE_LDFLAGS=""
],
[*], [AC_MSG_ERROR([Invalid value for --enable-profile])]
) )
AM_CONDITIONAL(PROFILE, test "x$enable_profile" != "xno") AM_CONDITIONAL(PROFILE, test "x$enable_profile" != "xno")
AC_SUBST(CLUTTER_PROFILE_CFLAGS) AC_SUBST(CLUTTER_PROFILE_CFLAGS)
@ -868,11 +873,11 @@ GLIB_DEFINE_LOCALEDIR(LOCALEDIR)
dnl =========================================================================== dnl ===========================================================================
m4_ifdef([AM_SILENT_RULES], m4_ifdef([AM_SILENT_RULES],
[ [
AM_SILENT_RULES([yes]) AM_SILENT_RULES([yes])
use_shave=no use_shave=no
], ],
[ [
SHAVE_INIT([build/autotools], [enable]) SHAVE_INIT([build/autotools], [enable])
AC_CONFIG_FILES([ AC_CONFIG_FILES([
build/autotools/shave build/autotools/shave