AƱadido autogen (copiado del epiphany) y cambiado cppflags por cflags
authordanigm <danigm>
Tue, 22 Dec 2009 12:12:02 +0000 (12:12 +0000)
committerdanigm <danigm@aa302d1f-72b1-406a-902b-8593ca2b2744>
Tue, 22 Dec 2009 12:12:02 +0000 (12:12 +0000)
git-svn-id: https://forja.rediris.es/svn/cusl4-tbo@16 aa302d1f-72b1-406a-902b-8593ca2b2744

autogen.sh [new file with mode: 0755]
src/Makefile.am

diff --git a/autogen.sh b/autogen.sh
new file mode 100755 (executable)
index 0000000..b54dc7e
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="tbo"
+
+(test -f $srcdir/src/tbo.c) || {
+    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+    echo " top-level $PKG_NAME directory"
+    exit 1
+}
+
+which gnome-autogen.sh || {
+    echo "You need to install gnome-common from GNOME SVN and make"
+    echo "sure the gnome-autogen.sh script is in your \$PATH."
+    exit 1
+}
+
+REQUIRED_AUTOMAKE_VERSION=1.9 
+REQUIRED_LIBTOOL_VERSION=2.2
+REQUIRED_INTLTOOL_VERSION=0.40.4
+. gnome-autogen.sh
index b839900..3f5f1e0 100644 (file)
@@ -26,7 +26,7 @@ tbo_SOURCES = \
        ui-menu.h \
        ui-toolbar.h
 
-tbo_CPPFLAGS = @GTK_CFLAGS@ \
+tbo_CFLAGS = @GTK_CFLAGS@ \
                   -DDATA_DIR=\""$(pkgdatadir)"\"
 
 tbo_LDADD = @GTK_LIBS@