/[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.1, Fri Feb 23 00:11:30 2001 UTC revision 1.2, Sat Feb 24 00:31:03 2001 UTC
# Line 3  Line 3 
3  dnl scripts that seem to do a pretty good job.  dnl scripts that seem to do a pretty good job.
4    
5  AC_INIT(cvsgraph.c)  AC_INIT(cvsgraph.c)
6    AC_CONFIG_HEADER(config.h)
7    
8  AC_PROG_CC  AC_PROG_CC
9  AC_PROG_LEX  AC_PROG_LEX
# Line 57  Line 58 
58    
59  dnl which version of gd do we have here? (taken from mrtg config)  dnl which version of gd do we have here? (taken from mrtg config)
60  AC_CHECK_LIB(gd,gdImageGif,[  AC_CHECK_LIB(gd,gdImageGif,[
61    CFLAGS="$CFLAGS -DGD_IMAGE_XXX=gdImageGif"          AC_DEFINE(HAVE_IMAGE_GIF)
62                             ])          ])
63  AC_CHECK_LIB(gd,gdImagePng,[  AC_CHECK_LIB(gd,gdImagePng,[
64    CFLAGS="$CFLAGS -DGD_IMAGE_XXX=gdImagePng"          AC_DEFINE(HAVE_IMAGE_PNG)
65    LDFLAGS="$LDFLAGS -lpng -lz ${MATHLIBS}"          LDFLAGS="$LDFLAGS -lpng -lz ${MATHLIBS}"
66          ],:,[-lpng -lz ${MATHLIBS}])          ])
67    AC_CHECK_LIB(gd,gdImageJpeg,[
68            AC_DEFINE(HAVE_IMAGE_JPEG)
69            LDFLAGS="$LDFLAGS -ljpeg"
70            ])
71    
72    
73  dnl Make sure the header is here  dnl Make sure the header is here

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0