📄 autogen.sh
字号:
#!/bin/sh# Run this to generate all the initial makefiles, etc.srcdir=`dirname $0`test -z "$srcdir" && srcdir=.ORIGDIR=`pwd`cd $srcdirPROJECT=openvpnTEST_TYPE=-fFILE=openvpn.cDIE=0(autoconf --version) < /dev/null > /dev/null 2>&1 || { echo echo "You must have autoconf installed to compile $PROJECT." echo "Download the appropriate package for your distribution," echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" DIE=1}(automake --version) < /dev/null > /dev/null 2>&1 || { echo echo "You must have automake installed to compile $PROJECT." echo "Download the appropriate package for your distribution," echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" DIE=1}if test "$DIE" -eq 1; then exit 1fitest $TEST_TYPE $FILE || { echo "You must run this script in the top-level $PROJECT directory" exit 1}# Let's have a fresh startrm -f *.o openvpn config.cache configure Makefile Makefile.in stamp-h* config.log config.status config.h config.h.in aclocal.m4aclocal $ACLOCAL_FLAGS || exit 1#libtoolize --force --copy || exit 1autoheader || exit 1automake --add-missing --copy $am_opt || exit 1autoconf || exit 1cd $ORIGDIR || exit 1echo echo "Now type './configure' and 'make' to compile $PROJECT. You can do this" echo "in a separate build directory if you wish."
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -