Includes moving the OpenAL test programs to 'noinst' so they don't run as part of make check
# AC_CHECK_FRAMEWORK(osgDB, [#include <osgDB/Version>], $with_osg_framework)
# AC_CHECK_FRAMEWORK(osgSim, [#include <osgSim/Version>], $with_osg_framework)
# AC_CHECK_FRAMEWORK(osgParticle, [#include <osgParticle/Version>], $with_osg_framework)
# AC_CHECK_FRAMEWORK(osgDB, [#include <osgDB/Version>], $with_osg_framework)
# AC_CHECK_FRAMEWORK(osgSim, [#include <osgSim/Version>], $with_osg_framework)
# AC_CHECK_FRAMEWORK(osgParticle, [#include <osgParticle/Version>], $with_osg_framework)
-# AC_CHECK_FRAMEWORK(osg, [#include <osg/Version>], $with_osg_framework)
+ AC_CHECK_FRAMEWORK(osg, [#include <osg/Version>], $with_osg_framework)
# osg_FRAMEWORKS="$FRAMEWORKS"
# FRAMEWORKS=""
# AC_SUBST(osg_FRAMEWORKS)
# osg_FRAMEWORKS="$FRAMEWORKS"
# FRAMEWORKS=""
# AC_SUBST(osg_FRAMEWORKS)
scene \
screen \
serial \
scene \
screen \
serial \
DIST_SUBDIRS = $(SUBDIRS) compatibility
DIST_SUBDIRS = $(SUBDIRS) compatibility
TESTS = $(check_PROGRAMS)
bvhtest_SOURCES = bvhtest.cxx
TESTS = $(check_PROGRAMS)
bvhtest_SOURCES = bvhtest.cxx
-bvhtest_LDADD = libsgbvh.a -lsgstructure -lsgmath $(base_LIBS)
+bvhtest_LDADD = libsgbvh.a \
+ $(top_builddir)/simgear/structure/libsgstructure.a \
+ $(top_builddir)/simgear/debug/libsgdebug.a \
+ $(base_LIBS)
+
lib_LIBRARIES = libsgbvh.a
lib_LIBRARIES = libsgbvh.a
soundmgr_openal.cxx \
xmlsound.cxx
soundmgr_openal.cxx \
xmlsound.cxx
-check_PROGRAMS = openal_test1 openal_test2 openal_test3
+noinst_PROGRAMS = openal_test1 openal_test2 openal_test3
openal_test1_SOURCES = openal_test1.cxx
openal_test2_SOURCES = openal_test2.cxx
openal_test1_SOURCES = openal_test1.cxx
openal_test2_SOURCES = openal_test2.cxx
# define AL_ILLEGAL_COMMAND AL_INVALID_OPERATION
# include <OpenAL/al.h>
# include <OpenAL/alc.h>
# define AL_ILLEGAL_COMMAND AL_INVALID_OPERATION
# include <OpenAL/al.h>
# include <OpenAL/alc.h>
-# include <OpenAL/alut.h>
#elif defined(OPENALSDK)
# include <al.h>
# include <alc.h>
#elif defined(OPENALSDK)
# include <al.h>
# include <alc.h>