/[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.2, Sat Feb 24 00:31:03 2001 UTC revision 1.3, Sun Mar 4 01:38:23 2001 UTC
# Line 17  Line 17 
17    --with-z=DIR            location of zlib lib/inc"    --with-z=DIR            location of zlib lib/inc"
18  ac_help="$ac_help  ac_help="$ac_help
19    --with-png=DIR          location of png lib/inc"    --with-png=DIR          location of png lib/inc"
20    ac_help="$ac_help
21      --disable-speed         Turn off lex table optimization reducing speed and size of executable"
22    
23  # Initialize some variables set by options.  # Initialize some variables set by options.
24  # The variables have the same names as the options, with  # The variables have the same names as the options, with
# Line 532  Line 534 
534  # 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.
535  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
536  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
537  echo "configure:536: checking for $ac_word" >&5  echo "configure:538: checking for $ac_word" >&5
538  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
539    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
540  else  else
# Line 562  Line 564 
564    # 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.
565  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
566  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
567  echo "configure:566: checking for $ac_word" >&5  echo "configure:568: checking for $ac_word" >&5
568  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
569    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
570  else  else
# Line 613  Line 615 
615        # 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.
616  set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
617  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
618  echo "configure:617: checking for $ac_word" >&5  echo "configure:619: checking for $ac_word" >&5
619  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
620    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
621  else  else
# Line 645  Line 647 
647  fi  fi
648    
649  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
650  echo "configure:649: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:651: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
651    
652  ac_ext=c  ac_ext=c
653  # 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 656  Line 658 
658    
659  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
660    
661  #line 660 "configure"  #line 662 "configure"
662  #include "confdefs.h"  #include "confdefs.h"
663    
664  main(){return(0);}  main(){return(0);}
665  EOF  EOF
666  if { (eval echo configure:665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
667    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
668    # 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.
669    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 687  Line 689 
689    { 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; }
690  fi  fi
691  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
692  echo "configure:691: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:693: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
693  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
694  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
695    
696  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
697  echo "configure:696: checking whether we are using GNU C" >&5  echo "configure:698: checking whether we are using GNU C" >&5
698  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
699    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
700  else  else
# Line 701  Line 703 
703    yes;    yes;
704  #endif  #endif
705  EOF  EOF
706  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:705: \"$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:707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
707    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
708  else  else
709    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 720  Line 722 
722  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
723  CFLAGS=  CFLAGS=
724  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
725  echo "configure:724: checking whether ${CC-cc} accepts -g" >&5  echo "configure:726: checking whether ${CC-cc} accepts -g" >&5
726  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
727    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
728  else  else
# Line 754  Line 756 
756  # 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.
757  set dummy flex; ac_word=$2  set dummy flex; ac_word=$2
758  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
759  echo "configure:758: checking for $ac_word" >&5  echo "configure:760: checking for $ac_word" >&5
760  if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
761    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
762  else  else
# Line 788  Line 790 
790    *) ac_lib=l ;;    *) ac_lib=l ;;
791    esac    esac
792    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
793  echo "configure:792: checking for yywrap in -l$ac_lib" >&5  echo "configure:794: checking for yywrap in -l$ac_lib" >&5
794  ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`  ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
795  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
796    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 796  Line 798 
798    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
799  LIBS="-l$ac_lib  $LIBS"  LIBS="-l$ac_lib  $LIBS"
800  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
801  #line 800 "configure"  #line 802 "configure"
802  #include "confdefs.h"  #include "confdefs.h"
803  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
804  /* 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 807  Line 809 
809  yywrap()  yywrap()
810  ; return 0; }  ; return 0; }
811  EOF  EOF
812  if { (eval echo configure:811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
813    rm -rf conftest*    rm -rf conftest*
814    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
815  else  else
# Line 834  Line 836 
836  # 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.
837  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
838  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
839  echo "configure:838: checking for $ac_word" >&5  echo "configure:840: checking for $ac_word" >&5
840  if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
841    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
842  else  else
# Line 865  Line 867 
867  test -n "$YACC" || YACC="yacc"  test -n "$YACC" || YACC="yacc"
868    
869    
870    LEXFLAGS="-8"
871    LEXSPEED="-Cf"
872    
873  # Check whether --with-gd or --without-gd was given.  # Check whether --with-gd or --without-gd was given.
874  if test "${with_gd+set}" = set; then  if test "${with_gd+set}" = set; then
875    withval="$with_gd"    withval="$with_gd"
# Line 892  Line 897 
897  fi  fi
898    
899    
900    # Check whether --enable-speed or --disable-speed was given.
901    if test "${enable_speed+set}" = set; then
902      enableval="$enable_speed"
903      if test "$enableval" = "no"; then LEXSPEED=""; fi
904    fi
905    
906    
907    if test "x$LEXSPEED" != "x"
908    then
909      LEXFLAGS="$LEXFLAGS $LEXSPEED"
910    fi
911    
912  LDFLAGS="${LDFLAGS} -lgd"  LDFLAGS="${LDFLAGS} -lgd"
913    
914    
# Line 899  Line 916 
916  then  then
917    CFLAGS="$CFLAGS -Wall"    CFLAGS="$CFLAGS -Wall"
918    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
919  echo "configure:903: checking "for gcc strength-reduce bug"" >&5  echo "configure:920: checking "for gcc strength-reduce bug"" >&5
920  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
921    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
922  else  else
# Line 907  Line 924 
924    ac_cv_c_gcc_strength_bug="yes"    ac_cv_c_gcc_strength_bug="yes"
925  else  else
926    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
927  #line 911 "configure"  #line 928 "configure"
928  #include "confdefs.h"  #include "confdefs.h"
929    
930  int main(void) {  int main(void) {
# Line 918  Line 935 
935    exit( Array[1] != -2 );    exit( Array[1] != -2 );
936  }  }
937  EOF  EOF
938  if { (eval echo configure:922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
939  then  then
940    ac_cv_c_gcc_strength_bug="no"    ac_cv_c_gcc_strength_bug="no"
941  else  else
# Line 941  Line 958 
958    
959    
960  echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
961  echo "configure:945: checking for sqrt in -lm" >&5  echo "configure:962: checking for sqrt in -lm" >&5
962  ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
963  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
964    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 949  Line 966 
966    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
967  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
968  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
969  #line 953 "configure"  #line 970 "configure"
970  #include "confdefs.h"  #include "confdefs.h"
971  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
972  /* 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 960  Line 977 
977  sqrt()  sqrt()
978  ; return 0; }  ; return 0; }
979  EOF  EOF
980  if { (eval echo configure:964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
981    rm -rf conftest*    rm -rf conftest*
982    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
983  else  else
# Line 987  Line 1004 
1004    
1005    
1006  echo $ac_n "checking for gdImageGif in -lgd""... $ac_c" 1>&6  echo $ac_n "checking for gdImageGif in -lgd""... $ac_c" 1>&6
1007  echo "configure:991: checking for gdImageGif in -lgd" >&5  echo "configure:1008: checking for gdImageGif in -lgd" >&5
1008  ac_lib_var=`echo gd'_'gdImageGif | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gd'_'gdImageGif | sed 'y%./+-%__p_%'`
1009  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
1010    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 995  Line 1012 
1012    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1013  LIBS="-lgd  $LIBS"  LIBS="-lgd  $LIBS"
1014  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1015  #line 999 "configure"  #line 1016 "configure"
1016  #include "confdefs.h"  #include "confdefs.h"
1017  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1018  /* 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 1006  Line 1023 
1023  gdImageGif()  gdImageGif()
1024  ; return 0; }  ; return 0; }
1025  EOF  EOF
1026  if { (eval echo configure:1010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1027    rm -rf conftest*    rm -rf conftest*
1028    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1029  else  else
# Line 1032  Line 1049 
1049  fi  fi
1050    
1051  echo $ac_n "checking for gdImagePng in -lgd""... $ac_c" 1>&6  echo $ac_n "checking for gdImagePng in -lgd""... $ac_c" 1>&6
1052  echo "configure:1036: checking for gdImagePng in -lgd" >&5  echo "configure:1053: checking for gdImagePng in -lgd" >&5
1053  ac_lib_var=`echo gd'_'gdImagePng | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gd'_'gdImagePng | sed 'y%./+-%__p_%'`
1054  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
1055    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1040  Line 1057 
1057    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1058  LIBS="-lgd  $LIBS"  LIBS="-lgd  $LIBS"
1059  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1060  #line 1044 "configure"  #line 1061 "configure"
1061  #include "confdefs.h"  #include "confdefs.h"
1062  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1063  /* 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 1051  Line 1068 
1068  gdImagePng()  gdImagePng()
1069  ; return 0; }  ; return 0; }
1070  EOF  EOF
1071  if { (eval echo configure:1055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1072    rm -rf conftest*    rm -rf conftest*
1073    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1074  else  else
# Line 1078  Line 1095 
1095  fi  fi
1096    
1097  echo $ac_n "checking for gdImageJpeg in -lgd""... $ac_c" 1>&6  echo $ac_n "checking for gdImageJpeg in -lgd""... $ac_c" 1>&6
1098  echo "configure:1082: checking for gdImageJpeg in -lgd" >&5  echo "configure:1099: checking for gdImageJpeg in -lgd" >&5
1099  ac_lib_var=`echo gd'_'gdImageJpeg | sed 'y%./+-%__p_%'`  ac_lib_var=`echo gd'_'gdImageJpeg | sed 'y%./+-%__p_%'`
1100  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
1101    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1086  Line 1103 
1103    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1104  LIBS="-lgd  $LIBS"  LIBS="-lgd  $LIBS"
1105  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1106  #line 1090 "configure"  #line 1107 "configure"
1107  #include "confdefs.h"  #include "confdefs.h"
1108  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
1109  /* 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 1097  Line 1114 
1114  gdImageJpeg()  gdImageJpeg()
1115  ; return 0; }  ; return 0; }
1116  EOF  EOF
1117  if { (eval echo configure:1101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1118    rm -rf conftest*    rm -rf conftest*
1119    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1120  else  else
# Line 1126  Line 1143 
1143    
1144    
1145  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
1146  echo "configure:1130: checking how to run the C preprocessor" >&5  echo "configure:1147: checking how to run the C preprocessor" >&5
1147  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
1148  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
1149    CPP=    CPP=
# Line 1141  Line 1158 
1158    # 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,
1159    # not just through cpp.    # not just through cpp.
1160    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1161  #line 1145 "configure"  #line 1162 "configure"
1162  #include "confdefs.h"  #include "confdefs.h"
1163  #include <assert.h>  #include <assert.h>
1164  Syntax Error  Syntax Error
1165  EOF  EOF
1166  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1167  { (eval echo configure:1151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1168  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1169  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1170    :    :
# Line 1158  Line 1175 
1175    rm -rf conftest*    rm -rf conftest*
1176    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
1177    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1178  #line 1162 "configure"  #line 1179 "configure"
1179  #include "confdefs.h"  #include "confdefs.h"
1180  #include <assert.h>  #include <assert.h>
1181  Syntax Error  Syntax Error
1182  EOF  EOF
1183  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1184  { (eval echo configure:1168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1185  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1186  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1187    :    :
# Line 1175  Line 1192 
1192    rm -rf conftest*    rm -rf conftest*
1193    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
1194    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1195  #line 1179 "configure"  #line 1196 "configure"
1196  #include "confdefs.h"  #include "confdefs.h"
1197  #include <assert.h>  #include <assert.h>
1198  Syntax Error  Syntax Error
1199  EOF  EOF
1200  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1201  { (eval echo configure:1185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1202  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1203  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1204    :    :
# Line 1207  Line 1224 
1224    
1225  ac_safe=`echo "gd.h" | sed 'y%./+-%__p_%'`  ac_safe=`echo "gd.h" | sed 'y%./+-%__p_%'`
1226  echo $ac_n "checking for gd.h""... $ac_c" 1>&6  echo $ac_n "checking for gd.h""... $ac_c" 1>&6
1227  echo "configure:1211: checking for gd.h" >&5  echo "configure:1228: checking for gd.h" >&5
1228  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1229    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1230  else  else
1231    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1232  #line 1216 "configure"  #line 1233 "configure"
1233  #include "confdefs.h"  #include "confdefs.h"
1234  #include <gd.h>  #include <gd.h>
1235  EOF  EOF
1236  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1237  { (eval echo configure:1221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1238  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1239  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1240    rm -rf conftest*    rm -rf conftest*
# Line 1253  Line 1270 
1270  fi  fi
1271    
1272    
1273    
1274  trap '' 1 2 15  trap '' 1 2 15
1275  cat > confcache <<\EOF  cat > confcache <<\EOF
1276  # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
# Line 1390  Line 1408 
1408  s%@LEXLIB@%$LEXLIB%g  s%@LEXLIB@%$LEXLIB%g
1409  s%@YACC@%$YACC%g  s%@YACC@%$YACC%g
1410  s%@CPP@%$CPP%g  s%@CPP@%$CPP%g
1411    s%@LEXFLAGS@%$LEXFLAGS%g
1412    
1413  CEOF  CEOF
1414  EOF  EOF

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

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0