X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=config%2Fgr_omnithread.m4;h=054f0782472b5ebeb49c89faeeea323959556194;hb=refs%2Fheads%2Fdfsg-orig;hp=1c1ef699a8bb1e45c48a395d786b930fd4180d95;hpb=4d84dd43e1dd5056a49b6c8d4caa638ece7a6cff;p=debian%2Fgnuradio diff --git a/config/gr_omnithread.m4 b/config/gr_omnithread.m4 index 1c1ef699..054f0782 100644 --- a/config/gr_omnithread.m4 +++ b/config/gr_omnithread.m4 @@ -4,7 +4,7 @@ # 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 -# the Free Software Foundation; either version 2, or (at your option) +# the Free Software Foundation; either version 3, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, @@ -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