/[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.9, Sat Jul 20 00:48:16 2002 UTC revision 1.10, Sat Jul 20 20:41:40 2002 UTC
# Line 1565  Line 1565 
1565  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1566  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
1567      builtin and then its argument prototype would still apply.  */      builtin and then its argument prototype would still apply.  */
1568  char gdImageCreate();  char gdImagePng();
1569    
1570  int main() {  int main() {
1571  gdImageCreate()  gdImagePng()
1572  ; return 0; }  ; return 0; }
1573  EOF  EOF
1574  if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
# Line 1601  Line 1601 
1601  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1602  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
1603      builtin and then its argument prototype would still apply.  */      builtin and then its argument prototype would still apply.  */
1604  char gdImageCreate();  char gdImageJpeg();
1605    
1606  int main() {  int main() {
1607  gdImageCreate()  gdImageJpeg()
1608  ; return 0; }  ; return 0; }
1609  EOF  EOF
1610  if { (eval echo configure:1611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
# Line 1637  Line 1637 
1637  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1638  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
1639      builtin and then its argument prototype would still apply.  */      builtin and then its argument prototype would still apply.  */
1640  char gdImageCreate();  char gdImageStringTTF();
1641    
1642  int main() {  int main() {
1643  gdImageCreate()  gdImageStringTTF()
1644  ; return 0; }  ; return 0; }
1645  EOF  EOF
1646  if { (eval echo configure:1647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
# Line 1673  Line 1673 
1673  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1674  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
1675      builtin and then its argument prototype would still apply.  */      builtin and then its argument prototype would still apply.  */
1676  char gdImageCreate();  char gdImageStringFT();
1677    
1678  int main() {  int main() {
1679  gdImageCreate()  gdImageStringFT()
1680  ; return 0; }  ; return 0; }
1681  EOF  EOF
1682  if { (eval echo configure:1683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
# Line 1698  Line 1698 
1698    
1699  if test "$ac_cv_gd_needs_freetype" = "yes"  if test "$ac_cv_gd_needs_freetype" = "yes"
1700  then  then
1701          if test "$ac_have_libfreetype" != "yes"          if test "$ac_have_libfreetype" != "yes" -a "$ac_have_libttf" != "yes"
1702          then          then
1703                  echo "** WARNING: Required library libfreetype not found"                  echo "** WARNING: Required library libfreetype not found"
1704          fi          fi
# Line 1707  Line 1707 
1707    
1708  if test "$ac_cv_gd_needs_ttf" = "yes"  if test "$ac_cv_gd_needs_ttf" = "yes"
1709  then  then
1710          if test "$ac_have_libttf" != "yes"          if test "$ac_have_libttf" != "yes" -a "$ac_have_libfreetype" != "yes"
1711          then          then
1712                  echo "** WARNING: Required library libttf not found"                  echo "** WARNING: Required library libttf not found"
1713          fi          fi
# Line 1927  Line 1927 
1927  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1928    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1929    
1930          cat >> confdefs.h <<\EOF          if test "$ac_have_libttf" = "yes"
1931            then
1932                    cat >> confdefs.h <<\EOF
1933  #define HAVE_GDIMAGESTRINGTTF 1  #define HAVE_GDIMAGESTRINGTTF 1
1934  EOF  EOF
1935    
1936            fi
1937    
1938  else  else
1939    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1940  fi  fi
1941    
1942  echo $ac_n "checking for gdImageStringFT in -lgd""... $ac_c" 1>&6  echo $ac_n "checking for gdImageStringFT in -lgd""... $ac_c" 1>&6
1943  echo "configure:1941: checking for gdImageStringFT in -lgd" >&5  echo "configure:1944: checking for gdImageStringFT in -lgd" >&5
1944  ac_lib_var=`echo gd'_'gdImageStringFT | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gd'_'gdImageStringFT | sed 'y%./+-%__p_%'`
1945  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1946    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1945  Line 1948 
1948    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1949  LIBS="-lgd  $LIBS"  LIBS="-lgd  $LIBS"
1950  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1951  #line 1949 "configure"  #line 1952 "configure"
1952  #include "confdefs.h"  #include "confdefs.h"
1953  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1954  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 1956  Line 1959 
1959  gdImageStringFT()  gdImageStringFT()
1960  ; return 0; }  ; return 0; }
1961  EOF  EOF
1962  if { (eval echo configure:1960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1963    rm -rf conftest*    rm -rf conftest*
1964    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1965  else  else
# Line 1972  Line 1975 
1975  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1976    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1977    
1978          cat >> confdefs.h <<\EOF          if test "$ac_have_libfreetype" = "yes"
1979            then
1980                    cat >> confdefs.h <<\EOF
1981  #define HAVE_GDIMAGESTRINGFT 1  #define HAVE_GDIMAGESTRINGFT 1
1982  EOF  EOF
1983    
1984            fi
1985    
1986  else  else
1987    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0