fix one AM_CONDITIONAL thingie

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5403 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-10-15 08:09:27 +00:00
parent ec92f4d6e8
commit 5f10c2a3f1
4 changed files with 25 additions and 11 deletions

View File

@ -1,3 +1,10 @@
2002-10-15 Lars Gullik Bjønnes <larsbj@gullik.net>
* xforms.m4 (lyx_use_xforms_image_loader): move the AM_CONDITIONAL
USE_BASIC_IMAGE_LOADER from here...
* configure.ac: ... here
* configure.in: ...to here, and ...
2002-09-13 John Levon <levon@movementarian.org> 2002-09-13 John Levon <levon@movementarian.org>
* qt.m4: tweak sed usage * qt.m4: tweak sed usage

View File

@ -150,7 +150,6 @@ CPPFLAGS="$CPPFLAGS $X_CFLAGS"
## Check whether X is new enough to handle the input method stuff ## Check whether X is new enough to handle the input method stuff
AC_CHECK_FUNCS(XOpenIM) AC_CHECK_FUNCS(XOpenIM)
### check which frontend we want to use ### check which frontend we want to use
#LYX_USE_FRONTEND #LYX_USE_FRONTEND
@ -202,6 +201,9 @@ case "$lyx_use_frontend" in
LYX_ERROR(Unknown frontend $lyx_use_frontend);; LYX_ERROR(Unknown frontend $lyx_use_frontend);;
esac esac
AM_CONDITIONAL(USE_BASIC_IMAGE_LOADER,
test $lyx_use_xforms_image_loader = no)
### Check for xforms and xpm (only if X has been found). ### Check for xforms and xpm (only if X has been found).
if test "$have_x" = no ; then if test "$have_x" = no ; then
LYX_ERROR(dnl LYX_ERROR(dnl

View File

@ -203,6 +203,10 @@ case "$lyx_use_frontend" in
LYX_ERROR(Unknown frontend $lyx_use_frontend);; LYX_ERROR(Unknown frontend $lyx_use_frontend);;
esac esac
AM_CONDITIONAL(USE_BASIC_IMAGE_LOADER,
test $lyx_use_xforms_image_loader = no)
### Check for xforms and xpm (only if X has been found). ### Check for xforms and xpm (only if X has been found).
if test "$have_x" = no ; then if test "$have_x" = no ; then
LYX_ERROR(dnl LYX_ERROR(dnl

View File

@ -92,7 +92,8 @@ fi
### If the gui cannot load images itself, then we default to the ### If the gui cannot load images itself, then we default to the
### very simple one in graphics/GraphicsImageXPM.[Ch] ### very simple one in graphics/GraphicsImageXPM.[Ch]
AM_CONDITIONAL(USE_BASIC_IMAGE_LOADER, #AM_CONDITIONAL(USE_BASIC_IMAGE_LOADER,
test $lyx_use_xforms_image_loader = no) # test $lyx_use_xforms_image_loader = no)
AC_LANG_RESTORE AC_LANG_RESTORE
LIBS=$save_LIBS]) LIBS=$save_LIBS])