configure: Log correct test name and use correct filter when testing objective C...
authorDiego Biurrun <diego@biurrun.de>
Mon, 6 Jun 2016 17:06:30 +0000 (19:06 +0200)
committerDiego Biurrun <diego@biurrun.de>
Wed, 9 Nov 2016 19:51:56 +0000 (20:51 +0100)
configure

index 93edc99..4cfa066 100755 (executable)
--- a/configure
+++ b/configure
@@ -884,15 +884,15 @@ check_cflags(){
 }
 
 test_objcflags(){
-    log test_cflags "$@"
-    set -- $($cflags_filter "$@")
+    log test_objcflags "$@"
+    set -- $($objcflags_filter "$@")
     check_objcc "$@" <<EOF
 int x;
 EOF
 }
 
 check_objcflags(){
-    log check_cflags "$@"
+    log check_objcflags "$@"
     test_objcflags "$@" && add_objcflags "$@"
 }