mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
* configure.in: Remove the argument from --with-gpm-mouse. The
directories for include files and libraries can be specified using LDFLAGS and CPPFLAGS, as documented in the output of "configure --help".
This commit is contained in:
parent
89fb039e0f
commit
29d948d3fa
@ -1,5 +1,10 @@
|
|||||||
2002-09-29 Pavel Roskin <proski@gnu.org>
|
2002-09-29 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* configure.in: Remove the argument from --with-gpm-mouse. The
|
||||||
|
directories for include files and libraries can be specified
|
||||||
|
using LDFLAGS and CPPFLAGS, as documented in the output of
|
||||||
|
"configure --help".
|
||||||
|
|
||||||
* configure.in: Complete rewrite of the screen library support.
|
* configure.in: Complete rewrite of the screen library support.
|
||||||
Add new option --with-screen instead on --with-slang,
|
Add new option --with-screen instead on --with-slang,
|
||||||
--with-included-slang and --with-ncurses. Only allow
|
--with-included-slang and --with-ncurses. Only allow
|
||||||
|
36
configure.in
36
configure.in
@ -258,31 +258,25 @@ if test x$use_vfs = xyes; then
|
|||||||
vfs_type="Midnight Commander Virtual File System"
|
vfs_type="Midnight Commander Virtual File System"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl Check for gpm mouse support (Linux only)
|
||||||
|
dnl
|
||||||
mouse_lib="xterm only"
|
mouse_lib="xterm only"
|
||||||
|
AC_ARG_WITH(gpm-mouse,
|
||||||
|
[ --with-gpm-mouse Compile with gpm mouse support (Linux only)
|
||||||
|
[[yes if found]]])
|
||||||
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
linux*)
|
linux*)
|
||||||
AC_ARG_WITH(gpm-mouse,
|
if test x$with_gpm_mouse != xno; then
|
||||||
[ --with-gpm-mouse[[=base-dir]] Compile with gpm mouse support (Linux only)
|
AC_CHECK_LIB(gpm, Gpm_Repeat,
|
||||||
[[yes if found]]],
|
[AC_DEFINE(HAVE_LIBGPM, 1,
|
||||||
[if test x$withval != xno
|
[Define to enable gpm mouse support on Linux])
|
||||||
then
|
mouse_lib="gpm and xterm"
|
||||||
if test x$withval != xyes
|
MCLIBS="$MCLIBS -lgpm"],
|
||||||
then
|
[AC_MSG_WARN([libgpm is missing or older than 0.18])
|
||||||
LDFLAGS="$LDFLAGS -L$withval/lib"
|
|
||||||
CPPFLAGS="$CPPFLAGS -I$withval/include"
|
|
||||||
fi
|
|
||||||
AC_DEFINE(HAVE_LIBGPM, 1,
|
|
||||||
[Define to enable gpm mouse support on Linux])
|
|
||||||
mouse_lib="GPM and xterm"
|
|
||||||
MCLIBS="-lgpm $MCLIBS"
|
|
||||||
fi],
|
|
||||||
[AC_CHECK_LIB(gpm, Gpm_Repeat,
|
|
||||||
[AC_DEFINE(HAVE_LIBGPM)
|
|
||||||
mouse_lib="GPM and xterm"
|
|
||||||
MCLIBS="-lgpm $MCLIBS"],
|
|
||||||
[AC_MSG_WARN([libgpm is missing or older than 0.18])],
|
|
||||||
[$LIBS])
|
|
||||||
])
|
])
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user