Lines 1-6
Link Here
|
1 |
--- ./configure.in.orig 2011-04-01 06:08:36.000000000 +1100 |
1 |
--- configure.in.orig 2019-09-11 18:51:59 UTC |
2 |
+++ ./configure.in 2013-05-26 00:19:28.032315432 +1000 |
2 |
+++ configure.in |
3 |
@@ -3378,7 +3378,8 @@ |
3 |
@@ -3378,7 +3378,8 @@ EOF |
4 |
rm -f conftest.{c,S} |
4 |
rm -f conftest.{c,S} |
5 |
]) |
5 |
]) |
6 |
if test "$ac_cv_have_visibility_builtin_bug" = "no" -a \ |
6 |
if test "$ac_cv_have_visibility_builtin_bug" = "no" -a \ |
Lines 34-36
Link Here
|
34 |
arm*) |
34 |
arm*) |
35 |
if test "$GNU_CC"; then |
35 |
if test "$GNU_CC"; then |
36 |
CFLAGS="$CFLAGS -march=armv5te -mthumb-interwork -msoft-float" |
36 |
CFLAGS="$CFLAGS -march=armv5te -mthumb-interwork -msoft-float" |
|
|
37 |
@@ -5613,6 +5624,19 @@ case "$target" in |
38 |
;; |
39 |
esac |
40 |
|
41 |
+for gjs_libtermcap in "" ncursesw ncurses curses termcap; do |
42 |
+ if test -z "$gjs_libtermcap"; then |
43 |
+ READLINE_LIBS="-lreadline" |
44 |
+ else |
45 |
+ READLINE_LIBS="-lreadline -l$gjs_libtermcap" |
46 |
+ fi |
47 |
+ LIBS="$READLINE_LIBS $LIBS_no_readline" |
48 |
+ |
49 |
+ if test $gjs_cv_lib_readline = yes; then |
50 |
+ break |
51 |
+ fi |
52 |
+done |
53 |
+ |
54 |
if test -z "$SKIP_LIBRARY_CHECKS" -a -z "$NO_EDITLINE"; then |
55 |
if test -n "$JS_WANT_READLINE"; then |
56 |
AC_CHECK_LIB(readline, readline, |