/[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 15 Revision 16
6 6
7dnl Checks for programs. 7dnl Checks for programs.
8AM_PROG_LIBTOOL 8AM_PROG_LIBTOOL
9 9
10dnl Checks for libraries. 10dnl Checks for libraries.
11AC_ARG_WITH(imagemagick,
12 [ --with-imagemagick enable ImageMagick (default = yes)],
13 [IMAGEMAGICK=$withval],
14 [IMAGEMAGICK='yes'])
15if test x"$IMAGEMAGICK" != xno ; then
16 AC_CHECK_LIB(Magick,MagickWarning,IMAGEMAGICK=yes,IMAGEMAGICK=no)
17 if test x"$IMAGEMAGICK" = xno ; then
18 AC_MSG_WARN(ImageMagick support disabled!)
19 fi
20fi
21if test x"$IMAGEMAGICK" = xyes ; then
22 LIB_MAGICK=-lMagick
23 AC_DEFINE(IMAGEMAGICK)
24else
25 LIB_MAGICK=
26fi
27AC_SUBST(LIB_MAGICK)
11 28
12dnl Checks for header files. 29dnl Checks for header files.
13AC_HEADER_STDC 30AC_HEADER_STDC
14AC_CHECK_HEADERS(unistd.h) 31AC_CHECK_HEADERS(unistd.h)
15 32

Legend:
Removed from v.15  
changed lines
  Added in v.16

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