diff options
author | Tom Rondeau | 2011-10-16 21:34:24 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-10-16 21:34:24 -0400 |
commit | 2d5a6f86fd3047748a9f816548e2901b02838734 (patch) | |
tree | b61d251045795ec2ebac555ae6c7436eaf5a7050 /config/gr_check_createfilemapping.m4 | |
parent | bbee6d500f0e47e3543fbaffcef67f0fdbb71e37 (diff) | |
parent | 45c2212608ca66b5fadbc860771e042198e1ebcd (diff) | |
download | gnuradio-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.m4 | 11 |
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]) ]) |