Changeset 297 for trunk/zoo-kernel/configure.ac
- Timestamp:
- Aug 4, 2011, 2:16:11 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/configure.ac
r288 r297 1 AC_INIT([ZOO Kernel], [1. 2.0], [bugs@zoo-project.org])1 AC_INIT([ZOO Kernel], [1.3.0], [bugs@zoo-project.org]) 2 2 3 3 # Checks for programs. … … 113 113 AC_SUBST([XML2_CPPFLAGS]) 114 114 AC_SUBST([XML2_LDFLAGS]) 115 116 #============================================================================ 117 # Detect if mapserver is installed 118 #============================================================================ 119 120 AC_ARG_WITH([mapserver], 121 [AS_HELP_STRING([--with-mapserver=PATH], [specify the path for MapServer compiled source tree])], 122 [MS_SRC_PATH="$withval"], [MS_SRC_PATH=""]) 123 if test -z $MS_SRC_PATH; 124 then 125 AC_PATH_PROG([MS_SRC_PATH], [mapserver]) 126 if test "x$MS_SRC_PATH" = "xmacos"; 127 then 128 AC_MSG_RESULT([Using MacOSX Framework for MapServer]) 129 else 130 if test -d $MS_SRC_PATH; 131 then 132 AC_MSG_ERROR([could not find the MapServer source tree. You may need to try re-running configure with a --with-mapserver parameter.]) 133 fi 134 fi 135 else 136 if test "x$MS_SRC_PATH" = "xmacos"; 137 then 138 MS_LDFLAGS="/Library/Frameworks/MapServer.framework//Versions/6.0/MapServer -lintl" 139 MS_CPPFLAGS="-DUSE_MS `/Library/Frameworks/MapServer.framework/Programs/mapserver-config --includes` -I/Library/Frameworks/MapServer.framework/Versions/Current/Headers/ -I../mapserver " 140 AC_MSG_WARN([Please make sure that ../mapserver exists and contains MapServer source tree]) 141 AC_MSG_RESULT([Using MacOS X Framework for MapServer]) 142 else 143 if test -d $MS_SRC_PATH; then 144 MS_LDFLAGS="-L$MS_SRC_PATH -lmapserver `$MS_SRC_PATH/mapserver-config --libs`" 145 MS_CPPFLAGS="-DUSE_MS `$MS_SRC_PATH/mapserver-config --includes` `$MS_SRC_PATH/mapserver-config --cflags` -I$MS_SRC_PATH " 146 147 AC_MSG_RESULT([Using user-specified MapServer src path: $MS_SRC_PATH]) 148 else 149 AC_MSG_ERROR([the user-specified mapserver-config file $MS_SRC_PATH does not exist]) 150 fi 151 fi 152 MS_FILE="service_internal_ms.o" 153 fi 154 155 MS_CFLAGS="$MS_CPPFLAGS" 156 MS_LIBS="$MS_LDFLAGS" 157 158 AC_SUBST([MS_CFLAGS]) 159 AC_SUBST([MS_LIBS]) 160 AC_SUBST([MS_FILE]) 115 161 116 162 # ===========================================================================
Note: See TracChangeset
for help on using the changeset viewer.