/[CvsGraph]/cvsgraph/configure.in
ViewVC logotype

Diff of /cvsgraph/configure.in

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.4, Sun Mar 4 20:15:02 2001 UTC
# Line 9  Line 9 
9  AC_PROG_LEX  AC_PROG_LEX
10  AC_PROG_YACC  AC_PROG_YACC
11    
12    LEXFLAGS="-8"
13    LEXSPEED="-Cf"
14    
15  dnl Extra libraries 'with'-options  dnl Extra libraries 'with'-options
16  AC_ARG_WITH(gd,[  --with-gd=DIR           location of the gd lib/inc],  AC_ARG_WITH(gd,[  --with-gd-inc=DIR       location of the gd includes],
17                  [LDFLAGS="${LDFLAGS} -L${withval}"                  [CFLAGS="${CFLAGS} -I${withval}"
                 CFLAGS="${CFLAGS} -I${withval}"  
18                  ])                  ])
19    
20  AC_ARG_WITH(z,[  --with-z=DIR            location of zlib lib/inc],  AC_ARG_WITH(gd,[  --with-gd-lib=DIR       location of the gd library],
21                  [LDFLAGS="${LDFLAGS} -L${withval}"                  [LDFLAGS="${LDFLAGS} -L${withval}"
22                  CFLAGS="${CFLAGS} -I${withval}"                  ])
23    
24    AC_ARG_WITH(z,[  --with-z-inc=DIR        location of zlib includes],
25                    [CFLAGS="${CFLAGS} -I${withval}"
26                    ])
27    
28    AC_ARG_WITH(z,[  --with-z-lib=DIR        location of zlib library],
29                    [LDFLAGS="${LDFLAGS} -L${withval} -lz"
30                  ])                  ])
31    
32  AC_ARG_WITH(png,[  --with-png=DIR          location of png lib/inc],  AC_ARG_WITH(png,[  --with-png=DIR          location of png lib/inc],
33                  [LDFLAGS="${LDFLAGS} -L${withval}"                  [LDFLAGS="${LDFLAGS} -L${withval} -lpng"
34                  CFLAGS="${CFLAGS} -I${withval}"                  CFLAGS="${CFLAGS} -I${withval}"
35                  ])                  ])
36    
37    AC_ARG_ENABLE(speed,[  --disable-speed         Turn off lex table optimization reducing speed and size of executable],
38                    [if test "$enableval" = "no"; then LEXSPEED=""; fi])
39    
40    if test "x$LEXSPEED" != "x"
41    then
42      LEXFLAGS="$LEXFLAGS $LEXSPEED"
43    fi
44    
45  LDFLAGS="${LDFLAGS} -lgd"  LDFLAGS="${LDFLAGS} -lgd"
46    
47    
# Line 85  Line 102 
102          exit 1          exit 1
103  fi  fi
104    
105    AC_SUBST(LEXFLAGS)
106    
107  AC_OUTPUT(Makefile)  AC_OUTPUT(Makefile)
108    

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

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0