[cogl/wip/standalone: 11/11] Build: Add a --enable-standalone option
- From: Damien Lespiau <dlespiau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/standalone: 11/11] Build: Add a --enable-standalone option
- Date: Mon, 17 Sep 2012 21:04:05 +0000 (UTC)
commit 37628beefbd2954b283868eed2bb0a1b6e740e6b
Author: Damien Lespiau <damien lespiau intel com>
Date: Mon Sep 17 21:58:55 2012 +0100
Build: Add a --enable-standalone option
This option will generate a libcogl2 DSO that depends on the least
possible external libraries.
configure.ac | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 822812d..39d7694 100644
--- a/configure.ac
+++ b/configure.ac
@@ -186,6 +186,25 @@ dnl Handle extra configure options
dnl ================================================================
dnl ============================================================
+dnl Standalone cogl
+dnl ============================================================
+
+AC_ARG_ENABLE(
+ [standalone],
+ [AC_HELP_STRING([--enable-debug=@<:@no/yes@:>@], [Build Cogl without any external depedency @<:@default=no@:>@])],
+ [],
+ enable_standalone=no
+)
+AS_IF([test "x$enable_standalone" = "xyes"],
+ [
+ enable_cairo=no
+ enable_glib=no
+ enable_nls=no
+ enable_gdk_pixbuf=no
+ ]
+)
+
+dnl ============================================================
dnl Enable debugging
dnl ============================================================
m4_define([debug_default], [m4_if(cogl_release_status, [git], [yes], [no])])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]