mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* acinclude.m4 (AC_GET_FS_INFO): Warn only once that the list of
mounted filesystems cannot be read. Don't define NO_INFOMOUNT. Define HAVE_INFOMOUNT_LIST if a any suitable function has been found. * extraconf.h: Define HAVE_INFOMOUNT and HAVE_INFOMOUNT_QNX.
This commit is contained in:
parent
6ba78b2f80
commit
e193fccf96
@ -1,3 +1,11 @@
|
||||
2001-06-22 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* acinclude.m4 (AC_GET_FS_INFO): Warn only once that the list of
|
||||
mounted filesystems cannot be read. Don't define NO_INFOMOUNT.
|
||||
Define HAVE_INFOMOUNT_LIST if a any suitable function has been
|
||||
found.
|
||||
* extraconf.h: Define HAVE_INFOMOUNT and HAVE_INFOMOUNT_QNX.
|
||||
|
||||
2001-06-19 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* configure.in: Check for telldir and seekdir. Join adjacent
|
||||
|
11
acinclude.m4
11
acinclude.m4
@ -117,11 +117,6 @@ AC_DEFUN([AC_GET_FS_INFO], [
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$list_mounted_fs"; then
|
||||
AC_MSG_WARN([could not determine how to read list of mounted fs])
|
||||
CPPFLAGS="$CPPFLAGS -DNO_INFOMOUNT"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if test -z "$list_mounted_fs"; then
|
||||
@ -239,9 +234,9 @@ AC_DEFUN([AC_GET_FS_INFO], [
|
||||
|
||||
if test -z "$list_mounted_fs"; then
|
||||
AC_MSG_WARN([could not determine how to read list of mounted fs])
|
||||
CPPFLAGS="$CPPFLAGS -DNO_INFOMOUNT"
|
||||
# FIXME -- no need to abort building the whole package
|
||||
# Can't build mountlist.c or anything that needs its functions
|
||||
else
|
||||
AC_DEFINE(HAVE_INFOMOUNT_LIST, 1,
|
||||
[Can determine list of mounted filesystems])
|
||||
fi
|
||||
|
||||
dnl This configure.in code has been stolen from GNU fileutils-3.12. Its
|
||||
|
@ -67,3 +67,10 @@ the need to embed this logic into configure.in.
|
||||
# undef USE_EXT2FSLIB
|
||||
#endif
|
||||
|
||||
#if defined (__QNX__) && !defined (HAVE_INFOMOUNT_LIST)
|
||||
# define HAVE_INFOMOUNT_QNX
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_INFOMOUNT_LIST) || defined(HAVE_INFOMOUNT_QNX)
|
||||
# define HAVE_INFOMOUNT
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user