From aa8860b86ba41d70c454d5d824835c8cd92a1555 Mon Sep 17 00:00:00 2001 From: Doug Morris Date: Wed, 13 Oct 1999 14:56:41 +0000 Subject: [PATCH] fixed bug in mh-profile/mh_profile manpage link - it did not check first --- config.h.in | 2 +- configure | 2 +- man/Makefile.in | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/config.h.in b/config.h.in index a206efd..6d03f36 100644 --- a/config.h.in +++ b/config.h.in @@ -139,7 +139,7 @@ /* 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 diff --git a/configure b/configure index 244672c..456d6ba 100755 --- 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 diff --git a/man/Makefile.in b/man/Makefile.in index 8bfa3df..0b58063 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -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: -- 1.7.10.4