summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-11-10 16:44:54 -0500
committerBehdad Esfahbod <behdad@behdad.org>2009-11-10 16:44:54 -0500
commit5f3d21b78679694f76e788e9308062380a0d0c8e (patch)
treed6b508dce8c241fba69e3c9e1453300dcc84f443
parent8e9d153733cac83bfc8ce0c068d2af455d0e9a76 (diff)
downloadpango-5f3d21b78679694f76e788e9308062380a0d0c8e.tar.gz
Remove REBUILD black magic
Shouldn't be needed.
-rw-r--r--configure.in13
-rw-r--r--pango/Makefile.am4
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 <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@\" */" \