Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 134595 | Differences between
and this patch

Collapse All | Expand All

(-)configure.old2 (-45 lines)
Lines 339-389 Link Here
339
exit_if_error "$?" "You must install libglew devel package"
339
exit_if_error "$?" "You must install libglew devel package"
340
340
341
341
342
# OpenAL
343
file="
344
#include <AL/al.h>
345
#include <AL/alc.h>
346
#include <AL/alut.h>
347
#include <time.h>
348
#include <stdio.h>
349
#include <stdlib.h>
350
#include <sys/time.h>
351
#include <sys/types.h>
352
#include <unistd.h>
353
int main(int argc, char **argv) {
354
ALCdevice *dev;
355
const ALubyte *initstr=(const ALubyte *) \"'( ( devices '( native null ) ) )\";
356
dev=alcOpenDevice(initstr);
357
sleep(1);
358
alcCloseDevice(dev);
359
return 0; }"
360
test_build "OpenAL" "$file" "-lopenal"
361
exit_if_error "$?" "openal-devel is required. Official CVS may be a good idea"
362
363
# OpenAL 1.1
364
file="
365
#include <AL/al.h>
366
#include <AL/alc.h>
367
#include <AL/alut.h>
368
#include <time.h>
369
#include <stdio.h>
370
#include <stdlib.h>
371
#include <sys/time.h>
372
#include <sys/types.h>
373
#include <unistd.h>
374
int main(int argc, char **argv) {
375
ALCdevice *dev;
376
const ALubyte *initstr=(const ALubyte *) \"'( ( devices '( native null ) ) )\";
377
dev=alcOpenDevice(initstr);
378
sleep(1);
379
#ifndef ALUT_API_MAJOR_VERSION
380
#error ALUT for OpenAL 1.1 is required
381
#endif
382
alcCloseDevice(dev);
383
return 0; }"
384
test_build "OpenAL 1.1 and ALUT" "$file" "-lopenal -lalut"
385
exit_if_error "$?" "Cannot find OpenAL 1.1 and ALUT. You can try to remove -lalut from Makefile and/or *comp*sh scripts, but Raydium with OpenAL 1.0 is not supported."
386
387
# OGG/Vorbis
342
# OGG/Vorbis
388
file='
343
file='
389
#include <stdio.h>
344
#include <stdio.h>

Return to bug 134595