summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm@src.gnome.org>2003-05-04 11:44:36 +0000
committerMalcolm Tredinnick <malcolm@src.gnome.org>2003-05-04 11:44:36 +0000
commitbeb18bb0e6ad79184f26132310e537331d589ada (patch)
tree0a26bef46a2b484ae40e8f05b9608e97e323787c
parent90cccc574f0bcd207979ec619bfc0ec313536367 (diff)
downloadgnome-common-beb18bb0e6ad79184f26132310e537331d589ada.tar.gz
autogen.sh: - Extend the check_m4macros() function to handle Cygwin
autogen.sh: - Extend the check_m4macros() function to handle Cygwin environments. Fixes bug #110947. svn path=/trunk/; revision=2900
-rw-r--r--macros2/ChangeLog9
-rw-r--r--macros2/autogen.sh10
2 files changed, 16 insertions, 3 deletions
diff --git a/macros2/ChangeLog b/macros2/ChangeLog
index 02609ff..649a5d1 100644
--- a/macros2/ChangeLog
+++ b/macros2/ChangeLog
@@ -1,7 +1,10 @@
-2003-05-03 Malcolm Tredinnick <malcolm@commsecure.com.au>
+2003-05-04 Malcolm Tredinnick <malcolm@commsecure.com.au>
- * autogen.sh: Make this portable to Bourne-like shells. Fixes
- the problems pointed out by Morten Welinder in bug #110177.
+ * autogen.sh:
+ - Make this portable to Bourne-like shells. Fixes the problems
+ pointed out by Morten Welinder in bug #110177.
+ - Extend the check_m4macros() function to handle Cygwin
+ environments. Fixes bug #110947.
2003-04-10 Ross Burton <ross@burtonini.com>
diff --git a/macros2/autogen.sh b/macros2/autogen.sh
index 5748e09..dd48cdc 100644
--- a/macros2/autogen.sh
+++ b/macros2/autogen.sh
@@ -159,6 +159,16 @@ check_m4macros() {
cm_macrofound=true
break
fi
+ # The macro dir in Cygwin environments may contain a file
+ # called dirlist containing other directories to look in.
+ if [ -f "$cm_dir/dirlist" ]; then
+ for cm_otherdir in `cat $cm_dir/dirlist`; do
+ if [ -f "$cm_otherdir/$cm_macro" ]; then
+ cm_macrofound=true
+ break
+ fi
+ done
+ fi
done
if $cm_macrofound; then
: