Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 527118
Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +12 lines)
Line  Link Here
0
-- a/m4.include/mc-with-screen-ncurses.m4
0
++ b/m4.include/mc-with-screen-ncurses.m4
Lines 101-106 Link Here
101
        LIBS=
101
        LIBS=
102
        AC_SEARCH_LIBS([has_colors], [ncurses], [MCLIBS="$MCLIBS $LIBS"], 
102
        AC_SEARCH_LIBS([has_colors], [ncurses], [MCLIBS="$MCLIBS $LIBS"], 
103
                       [AC_MSG_ERROR([Cannot find ncurses library])])
103
                       [AC_MSG_ERROR([Cannot find ncurses library])])
104
        AC_SEARCH_LIBS([stdscr],[tinfo ncurses],[MCLIBS="$MCLIBS $LIBS"],
105
                       [AC_MSG_ERROR([Cannot find a library providing stdscr])])
106
104
107
105
        screen_type=ncurses
108
        screen_type=ncurses
106
        screen_msg="Ncurses library"
109
        screen_msg="Ncurses library"
Lines 111-120 Link Here
111
        AC_SEARCH_LIBS([addwstr], [ncursesw ncurses curses], [MCLIBS="$MCLIBS $LIBS";ncursesw_found=yes],
114
        AC_SEARCH_LIBS([addwstr], [ncursesw ncurses curses], [MCLIBS="$MCLIBS $LIBS";ncursesw_found=yes],
112
                       [AC_MSG_WARN([Cannot find ncurses library, that support wide characters])])
115
                       [AC_MSG_WARN([Cannot find ncurses library, that support wide characters])])
113
116
117
        AC_SEARCH_LIBS([stdscr],[tinfo ncursesw ncurses curses],[MCLIBS="$MCLIBS $LIBS"],
118
                       [AC_MSG_ERROR([Cannot find a library providing stdscr])])
119
114
        if test x"$ncursesw_found" = "x"; then
120
        if test x"$ncursesw_found" = "x"; then
115
            LIBS=
121
            LIBS=
116
            AC_SEARCH_LIBS([has_colors], [ncurses curses], [MCLIBS="$MCLIBS $LIBS"], 
122
            AC_SEARCH_LIBS([has_colors], [ncurses curses], [MCLIBS="$MCLIBS $LIBS"], 
117
                           [AC_MSG_ERROR([Cannot find ncurses library])])
123
                           [AC_MSG_ERROR([Cannot find ncurses library])])
124
            AC_SEARCH_LIBS([stdscr],[tinfo ncurses curses],[MCLIBS="$MCLIBS $LIBS"],
125
                           [AC_MSG_ERROR([Cannot find a library providing stdscr])])
118
        fi
126
        fi
119
127
120
        dnl Check the header
128
        dnl Check the header
Lines 166-171 Link Here
166
    LIBS=
174
    LIBS=
167
    AC_SEARCH_LIBS([has_colors], [ncursesw], [MCLIBS="$MCLIBS $LIBS"],
175
    AC_SEARCH_LIBS([has_colors], [ncursesw], [MCLIBS="$MCLIBS $LIBS"],
168
		   [AC_MSG_ERROR([Cannot find ncursesw library])])
176
		   [AC_MSG_ERROR([Cannot find ncursesw library])])
177
    AC_SEARCH_LIBS([stdscr],[tinfow ncursesw],[MCLIBS="$MCLIBS $LIBS"],
178
           [AC_MSG_ERROR([Cannot find a library providing stdscr])])
179
169
180
170
    dnl Check the header
181
    dnl Check the header
171
    ncurses_h_found=
182
    ncurses_h_found=

Return to bug 527118