On Tuesday 05 March 2002 8:57 pm, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > | So, I would prefer either leaving things as they are or sorting out > | separate configure scripts for the frontends now. Unfortuanately, > | I'm no expert at this sort of thing.
> Ok, but create a function for it anyway. Ok. lyxinclude.m4 will contain ### Check whether the xforms library has a viable image loader AC_DEFUN(LYX_USE_XFORMS_IMAGE_LOADER, [ TEMP_LDFLAGS=$LDFLAGS LDFLAGS=$XFORMS_LIB $LDFLAGS lyx_use_xforms_image_loader=no AC_CHECK_FUNCS(flimage_dup,[ AC_CHECK_FUNCS(flimage_to_pixmap,[ lyx_use_xforms_image_loader=yes AC_CHECK_FUNCS(flimage_enable_ps)])]) LDFLAGS=$TEMP_LDFLAGS ]) > >> btw. where is the USE_BASIC_IMAGE_LOADER comming from? > | I'm not sure what you mean. It is used in a number of Makefile.ams. > | See the patch. > I only saw it used, never defined. In configure.in, which now contains: ### Check whether the xforms library has a viable image loader ### For now, run this test always so config.h is unchanged by a change in ### frontend LYX_USE_XFORMS_IMAGE_LOADER ### If the gui cannot load images itself, then we default to the ### very simple one in graphics/GraphicsImageXPM.[Ch] AM_CONDITIONAL(USE_BASIC_IMAGE_LOADER, test x$lyx_use_xforms_image_loader = xno) I have just updated paragraph.h and am currently re-compiling. Will commit thereafter. Angus