/[CvsGraph]/cvsgraph/configure.in
ViewVC logotype

Diff of /cvsgraph/configure.in

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

revision 1.11, Thu Jul 15 09:42:58 2004 UTC revision 1.14, Thu Oct 21 20:08:42 2004 UTC
# Line 143  Line 143 
143  dnl Check getopt.h because Solaris 8 doesn't have one  dnl Check getopt.h because Solaris 8 doesn't have one
144  AC_CHECK_HEADER(getopt.h, [ AC_DEFINE(HAVE_GETOPT_H) ])  AC_CHECK_HEADER(getopt.h, [ AC_DEFINE(HAVE_GETOPT_H) ])
145    
146    dnl Check sys/wait.h because Windows doesn't have one
147    AC_CHECK_HEADER(sys/wait.h, [ AC_DEFINE(HAVE_SYS_WAIT_H) ])
148    
149  dnl Make sure the gd header is here  dnl Make sure the gd header is here
150  AC_CHECK_HEADER( gd.h,[ have_gd_h="yes" ],[ have_gd_h="no" ])  AC_CHECK_HEADER( gd.h,[ have_gd_h="yes" ],[ have_gd_h="no" ])
151    
# Line 305  Line 308 
308          have_gifs="no"          have_gifs="no"
309          )          )
310    
311  if test "${have_gifs}" = "yes"  dnl The new versions of libgd include gifs again after the patent expired.
312  then  dnl So this check should not be required anymore.
313          echo "** You have a very old GD library. Please consider"  dnl if test "${have_gifs}" = "yes"
314          echo "   upgrading to a more recent version (1.8.4 or newer)."  dnl then
315          echo "   --Note that f.x. ViewCVS needs CvsGraph to generate PNG"  dnl     echo "** You have a very old GD library. Please consider"
316          echo "     images and ancient GD libraries might contain many bugs."  dnl     echo "   upgrading to a more recent version (1.8.4 or newer)."
317          echo "     However, if you need GIFs, then you must stick to this"  dnl     echo "   --Note that f.x. ViewCVS needs CvsGraph to generate PNG"
318          echo "     old version."  dnl     echo "     images and ancient GD libraries might contain many bugs."
319  fi  dnl     echo "     However, if you need GIFs, then you must stick to this"
320    dnl     echo "     old version."
321    dnl fi
322    
323  AC_CHECK_LIB(gd, gdImagePng, [  AC_CHECK_LIB(gd, gdImagePng, [
324          AC_DEFINE(HAVE_IMAGE_PNG)          AC_DEFINE(HAVE_IMAGE_PNG)
325          ])          ])
326    AC_CHECK_LIB(gd, gdImagePngEx, [
327            AC_DEFINE(HAVE_GDIMAGEPNGEX)
328            ])
329  AC_CHECK_LIB(gd, gdImageJpeg, [  AC_CHECK_LIB(gd, gdImageJpeg, [
330          AC_DEFINE(HAVE_IMAGE_JPEG)          AC_DEFINE(HAVE_IMAGE_JPEG)
331          ])          ])
# Line 333  Line 341 
341                  AC_DEFINE(HAVE_GDIMAGESTRINGFT)                  AC_DEFINE(HAVE_GDIMAGESTRINGFT)
342          fi          fi
343          ])          ])
344    AC_CHECK_LIB(gd, gdImageFilledArc, [
345            AC_DEFINE(HAVE_GDIMAGEFILLEDARC)
346            ])
347    
348    
349  AC_SUBST(LEXFLAGS)  AC_SUBST(LEXFLAGS)

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0