Fixed check for custom cflags
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 25 Dec 2008 11:58:10 +0000 (12:58 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 25 Dec 2008 11:58:10 +0000 (12:58 +0100)
buildconf.sh

index 5ce967c..dff3467 100755 (executable)
@@ -66,7 +66,7 @@ case $1 in
 esac
 
 if $enable_configure; then
 esac
 
 if $enable_configure; then
-    if test -n "$sh_flags"; then
+    if test -n "$sh_cflags"; then
        CFLAGS="$sh_cflags" CXXFLAGS="$sh_cxxflags" ./configure --disable-shared --enable-static $*
     else
        ./configure $*
        CFLAGS="$sh_cflags" CXXFLAGS="$sh_cxxflags" ./configure --disable-shared --enable-static $*
     else
        ./configure $*