]> git.lyx.org Git - lyx.git/blobdiff - config/xforms.m4
Much better performance when using natbib (bug 2460):
[lyx.git] / config / xforms.m4
index 41e9bb79a64075dfa4230adc019cd86e3b6a567a..23014445c87cdab1f11c4ebc7bc8aa64ab32b10e 100644 (file)
@@ -1,7 +1,7 @@
 dnl some macros to test for xforms-related functionality  -*- sh -*-
 
 dnl Usage LYX_PATH_XPM: Checks for xpm library and header
-AC_DEFUN(LYX_PATH_XPM,[
+AC_DEFUN([LYX_PATH_XPM],[
 ### Check for Xpm library
 AC_CHECK_LIB(Xpm, XpmCreateBufferFromImage, XPM_LIB="-lXpm",
        [LYX_LIB_ERROR(libXpm,Xpm)])
@@ -52,7 +52,7 @@ fi])
 dnl Usage LYX_PATH_XFORMS: Checks for xforms library and flags
 dnl   If it is found, the variable XFORMS_LIB is set to the relevant -l flags,
 dnl and FORMS_H_LOCATION / FLIMAGE_H_LOCATION is also set
-AC_DEFUN(LYX_PATH_XFORMS,[
+AC_DEFUN([LYX_PATH_XFORMS],[
 AC_REQUIRE([LYX_PATH_XPM])
 
 AC_CHECK_LIB(forms, fl_initialize, XFORMS_LIB="-lforms",
@@ -131,7 +131,7 @@ AC_SEARCH_LIBS(flimage_dup, flimage,
   fi])
 
 if test $lyx_use_jpeg_image_loader = yes ; then
-  lyx_flags="$lyx_flags xforms-image-loader"
+  lyx_flags="$lyx_flags jpeg-image-loader"
   AC_DEFINE(USE_JPEG_IMAGE_LOADER, 1,
            [Define if you want to be able to load jpeg images natively])
 fi