Diff of /cmake/KwaveLibaudiofileSupport.cmake [7e28dd] .. [a9046a] Maximize Restore

  Switch to side-by-side view

--- a/cmake/KwaveLibaudiofileSupport.cmake
+++ b/cmake/KwaveLibaudiofileSupport.cmake
@@ -34,17 +34,16 @@
 
 IF (HAVE_AUDIOFILE_H)
     CHECK_LIBRARY_EXISTS(audiofile afOpenVirtualFile "" HAVE_AF_OPEN_VIRTUAL_FILE)
-    CHECK_LIBRARY_EXISTS(audiofile af_virtual_file_new "" HAVE_AF_VIRTUAL_FILE_NEW)
 ENDIF (HAVE_AUDIOFILE_H)
 
 #############################################################################
 ### some verbose output of the result + set USE_SYSTEM_LIB_AUDIOFILE      ###
 
-IF (HAVE_AF_OPEN_VIRTUAL_FILE AND HAVE_AF_VIRTUAL_FILE_NEW)
+IF (HAVE_AF_OPEN_VIRTUAL_FILE)
     # system libaudiofile is ok and will be used
     MESSAGE(STATUS "Using the system's libaudiofile")
     SET(USE_SYSTEM_LIB_AUDIOFILE BOOL ON)
-ELSE (HAVE_AF_OPEN_VIRTUAL_FILE AND HAVE_AF_VIRTUAL_FILE_NEW)
+ELSE (HAVE_AF_OPEN_VIRTUAL_FILE)
     IF (WITH_BUILTIN_LIBAUDIOFILE)
         # system libaudiofile maybe is not ok
         # -> don't care, we will use the builtin one anyway
@@ -54,7 +53,7 @@
         # -> FAIL
         MESSAGE(FATAL_ERROR "system libaudiofile is missing or cannot be used")
     ENDIF (WITH_BUILTIN_LIBAUDIOFILE)
-ENDIF (HAVE_AF_OPEN_VIRTUAL_FILE AND HAVE_AF_VIRTUAL_FILE_NEW)
+ENDIF (HAVE_AF_OPEN_VIRTUAL_FILE)
 
 #############################################################################
 ### enable builtin libaudiofile if needed                                 ###