Changeset 520
- Timestamp:
- Oct 31, 2014, 2:59:25 PM (10 years ago)
- Location:
- trunk/zoo-project/zoo-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/ZOOMakefile.opts.in
r518 r520 18 18 XML2CFLAGS=@XML2_CPPFLAGS@ 19 19 XML2LDFLAGS=@XML2_LDFLAGS@ 20 21 XSLT_CFLAGS=@XSLT_CPPFLAGS@ 22 XSLT_LDFLAGS=@XSLT_LDFLAGS@ 20 23 21 24 PYTHONCFLAGS=@PYTHON_CPPFLAGS@ -
trunk/zoo-project/zoo-kernel/configure.ac
r518 r520 211 211 AC_SUBST([XML2_CPPFLAGS]) 212 212 AC_SUBST([XML2_LDFLAGS]) 213 214 215 216 # =========================================================================== 217 # Detect if libxslt is installed 218 # =========================================================================== 219 220 AC_ARG_WITH([xsltconfig], 221 [AS_HELP_STRING([--with-xsltconfig=FILE], [specify an alternative xslt-config file])], 222 [XSLTCONFIG="$withval"], [XSLTCONFIG=""]) 223 224 if test "x$XSLTCONFIG" = "x"; then 225 # XSLTCONFIG was not specified, so search within the current path 226 AC_PATH_PROG([XSLTCONFIG], [xslt-config]) 227 228 # If we couldn't find xslt-config, display a warning 229 if test "x$XSLTCONFIG" = "x"; then 230 AC_MSG_ERROR([could not find xslt-config from libxslt within the current path. You may need to try re-running configure with a --with-xtltconfig parameter.]) 231 fi 232 else 233 # XSLTCONFIG was specified; display a message to the user 234 if test "x$XSLTCONFIG" = "xyes"; then 235 AC_MSG_ERROR([you must specify a parameter to --with-xsltconfig, e.g. --with-xsltconfig=/path/to/xslt-config]) 236 else 237 if test -f $XSLTCONFIG; then 238 AC_MSG_RESULT([Using user-specified xslt-config file: $XSLTCONFIG]) 239 else 240 AC_MSG_ERROR([the user-specified xslt-config file $XSLTCONFIG does not exist]) 241 fi 242 fi 243 fi 244 245 # Extract the linker and include flags 246 XSLT_LDFLAGS=`$XSLTCONFIG --libs` 247 XSLT_CPPFLAGS=`$XSLTCONFIG --cflags` 248 249 # Check headers file 250 CPPFLAGS_SAVE="$CPPFLAGS" 251 CPPFLAGS="$XML2_CPPFLAGS" 252 AC_CHECK_HEADERS([libxslt/xslt.h libxslt/xsltInternals.h libxslt/transform.h libxslt/xsltutils.h], 253 [], [AC_MSG_ERROR([could not find headers include related to libxlst])]) 254 255 # Ensure we can link against libxslt 256 LIBS_SAVE="$LIBS" 257 LIBS="$XSLT_LDFLAGS" 258 259 AC_SUBST([XSLT_CPPFLAGS]) 260 AC_SUBST([XSLT_LDFLAGS]) 261 262 263 264 213 265 214 266 #============================================================================
Note: See TracChangeset
for help on using the changeset viewer.