Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Rainer Orth
Fri, 02 Oct 1992 03:35
fileutils 3.3.1 bug on Solaris 2.0
Author: Rainer Orth
Date: Fri, 02 Oct 1992 03:35
Date: Fri, 02 Oct 1992 03:35
28 lines
1637 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads