aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-05-27 15:33:48 +0000
committerNick Mathewson <nickm@torproject.org>2007-05-27 15:33:48 +0000
commit676367fe766cdcf96d99a8a810c3eeeb15e2194f (patch)
treea263fabd9c245e47e5bea5ef1d5e26f4b54e533a /acinclude.m4
parent53f59a2967a59be843c77d95a3b48e6bc9d03b6e (diff)
downloadtor-676367fe766cdcf96d99a8a810c3eeeb15e2194f.tar
tor-676367fe766cdcf96d99a8a810c3eeeb15e2194f.tar.gz
r12994@catbus: nickm | 2007-05-27 11:33:34 -0400
When telling the admin that they will need to install a main package, tell them that they will probably need the dev package too. svn:r10366
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index e0c1706c6..7b0c5d959 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -47,12 +47,21 @@ if test x$2 = xdevpkg; then
fi
if test -f /etc/debian_version -a x"$tor_$1_$2_debian" != x; then
AC_WARN([On Debian, you can install$h $1 using "apt-get install $tor_$1_$2_debian"])
+ if test x"$tor_$1_$2_debian" != x"$tor_$1_devpkg_debian"; then
+ AC_WARN([ You will probably need $tor_$1_devpkg_debian too.])
+ fi
fi
if test -f /etc/fedora-release -a x"$tor_$1_$2_redhat" != x; then
AC_WARN([On Fedora Core, you can install$h $1 using "yum install $tor_$1_$2_redhat"])
+ if test x"$tor_$1_$2_redhat != x"$tor_$1_devpkg_redhat"; then
+ AC_WARN([ You will probably need $tor_$1_devpkg_redhat too.])
+ fi
else
if test -f /etc/redhat-release -a x"$tor_$1_$2_redhat" != x; then
AC_WARN([On most Redhat-based systems, you can get$h $1 by installing the $tor_$1_$2_redhat" RPM package])
+ if test x"$tor_$1_$2_redhat" != x"$tor_$1_devpkg_redhat"; then
+ AC_WARN([ You will probably need $tor_$1_devpkg_redhat too.])
+ fi
fi
fi
])