PREFIX=/opt export CCFLAGS="-I$PREFIX/include/freetype2" export LDFLAGS="-L$PREFIX/lib" ./configure --prefix=$PREFIX \ --enable-shared \ --disable-static \ --with-modules \ --with-largefiles \ --with-magick-plus-plus \ --with-threads \ --enable-lzw=yes \ --without-fpx \ --with-perl=$PREFIX/bin/perl \ >logs/ImageMagick-config