[baobab/wip/vala: 2/4] Build system fixes



commit 65547f13386c0448a43e909ef94517ddfa7069a8
Author: Paolo Borelli <pborelli gnome org>
Date:   Thu Jan 5 12:46:45 2012 +0100

    Build system fixes
    
    Make autogen.sh work

 autogen.sh   |    2 +-
 configure.ac |    7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 0bb0f63..dda481e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -8,7 +8,7 @@ PKG_NAME="baobab"
 
 (test -f $srcdir/configure.ac \
   && test -f $srcdir/README \
-  && test -f $srcdir/src/baobab.c) || {
+  && test -f $srcdir/src/main.vala) || {
     echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
     echo " top-level $PKG_NAME directory"
     exit 1
diff --git a/configure.ac b/configure.ac
index e7145e0..4873026 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,7 +7,7 @@ AC_INIT([baobab],
         [baobab])
 
 AC_CONFIG_HEADERS(config.h)
-AC_CONFIG_SRCDIR(src/baobab.c)
+AC_CONFIG_SRCDIR(src/main.vala)
 AC_CONFIG_MACRO_DIR([m4])
 
 AC_CANONICAL_TARGET
@@ -59,8 +59,9 @@ AC_OUTPUT
 echo "
     Baobab $VERSION
 
-    prefix:    ${prefix}
-    compiler:  ${CC}
+    prefix: ${prefix}
+    Vala compiler: ${VALAC}
+    C compiler: ${CC}
 
     Now type 'make' to build $PACKAGE
 "



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]