[pygobject/pygi] fix up some build issues



commit 1d89a88b212c7411ad28e74eda80ae751de92e50
Author: John (J5) Palmieri <johnp redhat com>
Date:   Tue Jun 22 12:46:39 2010 -0400

    fix up some build issues
    
    * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because autoconf
      was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
    * tests/Makefile.am: fix check-local target to use EXEC_NAME so targets like
      make check.gdb work

 configure.ac      |    2 +-
 tests/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2b4066c..132a3c6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,8 +72,8 @@ dnl when using libtool 2.x create libtool early, because it's used in configure
 m4_ifdef([LT_OUTPUT], [LT_OUTPUT])
 AC_ISC_POSIX
 AC_PROG_CC
-AM_PROG_CC_C_O
 AM_PROG_CC_STDC
+AM_PROG_CC_C_O
 
 JD_PATH_PYTHON(2.5.2)
 
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7f177f5..2cf98a4 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -46,7 +46,7 @@ check-local: $(top_srcdir)/glib/__init__.py $(top_srcdir)/gobject/__init__.py $(
 	   cp $(top_srcdir)/gobject/*.py $(top_builddir)/gobject; \
 	   cp $(top_srcdir)/gio/*.py $(top_builddir)/gio; \
 	fi
-	@$(PYTHON) $(srcdir)/runtests.py $(top_builddir) $(top_srcdir)
+	$(EXEC_NAME) $(PYTHON) $(srcdir)/runtests.py $(top_builddir) $(top_srcdir)
 	@if test "$(top_builddir)" != "$(top_srcdir)"; then \
 	   rm -f $(top_builddir)/glib/*.py; \
 	   rm -f $(top_builddir)/gobject/*.py; \



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