+if pkg-config --exists "sigc++-2.0 >= 2.5.1"; then
+ CFLAGS="$CFLAGS -std=c++11"
+fi
+MACHINE="`uname -m`"
+SYSTEM="`uname -s`"
+if [ "$MACHINE" = "x86_64" ]; then
+ MULTIARCH="x86_64-linux-gnu"
+else
+ MULTIARCH="i386-linux-gnu"
+fi
+if [ "$SYSTEM" = "Darwin" -o "$SYSTEM" = "FreeBSD" ]; then
+ if which clang++ >/dev/null; then
+ COMPILER="clang++"
+ else
+ COMPILER="g++"
+ fi
+else
+ COMPILER="g++"
+fi
+if [ -e /usr/lib/libdl.so -o -e /usr/lib/$MULTIARCH/libdl.so ]; then