emsha/autobuild

7 lines
150 B
Plaintext
Raw Normal View History

#!/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