summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/mate-autogen8
1 files changed, 8 insertions, 0 deletions
diff --git a/macros/mate-autogen b/macros/mate-autogen
index 2fc0bb8..bf44710 100644
--- a/macros/mate-autogen
+++ b/macros/mate-autogen
@@ -192,6 +192,14 @@ check_m4macros() {
done
fi
fi
+
+ # Honor ACLOCAL_PATH
+ save_IFS="$IFS"
+ IFS=:
+ for dir in $ACLOCAL_PATH; do
+ add_to_cm_macrodirs "$dir"
+ done
+ IFS="$save_IFS"
# Parse $ACLOCAL_FLAGS
set - $ACLOCAL_FLAGS