# HG changeset patch # User reimar # Date 1317417607 0 # Node ID 0be10e21f6ac96810da80b0b1b8ffa11cf8e5eca # Parent deff81b57903c8efc25eb3e83d2b1a4f5fa685eb Fix cpp_condition_check to work for empty header. diff -r deff81b57903 -r 0be10e21f6ac configure --- a/configure Fri Sep 30 15:28:01 2011 +0000 +++ b/configure Fri Sep 30 21:20:07 2011 +0000 @@ -90,8 +90,12 @@ } cpp_condition_check() { + inc="" + if test -n "$1" ; then + inc="#include <$1>" + fi cat > $TMPC << EOF -#include <$1> +$inc #if !($2) #error condition not true: $2 #endif