Changeset 6831
- Timestamp:
- Apr 11, 2006, 1:57:52 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/configure.ac (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/configure.ac
r6800 r6831 251 251 [AC_MSG_ERROR([GNOME XML C parser is required. Obtain it at http://www.xmlsoft.org or use --with-xml2-config to specify location.])]) 252 252 253 AC_MSG_CHECKING([xml2 version]) 254 XML_VERSION=`xml2-config --version` 255 XML_VERSION_major=`echo $XML_VERSION | ${PERL} -pe 's|^(\d+).*|\1|'` 256 XML_VERSION_minor=`echo $XML_VERSION | ${PERL} -pe 's|^(\d+)\.(\d+).*|\2|'` 257 dnl First test the minimum version of 2.6 258 if test $XML_VERSION_major -lt 2 || ( test $XML_VERSION_major -eq 2 && test $XML_VERSION_minor -lt 6 ) 259 then 260 AC_MSG_ERROR([requires libxml2 2.6.0 or greater, found $XML_VERSION. Install newer version or use --with-xml2-config to specify another location.]) 261 else 262 AC_MSG_RESULT([$XML_VERSION... yes]) 263 fi 264 253 265 AC_MSG_CHECKING([xml2 cflags]) 254 266 XML_CFLAGS="`${XML_CONFIG} --cflags`" … … 309 321 dnl ------- restore CFLAGS / LDFLAGS (tests done) -------- 310 322 CFLAGS="${CFLAGS} -Wall -Werror" 311 AC_MSG_RESULT([CFLAGS is ${CFLAGS}])312 AC_MSG_RESULT([LDFLAGS is ${LDFLAGS}])313 323 314 324 dnl ---------------- export variables --------------------
Note:
See TracChangeset
for help on using the changeset viewer.
