mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-04 20:11:01 +00:00
added libraries: opus flac libsndfile updated: libvorbis libogg openal - Everything works as expected for now. Bare in mind libsndfile needed the check for whether or not it could find the xiph libraries removed in order for this to work.
19 lines
529 B
Plaintext
19 lines
529 B
Plaintext
#
|
|
# Check for supported __attribute__ features
|
|
#
|
|
# AC_C_ATTRIBUTE(FEATURE, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
|
|
#
|
|
AC_DEFUN([AC_C_ATTRIBUTE],
|
|
[AS_VAR_PUSHDEF([CACHEVAR], [ax_cv_c_attribute_$1])dnl
|
|
AC_CACHE_CHECK([for __attribute__ (($1))],
|
|
CACHEVAR,[
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
|
|
[[ void foo(void) __attribute__ (($1)); ]])],
|
|
[AS_VAR_SET(CACHEVAR, [yes])],
|
|
[AS_VAR_SET(CACHEVAR, [no])])])
|
|
AS_VAR_IF(CACHEVAR,yes,
|
|
[m4_default([$2], :)],
|
|
[m4_default([$3], :)])
|
|
AS_VAR_POPDEF([CACHEVAR])dnl
|
|
])dnl
|