autogen.sh
来自「linux操作系统下的红外驱动的测试程序」· Shell 代码 · 共 85 行
SH
85 行
#!/bin/sh# Run this to generate all the initial makefiles, etc.srcdir=`dirname $0`test -z "$srcdir" && srcdir=.ORIGDIR=`pwd`cd $srcdirDIE=0# Check for autoconf, the required version is set in configure.in(autoconf --version) < /dev/null > /dev/null 2>&1 || { echo echo "You must have at minimum autoconf version 2.12 installed" echo "to compile irdadump. Download the appropriate package for" echo "your distribution, or get the source tarball at" echo "ftp://ftp.gnu.org/pub/gnu/" DIE=1}# Check for libtoolcase `libtool --version` in*" "1.[23456]*) ;;*) echo echo "You must have at minimum libtool version 1.2 installed" echo "to compile irdadump. Download the appropriate package for" echo "your distribution, or get the source tarball at" echo "ftp://alpha.gnu.org/gnu/libtool-1.2d.tar.gz" DIE=1 ;;esac# Check for automake, the required version is set in Makefile.am(automake --version) < /dev/null > /dev/null 2>&1 ||{ echo echo "You must have at minimum automake version 1.3 installed" echo "to compile irdadump. Download the appropriate package for" echo "your distribution, or get the source tarball at" echo "ftp://ftp.cygnus.com/pub/home/tromey/automake-1.3b.tar.gz" DIE=1}if test "$DIE" -eq 1; then exit 1fi(test -f src/irdadump.h) || { echo "You must run this script in the top-level irdadump directory" exit 1}if test -z "$*"; then echo "I am going to run ./configure with no arguments - if you wish " echo "to pass any to it, please specify them on the $0 command line."ficase $CC inxlc ) am_opt=--include-deps;;esacfor i in .do echo processing $i (cd $i; \ libtoolize --copy --force; \ aclocal $ACLOCAL_FLAGS; if test "$i" != "libIDL"; then autoheader; fi; \ automake --add-missing $am_opt; \ if test "$i" != "libIDL"; then autoheader; fi; \ autoconf)donecd $ORIGDIRecho "Running $srcdir/configure --enable-maintainer-mode" "$@"$srcdir/configure --enable-maintainer-mode "$@"echo echo "Now type 'make' to compile irdadump."
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?