xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-core/readline/readline/configure-fix.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Upstream-Status: Pending
2
3Without this it fails to link against libtermcap causing various missing
4symbols issues.
5
6RP - 8/10/08
7
8Support 6.3 which uses configure.ac rather than configure.in.
9Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
10---
11 configure.ac | 8 ++++----
12 1 file changed, 4 insertions(+), 4 deletions(-)
13
14diff --git a/configure.ac b/configure.ac
15index cea8f91..9075b8f 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -218,10 +218,10 @@ if test -f ${srcdir}/support/shobj-conf; then
19         AC_MSG_CHECKING(configuration for building shared libraries)
20         eval `TERMCAP_LIB=$TERMCAP_LIB ${CONFIG_SHELL-/bin/sh} ${srcdir}/support/shobj-conf -C "${CC}" -c ${host_cpu} -o ${host_os} -v ${host_vendor}`
21
22-#	case "$SHLIB_LIBS" in
23-#	*curses*|*termcap*|*termlib*)	;;
24-#	*)			SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;;
25-#	esac
26+	case "$SHLIB_LIBS" in
27+	*curses*|*termcap*|*termlib*)	;;
28+	*)			SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;;
29+	esac
30
31         AC_SUBST(SHOBJ_CC)
32         AC_SUBST(SHOBJ_CFLAGS)
33--
341.8.1.2
35
36