Index: aclocal.m4
===================================================================
RCS file: /cvsroot/quilt/quilt/aclocal.m4,v
retrieving revision 1.4
diff -u -r1.4 aclocal.m4
--- aclocal.m4  19 Sep 2005 17:48:54 -0000      1.4
+++ aclocal.m4  20 Sep 2005 09:49:06 -0000
@@ -10,12 +10,13 @@
                  m4_if(internal_$2_cmd,[],[],[ (or 'none'
                           to use an internal mechanism)])),
   [
-    if test ! x"$withval" = xnone; then
+    if test ! x"$withval" = xnone -a ! x"$withval" = xno; then
       $1="$withval"
       AC_MSG_NOTICE([Using $2 executable $$1])
       COMPAT_SYMLINKS="$COMPAT_SYMLINKS $2"
     fi
   ],[
+    $1_extra_info='  Use option "--with-$2" to override'
     m4_if([$3],[],[
       AC_PATH_PROGS($1,$2,,$PATH:$4)
     ],[
@@ -38,7 +39,7 @@
     m4_if(internal_$2_cmd,[],[
       AC_MSG_ERROR([Please specify the location of $2 with the option '--with-$2'])
     ],[
-      AC_MSG_WARN([Using internal $2 mechanism.  Use option '--with-$2' to override])
+      AC_MSG_WARN([Using internal $2 mechanism.$$1_extra_info])
       COMPAT_PROGRAMS="$COMPAT_PROGRAMS $2"
       $1=$2
       INTERNAL_$1=1
