]> Dogcows Code - chaz/yoink/blobdiff - configure.ac
don't look for win32 directory in a package
[chaz/yoink] / configure.ac
index 0f46ef53253e2a542801618c61287d3943f8413e..fe599a8d8d443173cd846a740a3ef00ee38c9737 100644 (file)
@@ -265,17 +265,14 @@ else
                                        echo "***** Missing libGLU ($website) *****"])
 fi
 
-##### openal, alut #####
+##### openal #####
 website="http://connect.creativelabs.com/openal/"
-AC_CHECK_HEADERS([AL/al.h AL/alut.h],,
+AC_CHECK_HEADERS([AL/al.h AL/alc.h],,
                                 [missing=yes
                                  echo "***** Missing OpenAL headers ($website) *****"])
-AC_SEARCH_LIBS([alEnable], [openal openal32],,
+AC_SEARCH_LIBS([alEnable], [openal OpenAL32],,
                           [missing=yes
                                echo "***** Missing libopenal ($website) *****"])
-AC_SEARCH_LIBS([alutInit], [alut],,
-                          [missing=yes
-                               echo "***** Missing libalut ($website) *****"])
 
 ##### SDL_image #####
 website="http://www.libsdl.org/projects/SDL_image/"
@@ -358,9 +355,15 @@ AC_SUBST([DATA_FILES])
 
 AC_CONFIG_FILES([Makefile
                                 data/Makefile
-                                src/Makefile
-                                doc/Makefile doc/yoink.6
-                                win32/Makefile win32/build-installer.sh])
+                                doc/Makefile
+                                doc/yoink.6
+                                src/Makefile])
+
+if test x$WIN32 = xyes
+then
+       AC_CONFIG_FILES([win32/Makefile win32/build-installer.sh])
+fi
+
 
 AC_CONFIG_HEADERS([src/config.h])
 
This page took 0.018976 seconds and 4 git commands to generate.