Changeset 753 for trunk/zoo-project/zoo-kernel
- Timestamp:
- Mar 14, 2016, 10:34:09 AM (9 years ago)
- Location:
- trunk/zoo-project/zoo-kernel
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/Makefile.in
r745 r753 58 58 59 59 service_internal_ms.o: service_internal_ms.c 60 gcc ${JS_ENABLED} ${ JSCFLAGS} ${XML2CFLAGS} ${CFLAGS} -fPIC -c service_internal_ms.c60 gcc ${JS_ENABLED} ${GDAL_CFLAGS} ${JSCFLAGS} ${XML2CFLAGS} ${CFLAGS} -fPIC -c service_internal_ms.c 61 61 62 62 service_internal_python.o: service_internal_python.c service.h -
trunk/zoo-project/zoo-kernel/ZOOMakefile.opts.in
r740 r753 68 68 69 69 ZOO_CFLAGS=-I${ZRPATH}/../thirds/cgic206/ -I${ZRPATH}/zoo-kernel/ 70 ZOO_LDFLAGS= -lcrypto-luuid70 ZOO_LDFLAGS=@OPENSSL_LDFLAGS@ -luuid 71 71 72 72 JAVACFLAGS=@JAVA_CPPFLAGS@ … … 96 96 SAGA_FILE=@SAGA_FILE@ 97 97 98 CFLAGS=@RELY_ON_DB@ @DEB_DEF@ -fpic ${FCGI_CFLAGS} ${YAML_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF99 LDFLAGS=-lzoo_service @DEFAULT_LIBS@ -L../../thirds/cgic206 -lcgic ${GDAL_LIBS} ${XML2LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS} ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} ${FCGI_LDFLAGS} -lcrypto-luuid ${MS_LDFLAGS} ${MACOS_LD_FLAGS} ${MACOS_LD_NET_FLAGS} ${YAML_LDFLAGS} ${OTBLDFLAGS} ${SAGA_LDFLAGS}98 CFLAGS=@RELY_ON_DB@ @DEB_DEF@ -fpic @OPENSSL_CFLAGS@ ${FCGI_CFLAGS} ${YAML_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF 99 LDFLAGS=-lzoo_service @DEFAULT_LIBS@ -L../../thirds/cgic206 -lcgic ${GDAL_LIBS} ${XML2LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS} ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} ${FCGI_LDFLAGS} @OPENSSL_LDFLAGS@ -luuid ${MS_LDFLAGS} ${MACOS_LD_FLAGS} ${MACOS_LD_NET_FLAGS} ${YAML_LDFLAGS} ${OTBLDFLAGS} ${SAGA_LDFLAGS} 100 100 -
trunk/zoo-project/zoo-kernel/configure.ac
r740 r753 38 38 AC_FUNC_REALLOC 39 39 AC_CHECK_FUNCS([dup2 getcwd memset setenv strdup strstr]) 40 41 #============================================================================ 42 # Detect if openssl is available 43 #============================================================================ 44 45 AC_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/"]) 48 OPENSSL_CFLAGS="-I$OPENSSL_DIR/include" 49 OPENSSL_LDFLAGS="-lcrypto -L$OPENSSL_DIR/lib -lssl" 50 CPPFLAGS_SAVE="$CPPFLAGS" 51 CPPFLAGS="$OPENSSL_CFLAGS" 52 LIBS_SAVE="$LIBS" 53 LIBS="$OPENSSL_LDFLAGS" 54 AC_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])]) 56 AC_CHECK_LIB(crypto, BIO_f_base64, 57 [], [AC_MSG_ERROR([could not find $i function in openssl library])]) 58 AC_SUBST([OPENSSL_CFLAGS]) 59 AC_SUBST([OPENSSL_LDFLAGS]) 40 60 41 61 #============================================================================ … … 333 353 [MS_SRC_PATH="$withval"], [MS_SRC_PATH=""]) 334 354 355 AC_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 335 359 if test -z $MS_SRC_PATH; 336 360 then … … 345 369 AC_MSG_RESULT([Using MacOS X Framework for MapServer]) 346 370 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 347 377 if test -d $MS_SRC_PATH; then 348 378 MS_LDFLAGS="-L$MS_SRC_PATH -lmapserver `$MS_SRC_PATH/mapserver-config --libs`" … … 353 383 AC_MSG_ERROR([the user-specified mapserver-config file $MS_SRC_PATH does not exist]) 354 384 fi 385 fi 355 386 fi 356 387 MS_FILE="service_internal_ms.o" -
trunk/zoo-project/zoo-kernel/service_internal_ms.c
r752 r753 669 669 if(initClass((myLayer->CLASS[myLayer->numclasses])) == -1) 670 670 return -1; 671 #if MS_VERSION_MAJOR<7 671 672 myLayer->CLASS[myLayer->numclasses]->type = myLayer->type; 673 #endif 672 674 if(msGrowClassStyles(myLayer->CLASS[myLayer->numclasses]) == NULL) 673 675 return -1; … … 918 920 if(initClass((myLayer->CLASS[myLayer->numclasses])) == -1) 919 921 return -1; 922 #if MS_VERSION_MAJOR<7 920 923 myLayer->CLASS[myLayer->numclasses]->type = myLayer->type; 924 #endif 921 925 if(msGrowClassStyles(myLayer->CLASS[myLayer->numclasses]) == NULL) 922 926 return -1;
Note: See TracChangeset
for help on using the changeset viewer.