Changeset 952 for trunk/zoo-project


Ignore:
Timestamp:
Sep 6, 2019, 2:07:14 PM (5 years ago)
Author:
djay
Message:

Fix callback activation

Location:
trunk/zoo-project/zoo-kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/Makefile.in

    r934 r952  
    4242
    4343service_json.o: service_json.c
    44         g++ -fPIC ${JSON_CFLAGS} ${CFLAGS} -c service_json.c
     44        g++ -fPIC ${XML2CFLAGS} ${JSON_CFLAGS} ${CFLAGS} -c service_json.c
    4545
    4646service_callback.o: service_callback.c
  • trunk/zoo-project/zoo-kernel/configure.ac

    r936 r952  
    7474if test "x$JSON_DIR" != "x" && test "x$CALLBACK_ACTIVATED" == "xyes"
    7575then
    76         JSON_CPPFLAGS="-I$JSON_DIR/include/json-c/"
     76        JSON_CPPFLAGS="-DUSE_JSON -I$JSON_DIR/include/json-c/"
    7777        JSON_LDFLAGS="-L$JSON_DIR/lib -ljson-c"
    7878        CPPFLAGS_SAVE="$CPPFLAGS"
     
    8787        JSON_FILE="service_json.o"
    8888        JSON_ENABLED="-DJSON"
    89         CALLBACK_FILE="service_callback.o"
    90         CALLBACK_USE="-DUSE_CALLBACK"
     89        if test "x$CALLBACK_ACTIVATED" == "xyes"
     90        then
     91                CALLBACK_FILE="service_callback.o"
     92                CALLBACK_USE="-DUSE_CALLBACK"
     93        fi
    9194fi
    9295AC_SUBST([JSON_CPPFLAGS])
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png