summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoreb2007-08-28 21:58:54 +0000
committereb2007-08-28 21:58:54 +0000
commit4d88dd87ef4145c5284ab4f437a32b4576276bdb (patch)
treed382866f273dd2f504fba35df0e73a1c0af67b53 /config
parentb8e0da3357a1366a9ef2d9d80311cd24fb526fb0 (diff)
downloadgnuradio-4d88dd87ef4145c5284ab4f437a32b4576276bdb.tar.gz
gnuradio-4d88dd87ef4145c5284ab4f437a32b4576276bdb.tar.bz2
gnuradio-4d88dd87ef4145c5284ab4f437a32b4576276bdb.zip
updated gr_omnithread.m4 so that it preserves ACX_PTHREADS default if-found behavior
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6199 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'config')
-rw-r--r--config/gr_omnithread.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/config/gr_omnithread.m4 b/config/gr_omnithread.m4
index 79dff0565..054f07824 100644
--- a/config/gr_omnithread.m4
+++ b/config/gr_omnithread.m4
@@ -21,7 +21,8 @@ AC_DEFUN([GR_OMNITHREAD],
[
# Check first for POSIX
ACX_PTHREAD(
- [ ot_posix="yes"
+ [ AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.])
+ ot_posix="yes"
DEFINES="$DEFINES -DOMNITHREAD_POSIX=1"
],[
# If no POSIX support found, then check for NT threads