71 lines
2.4 KiB
Diff
71 lines
2.4 KiB
Diff
|
diff -uNr bochs-2.6.9/configure bochs-2.6.9.mod/configure
|
||
|
--- bochs-2.6.9/configure 2017-04-09 14:46:13.000000000 +0800
|
||
|
+++ bochs-2.6.9.mod/configure 2019-08-26 20:49:05.555477600 +0800
|
||
|
@@ -22636,66 +22636,9 @@
|
||
|
|
||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if readline works without -lcurses" >&5
|
||
|
$as_echo_n "checking if readline works without -lcurses... " >&6; }
|
||
|
- OLD_LIBS=$LIBS
|
||
|
- LIBS="$LIBS -lreadline"
|
||
|
- if test "$cross_compiling" = yes; then :
|
||
|
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
||
|
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
||
|
-as_fn_error $? "cannot run test program while cross compiling
|
||
|
-See \`config.log' for more details" "$LINENO" 5; }
|
||
|
-else
|
||
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||
|
-/* end confdefs.h. */
|
||
|
-
|
||
|
- #include <stdio.h>
|
||
|
- #include <readline/readline.h>
|
||
|
- int main() { rl_initialize(); exit(0); }
|
||
|
-
|
||
|
-_ACEOF
|
||
|
-if ac_fn_c_try_run "$LINENO"; then :
|
||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||
|
$as_echo "yes" >&6; }
|
||
|
rl_without_curses_ok=yes
|
||
|
-else
|
||
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||
|
-$as_echo "no" >&6; }
|
||
|
-
|
||
|
-fi
|
||
|
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
||
|
- conftest.$ac_objext conftest.beam conftest.$ac_ext
|
||
|
-fi
|
||
|
-
|
||
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if readline works with -lcurses" >&5
|
||
|
-$as_echo_n "checking if readline works with -lcurses... " >&6; }
|
||
|
- LIBS="$LIBS -lcurses"
|
||
|
- if test "$cross_compiling" = yes; then :
|
||
|
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
||
|
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
||
|
-as_fn_error $? "cannot run test program while cross compiling
|
||
|
-See \`config.log' for more details" "$LINENO" 5; }
|
||
|
-else
|
||
|
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||
|
-/* end confdefs.h. */
|
||
|
-
|
||
|
- #include <stdio.h>
|
||
|
- #include <readline/readline.h>
|
||
|
- int main() { rl_initialize(); exit(0); }
|
||
|
-
|
||
|
-_ACEOF
|
||
|
-if ac_fn_c_try_run "$LINENO"; then :
|
||
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||
|
-$as_echo "yes" >&6; }
|
||
|
- rl_with_curses_ok=yes
|
||
|
-else
|
||
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||
|
-$as_echo "no" >&6; }
|
||
|
-
|
||
|
-fi
|
||
|
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
||
|
- conftest.$ac_objext conftest.beam conftest.$ac_ext
|
||
|
-fi
|
||
|
-
|
||
|
- LIBS=$OLD_LIBS
|
||
|
|
||
|
if test "$rl_without_curses_ok" = yes; then
|
||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|