configure.in

来自「杜比AC-3编码解码器(参考程序)」· IN 代码 · 共 37 行

IN
37
字号
dnl Autoconf configuration script ac3dec
dnl 
dnl Aaron Holtzman - May 1999
dnl
AC_INIT(ac3dec.c)
AM_CONFIG_HEADER(config.h)
AC_CANONICAL_HOST
AC_PREREQ(2.13)
AM_INIT_AUTOMAKE(ac3dec, 0.6.1)

AM_MAINTAINER_MODE
AC_PROG_CC
AC_PROG_GCC_TRADITIONAL
AC_PROG_RANLIB

AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBS="$LIBS -lossaudio")

dnl Figure out which OS we're on and what to do about it
case "$host" in
*-linux*) rm -f output.c; ln -s output_linux.c output.c;;
*-openbsd*|*-freebsd*) rm -f output.c; ln -s output_linux.c output.c;;
*-irix*) rm -f output.c; ln -s output_irix.c output.c;;
*-solaris*) rm -f output.c; ln -s output_solaris.c output.c;;
*) echo "$host is not currently supported by ac3dec"; exit 1;;
esac

dnl Set the appropriate architecture define
case "$host" in
i?86-*) AC_DEFINE(__i386__);;
alpha*-*) AC_DEFINE(__alpha__);;
sparc-*) AC_DEFINE(__sparc__);;
ppc-*) AC_DEFINE(__ppc__);;
*) echo "$host is not currently supported by ac3dec"; exit 1;;
esac

AC_OUTPUT(libac3/Makefile tools/Makefile test/Makefile Makefile ) 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?