mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 01:54:24 +03:00
* configure.in: Move ext2fs undelete support ...
* acinclude.m4 (MC_WITH_VFS): ... here. * extraconf.h: Remove VFS logic, it's enforced in configure now.
This commit is contained in:
parent
fc7dc2ba67
commit
3315f35e31
@ -1,5 +1,9 @@
|
|||||||
2003-10-29 Pavel Roskin <proski@gnu.org>
|
2003-10-29 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* configure.in: Move ext2fs undelete support ...
|
||||||
|
* acinclude.m4 (MC_WITH_VFS): ... here.
|
||||||
|
* extraconf.h: Remove VFS logic, it's enforced in configure now.
|
||||||
|
|
||||||
* acinclude.m4 (MC_WITH_VFS): Use AC_SEARCH_LIBS when possible.
|
* acinclude.m4 (MC_WITH_VFS): Use AC_SEARCH_LIBS when possible.
|
||||||
Allow disabling network code by --disable-netcode.
|
Allow disabling network code by --disable-netcode.
|
||||||
|
|
||||||
|
16
acinclude.m4
16
acinclude.m4
@ -215,6 +215,22 @@ AC_DEFUN([MC_WITH_VFS],[
|
|||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl Ext2fs undelete support
|
||||||
|
dnl
|
||||||
|
AC_ARG_WITH(ext2undel,
|
||||||
|
[ --with-ext2undel Compile with ext2 undelete code [[yes if found]]],
|
||||||
|
[if test x$withval != xno; then
|
||||||
|
if test x$withval != xyes; then
|
||||||
|
LDFLAGS="$LDFLAGS -L$withval/lib"
|
||||||
|
CPPFLAGS="$CPPFLAGS -I$withval/include"
|
||||||
|
fi
|
||||||
|
AC_EXT2_UNDEL
|
||||||
|
fi],[
|
||||||
|
dnl Default: detect
|
||||||
|
AC_CHECK_LIB(ext2fs, ext2fs_close, [AC_EXT2_UNDEL], , [-lcom_err])
|
||||||
|
])
|
||||||
|
|
||||||
AC_DEFINE(USE_VFS, 1, [Define to enable VFS support])
|
AC_DEFINE(USE_VFS, 1, [Define to enable VFS support])
|
||||||
if $use_net_code; then
|
if $use_net_code; then
|
||||||
AC_DEFINE(USE_NETCODE, 1, [Define to use networked VFS])
|
AC_DEFINE(USE_NETCODE, 1, [Define to use networked VFS])
|
||||||
|
16
configure.in
16
configure.in
@ -519,22 +519,6 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if test $use_vfs = yes; then
|
|
||||||
AC_ARG_WITH(ext2undel,
|
|
||||||
[ --with-ext2undel Compile with ext2 undelete code [[yes if found]]],
|
|
||||||
[if test x$withval != xno; then
|
|
||||||
if test x$withval != xyes; then
|
|
||||||
LDFLAGS="$LDFLAGS -L$withval/lib"
|
|
||||||
CPPFLAGS="$CPPFLAGS -I$withval/include"
|
|
||||||
fi
|
|
||||||
AC_EXT2_UNDEL
|
|
||||||
fi],[
|
|
||||||
dnl Default: detect
|
|
||||||
AC_CHECK_LIB(ext2fs, ext2fs_close, [AC_EXT2_UNDEL], , [-lcom_err])
|
|
||||||
])
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
dnl Check if the OS is supported by the console saver.
|
dnl Check if the OS is supported by the console saver.
|
||||||
cons_saver=""
|
cons_saver=""
|
||||||
case $host_os in
|
case $host_os in
|
||||||
|
@ -17,11 +17,6 @@ the need to embed this logic into configure.in.
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef USE_VFS
|
|
||||||
# undef USE_NETCODE
|
|
||||||
# undef USE_EXT2FSLIB
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined (__QNX__) && !defined(__QNXNTO__) && !defined (HAVE_INFOMOUNT_LIST)
|
#if defined (__QNX__) && !defined(__QNXNTO__) && !defined (HAVE_INFOMOUNT_LIST)
|
||||||
# define HAVE_INFOMOUNT_QNX
|
# define HAVE_INFOMOUNT_QNX
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user