[FFmpeg-cvslog] configure: Use check_cpp in CPP flags tests

Diego Biurrun git at videolan.org
Fri Mar 31 20:35:15 EEST 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Aug  8 20:27:43 2016 +0200| [8a6e7a67cb2943f552569801539829a304971302] | committer: Diego Biurrun

configure: Use check_cpp in CPP flags tests

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8a6e7a67cb2943f552569801539829a304971302
---

 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 4cfa066..422036b 100755
--- a/configure
+++ b/configure
@@ -865,7 +865,7 @@ check_code(){
 
 check_cppflags(){
     log check_cppflags "$@"
-    check_cc "$@" <<EOF && append CPPFLAGS "$@"
+    check_cpp "$@" <<EOF && append CPPFLAGS "$@"
 int x;
 EOF
 }
@@ -1135,7 +1135,7 @@ check_host_cpp(){
 
 check_host_cppflags(){
     log check_host_cppflags "$@"
-    check_host_cc "$@" <<EOF && append host_cppflags "$@"
+    check_host_cpp "$@" <<EOF && append host_cppflags "$@"
 int x;
 EOF
 }



More information about the ffmpeg-cvslog mailing list