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
done
findargs="$subdirs"
if [ "$check_overlay" ]; then
- findargs="$findargs -mindepth 1 ( -type d ! ( $check_overlay ) -prune ) ,"
+ findargs="$findargs -mindepth 1 ( -type d ! ( $check_overlay ) -prune -false ) -o "
fi
headers=`find $findargs -name '*.h'`