Changeset 42e7d91c277a879cb3fed58fa68836168e4e5208
- Timestamp:
- 03/22/08 03:00:28
(4 months ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1206151228 +0100
- git-parent:
[37558f4a013787f3a197db1de20aa6f0427ab2b1]
- git-author:
- Rafaël Carré <funman@videolan.org> 1206149974 +0100
- Message:
ncurses: link with libtinfo(w) only if needed
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rc4b95b5 |
r42e7d91 |
|
| 5396 | 5396 | ALIASES="${ALIASES} nvlc" |
|---|
| 5397 | 5397 | AC_DEFINE([HAVE_NCURSESW], 1, [Define to 1 if you have libncursesw.]) |
|---|
| 5398 | | AC_CHECK_LIB(tinfo, tgetent, VLC_ADD_LIBS([ncurses],[-ltinfo])) |
|---|
| | 5398 | AC_CHECK_LIB(ncursesw, tgetent, [], |
|---|
| | 5399 | AC_CHECK_LIB(tinfow, tgetent, [VLC_ADD_LIBS([ncurses],[-ltinfow])], |
|---|
| | 5400 | [AC_CHECK_LIB(tinfo, tgetent, [VLC_ADD_LIBS([ncurses],[-ltinfo])], |
|---|
| | 5401 | [AS_IF([test "x${enable_ncurses}" != "x"], |
|---|
| | 5402 | [AC_MSG_ERROR([tgetent not found in ncursesw tinfow tinfo] |
|---|
| | 5403 | )])]) |
|---|
| | 5404 | ] |
|---|
| | 5405 | ) |
|---|
| | 5406 | ) |
|---|
| 5399 | 5407 | ], |
|---|
| 5400 | 5408 | [AC_CHECK_LIB( ncurses, mvprintw, |
|---|
| … | … | |
| 5402 | 5410 | ALIASES="${ALIASES} nvlc" |
|---|
| 5403 | 5411 | VLC_ADD_LIBS([ncurses],[-lncurses]) |
|---|
| 5404 | | AC_CHECK_LIB(tinfo, tgetent, VLC_ADD_LIBS([ncurses],[-ltinfo]))], |
|---|
| | 5412 | AC_CHECK_LIB(ncurses, tgetent, [], |
|---|
| | 5413 | [AC_CHECK_LIB(tinfo, tgetent, [VLC_ADD_LIBS([ncurses],[-ltinfo])], |
|---|
| | 5414 | [AS_IF([test "x${enable_ncurses}" != "x"], |
|---|
| | 5415 | [AC_MSG_ERROR([tgetent not found in ncurses tinfo])])] |
|---|
| | 5416 | )] |
|---|
| | 5417 | )], |
|---|
| 5405 | 5418 | [AS_IF([test "x${enable_ncurses}" != "x"], [ |
|---|
| 5406 | 5419 | AC_MSG_ERROR([libncurses not found])])] |
|---|