mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
same fix as for 1.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4327 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
656a4db7b3
commit
9db92943bd
@ -1,3 +1,7 @@
|
||||
2002-06-03 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* xforms.m4: don't insist on building with flimage linked
|
||||
|
||||
2002-06-03 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* xforms.m4: don't warn about missing flimage.h
|
||||
|
@ -76,7 +76,32 @@ AC_CHECK_FUNCS(flimage_dup,[
|
||||
AC_CHECK_FUNCS(flimage_enable_ps)])])
|
||||
LIBS=$save_LIBS
|
||||
test $lyx_use_xforms_image_loader = yes && lyx_flags="$lyx_flags xforms-image-loader" && XFORMS_IMAGE_LIB=-lflimage
|
||||
|
||||
# try without flimage
|
||||
if test $lyx_use_xforms_image_loader = no ; then
|
||||
LIBS="$XFORMS_LIB -ljpeg $LIBS"
|
||||
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)])])
|
||||
LIBS=$save_LIBS
|
||||
|
||||
# try without -ljpeg
|
||||
if test $lyx_use_xforms_image_loader = no ; then
|
||||
LIBS="$XFORMS_LIB $LIBS"
|
||||
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)])])
|
||||
LIBS=$save_LIBS
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
AC_SUBST(XFORMS_IMAGE_LIB)
|
||||
|
||||
### 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,
|
||||
|
Loading…
Reference in New Issue
Block a user