autotools autoconf automake - yszheda/wiki GitHub Wiki
Documents
Debug / Release Build
$ mkdir debug
$ mkdir release
$ cd debug && /path/to/configure --prefix=/dbg \
CPPFLAGS=-DDEBUG CXXFLAGS="-g -O0" && make && make install
$ cd ../release && /path/to/configure CPPFLAGS=-DNDEBUG && make && make install
AC_SUBST
AC_ARG_ENABLE
CUDA
Trouble-shooting
You should recreate aclocal.m4 with aclocal and run automake again.
aclocal
automake
make
configure: error: cannot find install-sh or install.sh in
autoreconf -f -i -Wall,no-obsolete