# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../ocfs2-tools/ocfs2-tools-1.2.2-configure-readline.patch # Copyright (C) 2006 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- SDE-COPYRIGHT-NOTE-END --- Submitted by: Christian Wiese (morfoh at opensde dot org) Date: 2006-12-02 Initial Package Version: 1.2.2 Upstream Status: not submitted yet Origin: ocfs2-tools-1.2.2-configure-readline.patch by Christian Wiese made for the Open System Development Environment (OpenSDE - http://opensde.org) Description: while running configure ocfs2-tools is not able to find the readline libraries. (http://trac.opensde.org/ticket/198) diff -ruN ocfs2-tools-1.2.2.orig/configure ocfs2-tools-1.2.2/configure --- ocfs2-tools-1.2.2.orig/configure 2006-10-19 20:11:25.000000000 +0300 +++ ocfs2-tools-1.2.2/configure 2006-12-02 18:32:53.000000000 +0200 @@ -3821,7 +3821,7 @@ saved_LDFLAGS="$LDFLAGS" -LDFLAGS="$LDFLAGS -lncurses" +LDFLAGS="$LDFLAGS" READLINE_LIBS= echo "$as_me:$LINENO: checking for readline in -lreadline" >&5 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6 @@ -3829,7 +3829,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lreadline $LIBS" +LIBS="-lreadline $NCURSES_LIBS $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF