From: Doug Morris Date: Wed, 13 Oct 1999 14:56:41 +0000 (+0000) Subject: fixed bug in mh-profile/mh_profile manpage link - it did not check first X-Git-Tag: nmh-1_0~134 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=aa8860b86ba41d70c454d5d824835c8cd92a1555;p=mmh fixed bug in mh-profile/mh_profile manpage link - it did not check first --- 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: