📄 configure.ac
字号:
dnl SoundTouch configure.ac, by David W. Durhamdnldnl $Id: configure.ac,v 1.2 2005/09/12 07:13:20 dmazzoni Exp $dnldnl This file is part of SoundTouch, an audio processing library for pitch/time adjustmentsdnl dnl SoundTouch is free software; you can redistribute it and/or modify it under thednl terms of the GNU General Public License as published by the Free Softwarednl Foundation; either version 2 of the License, or (at your option) any laterdnl version.dnl dnl SoundTouch is distributed in the hope that it will be useful, but WITHOUT ANYdnl WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESSdnl FOR A PARTICULAR PURPOSE. See the GNU General Public License for morednl details.dnl dnl You should have received a copy of the GNU General Public License along withdnl this program; if not, write to the Free Software Foundation, Inc., 59 Templednl Place - Suite 330, Boston, MA 02111-1307, USA# Process this file with autoconf to produce a configure script.AC_INIT(SoundTouch, 1.2.1, [http://www.iki.fi/oparviai/soundtouch])AC_CONFIG_AUX_DIR(config)AM_CONFIG_HEADER([config/config.h])AM_INIT_AUTOMAKEAM_MAINTAINER_MODEAC_DISABLE_SHARED dnl This makes libtool only build static libs #AC_GNU_SOURCE dnl enable posix extensions in glibcAC_LANG(C++)dnl ############################################################################dnl # Checks for programs #dnl ############################################################################CXXFLAGS= dnl AC_PROG_CXX automatically sets CXXFLAGS to -g -O2 if g++ is the C++ compiler and CXXFLAGS hasn't been set, so by setting CXXFLAGS, we can avoid this.AC_PROG_CXX#AC_PROG_AWKAC_PROG_CCAC_PROG_CPPAC_PROG_CXXCPPAC_PROG_INSTALL#AC_PROG_LN_SAC_PROG_MAKE_SETAM_PROG_LIBTOOL dnl turn on using libtooldnl ############################################################################dnl # Checks for header files #dnl ############################################################################AC_HEADER_STDC#AC_HEADER_SYS_WAIT# add any others you want to check for here#AC_CHECK_HEADERS([fcntl.h limits.h stddef.h stdlib.h string.h sys/ioctl.h sys/vfs.h unistd.h])dnl ############################################################################dnl # Checks for typedefs, structures, and compiler characteristics $dnl ############################################################################AC_C_CONSTAC_C_INLINE#AC_TYPE_OFF_T#AC_TYPE_SIZE_Tdnl define WORDS_BIGENDIAN if this is a big endian platformAH_TEMPLATE(WORDS_BIGENDIAN)AC_C_BIGENDIAN([ AC_DEFINE(WORDS_BIGENDIAN) dnl well, I dunno, maybe it has??? AC_MSG_WARN([The soundstretch binary is not coded to work with big endian machines yet])])dnl ############################################################################dnl # Checks for library functions/classes #dnl ############################################################################AC_FUNC_MALLOCAC_TYPE_SIGNALdnl make -lm get added to the LIBSAC_CHECK_LIB(m, sqrt,,AC_MSG_ERROR([compatible libc math library not found])) dnl add whatever functions you might want to check for here#AC_CHECK_FUNCS([floor ftruncate memmove memset mkdir modf pow realpath sqrt strchr strdup strerror strrchr strstr strtol])dnl ############################################################################dnl # Internationalization and Localization #dnl #############################################################################AM_GNU_GETTEXT_VERSION([0.11.5])#AM_GNU_GETTEXT([external])dnl ############################################################################dnl # Final #dnl ############################################################################AC_CONFIG_FILES([ Makefile source/Makefile source/SoundTouch/Makefile source/example/Makefile source/example/SoundStretch/Makefile source/example/bpm/Makefile include/Makefile])AC_OUTPUTdnl use 'echo' to put stuff here if you want a message to the builder
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -