Ignore:
Timestamp:
Aug 7, 2017, 2:56:24 PM (7 years ago)
Author:
djay
Message:

Update the source code for HPC support. Automatically adding nested outputs for the HPC support (should this be available for every support?). Add capability to store the metadata in the Collection DataBase?. Addition of the zcfg2sql to import any existing ZCFG file into the Collection DB. Add the support to invoke a callback (for history purpose) in case a [callback] section contains at least one parameter defined (url). Add support to convert maps and map to JSON (for callback use only by now). Fix some memory leaks (some are still there).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/prototype-v0/zoo-project/zoo-kernel/configure.ac

    r822 r839  
    6060AC_SUBST([UUID_CFLAGS])
    6161AC_SUBST([UUID_LDFLAGS])
     62
     63#============================================================================
     64# Detect if json-c is available
     65#============================================================================
     66
     67AC_ARG_WITH([json],
     68    [AS_HELP_STRING([--with-json=PATH], [Specifies an alternative location for the json-c library])],
     69    [JSON_DIR="$withval"], [JSON_DIR="/usr/"])
     70JSON_CPPFLAGS="-I$JSON_DIR/include/json-c/"
     71JSON_LDFLAGS="-L$JSON_DIR/lib -ljson-c"
     72CPPFLAGS_SAVE="$CPPFLAGS"
     73CPPFLAGS="$JSON_CPPFLAGS"
     74LIBS_SAVE="$LIBS"
     75LIBS="$JSON_LDFLAGS"
     76echo $CPPFLAGS
     77AC_CHECK_HEADERS([json_object.h],
     78                        [], [AC_MSG_ERROR([could not find header file json_object.h])])
     79AC_CHECK_LIB([json-c], [json_object_new_object],
     80                        [], [AC_MSG_ERROR([could not find function in json-c library])])
     81CPPFLAGS="$CPPFLAGS_SAVE"
     82JSON_FILE="service_json.o"
     83JSON_ENABLED="-DJSON"
     84AC_SUBST([JSON_CPPFLAGS])
     85AC_SUBST([JSON_LDFLAGS])
     86AC_SUBST([JSON_FILE])
     87AC_SUBST([JSON_ENABLED])
    6288
    6389#============================================================================
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