Chris Shoemaker <[EMAIL PROTECTED]> writes: >> Nope, it's not that simple. $(GNC_SHAREDIR) is still defined in terms >> of $prefix, which is still NONE if no --prefix is installed. No, we >> need to check if "x$prefix" = xNONE and if so use $ac_default_prefix >> instead in those sed expressions. > > The whole thing makes about zero sense to me. Why are we even doing > this in configure.in at all?
That's a good question. I don't know the answer offhand. Maybe Neil could let us know why we're doing it this way? > Don't we already have access to all the expanded path variables in our > Makefiles? Why can't we avoid all this in configure.in and just do > the substitution or header creation in the Makefile? Just like we do > with src/engine/gncla-dir.h. That makes a whole lot more sense to me, > and we know it even works for VPATH builds. Either that, or just have configure generate it from a .in file like it does Makefile from Makefile.in? I haven't looked at how it's used. > -chris -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 [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel