Fix for Solaris: Can't use 'if ! $(GUILE) ...' so rebuild

the if/else to actually work properly


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6612 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins
2002-01-13 01:48:58 +00:00
parent 65797d5e8c
commit 37704c673a

View File

@@ -191,12 +191,12 @@ GNC_ADD_ON_SRFIS=""
for srfi in `ls lib/srfi/srfi-*.scm | sed -e 's|lib/srfi/||; s/\.scm//'`
do
AC_MSG_CHECKING(if guile needs our copy of ${srfi})
if ! ${GUILE} -c "(use-modules (srfi ${srfi}))" > /dev/null 2>&1
if ${GUILE} -c "(use-modules (srfi ${srfi}))" > /dev/null 2>&1
then
AC_MSG_RESULT(no)
else
GNC_ADD_ON_SRFIS="${GNC_ADD_ON_SRFIS} ${srfi}.scm"
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
done
@@ -208,13 +208,13 @@ AC_SUBST(GNC_ADD_ON_SRFIS)
gnc_have_guile_www=no
AC_MSG_CHECKING([if guile needs our copy of (guile www)])
if ! ${GUILE} -c "(use-modules (www main))" > /dev/null 2>&1
if ${GUILE} -c "(use-modules (www main))" > /dev/null 2>&1
then
gnc_have_guile_www=yes
AC_MSG_RESULT(yes)
AC_MSG_RESULT(no)
else
gnc_have_guile_www=no
AC_MSG_RESULT(no)
AC_MSG_RESULT(yes)
fi
AM_CONDITIONAL(GNC_HAVE_GUILE_WWW, test "${gnc_have_guile_www}" = yes)