PATCH: nroff detection wrong, by default uses mantype=cat

Pekka Savola pekkas at netcore.fi
Thu Feb 28 03:55:26 EST 2002


Hi,

Just tested the latest snapshot on RHL72 via building RPM's of it.

Nroff detection was wrong, and if no --with-mantype was specified, the 
type would always revert to cat.  This one-byter fixes it.

-- 
Pekka Savola                 "Tell me of difficulties surmounted,
Netcore Oy                   not those you stumble over and fall"
Systems. Networks. Security.  -- Robert Jordan: A Crown of Swords
-------------- next part --------------
--- configure.ac~	Wed Feb 27 08:12:35 2002
+++ configure.ac	Wed Feb 27 18:43:45 2002
@@ -1798,7 +1798,7 @@
 	]
 )
 if test -z "$MANTYPE"; then
-	AC_PATH_PROGS(NROFF, nroff awf, /bin/false, /usr/bin:/usr/ucb)
+	AC_PATH_PROGS(NROFF, nroff awf, /bin/false, /usr/bin /usr/ucb)
 	if ${NROFF} -mdoc ${srcdir}/ssh.1 >/dev/null 2>&1; then
 		MANTYPE=doc
 	elif ${NROFF} -man ${srcdir}/ssh.1 >/dev/null 2>&1; then


More information about the openssh-unix-dev mailing list