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

📄 configure.in

📁 A GTK sound font editor. Sound font files are used to synthesize instruments from audio samples for
💻 IN
字号:
dnl --------------------------------------------------dnl configure.in for Smurf Sound Font Editordnl --------------------------------------------------AC_INIT(src/uiface.c)AM_INIT_AUTOMAKE(smurf, 0.52.6)AM_CONFIG_HEADER(src/config.h)CFLAGS="$CFLAGS -Wall"dnl - Program checksAC_PROG_CCdnl International language supportALL_LINGUAS="de"AM_GNU_GETTEXTAC_PROG_INSTALLAC_PROG_MAKE_SETAC_PROG_RANLIBAC_HEADER_STDCdnl Compile options string used in about dialog for debugging purposesCOMPOPSTR=""dnl - Check for debugging or profiling configure flagsAC_DEBUGGINGAC_PROFILINGdnl - Sound support check (ALSA/OSS/AWE)AC_SOUNDdnl - Allow ignoring of AWE driver sample caching support (for building RPMs)AC_ARG_ENABLE(splash,  [  --disable-awe-caching   Ignore AWE support for sample caching],  AC_DEFINE(AWE_NO_CACHE_SUPPORT, 1,  [Define to ignore AWE support for sample caching]))AC_ARG_WITH(audiofile,	[  --with-audiofile        Force use of audiofile library],	with_audiofile="yes", with_audiofile="")AC_ARG_WITH(libsndfile,        [  --with-sndfile          Force use of libsndfile library],        with_sndfile="yes", with_sndfile="")AC_SNDFILE_CHECK(SNDFILE_SUPPORT=1, SNDFILE_SUPPORT=0)dnl Do audiofile checkAUDIOFILE_SUPPORT=0AM_PATH_AUDIOFILE(0.1.5, AUDIOFILE_SUPPORT=1)USE_AUDIOFILE=0NICE_AUDIOFILE=0if test $AUDIOFILE_SUPPORT -eq 1 ; then  AC_MSG_CHECKING(for AUDIOFILE - version >= 0.2.0)  if test "$audiofile_major_version" -gt 0 \   -o "$audiofile_minor_version" -ge 2 ; then    NICE_AUDIOFILE=1    AC_MSG_RESULT(yes)  else    AC_MSG_RESULT(no)  fifidnl --with-audiofile switch supplied?if test "$with_audiofile" = "yes" ; then  if test $AUDIOFILE_SUPPORT -eq 0 ; then    AC_MSG_ERROR([--- The --with-audiofile switch was supplied but no audiofile support--- was found. Make sure you have audiofile or libsndfile installed.    ])  fi USE_AUDIOFILE=1dnl --with-sndfile switch supplied?elif test "$with_sndfile" = "yes" ; then  if test $SNDFILE_SUPPORT -eq 0 ; then    AC_MSG_ERROR([--- The --with-sndfile switch was supplied but no libsndfile support--- was found. Make sure you have libsndfile or audiofile installed.    ])  fidnl If no --with switches defined, use AUDIOFILE if niceelif test $NICE_AUDIOFILE -eq 1 ; then  USE_AUDIOFILE=1dnl Use not nice audiofile only if no libsndfile supportelif test $SNDFILE_SUPPORT -eq 0 -a $AUDIOFILE_SUPPORT -eq 1 ; then  USE_AUDIOFILE=1fiif test $USE_AUDIOFILE -eq 1 ; then  if test $NICE_AUDIOFILE -eq 0 ; then    AC_MSG_WARN([Using audiofile < v0.2.0, upgrade recommended, see INSTALL])  fi  AC_DEFINE(WITH_AUDIOFILE, 1,[Define to use AUDIOFILE instead of libsndfile])  CFLAGS="${AUDIOFILE_CFLAGS} ${CFLAGS}"  LIBS="${AUDIOFILE_LIBS} ${LIBS}"  COMPOPSTR="audiofile ${COMPOPSTR}"elif test $SNDFILE_SUPPORT -eq 1 ; then  CFLAGS="${SNDFILE_CFLAGS} ${CFLAGS}"  LIBS="${SNDFILE_LIBS} ${LIBS}"  COMPOPSTR="libsndfile ${COMPOPSTR}"else  AC_MSG_ERROR([--- Failed to find libsndfile or audiofile. Install one of--- these, delete config.cache and re-run ./configure.--- Check config.log for details.  ])fiAC_PATH_GTK(1.2.0, , AC_MSG_ERROR([Failed to find sufficient GTK library]))CFLAGS="${GTK_CFLAGS} ${CFLAGS}"LIBS="${GTK_LIBS} ${LIBS}"dnl Smurf intro splash image conditional compile stuffCDUMP=""AC_SUBST(CDUMP)AC_CHECK_HEADER(png.h, png_h=yes, png_h="")AC_CHECK_LIB(png, png_read_image, libpng=yes, libpng="")AC_ARG_ENABLE(splash,  [  --disable-splash        Don't compile Smurfy splash intro image],  disable_splash="yes")if test "${disable_splash}" != "yes" -a "${png_h}" = "yes" \  -a "${libpng}" = "yes" ; then    AC_DEFINE(SPLASH, 1, [Define to compile splash intro image functions])    CDUMP="cdump"    LIBS="${LIBS} -lpng"    COMPOPSTR="splash ${COMPOPSTR}"fiecho "*** Compile options: ${COMPOPSTR}"AC_DEFINE_UNQUOTED(COMPILE_OPTIONS, "${COMPOPSTR}", [This is an autoconf generated list of compile options, informational only])AC_OUTPUT([Makefile smurf.spec tools/Makefile src/Makefile src/drivers/Makefile  src/widgets/Makefile intl/Makefile po/Makefile.in pixmaps/Makefile  package/Makefile])

⌨️ 快捷键说明

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