aboutsummaryrefslogtreecommitdiff
path: root/ac/aclocal-include.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ac/aclocal-include.m4')
-rw-r--r--ac/aclocal-include.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/ac/aclocal-include.m4 b/ac/aclocal-include.m4
new file mode 100644
index 00000000..aac5f8a0
--- /dev/null
+++ b/ac/aclocal-include.m4
@@ -0,0 +1,12 @@
+# aclocal-include.m4
+#
+# This macro adds the name macrodir to the set of directories
+# that `aclocal' searches for macros.
+
+dnl SYLPHEED_ACLOCAL_INCLUDE(macrodir)
+AC_DEFUN([SYLPHEED_ACLOCAL_INCLUDE],
+[
+ test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
+
+ for k in $1 ; do ACLOCAL="$ACLOCAL -I $k" ; done
+])