Description: Fix compiler check in configure Using '-o /dev/null' in the command fails when the compiler uses collect2 to generate the final link. Change to using default a.out. pngquant (2.3.0-1) unstable; urgency=medium . * New upstream version * configure: Use a.out for compiler check. Author: John David Anglin --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: https://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- pngquant-2.3.0.orig/configure +++ pngquant-2.3.0/configure @@ -221,9 +221,10 @@ error() { echo # basic check -if ! "$CC" -xc -std=c99 <(echo "int main(){}") -o /dev/null &> /dev/null; then - error "Compiler" "$CC is no C compiler" +if ! "$CC" -xc -std=c99 <(echo "int main(){}") &> /dev/null; then + error "Compiler" "$CC is not a C compiler" fi +rm -rf a.out status "Compiler" "$CC"