summaryrefslogtreecommitdiff
path: root/volk/config/lf_warnings.m4
diff options
context:
space:
mode:
authorJohnathan Corgan2011-07-08 10:23:31 -0700
committerJohnathan Corgan2011-07-08 10:23:31 -0700
commit666cd2dd6818fb66e538fa52957f3a23d68e7b94 (patch)
tree93a5240422a410d380cf11488097a2a871b8a2be /volk/config/lf_warnings.m4
parent5938a37512ec66872adf28b260cb1d2bfefa9602 (diff)
parent9bfe75fd7c6a7069db2d2a98195faabf6ba248e2 (diff)
downloadgnuradio-666cd2dd6818fb66e538fa52957f3a23d68e7b94.tar.gz
gnuradio-666cd2dd6818fb66e538fa52957f3a23d68e7b94.tar.bz2
gnuradio-666cd2dd6818fb66e538fa52957f3a23d68e7b94.zip
Merged jblum/new_volk into master
Diffstat (limited to 'volk/config/lf_warnings.m4')
-rw-r--r--volk/config/lf_warnings.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/volk/config/lf_warnings.m4 b/volk/config/lf_warnings.m4
index d40c77f14..e62fb276c 100644
--- a/volk/config/lf_warnings.m4
+++ b/volk/config/lf_warnings.m4
@@ -29,7 +29,8 @@ dnl distribution terms that you use for the rest of that program.
# -------------------------------------------------------------------------
AC_DEFUN([LF_CHECK_CXX_FLAG],[
- echo 'void f(){}' > conftest.cc
+ echo "#include <stdio.h>
+int main(int argc, char **argv){return 0;}" > conftest.cc
for i in $1
do
AC_MSG_CHECKING([whether $CXX accepts $i])
@@ -54,7 +55,8 @@ AC_DEFUN([LF_CHECK_CXX_FLAG],[
# -------------------------------------------------------------------------
AC_DEFUN([LF_CHECK_CC_FLAG],[
- echo 'void f(){}' > conftest.c
+ echo "#include <stdio.h>
+int main(int argc, char **argv){return 0;}" > conftest.c
for i in $1
do
AC_MSG_CHECKING([whether $CC accepts $i])