⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure.in

📁 ALSA驱动的一些调试测试工具
💻 IN
字号:
dnl Process this file with autoconf to produce a configure script.AC_PREREQ(2.59)AC_INIT(alsamixer/alsamixer.c)AC_PREFIX_DEFAULT(/usr)AM_INIT_AUTOMAKE(alsa-utils, 1.0.19)AM_GNU_GETTEXT([external])AM_GNU_GETTEXT_VERSION([0.15])dnl Checks for programs.dnl try to gues cross-compiler if not setif test "x$target" != "x$host" -a -z "`echo $CC | grep -e '-gcc'`";then  AC_MSG_CHECKING(for cross-compiler)  which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc  which ${target_cpu}-${target_os}-gcc >/dev/null 2>&1 \  && CC=${target_cpu}-${target-os}-gcc  which ${target_cpu}-${target_vendor}-${target_os}-gcc >/dev/null 2>&1 \  && CC=${target_cpu}-${target_vendor}-${target_os}-gcc  AC_MSG_RESULT($CC)fiAC_PROG_CCdnl AC_PROG_CXXAC_PROG_INSTALLAC_PROG_LN_SAM_PATH_ALSA(1.0.16)dnl Disable alsamixerCURSESINC=""CURSESLIB=""CURSES_CFLAGS=""AC_ARG_ENABLE(alsamixer,     [  --disable-alsamixer     Disable alsamixer compilation],     [case "${enableval}" in       yes) alsamixer=true ;;       no)  alsamixer=false ;;       *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsamixer) ;;     esac],[alsamixer=true])AM_CONDITIONAL(ALSAMIXER, test x$alsamixer = xtrue)dnl Disable alsaconfAC_ARG_ENABLE(alsaconf,     [  --disable-alsaconf      Disable alsaconf packaging],     [case "${enableval}" in       yes) alsaconf=true ;;       no)  alsaconf=false ;;       *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsaconf) ;;     esac],[alsaconf=true])AM_CONDITIONAL(ALSACONF, test x$alsaconf = xtrue)xmlto=""if test x"$alsaconf" = xtrue; then   AC_ARG_ENABLE(xmlto,     AS_HELP_STRING([--disable-xmlto], [Disable man page creation via xmlto]),     xmlto="$enableval", xmlto="yes")   if test "$xmlto" = "yes"; then      AC_CHECK_PROG([xmlto], [xmlto], [yes])   fifiAM_CONDITIONAL(USE_XMLTO, test x"$xmlto" = xyes)dnl Checks for header files.AC_HEADER_STDCif test x$alsamixer = xtrue; then  AC_ARG_WITH(curses,    [  --with-curses libname   Specify the curses library to use (default=auto)],    curseslib="$withval",    curseslib="auto")  if test "$curseslib" = "ncursesw"; then    AC_CHECK_PROG([ncursesw5_config], [ncursesw5-config], [yes])    if test "$ncursesw5_config" = "yes"; then      CURSESINC="<ncurses.h>"      CURSESLIB=`ncursesw5-config --libs`      CURSES_CFLAGS=`ncursesw5-config --cflags`      curseslib="ncursesw"    else      AC_CHECK_LIB(ncursesw, initscr,                  [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncursesw'; curseslib="ncursesw"])    fi  fi  if test "$curseslib" = "ncurses" -o "$curseslib" = "auto"; then    AC_CHECK_PROG([ncurses5_config], [ncurses5-config], [yes])    if test "$ncurses5_config" = "yes"; then      CURSESINC="<ncurses.h>"      CURSESLIB=`ncurses5-config --libs`      CURSES_CFLAGS=`ncurses5-config --cflags`      curseslib="ncurses"    else      AC_CHECK_LIB(ncurses, initscr,                  [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; curseslib="ncurses"])    fi  fi  if test "$curseslib" = "curses" -o "$curseslib" = "auto"; then    AC_CHECK_LIB(curses, initscr,                  [ CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; curseslib="curses"])  fi  if test -z "$CURSESINC"; then     AC_MSG_ERROR(this packages requires a curses library)  fifiAC_SUBST(CURSESINC)AC_SUBST(CURSESLIB)AC_SUBST(CURSES_CFLAGS)test "x$prefix" = xNONE && prefix=$ac_default_prefixeval dir="$datadir"case "$dir" in/*) ;;*) dir="$prefix/share"esacsoundsdir="$dir/sounds/alsa"AC_DEFINE_UNQUOTED(SOUNDSDIR, "$soundsdir", [directory containing sample data])mydatadir="$dir/alsa"AC_DEFINE_UNQUOTED(DATADIR, "$mydatadir", [directory containing alsa configuration])AC_ARG_WITH(testsound,  [  --with-testsound=file        give the path of test sound file for alsaconf],  TESTSOUND="$withval",  TESTSOUND="$dir/test.wav")AC_SUBST(TESTSOUND)AM_CONFIG_HEADER(include/aconfig.h)dnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTAC_C_INLINEAC_HEADER_TIMEdnl Checks for library functions.AC_PROG_GCC_TRADITIONALdnl Enable largefile supportAC_SYS_LARGEFILESAVE_UTIL_VERSIONAC_OUTPUT(Makefile alsactl/Makefile alsactl/init/Makefile \	  alsamixer/Makefile amidi/Makefile amixer/Makefile \	  m4/Makefile po/Makefile.in \	  alsaconf/alsaconf alsaconf/Makefile \	  alsaconf/po/Makefile \	  aplay/Makefile include/Makefile iecset/Makefile utils/Makefile \	  utils/alsa-utils.spec seq/Makefile seq/aconnect/Makefile \	  seq/aplaymidi/Makefile seq/aseqdump/Makefile seq/aseqnet/Makefile \	  speaker-test/Makefile speaker-test/samples/Makefile)

⌨️ 快捷键说明

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