Like the other go-to ImageMagick installer script found on github (http://github.com/masterkain/ImageMagick-sl), I had to add the
flag the configuration for ImageMagick. Took a while to figure that out and I finally found the other answer in the issues section for the other script. Just FYI.
So where does this flag need to be added? I'm running into the same compile error:
magick/type.c:62:36: error: fontconfig/fontconfig.h: No such file or directory
magick/type.c: In function 'LoadFontConfigFonts':
The flag should be added on the IMAGEMAGICK_ARGUMENTS line. Does that help?