From 5f3d21b78679694f76e788e9308062380a0d0c8e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 10 Nov 2009 16:44:54 -0500 Subject: 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 ba173468..513665cb 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 ef0245c0..3480af04 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 \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 " \ --fprod "\n/* enumerations from \"@filename@\" */" \ -- cgit v1.2.1