[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r10366: When telling the admin that they will need to install a main (tor/trunk)



Author: nickm
Date: 2007-05-27 11:33:48 -0400 (Sun, 27 May 2007)
New Revision: 10366

Modified:
   tor/trunk/
   tor/trunk/acinclude.m4
Log:
 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.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r12994] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/acinclude.m4
===================================================================
--- tor/trunk/acinclude.m4	2007-05-27 15:20:38 UTC (rev 10365)
+++ tor/trunk/acinclude.m4	2007-05-27 15:33:48 UTC (rev 10366)
@@ -47,12 +47,21 @@
 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
 ])