mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
* configure.in: Only check for X if --with-tm-x-support has been
specified.
This commit is contained in:
parent
13e92aca94
commit
34a95b4942
@ -1,5 +1,8 @@
|
|||||||
2001-09-10 Pavel Roskin <proski@gnu.org>
|
2001-09-10 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* configure.in: Only check for X if --with-tm-x-support has been
|
||||||
|
specified.
|
||||||
|
|
||||||
* configure.in: Add check for sys/ioctl.h.
|
* configure.in: Add check for sys/ioctl.h.
|
||||||
|
|
||||||
* configure.in: Use AC_FUNC_STRCOLL instead of generic test.
|
* configure.in: Use AC_FUNC_STRCOLL instead of generic test.
|
||||||
|
@ -194,8 +194,6 @@ AC_FUNC_MMAP
|
|||||||
AC_FUNC_ALLOCA
|
AC_FUNC_ALLOCA
|
||||||
AC_FUNC_STRCOLL
|
AC_FUNC_STRCOLL
|
||||||
|
|
||||||
AC_PATH_XTRA
|
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl X11 support.
|
dnl X11 support.
|
||||||
dnl
|
dnl
|
||||||
@ -210,6 +208,7 @@ textmode_x11_support="no"
|
|||||||
AC_ARG_WITH(tm-x-support,
|
AC_ARG_WITH(tm-x-support,
|
||||||
[--with-tm-x-support Try getting events from X Window System],
|
[--with-tm-x-support Try getting events from X Window System],
|
||||||
[if test x$withval = xyes; then
|
[if test x$withval = xyes; then
|
||||||
|
AC_PATH_XTRA
|
||||||
MCCFLAGS="$X_CFLAGS"
|
MCCFLAGS="$X_CFLAGS"
|
||||||
MCLIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
|
MCLIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
|
||||||
AC_DEFINE(HAVE_TEXTMODE_X11_SUPPORT, 1,
|
AC_DEFINE(HAVE_TEXTMODE_X11_SUPPORT, 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user