Skip to content

autotools autoconf automake

Shuai YUAN edited this page Oct 15, 2018 · 5 revisions

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

Table of Contents


Clone this wiki locally