/[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 342 Revision 343
123 GetExceptionInfo(&exception); 123 GetExceptionInfo(&exception);
124 OpenModules(&exception); 124 OpenModules(&exception);
125 return (NULL == GetMagickInfo(NULL,&exception)); }], 125 return (NULL == GetMagickInfo(NULL,&exception)); }],
126 IMAGEMAGICK=1,IMAGEMAGICK=no,IMAGEMAGICK=no) 126 IMAGEMAGICK=1,IMAGEMAGICK=no,IMAGEMAGICK=no)
127 fi 127 fi
128 if test x"$IMAGEMAGICK" = xno ; then
129 # 100 equals GraphicsMagick
130 AC_TRY_RUN([ #include <magick/api.h>
131 int main(void) {
132 MagickInfo **formats;
133 ExceptionInfo exception;
134 InitializeMagick(NULL);
135 GetExceptionInfo(&exception);
136 return (NULL == GetMagickInfoArray(&exception)); }],
137 IMAGEMAGICK=100,IMAGEMAGICK=no,IMAGEMAGICK=no)
138 fi
139
128 AC_MSG_RESULT("Version $IMAGEMAGICK") 140 AC_MSG_RESULT("Version $IMAGEMAGICK")
129 LDFLAGS="$LDFLAGS_OLD" 141 LDFLAGS="$LDFLAGS_OLD"
130 LIBS="$LIBS_OLD" 142 LIBS="$LIBS_OLD"
131dnl Note: CFLAGS can't be set for single directories, so we propagate them 143dnl Note: CFLAGS can't be set for single directories, so we propagate them
132 if test x"$IMAGEMAGICK" = xno ; then 144 if test x"$IMAGEMAGICK" = xno ; then

Legend:
Removed from v.342  
changed lines
  Added in v.343

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