bug fixes

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1406 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas
1998-11-23 04:47:34 +00:00
parent a19665c1ea
commit b38bf427df
2 changed files with 22 additions and 22 deletions

22
configure vendored
View File

@@ -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 <<EOF
#line 2352 "configure"
#include "confdefs.h"
@@ -2363,12 +2363,12 @@ else
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 <<EOF
#line 2374 "configure"
#include "confdefs.h"
@@ -2385,13 +2385,13 @@ else
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 <<EOF
#line 2397 "configure"
#include "confdefs.h"
@@ -2408,13 +2408,13 @@ else
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 <<EOF
#line 2420 "configure"
#include "confdefs.h"
@@ -2431,13 +2431,13 @@ else
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 <<EOF
#line 2443 "configure"
#include "confdefs.h"
@@ -2454,7 +2454,7 @@ else
cat conftest.$ac_ext >&5
fi
rm -f conftest*
LIBS="${LIBS_SAFE}"
LIBS="${GNC_LIBS_SAFE}"
fi
if test x"${GUILELIBS}" = x;

View File

@@ -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<guile/gh.h>], [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<guile/gh.h>], [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<guile/gh.h>], [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<guile/gh.h>], [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<guile/gh.h>], [gh_eval_file;],
GUILELIBS="$GUILELIBS ${GNC_TEST_LIBS}")
LIBS="${LIBS_SAFE}"
LIBS="${GNC_LIBS_SAFE}"
fi
if test x"${GUILELIBS}" = x;