summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoreb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>2007-01-30 03:59:34 +0000
committereb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>2007-01-30 03:59:34 +0000
commit4d84dd43e1dd5056a49b6c8d4caa638ece7a6cff (patch)
tree76c1191a57a665e94696be2b7cb87e190eeb87fb /config
parent6ff1faed9d4c7095ab2d07b99478fe46e35f0e1e (diff)
Fixes ticket:134. Unlikely offender was inclusion of
gr_udp_sink/source code io.i. omnithread.h was also including <config.h> which is a no-no. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4333 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'config')
-rw-r--r--config/gr_omnithread.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/config/gr_omnithread.m4 b/config/gr_omnithread.m4
index bdf1ecea40..1c1ef699a8 100644
--- a/config/gr_omnithread.m4
+++ b/config/gr_omnithread.m4
@@ -1,6 +1,6 @@
# Check for Omnithread (pthread/NT) thread support. -*- Autoconf -*-
-# Copyright 2003 Free Software Foundation, Inc.
+# Copyright 2003,2007 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -22,7 +22,7 @@ AC_DEFUN([GR_OMNITHREAD],
# Check first for POSIX
ACX_PTHREAD(
[ ot_posix="yes"
- AC_DEFINE(OMNITHREAD_POSIX,[1],[Define to 1 to enable pthread])
+ DEFINES="$DEFINES -DOMNITHREAD_POSIX=1"
],[
# If no POSIX support found, then check for NT threads
AC_MSG_CHECKING([for NT threads])
@@ -34,7 +34,7 @@ AC_DEFUN([GR_OMNITHREAD],
],
[
ot_nt="yes"
- AC_DEFINE(OMNITHREAD_NT,[1],[Define to 1 to enable NT thread])
+ DEFINES="$DEFINES -DOMNITHREAD_NT=1"
],
[AC_MSG_FAILURE([GNU Radio requires POSIX threads. pthreads not found.])]
)