Ticket #27500: configure.ac.diff

File configure.ac.diff, 633 bytes (added by daitakahashi, 14 years ago)

this patch will solve the link target issue

  • configure.ac

    old new  
    273273
    274274AC_CHECK_FUNC(tgetent,
    275275   [READLINE_SUPPLIB=],
    276    [AC_CHECK_LIB(curses, tgetent,
    277       [READLINE_SUPPLIB=-lcurses],
    278       [AC_CHECK_LIB(ncurses, tgetent,
    279          [READLINE_SUPPLIB=-lncurses],
     276   [AC_CHECK_LIB(ncurses, tgetent,
     277      [READLINE_SUPPLIB=-lncurses],
     278      [AC_CHECK_LIB(curses, tgetent,
     279         [READLINE_SUPPLIB=-lcurses],
    280280         [AC_CHECK_LIB(termcap, tgetent,
    281281            [READLINE_SUPPLIB=-ltermcap],
    282282            [AC_MSG_WARN(No termcap nor curses library found)])