[pango] Remove REBUILD black magic
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pango] Remove REBUILD black magic
- Date: Tue, 10 Nov 2009 22:11:01 +0000 (UTC)
commit 5f3d21b78679694f76e788e9308062380a0d0c8e
Author: Behdad Esfahbod <behdad behdad org>
Date: Tue Nov 10 16:44:54 2009 -0500
Remove REBUILD black magic
Shouldn't be needed.
configure.in | 13 -------------
pango/Makefile.am | 4 ++--
2 files changed, 2 insertions(+), 15 deletions(-)
---
diff --git a/configure.in b/configure.in
index ba17346..513665c 100644
--- a/configure.in
+++ b/configure.in
@@ -228,19 +228,6 @@ AC_ARG_ENABLE(rebuilds,
AM_CONDITIONAL(CROSS_COMPILING, [test $cross_compiling = yes])
-# define a MAINT-like variable REBUILD which is set if Perl
-# is found, so autogenerated sources can be rebuilt
-
-AC_CHECK_PROGS(PERL, perl5 perl)
-
-REBUILD=\#
-if test "x$enable_rebuilds" = "xyes" && \
- test -n "$PERL" && \
- $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 ; then
- REBUILD=
-fi
-AC_SUBST(REBUILD)
-
have_x=false
if test "x$pango_os_win32" != xyes; then
AC_PATH_XTRA
diff --git a/pango/Makefile.am b/pango/Makefile.am
index ef0245c..3480af0 100644
--- a/pango/Makefile.am
+++ b/pango/Makefile.am
@@ -132,7 +132,7 @@ pangoinclude_HEADERS = \
pango-enum-types.h: s-enum-types-h
$(AM_V_GEN) true
-s-enum-types-h: @REBUILD@ $(pango_headers) Makefile
+s-enum-types-h: $(pango_headers) Makefile
$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) \
--fhead "#ifndef __PANGO_ENUM_TYPES_H__\n#define __PANGO_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
--fprod "/* enumerations from \"@filename \" */\n" \
@@ -145,7 +145,7 @@ s-enum-types-h: @REBUILD@ $(pango_headers) Makefile
pango-enum-types.c: s-enum-types-c
$(AM_V_GEN) true
-s-enum-types-c: @REBUILD@ $(pango_headers) Makefile
+s-enum-types-c: $(pango_headers) Makefile
$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) \
--fhead "#include <pango.h>" \
--fprod "\n/* enumerations from \"@filename \" */" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]