summaryrefslogtreecommitdiff
path: root/bin/aclocal.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/aclocal.in')
-rw-r--r--bin/aclocal.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/aclocal.in b/bin/aclocal.in
index 77fbfd7e4..0b41dcf65 100644
--- a/bin/aclocal.in
+++ b/bin/aclocal.in
@@ -1055,13 +1055,15 @@ EOF
# pages during Automake compilation, the environment is set to local values.
# So don't include it in the installed man page.
if (!$ENV{AUTOMAKE_HELP2MAN}) {
+ my $aclocal_automake_dir = $ENV{"ACLOCAL_AUTOMAKE_DIR"} || "";
+ my $aclocal_path = $ENV{"ACLOCAL_PATH"} || "";
print <<"EOF";
Current m4 search paths (in order):
-I dirs: @user_includes
--automake-acdir: @automake_includes
- \$ACLOCAL_AUTOMAKE_DIR: $ENV{"ACLOCAL_AUTOMAKE_DIR"}
- \$ACLOCAL_PATH: $ENV{"ACLOCAL_PATH"}
+ \$ACLOCAL_AUTOMAKE_DIR: $aclocal_automake_dir
+ \$ACLOCAL_PATH: $aclocal_path
--system-acdir: @system_includes
EOF
}