./configure: line 1696: AM_INIT_AUTOMAKE: command not found checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for gzopen in -lz... yes checking for jpeg_finish_compress in -ljpeg... yes checking for png_init_io in -lpng... yes checking for TIFFOpen in -ltiff... yes checking for cmsCreateTransform in -llcms... yes checking for miNewPaintedSet in -lxmi... yes ./configure: line 4399: syntax error near unexpected token `OPENEXR,' ./configure: line 4399: `PKG_CHECK_MODULES(OPENEXR, OpenEXR >= 1.0,'