Mercurial > pidgin
comparison configure.ac @ 14325:985e5e3f6f2c
[gaim-migrate @ 17020]
Some distros put the ncursesw headers in ncursesw/, some don't.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 24 Aug 2006 19:41:34 +0000 |
parents | 63ef6342db05 |
children | 17eba43f98a9 |
comparison
equal
deleted
inserted
replaced
14324:2d7086454b08 | 14325:985e5e3f6f2c |
---|---|
805 dnl ####################################################################### | 805 dnl ####################################################################### |
806 GNT_LIBS= | 806 GNT_LIBS= |
807 if test "x$enable_gnt" = "xyes"; then | 807 if test "x$enable_gnt" = "xyes"; then |
808 AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], [enable_gnt=no]) | 808 AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], [enable_gnt=no]) |
809 AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"], [enable_gnt=no]) | 809 AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"], [enable_gnt=no]) |
810 | |
811 # Some distros put the headers in ncursesw/, some don't | |
812 AC_CHECK_HEADER(ncursesw/ncurses.h, [AC_DEFINE(HAVE_NCURSESW_INC, 1, [Define if you have the ncursesw headers in ncursesw/])]) | |
810 else | 813 else |
811 enable_gnt=no | 814 enable_gnt=no |
812 fi | 815 fi |
813 AC_SUBST(GNT_LIBS) | 816 AC_SUBST(GNT_LIBS) |
814 AM_CONDITIONAL(ENABLE_GNT, test "x$enable_gnt" = "xyes") | 817 AM_CONDITIONAL(ENABLE_GNT, test "x$enable_gnt" = "xyes") |