|
Lines 315-321
AM_CONDITIONAL(HAVE_XTESTEXTENSION, test
|
Link Here
|
|---|
|
dnl | dnl |
dnl readline | dnl readline |
dnl | dnl |
AC_CHECK_READLINE |
if test x"$with_readline" != xno; then |
|
AC_CHECK_READLINE |
|
fi |
|
|
AM_CONDITIONAL(HAVE_READLINE, test x"$have_readline" = "xyes") | AM_CONDITIONAL(HAVE_READLINE, test x"$have_readline" = "xyes") |
if test x"$have_readline" != "xyes"; then | if test x"$have_readline" != "xyes"; then |
AC_MSG_RESULT([*** no readline found, xine network interface will be disabled ***]) | AC_MSG_RESULT([*** no readline found, xine network interface will be disabled ***]) |
|
|
dnl | dnl |
dnl ncurses | dnl ncurses |
dnl | dnl |
AC_CHECK_HEADERS(curses.h) |
AC_ARG_WITH(ncurses, |
AC_CHECK_LIB(ncurses, cbreak, |
[ --without-ncurses Turn off ncurses support.], |
AC_DEFINE(HAVE_NCURSES,,[Define this if you have ncurses installed]) |
[], with_ncurses=yes) |
ac_have_ncurses="yes" |
|
NCURSES_LIB="-lncurses") |
if test x"$with_ncurses" = xyes; then |
AC_SUBST(NCURSES_LIB) |
AC_CHECK_HEADERS(curses.h) |
|
AC_CHECK_LIB(ncurses, cbreak, |
|
AC_DEFINE(HAVE_NCURSES,,[Define this if you have ncurses installed]) |
|
ac_have_ncurses="yes" |
|
NCURSES_LIB="-lncurses") |
|
AC_SUBST(NCURSES_LIB) |
|
fi |
|
|
AM_CONDITIONAL(HAVE_NCURSES, test x$ac_have_ncurses = "xyes") | AM_CONDITIONAL(HAVE_NCURSES, test x$ac_have_ncurses = "xyes") |
| |
dnl | dnl |
dnl Libcurl | dnl Libcurl |
dnl | dnl |
AM_PATH_CURL(7.10.2, [ |
AC_ARG_WITH(curl, |
AC_DEFINE(HAVE_CURL,,[Define this if you have libcurl installed])], [ |
[ --without-curl Turn off curl support.], |
AC_MSG_RESULT(*** All of curl dependent parts will be disabled ***)]) |
[], with_curl=yes) |
|
|
|
if test x"$with_curl" = xyes; then |
|
AM_PATH_CURL(7.10.2, [ |
|
AC_DEFINE(HAVE_CURL,,[Define this if you have libcurl installed])], [ |
|
AC_MSG_RESULT(*** All of curl dependent parts will be disabled ***)]) |
|
else |
|
no_curl=yes |
|
fi |
AM_CONDITIONAL(HAVE_CURL, test x$no_curl != "xyes") | AM_CONDITIONAL(HAVE_CURL, test x$no_curl != "xyes") |
| |
| |
|
|
dnl | dnl |
dnl check for ascii-art library | dnl check for ascii-art library |
dnl | dnl |
AM_PATH_AALIB(1.2.0,,) |
AC_ARG_WITH(aalib, |
|
[ --without-aalib Turn off AALIB support.], |
|
[], with_aalib=yes) |
|
|
|
if test x"$with_aalib" = xyes; then |
|
AM_PATH_AALIB(1.2.0,,) |
|
else |
|
no_aalib=yes |
|
fi |
AM_CONDITIONAL(HAVE_AA, test x$no_aalib != "xyes") | AM_CONDITIONAL(HAVE_AA, test x$no_aalib != "xyes") |
| |
dnl | dnl |
dnl checks for Color AsCii Art library | dnl checks for Color AsCii Art library |
dnl | dnl |
AM_PATH_CACA(0.3,, AC_MSG_RESULT([*** All CACA-dependent parts will be disabled ***])) |
AC_ARG_WITH(libcaca, |
|
[ --without-libcaca Turn off CACA support.], |
|
[], with_libcaca=yes) |
|
|
|
if test x"$with_libcaca" = xyes; then |
|
AM_PATH_CACA(0.3,, AC_MSG_RESULT([*** All CACA-dependent parts will be disabled ***])) |
|
else |
|
no_caca=yes |
|
fi |
AM_CONDITIONAL(HAVE_CACA, test x$no_caca != "xyes") | AM_CONDITIONAL(HAVE_CACA, test x$no_caca != "xyes") |
| |
dnl option for font sets and multibyte string support | dnl option for font sets and multibyte string support |