summaryrefslogtreecommitdiff
path: root/config/gr_check_createfilemapping.m4
diff options
context:
space:
mode:
authorTom Rondeau2011-10-16 21:34:24 -0400
committerTom Rondeau2011-10-16 21:34:24 -0400
commit2d5a6f86fd3047748a9f816548e2901b02838734 (patch)
treeb61d251045795ec2ebac555ae6c7436eaf5a7050 /config/gr_check_createfilemapping.m4
parentbbee6d500f0e47e3543fbaffcef67f0fdbb71e37 (diff)
parent45c2212608ca66b5fadbc860771e042198e1ebcd (diff)
downloadgnuradio-2d5a6f86fd3047748a9f816548e2901b02838734.tar.gz
gnuradio-2d5a6f86fd3047748a9f816548e2901b02838734.tar.bz2
gnuradio-2d5a6f86fd3047748a9f816548e2901b02838734.zip
Merge branch 'maint'
Diffstat (limited to 'config/gr_check_createfilemapping.m4')
-rw-r--r--config/gr_check_createfilemapping.m411
1 files changed, 6 insertions, 5 deletions
diff --git a/config/gr_check_createfilemapping.m4 b/config/gr_check_createfilemapping.m4
index 5f9b4a49a..a7e290dd3 100644
--- a/config/gr_check_createfilemapping.m4
+++ b/config/gr_check_createfilemapping.m4
@@ -25,7 +25,7 @@ dnl ])
AC_DEFUN([GR_CHECK_CREATEFILEMAPPING],[
AC_MSG_CHECKING([for CreateFileMapping function])
- AC_COMPILE_IFELSE([
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([
#include <windows.h>
int main (int argc, char **argv)
{
@@ -41,12 +41,13 @@ int main (int argc, char **argv)
seg_name); // name of mapping object
return 0;
}
-],[HAVE_CREATEFILEMAPPING=yes
- AC_DEFINE(HAVE_CREATEFILEMAPPING,[1],[Define if you have the CreateFilemapping function(win32).])],
+])],[HAVE_CREATEFILEMAPPING=yes
+ AC_DEFINE([HAVE_CREATEFILEMAPPING],[1],
+ [Define if you have the CreateFilemapping function(win32).])],
[HAVE_CREATEFILEMAPPING=no])
- AC_MSG_RESULT($HAVE_CREATEFILEMAPPING)
- AM_CONDITIONAL(HAVE_CREATEFILEMAPPING, test x$HAVE_CREATEFILEMAPPING = xyes)
+ AC_MSG_RESULT([$HAVE_CREATEFILEMAPPING])
+ AM_CONDITIONAL([HAVE_CREATEFILEMAPPING], [test x$HAVE_CREATEFILEMAPPING = xyes])
])