anjuta/anjuta-svn-no-svn-config.patch

20 lines
641 B
Diff

http://bugzilla.gnome.org/show_bug.cgi?id=489798
Prevent creating of invalid alone "-L" if subversion development files are
present, but svn-config does not exist.
================================================================================
--- configure.in
+++ configure.in
@@ -1020,7 +1020,11 @@
if test -n "$SVN_INCLUDE" ; then
SVN_INCLUDE="-I$SVN_INCLUDE $APR_INCLUDE"
- SVN_LIB="-L$SVN_LIB $APR_LIBS -lsvn_client-1 -lsvn_subr-1"
+ if test x != "x$SVN_LIB" ; then
+ SVN_LIB="-L$SVN_LIB $APR_LIBS -lsvn_client-1 -lsvn_subr-1"
+ else
+ SVN_LIB="$APR_LIBS -lsvn_client-1 -lsvn_subr-1"
+ fi
SVN_CFLAGS="$APR_CFLAGS"
fi