build: force use of ltmain.sh from libtool 2.2.6b
[debian/gnuradio] / config / macosx_audiounit.m4
index 313feb3b527453eb3e52db95c00a14672570c742..ee179d761a15e2641c42e8228e52b2d0371d4a97 100644 (file)
@@ -2,7 +2,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,
@@ -12,8 +12,8 @@
 
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street, Boston, MA
+# 02110-1301, USA.
 
 AC_DEFUN([MACOSX_AUDIOUNIT],
 [
@@ -22,24 +22,14 @@ AC_DEFUN([MACOSX_AUDIOUNIT],
        darwin*);;
        *) 
           audiounitok=no
-          AC_MSG_WARN([gr-audio-osx requires darwin or MacOS X.])
+          AC_MSG_RESULT([gr-audio-osx requires darwin or MacOS X.])
     esac
 
-    AC_CHECK_HEADERS([AudioUnit/AudioUnit.h],
-         [],
-         [ 
-           audiounitok=no,
-           AC_MSG_WARN([gr-audio-osx requires AudioUnit/AudioUnit.h, which is available on MacOS X.])
-         ]
-    )
+    AC_CHECK_HEADERS([AudioUnit/AudioUnit.h],[],
+         [audiounitok=no;AC_MSG_RESULT([gr-audio-osx requires AudioUnit/AudioUnit.h, which is available on MacOS X.])])
 
-    AC_CHECK_HEADERS([AudioToolbox/AudioToolbox.h],
-         [],
-         [ 
-           audiounitok=no,
-           AC_MSG_WARN([gr-audio-osx requires AudioToolbox/AudioToolbox.h, which is available on MacOS X.])
-         ]
-    )    
+    AC_CHECK_HEADERS([AudioToolbox/AudioToolbox.h],[],
+         [audiounitok=no;AC_MSG_RESULT([gr-audio-osx requires AudioToolbox/AudioToolbox.h, which is available on MacOS X.])])    
 
     if test $audiounitok = yes; then
         ifelse([$1], , :, [$1])