don't use alutInit to test for OpenAL
authorMatthias Braun <matze@braunis.de>
Sun, 26 Jun 2005 17:41:44 +0000 (17:41 +0000)
committerMatthias Braun <matze@braunis.de>
Sun, 26 Jun 2005 17:41:44 +0000 (17:41 +0000)
SVN-Revision: 2645

configure.ac

index 043aaaa..cb7926e 100644 (file)
@@ -137,8 +137,8 @@ NP_FINDLIB([PHYSFS], [physfs], [physfs >= 1.0.0],
         [AC_MSG_ERROR([Please install physfs >= 1.0])])
 
 NP_FINDLIB([OPENAL], [OpenAL], [OpenAL],
-         NP_LANG_PROGRAM([#include <AL/alut.h>],
-           [alutInit(0, 0);]),
+         NP_LANG_PROGRAM([#include <AL/al.h>],
+           [alcOpenDevice(0);]),
          [], [-lopenal],
          [],
          [AC_MSG_ERROR([Please intall OpenAL])],