root/root-xrootd.patch
2012-02-13 07:24:08 +01:00

36 lines
1.2 KiB
Diff

--- root-5.32.00.orig/configure 2011-12-02 12:42:22.000000000 +0100
+++ root-5.32.00/configure 2012-02-11 20:15:07.910877372 +0100
@@ -4463,18 +4463,22 @@
fi
fi
done
+ xrdlibdir=$tmpxrdlibdir
- #
- # Check if bonjour is available for code potentially using it ...
- if test "x$enable_xrootd" = "xyes"; then
- xrdlibdir="$tmpxrdlibdir"
- if test "x$enable_bonjour" = "xyes"; then
- check_symbol XrdOucBonjour "$libxrdoucbjr" "$xrdlibdir"
- if test $found_symbol -eq 0 ; then
- bonjourcppflags=
- fi
- fi
- fi
+ # This check is broken. The xrootd libraries are C++ hence their
+ # symbol names are mangled. The check_symbol macro is designed
+ # to check for unmangled symbol names in C libraries.
+ # #
+ # # Check if bonjour is available for code potentially using it ...
+ # if test "x$enable_xrootd" = "xyes"; then
+ # xrdlibdir="$tmpxrdlibdir"
+ # if test "x$enable_bonjour" = "xyes"; then
+ # check_symbol XrdOucBonjour "$libxrdoucbjr" "$xrdlibdir"
+ # if test $found_symbol -eq 0 ; then
+ # bonjourcppflags=
+ # fi
+ # fi
+ # fi
fi
check_explicit "$enable_xrootd" "$enable_xrootd_explicit" \