emsha/autobuild

7 lines
150 B
Bash
Executable File

#!/bin/sh
CXX=g++
command -v clang 2>&1 > /dev/null && CXX=clang++
[ -d m4 ] || mkdir m4
autoreconf -i && ./configure CXX=$CXX && make && make check