[monkey-bubble: 214/753] Added this; copied from gtk+.
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 214/753] Added this; copied from gtk+.
- Date: Wed, 14 Jul 2010 22:13:39 +0000 (UTC)
commit cd169c1925dd52a033b23f588536199d4e14e242
Author: Martin Baulig <baulig suse de>
Date: Sun Apr 29 15:14:32 2001 +0000
Added this; copied from gtk+.
2001-04-29 Martin Baulig <baulig suse de>
* configure.in (REBUILT): Added this; copied from gtk+.
ChangeLog | 4 ++++
configure.in | 14 ++++++++++++--
2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a433de9..f2cf892 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-29 Martin Baulig <baulig suse de>
+
+ * configure.in (REBUILT): Added this; copied from gtk+.
+
2001-04-21 Kjartan Maraas <kmaraas gnome org>
* configure.in: Added nn and no to ALL_LINGUAS.
diff --git a/configure.in b/configure.in
index 0ac1bfc..ed15ade 100644
--- a/configure.in
+++ b/configure.in
@@ -39,12 +39,22 @@ GNOME_COMPILE_WARNINGS(maximum)
dnl Define GNOME_ENABLE_DEBUG if the --enable-debug switch was given.
GNOME_DEBUG_CHECK
-AC_PROG_AWK
-
dnl Don't use AC_PROG_AWK since we need the full pathname.
AC_PATH_PROGS(AWK, mawk gawk nawk awk, )
AC_PATH_PROGS(PERL, perl5 perl)
+# define a MAINT-like variable REBUILD which is set if Perl
+# and awk are found, so autogenerated sources can be rebuilt
+AC_ARG_ENABLE(rebuilds, [ --disable-rebuilds disable all source autogeneration rules],,enable_rebuilds=yes)
+REBUILD=\#
+if test "x$enable_rebuilds" = "xyes" && \
+ test -n "$PERL" && \
+ $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 && \
+ test -n "$AWK" ; then
+ REBUILD=
+fi
+AC_SUBST(REBUILD)
+
AC_ARG_ENABLE(prefer-db1, [ --enable-prefer-db1 Prefer Berkeley DB 1.x],[prefer_db1="$enableval"],[prefer_db1=yes])
dnl
dnl Check for db stuff (gnome-metadata)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]