/[public]/psiconv/trunk/configure.in
ViewVC logotype

Diff of /psiconv/trunk/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 36 Revision 50
1dnl Process this file with autoconf to produce a configure script. 1dnl Process this file with autoconf to produce a configure script.
2AC_INIT(psiconv) 2AC_INIT(psiconv)
3AM_INIT_AUTOMAKE(psiconv,0.6.0) 3AM_INIT_AUTOMAKE(psiconv,0.6.1)
4 4
5AM_CONFIG_HEADER(config.h) 5AM_CONFIG_HEADER(config.h)
6 6
7dnl Checks for programs. 7dnl Checks for programs.
8AM_PROG_LIBTOOL 8AM_PROG_LIBTOOL
64AC_ARG_WITH(imagemagick, 64AC_ARG_WITH(imagemagick,
65 [ --with-imagemagick enable ImageMagick (default = yes)], 65 [ --with-imagemagick enable ImageMagick (default = yes)],
66 [IMAGEMAGICK=$withval], 66 [IMAGEMAGICK=$withval],
67 [IMAGEMAGICK='yes']) 67 [IMAGEMAGICK='yes'])
68if test x"$IMAGEMAGICK" != xno ; then 68if test x"$IMAGEMAGICK" != xno ; then
69 AC_CHECK_LIB(Magick,MagickWarning,IMAGEMAGICK=yes,IMAGEMAGICK=no) 69 AC_CHECK_LIB(Magick,ConstituteImage,IMAGEMAGICK=yes,IMAGEMAGICK=no)
70 if test x"$IMAGEMAGICK" != xno ; then
71 AC_MSG_CHECKING(whether GetMagickInfo works)
72 AC_TRY_RUN([ #include <magick/magick.h>
73 int main(void) { return (NULL == GetMagickInfo(NULL)) }],
74 IMAGEMAGICK=yes,IMAGEMAGICK=no,IMAGEMAGICK=yes)
75 AC_MSG_RESULT($IMAGEMAGICK)
76 fi
70 if test x"$IMAGEMAGICK" = xno ; then 77 if test x"$IMAGEMAGICK" = xno ; then
71 AC_MSG_WARN(ImageMagick support disabled!) 78 AC_MSG_WARN(ImageMagick support disabled!)
72 fi 79 fi
73fi 80fi
74if test x"$IMAGEMAGICK" = xyes ; then 81if test x"$IMAGEMAGICK" = xyes ; then

Legend:
Removed from v.36  
changed lines
  Added in v.50

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26