]> git.mxchange.org Git - flightgear.git/commitdiff
Fix libsvn detection on Ubuntu 10.4, and probably other platforms.
authorJames Turner <zakalawe@mac.com>
Sun, 21 Nov 2010 14:55:51 +0000 (06:55 -0800)
committerJames Turner <zakalawe@mac.com>
Sun, 21 Nov 2010 14:55:51 +0000 (06:55 -0800)
configure.ac

index 72da404be15f12aafba4c6b9869273556e0a3e65..07715d1a0b198b6c72ce0ba5cdcd4564feb35448 100644 (file)
@@ -779,7 +779,7 @@ save_CPPFLAGS=$CPPFLAGS
 AC_ARG_WITH(libsvn, [  --without-libsvn        Do not use libsvn for terrasync [default=no]], [], [with_libsvn=yes])
 if test "x$with_libsvn" = "xyes"; then
     LIBS="`apr-1-config --link-ld`"
-    CPPFLAGS="-I/usr/include/subversion-1 `apr-1-config --includes`"
+    CPPFLAGS="-I/usr/include/subversion-1 `apr-1-config --includes --cppflags`"
     AC_CHECK_HEADERS([svn_client.h])
        if test "x$ac_cv_header_svn_client_h" = "xyes"; then
        echo "TerraSync will use libsvn"