mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +00:00
configure:
- while checking for the ncurses library, remove bashisms, and make it POSIX compliant -------- diffstat follows -------- /trunk/configure | 8 7 1 0 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
This commit is contained in:
parent
45ccabcbfb
commit
674c493dd2
8
configure
vendored
8
configure
vendored
@ -350,7 +350,13 @@ has_or_abort prog=readlink
|
||||
has_or_abort inc="ncurses/ncurses.h ncurses/curses.h ncurses.h curses.h" \
|
||||
err="'ncurses' headers files were not found"
|
||||
|
||||
has_or_abort lib="$( echo lib{ncursesw,ncurses,curses}.{so,a,dylib} )" \
|
||||
ncurses_libs="$( for l in ncursesw ncurses curses; do \
|
||||
for x in so a dylib; do \
|
||||
printf "lib$l.$x "; \
|
||||
done; \
|
||||
done \
|
||||
)"
|
||||
has_or_abort lib="${ncurses_libs}" \
|
||||
err="'ncurses' library was not found"
|
||||
|
||||
#---------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user