X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=bootstrap.sh;h=9497096ac31fbafc899dc00fda2ef37c3a46f9e7;hb=7b006cb1156e08e89c830c4480401d88258ce02e;hp=02fbd33445a9735dd78e5c3c3d71f7446d54619d;hpb=c932c038879f7101eaba8ca123b39ef5c4330b65;p=builder.git diff --git a/bootstrap.sh b/bootstrap.sh index 02fbd33..9497096 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -6,6 +6,9 @@ INCLUDEDIR=temp/bootstrap/include REQUIRED="core datafile" CFLAGS="-I$INCLUDEDIR `pkg-config --cflags sigc++-2.0`" LIBS="`pkg-config --libs sigc++-2.0` -lpthread" +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