export CPPFLAGS="-I/Users/anders/gfan/cddlib/include" or export CPPFLAGS="-I/usr/include/cdd" and then ./configure and then make includedir=/Users/anders/gfan/cddlib/include or make includedir=/usr/include/cdd