/[CvsGraph]/cvsgraph/configure
ViewVC logotype

Diff of /cvsgraph/configure

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.12, Sun Aug 15 16:58:22 2004 UTC
# Line 4312  Line 4312 
4312  fi  fi
4313    
4314    
 if test "${have_gifs}" = "yes"  
 then  
         echo "** You have a very old GD library. Please consider"  
         echo "   upgrading to a more recent version (1.8.4 or newer)."  
         echo "   --Note that f.x. ViewCVS needs CvsGraph to generate PNG"  
         echo "     images and ancient GD libraries might contain many bugs."  
         echo "     However, if you need GIFs, then you must stick to this"  
         echo "     old version."  
 fi  
4315    
4316  echo "$as_me:$LINENO: checking for gdImagePng in -lgd" >&5  echo "$as_me:$LINENO: checking for gdImagePng in -lgd" >&5
4317  echo $ECHO_N "checking for gdImagePng in -lgd... $ECHO_C" >&6  echo $ECHO_N "checking for gdImagePng in -lgd... $ECHO_C" >&6
# Line 4580  Line 4571 
4571    
4572  fi  fi
4573    
4574    echo "$as_me:$LINENO: checking for gdImageFilledArc in -lgd" >&5
4575    echo $ECHO_N "checking for gdImageFilledArc in -lgd... $ECHO_C" >&6
4576    if test "${ac_cv_lib_gd_gdImageFilledArc+set}" = set; then
4577      echo $ECHO_N "(cached) $ECHO_C" >&6
4578    else
4579      ac_check_lib_save_LIBS=$LIBS
4580    LIBS="-lgd  $LIBS"
4581    cat >conftest.$ac_ext <<_ACEOF
4582    #line $LINENO "configure"
4583    /* confdefs.h.  */
4584    _ACEOF
4585    cat confdefs.h >>conftest.$ac_ext
4586    cat >>conftest.$ac_ext <<_ACEOF
4587    /* end confdefs.h.  */
4588    
4589    /* Override any gcc2 internal prototype to avoid an error.  */
4590    #ifdef __cplusplus
4591    extern "C"
4592    #endif
4593    /* We use char because int might match the return type of a gcc2
4594       builtin and then its argument prototype would still apply.  */
4595    char gdImageFilledArc ();
4596    int
4597    main ()
4598    {
4599    gdImageFilledArc ();
4600      ;
4601      return 0;
4602    }
4603    _ACEOF
4604    rm -f conftest.$ac_objext conftest$ac_exeext
4605    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4606      (eval $ac_link) 2>&5
4607      ac_status=$?
4608      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609      (exit $ac_status); } &&
4610             { ac_try='test -s conftest$ac_exeext'
4611      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4612      (eval $ac_try) 2>&5
4613      ac_status=$?
4614      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615      (exit $ac_status); }; }; then
4616      ac_cv_lib_gd_gdImageFilledArc=yes
4617    else
4618      echo "$as_me: failed program was:" >&5
4619    sed 's/^/| /' conftest.$ac_ext >&5
4620    
4621    ac_cv_lib_gd_gdImageFilledArc=no
4622    fi
4623    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4624    LIBS=$ac_check_lib_save_LIBS
4625    fi
4626    echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImageFilledArc" >&5
4627    echo "${ECHO_T}$ac_cv_lib_gd_gdImageFilledArc" >&6
4628    if test $ac_cv_lib_gd_gdImageFilledArc = yes; then
4629    
4630            cat >>confdefs.h <<\_ACEOF
4631    #define HAVE_GDIMAGEFILLEDARC 1
4632    _ACEOF
4633    
4634    
4635    fi
4636    
4637    
4638    
4639    

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

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0