]> git.marmaro.de Git - mmh/commitdiff
fixed bug in mh-profile/mh_profile manpage link - it did not check first
authorDoug Morris <doug@mhost.com>
Wed, 13 Oct 1999 14:56:41 +0000 (14:56 +0000)
committerDoug Morris <doug@mhost.com>
Wed, 13 Oct 1999 14:56:41 +0000 (14:56 +0000)
config.h.in
configure
man/Makefile.in

index a206efd7cb790f1fe76695bb195d1ac1a6e99dfe..6d03f36ee37296b53b2e9d126b98a5d6ce4dc14b 100644 (file)
 /* Defined for SCO5 */
 #undef SCO_5_STDIO
 
-/* Defined for Linux */
+/* This tells nmh to use the Linux _IO_*_ptr defines from libio.h */ 
 #undef LINUX_STDIO
 
 
index 244672c90c5a2089220d338515992d8c28636729..456d6ba3fdfd6dce48e8217212abe36d5a3e4c5c 100755 (executable)
--- a/configure
+++ b/configure
@@ -1207,7 +1207,7 @@ if test -n "$RANLIB"; then
 else
   echo "$ac_t""no" 1>&6
 fi
-               for ac_prog in mawk gawk nawk awk
+               for ac_prog in gawk mawk nawk awk
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
index 8bfa3df4a24b2df947d4a76690c19fd205c7e18a..0b580631e99e1981992a4079c4b4c2724cd58ff3 100644 (file)
@@ -145,8 +145,10 @@ install-man5:
        for file in $(MAN5); do \
          $(INSTALL_DATA) $$file $(mandir)/man$(manext5) ; \
        done
-       ( cd $(mandir)/man$(manext5) ; ln mh-profile.$(manext5) \
-          mh_profile.$(manext5) )
+       if [ ! -f mh_profile.$(manext5) ] ; then \
+         ( cd $(mandir)/man$(manext5) ; ln mh-profile.$(manext5) \
+            mh_profile.$(manext5) ) \
+       fi
 
 # install the man pages in man8
 install-man8: