When building the source use:
./configure --enable-cpumining && make
At the end of the configure stage you will see a list of what has been enabled, like this:
------------------------------------------------------------------------
cgminer 2.9.6
------------------------------------------------------------------------
Configuration Options Summary:
curses.TUI...........: FOUND: -lncurses
OpenCL...............: NOT FOUND. GPU mining support DISABLED
scrypt...............: Disabled (needs OpenCL)
ADL..................: SDK NOT found, GPU monitoring support DISABLED
BitForce.FPGAs.......: Disabled
Icarus.FPGAs.........: Disabled
ModMiner.FPGAs.......: Disabled
Ztex.FPGAs...........: Disabled
CPU Mining...........: Enabled
ASM.(for CPU mining).: true
Compilation............: make (or gmake)
CPPFLAGS.............:
CFLAGS...............: -g -O2
LDFLAGS..............: -lpthread
LDADD................: -lcurl compat/jansson/libjansson.a -lpthread -lm
Installation...........: make install (as root if needed, with 'su' or 'sudo')
prefix...............: /usr/local
You can get a list of supported options with ./configure --help (standard behavior for configure)