Ticket #622: xapian.patch
File xapian.patch, 964 bytes (added by , 12 years ago) |
---|
-
configure.ac
1280 1280 cxxcpp_flags="$cxxcpp_flags -DXAPIAN_HAS_${backend}_BACKEND" 1281 1281 fi 1282 1282 done 1283 if test yes = "$GXX" ; then1284 dnl If _GLIBCXX_DEBUG is being deliberately set or unset, do the same1285 dnl when generating version.h.1286 for flag in $CXXFLAGS $CPPFLAGS ; do1287 case $flag in1288 -D_GLIBCXX_DEBUG*|-U_GLIBCXX_DEBUG*) cxxcpp_flags="$cxxcpp_flags $flag" ;;1289 esac1290 done1291 fi1292 1283 rm -f include/xapian/version.h.tmp 1293 1284 dnl "\r" in sed is a GNUism, but we only need to remove it on MS Windows 1294 1285 dnl where we'll always have GNU sed, and other sed's will just interpret 1295 1286 dnl it as "r" (Solaris sed) or maybe literal "\r" which won't match. 1296 1287 dnl 1297 1288 dnl Use @@ around $MAIN_VERSION so we get " in the final output. 1298 $CXXCPP $cxxcpp_flags \1289 $CXXCPP $cxxcpp_flags $CXXFLAGS $CPPFLAGS\ 1299 1290 -DSTRING_VERSION="\"@@$MAIN_VERSION@@\""\ 1300 1291 -DMAJOR_VERSION="\"$MAJOR_VERSION\""\ 1301 1292 -DMINOR_VERSION="\"$MINOR_VERSION\""\