/[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.3, Sun Mar 4 01:38:23 2001 UTC revision 1.4, Sun Mar 4 20:15:02 2001 UTC
# Line 12  Line 12 
12  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
13  # Any additions from configure.in:  # Any additions from configure.in:
14  ac_help="$ac_help  ac_help="$ac_help
15    --with-gd=DIR           location of the gd lib/inc"    --with-gd-inc=DIR       location of the gd includes"
16  ac_help="$ac_help  ac_help="$ac_help
17    --with-z=DIR            location of zlib lib/inc"    --with-gd-lib=DIR       location of the gd library"
18    ac_help="$ac_help
19      --with-z-inc=DIR        location of zlib includes"
20    ac_help="$ac_help
21      --with-z-lib=DIR        location of zlib library"
22  ac_help="$ac_help  ac_help="$ac_help
23    --with-png=DIR          location of png lib/inc"    --with-png=DIR          location of png lib/inc"
24  ac_help="$ac_help  ac_help="$ac_help
# Line 534  Line 538 
538  # Extract the first word of "gcc", so it can be a program name with args.  # Extract the first word of "gcc", so it can be a program name with args.
539  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
540  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
541  echo "configure:538: checking for $ac_word" >&5  echo "configure:542: checking for $ac_word" >&5
542  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
543    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
544  else  else
# Line 564  Line 568 
568    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
569  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
570  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
571  echo "configure:568: checking for $ac_word" >&5  echo "configure:572: checking for $ac_word" >&5
572  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
573    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
574  else  else
# Line 615  Line 619 
619        # Extract the first word of "cl", so it can be a program name with args.        # Extract the first word of "cl", so it can be a program name with args.
620  set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
621  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
622  echo "configure:619: checking for $ac_word" >&5  echo "configure:623: checking for $ac_word" >&5
623  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
624    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
625  else  else
# Line 647  Line 651 
651  fi  fi
652    
653  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
654  echo "configure:651: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:655: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
655    
656  ac_ext=c  ac_ext=c
657  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 658  Line 662 
662    
663  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
664    
665  #line 662 "configure"  #line 666 "configure"
666  #include "confdefs.h"  #include "confdefs.h"
667    
668  main(){return(0);}  main(){return(0);}
669  EOF  EOF
670  if { (eval echo configure:667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
671    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
672    # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
673    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 689  Line 693 
693    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
694  fi  fi
695  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
696  echo "configure:693: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:697: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
697  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
698  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
699    
700  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
701  echo "configure:698: checking whether we are using GNU C" >&5  echo "configure:702: checking whether we are using GNU C" >&5
702  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
703    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
704  else  else
# Line 703  Line 707 
707    yes;    yes;
708  #endif  #endif
709  EOF  EOF
710  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
711    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
712  else  else
713    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 722  Line 726 
726  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
727  CFLAGS=  CFLAGS=
728  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
729  echo "configure:726: checking whether ${CC-cc} accepts -g" >&5  echo "configure:730: checking whether ${CC-cc} accepts -g" >&5
730  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
731    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
732  else  else
# Line 756  Line 760 
760  # Extract the first word of "flex", so it can be a program name with args.  # Extract the first word of "flex", so it can be a program name with args.
761  set dummy flex; ac_word=$2  set dummy flex; ac_word=$2
762  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
763  echo "configure:760: checking for $ac_word" >&5  echo "configure:764: checking for $ac_word" >&5
764  if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
765    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
766  else  else
# Line 790  Line 794 
794    *) ac_lib=l ;;    *) ac_lib=l ;;
795    esac    esac
796    echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6    echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
797  echo "configure:794: checking for yywrap in -l$ac_lib" >&5  echo "configure:798: checking for yywrap in -l$ac_lib" >&5
798  ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`  ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
799  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
800    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 798  Line 802 
802    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
803  LIBS="-l$ac_lib  $LIBS"  LIBS="-l$ac_lib  $LIBS"
804  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
805  #line 802 "configure"  #line 806 "configure"
806  #include "confdefs.h"  #include "confdefs.h"
807  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
808  /* 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 809  Line 813 
813  yywrap()  yywrap()
814  ; return 0; }  ; return 0; }
815  EOF  EOF
816  if { (eval echo configure:813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
817    rm -rf conftest*    rm -rf conftest*
818    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
819  else  else
# Line 836  Line 840 
840  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
841  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
842  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
843  echo "configure:840: checking for $ac_word" >&5  echo "configure:844: checking for $ac_word" >&5
844  if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
845    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
846  else  else
# Line 873  Line 877 
877  # Check whether --with-gd or --without-gd was given.  # Check whether --with-gd or --without-gd was given.
878  if test "${with_gd+set}" = set; then  if test "${with_gd+set}" = set; then
879    withval="$with_gd"    withval="$with_gd"
880      CFLAGS="${CFLAGS} -I${withval}"
881    
882    fi
883    
884    
885    # Check whether --with-gd or --without-gd was given.
886    if test "${with_gd+set}" = set; then
887      withval="$with_gd"
888    LDFLAGS="${LDFLAGS} -L${withval}"    LDFLAGS="${LDFLAGS} -L${withval}"
                 CFLAGS="${CFLAGS} -I${withval}"  
889    
890  fi  fi
891    
# Line 882  Line 893 
893  # Check whether --with-z or --without-z was given.  # Check whether --with-z or --without-z was given.
894  if test "${with_z+set}" = set; then  if test "${with_z+set}" = set; then
895    withval="$with_z"    withval="$with_z"
896    LDFLAGS="${LDFLAGS} -L${withval}"    CFLAGS="${CFLAGS} -I${withval}"
897                  CFLAGS="${CFLAGS} -I${withval}"  
898    fi
899    
900    
901    # Check whether --with-z or --without-z was given.
902    if test "${with_z+set}" = set; then
903      withval="$with_z"
904      LDFLAGS="${LDFLAGS} -L${withval} -lz"
905    
906  fi  fi
907    
# Line 891  Line 909 
909  # Check whether --with-png or --without-png was given.  # Check whether --with-png or --without-png was given.
910  if test "${with_png+set}" = set; then  if test "${with_png+set}" = set; then
911    withval="$with_png"    withval="$with_png"
912    LDFLAGS="${LDFLAGS} -L${withval}"    LDFLAGS="${LDFLAGS} -L${withval} -lpng"
913                  CFLAGS="${CFLAGS} -I${withval}"                  CFLAGS="${CFLAGS} -I${withval}"
914    
915  fi  fi
# Line 916  Line 934 
934  then  then
935    CFLAGS="$CFLAGS -Wall"    CFLAGS="$CFLAGS -Wall"
936    echo $ac_n "checking "for gcc strength-reduce bug"""... $ac_c" 1>&6    echo $ac_n "checking "for gcc strength-reduce bug"""... $ac_c" 1>&6
937  echo "configure:920: checking "for gcc strength-reduce bug"" >&5  echo "configure:938: checking "for gcc strength-reduce bug"" >&5
938  if eval "test \"`echo '$''{'ac_cv_c_gcc_strength_bug'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_c_gcc_strength_bug'+set}'`\" = set"; then
939    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
940  else  else
# Line 924  Line 942 
942    ac_cv_c_gcc_strength_bug="yes"    ac_cv_c_gcc_strength_bug="yes"
943  else  else
944    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
945  #line 928 "configure"  #line 946 "configure"
946  #include "confdefs.h"  #include "confdefs.h"
947    
948  int main(void) {  int main(void) {
# Line 935  Line 953 
953    exit( Array[1] != -2 );    exit( Array[1] != -2 );
954  }  }
955  EOF  EOF
956  if { (eval echo configure:939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
957  then  then
958    ac_cv_c_gcc_strength_bug="no"    ac_cv_c_gcc_strength_bug="no"
959  else  else
# Line 958  Line 976 
976    
977    
978  echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
979  echo "configure:962: checking for sqrt in -lm" >&5  echo "configure:980: checking for sqrt in -lm" >&5
980  ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
981  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
982    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 966  Line 984 
984    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
985  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
986  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
987  #line 970 "configure"  #line 988 "configure"
988  #include "confdefs.h"  #include "confdefs.h"
989  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
990  /* 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 977  Line 995 
995  sqrt()  sqrt()
996  ; return 0; }  ; return 0; }
997  EOF  EOF
998  if { (eval echo configure:981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
999    rm -rf conftest*    rm -rf conftest*
1000    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1001  else  else
# Line 1004  Line 1022 
1022    
1023    
1024  echo $ac_n "checking for gdImageGif in -lgd""... $ac_c" 1>&6  echo $ac_n "checking for gdImageGif in -lgd""... $ac_c" 1>&6
1025  echo "configure:1008: checking for gdImageGif in -lgd" >&5  echo "configure:1026: checking for gdImageGif in -lgd" >&5
1026  ac_lib_var=`echo gd'_'gdImageGif | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gd'_'gdImageGif | sed 'y%./+-%__p_%'`
1027  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
1028    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1012  Line 1030 
1030    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1031  LIBS="-lgd  $LIBS"  LIBS="-lgd  $LIBS"
1032  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1033  #line 1016 "configure"  #line 1034 "configure"
1034  #include "confdefs.h"  #include "confdefs.h"
1035  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1036  /* 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 1023  Line 1041 
1041  gdImageGif()  gdImageGif()
1042  ; return 0; }  ; return 0; }
1043  EOF  EOF
1044  if { (eval echo configure:1027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1045    rm -rf conftest*    rm -rf conftest*
1046    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1047  else  else
# Line 1049  Line 1067 
1067  fi  fi
1068    
1069  echo $ac_n "checking for gdImagePng in -lgd""... $ac_c" 1>&6  echo $ac_n "checking for gdImagePng in -lgd""... $ac_c" 1>&6
1070  echo "configure:1053: checking for gdImagePng in -lgd" >&5  echo "configure:1071: checking for gdImagePng in -lgd" >&5
1071  ac_lib_var=`echo gd'_'gdImagePng | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gd'_'gdImagePng | sed 'y%./+-%__p_%'`
1072  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
1073    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1057  Line 1075 
1075    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1076  LIBS="-lgd  $LIBS"  LIBS="-lgd  $LIBS"
1077  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1078  #line 1061 "configure"  #line 1079 "configure"
1079  #include "confdefs.h"  #include "confdefs.h"
1080  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1081  /* 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 1068  Line 1086 
1086  gdImagePng()  gdImagePng()
1087  ; return 0; }  ; return 0; }
1088  EOF  EOF
1089  if { (eval echo configure:1072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1090    rm -rf conftest*    rm -rf conftest*
1091    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1092  else  else
# Line 1095  Line 1113 
1113  fi  fi
1114    
1115  echo $ac_n "checking for gdImageJpeg in -lgd""... $ac_c" 1>&6  echo $ac_n "checking for gdImageJpeg in -lgd""... $ac_c" 1>&6
1116  echo "configure:1099: checking for gdImageJpeg in -lgd" >&5  echo "configure:1117: checking for gdImageJpeg in -lgd" >&5
1117  ac_lib_var=`echo gd'_'gdImageJpeg | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gd'_'gdImageJpeg | sed 'y%./+-%__p_%'`
1118  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
1119    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1103  Line 1121 
1121    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1122  LIBS="-lgd  $LIBS"  LIBS="-lgd  $LIBS"
1123  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1124  #line 1107 "configure"  #line 1125 "configure"
1125  #include "confdefs.h"  #include "confdefs.h"
1126  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1127  /* 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 1114  Line 1132 
1132  gdImageJpeg()  gdImageJpeg()
1133  ; return 0; }  ; return 0; }
1134  EOF  EOF
1135  if { (eval echo configure:1118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1136    rm -rf conftest*    rm -rf conftest*
1137    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1138  else  else
# Line 1143  Line 1161 
1161    
1162    
1163  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1164  echo "configure:1147: checking how to run the C preprocessor" >&5  echo "configure:1165: checking how to run the C preprocessor" >&5
1165  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
1166  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
1167    CPP=    CPP=
# Line 1158  Line 1176 
1176    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
1177    # not just through cpp.    # not just through cpp.
1178    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1179  #line 1162 "configure"  #line 1180 "configure"
1180  #include "confdefs.h"  #include "confdefs.h"
1181  #include <assert.h>  #include <assert.h>
1182  Syntax Error  Syntax Error
1183  EOF  EOF
1184  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1185  { (eval echo configure:1168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1186  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1187  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1188    :    :
# Line 1175  Line 1193 
1193    rm -rf conftest*    rm -rf conftest*
1194    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
1195    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1196  #line 1179 "configure"  #line 1197 "configure"
1197  #include "confdefs.h"  #include "confdefs.h"
1198  #include <assert.h>  #include <assert.h>
1199  Syntax Error  Syntax Error
1200  EOF  EOF
1201  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1202  { (eval echo configure:1185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1203  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1204  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1205    :    :
# Line 1192  Line 1210 
1210    rm -rf conftest*    rm -rf conftest*
1211    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
1212    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1213  #line 1196 "configure"  #line 1214 "configure"
1214  #include "confdefs.h"  #include "confdefs.h"
1215  #include <assert.h>  #include <assert.h>
1216  Syntax Error  Syntax Error
1217  EOF  EOF
1218  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1219  { (eval echo configure:1202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1220  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1221  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1222    :    :
# Line 1224  Line 1242 
1242    
1243  ac_safe=`echo "gd.h" | sed 'y%./+-%__p_%'`  ac_safe=`echo "gd.h" | sed 'y%./+-%__p_%'`
1244  echo $ac_n "checking for gd.h""... $ac_c" 1>&6  echo $ac_n "checking for gd.h""... $ac_c" 1>&6
1245  echo "configure:1228: checking for gd.h" >&5  echo "configure:1246: checking for gd.h" >&5
1246  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1247    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1248  else  else
1249    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1250  #line 1233 "configure"  #line 1251 "configure"
1251  #include "confdefs.h"  #include "confdefs.h"
1252  #include <gd.h>  #include <gd.h>
1253  EOF  EOF
1254  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1255  { (eval echo configure:1238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1256  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1257  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1258    rm -rf conftest*    rm -rf conftest*

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0