Read the dirlist file unconditionally
authorJavier Jardón <jjardon@gnome.org>
Tue, 23 Jul 2013 10:53:00 +0000 (11:53 +0100)
committerDavid King <amigadave@amigadave.com>
Tue, 1 Oct 2013 13:39:18 +0000 (14:39 +0100)
macros2/gnome-autogen.sh

index ee4b937..b33b78d 100644 (file)
@@ -165,9 +165,8 @@ check_m4macros() {
     # aclocal also searches a version specific dir, eg. /usr/share/aclocal-1.9
     # but it contains only Automake's own macros, so we can ignore it.
 
-    # Read the dirlist file, supported by Automake >= 1.7.
-    # If AUTOMAKE was defined, no version was detected.
-    if [ -z "$AUTOMAKE_VERSION" ] || compare_versions 1.7 $AUTOMAKE_VERSION && [ -s $cm_macrodirs/dirlist ]; then
+    # Read the dirlist file
+    if [ -s $cm_macrodirs/dirlist ]; then
        cm_dirlist=`sed 's/[    ]*#.*//;/^$/d' $cm_macrodirs/dirlist`
        if [ -n "$cm_dirlist" ] ; then
            for cm_dir in $cm_dirlist; do