Incidentally, Jean-Marc, Lars' says that this "fix" will not work with autoconf 2.13. Have you any idea what the right thing to do is?
(It's needed because autoconf 2.52 assigns flimage_dup to a pointer to a function without checking whether that function has extern "C" linkage.) Angus Index: config/lyxinclude.m4 =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/lyxinclude.m4,v retrieving revision 1.57 diff -u -p -r1.57 lyxinclude.m4 --- config/lyxinclude.m4 21 Mar 2002 16:49:06 -0000 1.57 +++ config/lyxinclude.m4 25 Mar 2002 17:10:08 -0000 @@ -617,10 +617,12 @@ AC_DEFUN(LYX_USE_XFORMS_IMAGE_LOADER, save_LIBS=$LIBS LIBS="$XFORMS_LIB $LIBS" lyx_use_xforms_image_loader=no +AC_LANG(C) AC_CHECK_FUNCS(flimage_dup,[ AC_CHECK_FUNCS(flimage_to_pixmap,[ lyx_use_xforms_image_loader=yes AC_CHECK_FUNCS(flimage_enable_ps)])]) +AC_LANG(C++) LIBS=$save_LIBS test $lyx_use_xforms_image_loader = yes && lyx_flags="$lyx_flags xforms-image-loader" ### If the gui cannot load images itself, then we default to the