Commit bb69d9db authored by Sam Hocevar's avatar Sam Hocevar

* Remove now unused .incl files.

parent 8385fa28
AC_SUBST([LIBA52_CFLAGS])
AC_SUBST([LIBA52_LIBS])
dnl avoid -fPIC when possible
AC_LIBTOOL_NON_PIC([LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"])
AC_ARG_ENABLE([fixed],
[ --enable-fixed use fixed-point (integer-based) arithmetic])
AC_ARG_ENABLE([double],
[ --enable-double use double-precision samples])
AC_ARG_ENABLE([djbfft],
[ --enable-djbfft make a version using djbfft])
if test x"$enable_fixed" = x"yes"; then
AC_DEFINE([LIBA52_FIXED],,[use fixed-point arithmetic])
elif test x"$enable_double" = x"yes"; then
AC_DEFINE([LIBA52_DOUBLE],,[a52 sample precision])
fi
if test x"$enable_djbfft" = x"yes"; then
AC_DEFINE([LIBA52_DJBFFT],,[liba52 djbfft support])
LIBA52_LIBS="$LIBA52_LIBS -ldjbfft"
fi
AC_SUBST([LIBAO_LIBS])
dnl check for oss
AC_ARG_ENABLE([oss],
[ --disable-oss make a version not using oss])
if test x"$enable_oss" != x"no"; then
case "$host" in
*-linux*|*-openbsd*|*-freebsd*|*-netbsd*|*-bsdi*)
AC_DEFINE([LIBAO_OSS],,[libao OSS support])
AC_CHECK_LIB([ossaudio],[_oss_ioctl],
[LIBAO_LIBS="$LIBAO_LIBS -lossaudio"]);;
esac
fi
dnl check for solaris
AC_ARG_ENABLE([solaris-audio],
[ --disable-solaris-audio make a version not using solaris audio])
if test x"$enable_solaris_audio" != x"no"; then
case "$host" in
*-sun-solaris*)
AC_DEFINE([LIBAO_SOLARIS],,[libao solaris support]);;
esac
fi
dnl check for al
AC_ARG_ENABLE([al-audio],
[ --disable-al-audio make a version not using al audio])
if test x"$enable_al" != x"no"; then
case "$host" in
*-sgi-irix*)
LIBAO_LIBS="$LIBAO_LIBS -laudio"
AC_DEFINE([LIBAO_AL],,[libao al support]);;
esac
fi
dnl check for win32
AC_ARG_ENABLE([win],
[ --disable-win make a version not using win audio])
if test x"$enable_win" != x"no"; then
case "$host" in
*-mingw32*|*-cygwin)
LIBAO_LIBS="$LIBAO_LIBS -lwinmm"
AC_DEFINE([LIBAO_WIN],,[libao win support]);;
esac
fi
AC_SUBST([A52DEC_CFLAGS])
A52DEC_CFLAGS="$OPT_CFLAGS"
AC_ARG_ENABLE([gprof],[ --enable-gprof make a version using gprof])
if test x"$enable_gprof" = x"yes"; then
AC_DEFINE([A52DEC_GPROF],,[a52dec profiling])
A52DEC_CFLAGS=`echo "$A52DEC_CFLAGS"|sed "s/-fomit-frame-pointer//g"`
A52DEC_CFLAGS="$A52DEC_CFLAGS -p"
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment