id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,game 10807,CONFIGURE: FreeType detection fails on automatic re-run of configure script,eriktorbjorn,bgK,"This happens for me under Debian with the current Git version of ScummVM. Whenever the configuration script is updated, and I type ""make"" it will automatically re-run the configuration script: {{{ $ make Running ./configure with the last specified parameters ... Checking for FreeType2... no ... WARNING: Disabling engine Z-Vision because the following dependencies are unmet: FreeType2 }}} Looking at config.log, I can see that the FreeType test program failed to compile: {{{ g++ -fuse-ld=gold -Wl,--gdb-index -ansi -W -Wno-unused-parameter -Wno-empty-body -g -gsplit-dwarf -fvar-tracking-assignments -pedantic -Wno-long-long ./scummvm-conf.cpp -o ./scummvm-conf ./scummvm-conf.cpp:1:10: fatal error: ft2build.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. return code: 1 }}} If I run the configure script manually and check that part of the log, it says: {{{ g++ -fuse-ld=gold -Wl,--gdb-index -ansi -W -Wno-unused-parameter -Wno-empty-body -g -gsplit-dwarf -fvar-tracking-assignments -pedantic -Wno-long-long ./scummvm-conf.cpp -o ./scummvm-conf -I/usr/include/freetype2 -I/usr/include/libpng16 -lfreetype return code: 0 }}} So for some reason, some compiler flags were missing the first time around. I do not know what causes this. ",defect,closed,normal,Common,,fixed,,,