🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #991

fileutils 3.3.1 bug on Solaris 2.0

#991
From: Rainer Orth
Date: Fri, 02 Oct 1992 03:35
28 lines
1637 bytes
When configuring fileutils 3.3.1 on Solaris 2.0, configure fails to
recognize that the SVR4 functions to get the list of mounted filesystems
are available.  This happens because it searches for putmntent in
<sys/mnttab.h> after that file has passed the C preprocessor.
Unfortunately, putmntent is a macro in SunOS 5.0 and cannot be found.  It
seems to be safer to check for getmntent instead, which seems always to be
a function.

===================================================================
RCS file: RCS/configure,v
retrieving revision 1.1
diff -u -r1.1 configure
--- configure	1992/08/21 22:01:27	1.1
+++ configure	1992/10/02 01:21:16
@@ -345,7 +345,7 @@
 # SVR4
 echo '#include <sys/mnttab.h>' > conftest.c
 eval "$CPP $DEFS conftest.c > conftest.out 2>&1"
-if egrep "putmntent" conftest.out >/dev/null 2>&1; then
+if egrep "getmntent" conftest.out >/dev/null 2>&1; then
   DEFS="$DEFS -DMOUNTED_GETMNTENT2=1" mounted=1
 fi
 rm -f conftest*
 
-----------------------------------------------------------------------------
Rainer Orth, Technical Computer Science, University of Bielefeld

Internet: ro@TechFak.Uni-Bielefeld.DE
Technical Details
Message-ID: <9210020135.AA01667@anemone.techfak.uni-bielefeld.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!techfak.uni-bielefeld.DE!ro

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!techfak.uni-bielefeld.DE!ro
From: ro@techfak.uni-bielefeld.DE (Rainer Orth)
Subject: fileutils 3.3.1 bug on Solaris 2.0
Message-ID: <9210020135.AA01667@anemone.techfak.uni-bielefeld.de>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 2 Oct 1992 03:35:06 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 30