Can't save in r12331

Derek Atkins warlord at MIT.EDU
Fri Jan 13 15:34:12 EST 2006


Chris Shoemaker <c.shoemaker at cox.net> writes:

> Our configure.in:
> if test x$QOF_XML_DIR = x; then
>         QOF_LIB_DIR=`eval echo $libdir | sed "s%^NONE%$prefix%"`
>         QOF_LIB_DIR=`eval echo $QOF_LIB_DIR | sed "s%^NONE%$prefix%"`  
>         QOF_CFLAGS="-I\${top_srcdir}/lib/libqof/qof"
>         QOF_LIBS="\${top_srcdir}/lib/libqof/qof/libqof.la"
> #       QOF_LIB_DIR=`eval echo ${libdir}`
>         QOF_VERSION="internal"
>         QOF_PREFIX="internal"
>         QOF_XML_DIR=`eval echo ${datadir}/xml/qsf`
>         LIBQOF_LIBRARY_VERSION=1:2:0
>         LIBQOF_BACKEND_QSF_LIBRARY_VERSION=0:1:0
>         AC_SUBST(LIBQOF_LIBRARY_VERSION)
>         AC_SUBST(LIBQOF_BACKEND_QSF_LIBRARY_VERSION)
>         AC_DEFINE(HAVE_LIBQOF,,[We will use the internal QOF code])
>         HAVE_LIBQOF="use_internal"
> fi
>
> I'm guessing that if --prefix is not specified, then it will be 'NONE'
> and this will fail.  Maybe we want:
>
>         QOF_LIB_DIR='${GNC_LIBDIR}'

We might want 'eval echo $(GNC_LIBDIR)'..  But I don't know if that
will help in this case because $(GNC_LIBDIR) == $(libdir).  What we
MIGHT need to do is make an assumption about prefix.  I'm not sure
where the NONE is coming from.  We might want the replace $prefix with
/usr/local in the s-expressions.

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list