Changeset 4721 for gaycko


Ignore:
Timestamp:
Feb 1, 2011, 1:48:29 PM (10 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Added V8 compilation flags (--with-v8-path=PATH)
Location:
gaycko/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gaycko/trunk/configure.ac

    r4718 r4721  
    5454AC_SUBST(LT_SUFFIX)
    5555
     56AC_ARG_WITH([v8-path],
     57[AS_HELP_STRING([--with-v8-path=PATH],[V8 path])],
     58[V8=$withval],
     59)
     60AC_SUBST([V8])
    5661
    5762
     
    8186TIDY_INCLUDES="-I/usr/include/tidy"
    8287TIDY_LIBS="-ltidy"
    83 
    84 
     88V8_INCLUDES="-I${V8}/includes"
     89V8_LIBS="-L${V8}/ -lv8_g"
    8590CFLAGS="${CFLAGS} -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -std=c99 -O0 -g -ggdb"
    8691
     
    9499AC_SUBST(TIDY_INCLUDES)
    95100AC_SUBST(TIDY_LIBS)
     101AC_SUBST(V8_INCLUDES)
     102AC_SUBST(V8_LIBS)
    96103
    97104AC_SUBST(LIBS)
  • gaycko/trunk/src/Makefile.am

    r4716 r4721  
    44
    55Gaycko_SOURCES = gaycko.c gaycko.h io/file.c io/file.h io/http.c io/http.h io/io.c io/io.h parsing/parse.c parsing/parse.h dom/dom.c dom/dom.h helpers/str.c helpers/str.h
    6 Gaycko_CFLAGS  = @CACA_INCLUDES@ @XML2_INCLUDES@ @CURL_INCLUDES@ @TIDY_INCLUDES@
    7 Gaycko_LDADD = @CACA_LIBS@ @XML2_LIBS@ @CURL_LIBS@ @TIDY_LIBS@
     6Gaycko_CFLAGS  = @CACA_INCLUDES@ @XML2_INCLUDES@ @CURL_INCLUDES@ @TIDY_INCLUDES@ @V8_INCLUDES@
     7Gaycko_LDADD = @CACA_LIBS@ @XML2_LIBS@ @CURL_LIBS@ @TIDY_LIBS@ @V8_LIBS@
    88
    99echo-sources: ; echo $(SOURCES)
Note: See TracChangeset for help on using the changeset viewer.