Advertisement

Detecting Open AL in configure scripts

Started by May 11, 2004 12:56 PM
4 comments, last by rogerdv 20 years, 8 months ago
Does somebody has some scripts for configure to detect if Open AL is present?
How about something like this:
HAVE_OPENAL="1"AC_CHECK_HEADERS([AL/al.h AL/alc.h AL/alut.h],,[  HAVE_OPENAL="0"])# Optionally check for libraries too# If OpenAL is required, include this; otherwise, leave it out:if test $HAVE_OPENAL = 0; then  AC_MSG_ERROR([OpenAL and its headers must be installed])fi


Advertisement
Great, it works. Do you think it can be adapted for other libs like lua or python?

Hey, where can I download a not CVS package of OpenAl for linux?

I saw one for Debian. I wonder if it''ll work on slackware...
[size="2"]I like the Walrus best.
quote:
Original post by owl
I saw one for Debian. I wonder if it''ll work on slackware...

Debian provides the original source of the projects. Any Debian-specific modifications are available seperately as a patch. So, if for whatever reason CVS isn''t an option, Debian''s OpenAL package pages will have a tarball for you.

Great, thanks.
[size="2"]I like the Walrus best.

This topic is closed to new replies.

Advertisement