make maintainer-clean removes these, and we want a clean orig.tar.gz
[debian/gnuradio] / config / gr_omnithread.m4
index 1c1ef699a8bb1e45c48a395d786b930fd4180d95..054f0782472b5ebeb49c89faeeea323959556194 100644 (file)
@@ -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