diff options
author | Tom Rondeau | 2011-10-17 13:37:04 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-10-17 13:37:04 -0400 |
commit | fef3fe57c75ce6011c87bc894472639d385fcb21 (patch) | |
tree | 8a11749b2a06a8fa5d42af9911cf556d1c41c608 /config/gr_check_createfilemapping.m4 | |
parent | 07324710bdf7eba63417e5591ff37c7641a3f7ab (diff) | |
parent | a4dbd973fc6376bacf3c45e63aba61a471c468b3 (diff) | |
download | gnuradio-fef3fe57c75ce6011c87bc894472639d385fcb21.tar.gz gnuradio-fef3fe57c75ce6011c87bc894472639d385fcb21.tar.bz2 gnuradio-fef3fe57c75ce6011c87bc894472639d385fcb21.zip |
Merge branch 'next' into dig_ofdm
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]) ]) |