Ignore:
Timestamp:
Mar 14, 2016, 10:34:09 AM (9 years ago)
Author:
djay
Message:

Add the MapServer? 7.0.1 internal support. Add the ZOO-Client API reference in the official documentation. Add support for exotic openssl location.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/configure.ac

    r740 r753  
    3838AC_FUNC_REALLOC
    3939AC_CHECK_FUNCS([dup2 getcwd memset setenv strdup strstr])
     40
     41#============================================================================
     42# Detect if openssl is available
     43#============================================================================
     44
     45AC_ARG_WITH([openssl],
     46    [AS_HELP_STRING([--with-openssl=PATH], [Specifies an alternative location for the openssl library])],
     47    [OPENSSL_DIR="$withval"], [OPENSSL_DIR="/usr/"])
     48OPENSSL_CFLAGS="-I$OPENSSL_DIR/include"
     49OPENSSL_LDFLAGS="-lcrypto -L$OPENSSL_DIR/lib -lssl"
     50CPPFLAGS_SAVE="$CPPFLAGS"
     51CPPFLAGS="$OPENSSL_CFLAGS"
     52LIBS_SAVE="$LIBS"
     53LIBS="$OPENSSL_LDFLAGS"
     54AC_CHECK_HEADERS([openssl/md5.h openssl/hmac.h openssl/evp.h openssl/bio.h openssl/buffer.h],
     55                        [], [AC_MSG_ERROR([could not find header file $i related to openssl])])
     56AC_CHECK_LIB(crypto, BIO_f_base64,
     57                        [], [AC_MSG_ERROR([could not find $i function in openssl library])])
     58AC_SUBST([OPENSSL_CFLAGS])
     59AC_SUBST([OPENSSL_LDFLAGS])
    4060
    4161#============================================================================
     
    333353       [MS_SRC_PATH="$withval"], [MS_SRC_PATH=""])
    334354
     355AC_ARG_WITH([ms-version],
     356       [AS_HELP_STRING([--with-ms-version=VERSION], [Specifies the MapServer version to build against])],
     357       [MS_VERSION="$withval"], [MS_VERSION=""])
     358
    335359if test -z $MS_SRC_PATH;
    336360then
     
    345369               AC_MSG_RESULT([Using MacOS X Framework for MapServer])
    346370       else
     371        if test "x$MS_VERSION" = "x7";
     372        then
     373                MS_LDFLAGS="-L$MS_SRC_PATH/lib -lmapserver"
     374                MS_CPPFLAGS="-DUSE_MS -I$MS_SRC_PATH/include/mapserver "
     375                AC_MSG_RESULT([Using user-specified MapServer src path: $MS_SRC_PATH])
     376        else
    347377               if test -d $MS_SRC_PATH; then
    348378                       MS_LDFLAGS="-L$MS_SRC_PATH -lmapserver `$MS_SRC_PATH/mapserver-config --libs`"
     
    353383                       AC_MSG_ERROR([the user-specified mapserver-config file $MS_SRC_PATH does not exist])
    354384               fi
     385        fi
    355386       fi
    356387       MS_FILE="service_internal_ms.o"
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