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

📄 makelegacy.sh

📁 mpeg 2 source code for video compression
💻 SH
字号:
#!/bin/sh# MakeLegacy.sh: support old-style Makefile in autotooled source tree# copyright by the mpg123 project - free software under the terms of the LGPL 2.1# see COPYING and AUTHORS files in distribution or http://mpg123.de# initially written by Nicholas J. Humfrey# Check that configure.ac existsif test ! -f configure.ac; then	echo "Can't find configure.ac"	exitfi#AC_INIT([mpg123], [0.60-devel], [mpg123-devel@lists.sourceforge.net])PACKAGE_NAME=`sed -n 's/^AC_INIT(\[\([^,]*\)\], .*$/\1/p' < configure.ac`PACKAGE_VERSION=`sed -n 's/^AC_INIT([^,]*, \[\([^,]*\)\], .*$/\1/p' < configure.ac`PACKAGE_BUGREPORT=`sed -n 's/^AC_INIT([^,]*, [^,]*, \[\(.*\)\])$/\1/p' < configure.ac`cd src# Write out our own very basic config.hecho "Creating basic config.h to reproduce pre-autoconf days."cp config.h.legacy config.h &&{	echo "/* added by MakeLegacy.sh */"	echo "#define PACKAGE_NAME \"$PACKAGE_NAME\"" 	echo "#define PACKAGE_VERSION \"$PACKAGE_VERSION\""	echo "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\""} >> config.h &&exec make -f Makefile.legacy $* ||echo "some error!?"

⌨️ 快捷键说明

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