/[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.5, Mon Mar 12 19:50:02 2001 UTC revision 1.6, Wed Nov 21 08:25:04 2001 UTC
# Line 1006  Line 1006 
1006    fi    fi
1007  fi  fi
1008    
1009    echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1010    echo "configure:1011: checking how to run the C preprocessor" >&5
1011    # On Suns, sometimes $CPP names a directory.
1012    if test -n "$CPP" && test -d "$CPP"; then
1013      CPP=
1014    fi
1015    if test -z "$CPP"; then
1016    if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1017      echo $ac_n "(cached) $ac_c" 1>&6
1018    else
1019        # This must be in double quotes, not single quotes, because CPP may get
1020      # substituted into the Makefile and "${CC-cc}" will confuse make.
1021      CPP="${CC-cc} -E"
1022      # On the NeXT, cc -E runs the code through the compiler's parser,
1023      # not just through cpp.
1024      cat > conftest.$ac_ext <<EOF
1025    #line 1026 "configure"
1026    #include "confdefs.h"
1027    #include <assert.h>
1028    Syntax Error
1029    EOF
1030    ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1031    { (eval echo configure:1032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1032    ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1033    if test -z "$ac_err"; then
1034      :
1035    else
1036      echo "$ac_err" >&5
1037      echo "configure: failed program was:" >&5
1038      cat conftest.$ac_ext >&5
1039      rm -rf conftest*
1040      CPP="${CC-cc} -E -traditional-cpp"
1041      cat > conftest.$ac_ext <<EOF
1042    #line 1043 "configure"
1043    #include "confdefs.h"
1044    #include <assert.h>
1045    Syntax Error
1046    EOF
1047    ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1048    { (eval echo configure:1049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1049    ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1050    if test -z "$ac_err"; then
1051      :
1052    else
1053      echo "$ac_err" >&5
1054      echo "configure: failed program was:" >&5
1055      cat conftest.$ac_ext >&5
1056      rm -rf conftest*
1057      CPP="${CC-cc} -nologo -E"
1058      cat > conftest.$ac_ext <<EOF
1059    #line 1060 "configure"
1060    #include "confdefs.h"
1061    #include <assert.h>
1062    Syntax Error
1063    EOF
1064    ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1065    { (eval echo configure:1066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1066    ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1067    if test -z "$ac_err"; then
1068      :
1069    else
1070      echo "$ac_err" >&5
1071      echo "configure: failed program was:" >&5
1072      cat conftest.$ac_ext >&5
1073      rm -rf conftest*
1074      CPP=/lib/cpp
1075    fi
1076    rm -f conftest*
1077    fi
1078    rm -f conftest*
1079    fi
1080    rm -f conftest*
1081      ac_cv_prog_CPP="$CPP"
1082    fi
1083      CPP="$ac_cv_prog_CPP"
1084    else
1085      ac_cv_prog_CPP="$CPP"
1086    fi
1087    echo "$ac_t""$CPP" 1>&6
1088    
1089    ac_safe=`echo "getopt.h" | sed 'y%./+-%__p_%'`
1090    echo $ac_n "checking for getopt.h""... $ac_c" 1>&6
1091    echo "configure:1092: checking for getopt.h" >&5
1092    if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1093      echo $ac_n "(cached) $ac_c" 1>&6
1094    else
1095      cat > conftest.$ac_ext <<EOF
1096    #line 1097 "configure"
1097    #include "confdefs.h"
1098    #include <getopt.h>
1099    EOF
1100    ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1101    { (eval echo configure:1102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1102    ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1103    if test -z "$ac_err"; then
1104      rm -rf conftest*
1105      eval "ac_cv_header_$ac_safe=yes"
1106    else
1107      echo "$ac_err" >&5
1108      echo "configure: failed program was:" >&5
1109      cat conftest.$ac_ext >&5
1110      rm -rf conftest*
1111      eval "ac_cv_header_$ac_safe=no"
1112    fi
1113    rm -f conftest*
1114    fi
1115    if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1116      echo "$ac_t""yes" 1>&6
1117       cat >> confdefs.h <<\EOF
1118    #define HAVE_GETOPT_H 1
1119    EOF
1120    
1121    else
1122      echo "$ac_t""no" 1>&6
1123    fi
1124    
1125    
1126  echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
1127  echo "configure:1012: checking for sqrt in -lm" >&5  echo "configure:1128: checking for sqrt in -lm" >&5
1128  ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
1129  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
1130    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1016  Line 1132 
1132    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1133  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
1134  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1135  #line 1020 "configure"  #line 1136 "configure"
1136  #include "confdefs.h"  #include "confdefs.h"
1137  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1138  /* 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 1027  Line 1143 
1143  sqrt()  sqrt()
1144  ; return 0; }  ; return 0; }
1145  EOF  EOF
1146  if { (eval echo configure:1031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1147    rm -rf conftest*    rm -rf conftest*
1148    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1149  else  else
# Line 1054  Line 1170 
1170    
1171    
1172  echo $ac_n "checking for gdImageGif in -lgd""... $ac_c" 1>&6  echo $ac_n "checking for gdImageGif in -lgd""... $ac_c" 1>&6
1173  echo "configure:1058: checking for gdImageGif in -lgd" >&5  echo "configure:1174: checking for gdImageGif in -lgd" >&5
1174  ac_lib_var=`echo gd'_'gdImageGif | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gd'_'gdImageGif | sed 'y%./+-%__p_%'`
1175  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
1176    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1062  Line 1178 
1178    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1179  LIBS="-lgd  $LIBS"  LIBS="-lgd  $LIBS"
1180  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1181  #line 1066 "configure"  #line 1182 "configure"
1182  #include "confdefs.h"  #include "confdefs.h"
1183  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1184  /* 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 1073  Line 1189 
1189  gdImageGif()  gdImageGif()
1190  ; return 0; }  ; return 0; }
1191  EOF  EOF
1192  if { (eval echo configure:1077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1193    rm -rf conftest*    rm -rf conftest*
1194    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1195  else  else
# Line 1099  Line 1215 
1215  fi  fi
1216    
1217  echo $ac_n "checking for gdImagePng in -lgd""... $ac_c" 1>&6  echo $ac_n "checking for gdImagePng in -lgd""... $ac_c" 1>&6
1218  echo "configure:1103: checking for gdImagePng in -lgd" >&5  echo "configure:1219: checking for gdImagePng in -lgd" >&5
1219  ac_lib_var=`echo gd'_'gdImagePng | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gd'_'gdImagePng | sed 'y%./+-%__p_%'`
1220  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
1221    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1107  Line 1223 
1223    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1224  LIBS="-lgd  $LIBS"  LIBS="-lgd  $LIBS"
1225  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1226  #line 1111 "configure"  #line 1227 "configure"
1227  #include "confdefs.h"  #include "confdefs.h"
1228  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1229  /* 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 1118  Line 1234 
1234  gdImagePng()  gdImagePng()
1235  ; return 0; }  ; return 0; }
1236  EOF  EOF
1237  if { (eval echo configure:1122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1238    rm -rf conftest*    rm -rf conftest*
1239    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1240  else  else
# Line 1144  Line 1260 
1260  fi  fi
1261    
1262  echo $ac_n "checking for gdImageJpeg in -lgd""... $ac_c" 1>&6  echo $ac_n "checking for gdImageJpeg in -lgd""... $ac_c" 1>&6
1263  echo "configure:1148: checking for gdImageJpeg in -lgd" >&5  echo "configure:1264: checking for gdImageJpeg in -lgd" >&5
1264  ac_lib_var=`echo gd'_'gdImageJpeg | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gd'_'gdImageJpeg | sed 'y%./+-%__p_%'`
1265  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
1266    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1152  Line 1268 
1268    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1269  LIBS="-lgd  $LIBS"  LIBS="-lgd  $LIBS"
1270  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1271  #line 1156 "configure"  #line 1272 "configure"
1272  #include "confdefs.h"  #include "confdefs.h"
1273  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1274  /* 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 1163  Line 1279 
1279  gdImageJpeg()  gdImageJpeg()
1280  ; return 0; }  ; return 0; }
1281  EOF  EOF
1282  if { (eval echo configure:1167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1283    rm -rf conftest*    rm -rf conftest*
1284    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1285  else  else
# Line 1190  Line 1306 
1306    
1307    
1308    
 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6  
 echo "configure:1195: checking how to run the C preprocessor" >&5  
 # On Suns, sometimes $CPP names a directory.  
 if test -n "$CPP" && test -d "$CPP"; then  
   CPP=  
 fi  
 if test -z "$CPP"; then  
 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
     # This must be in double quotes, not single quotes, because CPP may get  
   # substituted into the Makefile and "${CC-cc}" will confuse make.  
   CPP="${CC-cc} -E"  
   # On the NeXT, cc -E runs the code through the compiler's parser,  
   # not just through cpp.  
   cat > conftest.$ac_ext <<EOF  
 #line 1210 "configure"  
 #include "confdefs.h"  
 #include <assert.h>  
 Syntax Error  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:1216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   :  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   CPP="${CC-cc} -E -traditional-cpp"  
   cat > conftest.$ac_ext <<EOF  
 #line 1227 "configure"  
 #include "confdefs.h"  
 #include <assert.h>  
 Syntax Error  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:1233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   :  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   CPP="${CC-cc} -nologo -E"  
   cat > conftest.$ac_ext <<EOF  
 #line 1244 "configure"  
 #include "confdefs.h"  
 #include <assert.h>  
 Syntax Error  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:1250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   :  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   CPP=/lib/cpp  
 fi  
 rm -f conftest*  
 fi  
 rm -f conftest*  
 fi  
 rm -f conftest*  
   ac_cv_prog_CPP="$CPP"  
 fi  
   CPP="$ac_cv_prog_CPP"  
 else  
   ac_cv_prog_CPP="$CPP"  
 fi  
 echo "$ac_t""$CPP" 1>&6  
   
1309  ac_safe=`echo "gd.h" | sed 'y%./+-%__p_%'`  ac_safe=`echo "gd.h" | sed 'y%./+-%__p_%'`
1310  echo $ac_n "checking for gd.h""... $ac_c" 1>&6  echo $ac_n "checking for gd.h""... $ac_c" 1>&6
1311  echo "configure:1276: checking for gd.h" >&5  echo "configure:1312: checking for gd.h" >&5
1312  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1313    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1314  else  else
1315    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1316  #line 1281 "configure"  #line 1317 "configure"
1317  #include "confdefs.h"  #include "confdefs.h"
1318  #include <gd.h>  #include <gd.h>
1319  EOF  EOF
1320  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1321  { (eval echo configure:1286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1322  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1323  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1324    rm -rf conftest*    rm -rf conftest*

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0