From b38bf427df1cbcf1ad79d3de63a154ae5399477b Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Mon, 23 Nov 1998 04:47:34 +0000 Subject: [PATCH] bug fixes git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1406 57a11ea4-9604-0410-9ed3-97b8803252fd --- configure | 22 +++++++++++----------- configure.in | 22 +++++++++++----------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/configure b/configure index fcb9c2471e..0b7b34d69d 100755 --- a/configure +++ b/configure @@ -2346,7 +2346,7 @@ echo "configure:2345: checking for guile" >&5 GNC_LIBS_SAFE=${LIBS} GNC_TEST_LIBS="-lguile" -LIBS="${LIBS} ${GNC_LIBS_HELPER} ${GNC_TEST_LIBS}" +LIBS="${GNC_LIBS_HELPER} ${GNC_TEST_LIBS} ${LIBS}" cat > conftest.$ac_ext <&5 fi rm -f conftest* -LIBS="${LIBS_SAFE}" +LIBS="${GNC_LIBS_SAFE}" if test x"${GUILELIBS}" = x; then - GNC_TEST_LIBS="-lguile -lreadline -ldl -lm" - LIBS="${LIBS} ${GNC_LIBS_HELPER} ${GNC_TEST_LIBS}" + GNC_TEST_LIBS="-lguile -ldl" + LIBS="${GNC_LIBS_HELPER} ${GNC_TEST_LIBS} ${LIBS}" cat > conftest.$ac_ext <&5 fi rm -f conftest* - LIBS="${LIBS_SAFE}" + LIBS="${GNC_LIBS_SAFE}" fi if test x"${GUILELIBS}" = x; then GNC_TEST_LIBS="-lguile -lqthreads" - LIBS="${LIBS} ${GNC_LIBS_HELPER} ${GNC_TEST_LIBS}" + LIBS="${GNC_LIBS_HELPER} ${GNC_TEST_LIBS} ${LIBS}" cat > conftest.$ac_ext <&5 fi rm -f conftest* - LIBS="${LIBS_SAFE}" + LIBS="${GNC_LIBS_SAFE}" fi if test x"${GUILELIBS}" = x; then GNC_TEST_LIBS="-lguile -ltermcap" - LIBS="${LIBS} ${GNC_LIBS_HELPER} ${GNC_TEST_LIBS}" + LIBS="${GNC_LIBS_HELPER} ${GNC_TEST_LIBS} ${LIBS}" cat > conftest.$ac_ext <&5 fi rm -f conftest* - LIBS="${LIBS_SAFE}" + LIBS="${GNC_LIBS_SAFE}" fi if test x"${GUILELIBS}" = x; then GNC_TEST_LIBS="-lguile -lqthreads -ltermcap" - LIBS="${LIBS} ${GNC_LIBS_HELPER} ${GNC_TEST_LIBS}" + LIBS="${GNC_LIBS_HELPER} ${GNC_TEST_LIBS} ${LIBS}" cat > conftest.$ac_ext <&5 fi rm -f conftest* - LIBS="${LIBS_SAFE}" + LIBS="${GNC_LIBS_SAFE}" fi if test x"${GUILELIBS}" = x; diff --git a/configure.in b/configure.in index 1e5ee89c1c..8616a0c04c 100644 --- a/configure.in +++ b/configure.in @@ -166,45 +166,45 @@ AC_MSG_CHECKING([for guile]) GNC_LIBS_SAFE=${LIBS} GNC_TEST_LIBS="-lguile" -LIBS="${LIBS} ${GNC_LIBS_HELPER} ${GNC_TEST_LIBS}" +LIBS="${GNC_LIBS_HELPER} ${GNC_TEST_LIBS} ${LIBS}" AC_TRY_LINK([#include], [gh_eval_file;], GUILELIBS="$GUILELIBS ${GNC_TEST_LIBS}") -LIBS="${LIBS_SAFE}" +LIBS="${GNC_LIBS_SAFE}" if test x"${GUILELIBS}" = x; then - GNC_TEST_LIBS="-lguile -lreadline -ldl -lm" - LIBS="${LIBS} ${GNC_LIBS_HELPER} ${GNC_TEST_LIBS}" + GNC_TEST_LIBS="-lguile -ldl" + LIBS="${GNC_LIBS_HELPER} ${GNC_TEST_LIBS} ${LIBS}" AC_TRY_LINK([#include], [gh_eval_file;], GUILELIBS="$GUILELIBS ${GNC_TEST_LIBS}") - LIBS="${LIBS_SAFE}" + LIBS="${GNC_LIBS_SAFE}" fi if test x"${GUILELIBS}" = x; then GNC_TEST_LIBS="-lguile -lqthreads" - LIBS="${LIBS} ${GNC_LIBS_HELPER} ${GNC_TEST_LIBS}" + LIBS="${GNC_LIBS_HELPER} ${GNC_TEST_LIBS} ${LIBS}" AC_TRY_LINK([#include], [gh_eval_file;], GUILELIBS="$GUILELIBS ${GNC_TEST_LIBS}") - LIBS="${LIBS_SAFE}" + LIBS="${GNC_LIBS_SAFE}" fi if test x"${GUILELIBS}" = x; then GNC_TEST_LIBS="-lguile -ltermcap" - LIBS="${LIBS} ${GNC_LIBS_HELPER} ${GNC_TEST_LIBS}" + LIBS="${GNC_LIBS_HELPER} ${GNC_TEST_LIBS} ${LIBS}" AC_TRY_LINK([#include], [gh_eval_file;], GUILELIBS="$GUILELIBS ${GNC_TEST_LIBS}") - LIBS="${LIBS_SAFE}" + LIBS="${GNC_LIBS_SAFE}" fi if test x"${GUILELIBS}" = x; then GNC_TEST_LIBS="-lguile -lqthreads -ltermcap" - LIBS="${LIBS} ${GNC_LIBS_HELPER} ${GNC_TEST_LIBS}" + LIBS="${GNC_LIBS_HELPER} ${GNC_TEST_LIBS} ${LIBS}" AC_TRY_LINK([#include], [gh_eval_file;], GUILELIBS="$GUILELIBS ${GNC_TEST_LIBS}") - LIBS="${LIBS_SAFE}" + LIBS="${GNC_LIBS_SAFE}" fi if test x"${GUILELIBS}" = x;