mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-03 06:31:28 +03:00
* configure.in: Fix some cases of overquoting and underquoting.
* acinclude.m4: Likewise.
This commit is contained in:
parent
33b09eee48
commit
462e063ce4
@ -1,3 +1,8 @@
|
||||
2001-09-13 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* configure.in: Fix some cases of overquoting and underquoting.
|
||||
* acinclude.m4: Likewise.
|
||||
|
||||
2001-09-12 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* configure.in: Update list of browsers. Don't fallback to
|
||||
|
11
acinclude.m4
11
acinclude.m4
@ -46,7 +46,7 @@ AC_DEFUN([MC_WITH_VFS],[
|
||||
if test $have_socket = no; then
|
||||
# socket is not in the default libraries. See if it's in some other.
|
||||
for lib in bsd socket inet; do
|
||||
AC_CHECK_LIB($lib, socket, [
|
||||
AC_CHECK_LIB([$lib], [socket], [
|
||||
LIBS="$LIBS -l$lib"
|
||||
have_socket=yes
|
||||
AC_DEFINE(HAVE_SOCKET)
|
||||
@ -59,7 +59,8 @@ AC_DEFUN([MC_WITH_VFS],[
|
||||
if test $have_gethostbyname = no; then
|
||||
# gethostbyname is not in the default libraries. See if it's in some other.
|
||||
for lib in bsd socket inet; do
|
||||
AC_CHECK_LIB($lib, gethostbyname, [LIBS="$LIBS -l$lib"; have_gethostbyname=yes; break])
|
||||
AC_CHECK_LIB([$lib], [gethostbyname],
|
||||
[LIBS="$LIBS -l$lib"; have_gethostbyname=yes; break])
|
||||
done
|
||||
fi
|
||||
|
||||
@ -439,7 +440,7 @@ can be used together])
|
||||
AC_MSG_WARN([could not determine how to read list of mounted fs])
|
||||
else
|
||||
AC_DEFINE(HAVE_INFOMOUNT_LIST, 1,
|
||||
[Can determine list of mounted filesystems])
|
||||
[Define if the list of mounted filesystems can be determined])
|
||||
fi
|
||||
|
||||
dnl This configure.in code has been stolen from GNU fileutils-3.12. Its
|
||||
@ -646,9 +647,9 @@ AC_DEFUN([AC_USE_TERMINFO], [
|
||||
|
||||
AC_DEFUN([AC_USE_TERMCAP], [
|
||||
AC_MSG_NOTICE([using S-Lang screen manager/termcap])
|
||||
AC_DEFINE(USE_TERMCAP, 1, [[Define to use termcap library]])
|
||||
AC_DEFINE(USE_TERMCAP, 1, [Define to use termcap library])
|
||||
dnl Check with $LIBS at the end so that it works with ELF libs.
|
||||
AC_CHECK_LIB(termcap, tgoto, LIBS="$LIBS -ltermcap", , $LIBS)
|
||||
AC_CHECK_LIB(termcap, tgoto, [LIBS="$LIBS -ltermcap"], , [$LIBS])
|
||||
slang_term=" with termcap"
|
||||
])
|
||||
|
||||
|
11
configure.in
11
configure.in
@ -148,8 +148,8 @@ dnl grantpt in libpt.a
|
||||
dnl
|
||||
LCRYPT=""
|
||||
AC_CHECK_FUNCS(crypt, , [
|
||||
AC_CHECK_LIB(crypt, crypt, LCRYPT="-lcrypt",[
|
||||
AC_CHECK_LIB(crypt_i, crypt, LCRYPT="-lcrypt_i")])])
|
||||
AC_CHECK_LIB(crypt, crypt, [LCRYPT="-lcrypt"], [
|
||||
AC_CHECK_LIB(crypt_i, crypt, [LCRYPT="-lcrypt_i"])])])
|
||||
AC_SUBST(LCRYPT)
|
||||
|
||||
AC_CHECK_FUNCS(grantpt, , [AC_CHECK_LIB(pt, grantpt)])
|
||||
@ -239,7 +239,8 @@ AC_CHECK_FUNC(gethostbyname, [have_gethostbyname=yes])
|
||||
if test $have_gethostbyname = no; then
|
||||
# gethostbyname is not in the default libraries. See if it's in some other.
|
||||
for lib in bsd socket inet; do
|
||||
AC_CHECK_LIB($lib, gethostbyname, [LIBS="$LIBS -l$lib"; have_gethostbyname=yes; break])
|
||||
AC_CHECK_LIB([$lib], [gethostbyname],
|
||||
[LIBS="$LIBS -l$lib"; have_gethostbyname=yes; break])
|
||||
done
|
||||
fi
|
||||
|
||||
@ -300,7 +301,7 @@ linux*)
|
||||
mouse_lib="GPM and xterm"
|
||||
MCLIBS="-lgpm $MCLIBS"],
|
||||
[AC_MSG_WARN([libgpm is missing or older than 0.18])],
|
||||
$LIBS)
|
||||
[$LIBS])
|
||||
])
|
||||
;;
|
||||
esac
|
||||
@ -617,7 +618,7 @@ if test $use_vfs = yes; then
|
||||
AC_EXT2_UNDEL
|
||||
fi],[
|
||||
dnl Default: detect
|
||||
AC_CHECK_LIB(ext2fs, ext2fs_close, [AC_EXT2_UNDEL],,-lcom_err)
|
||||
AC_CHECK_LIB(ext2fs, ext2fs_close, [AC_EXT2_UNDEL], , [-lcom_err])
|
||||
])
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user