autogen.sh

来自「奇趣公司比较新的qt/emd版本」· Shell 代码 · 共 62 行

SH
62
字号
#!/bin/sh# Copyright 2005, 2006, 2007 by# David Turner, Robert Wilhelm, and Werner Lemberg.## This file is part of the FreeType project, and may only be used, modified,# and distributed under the terms of the FreeType project license,# LICENSE.TXT.  By continuing to use, modify, or distribute this file you# indicate that you have read the license and understand and accept it# fully.run (){  echo "running \`$*'"  eval $*  if test $? != 0 ; then    echo "error while running \`$*'"    exit 1  fi}if test ! -f ./builds/unix/configure.raw; then  echo "You must be in the same directory as \`autogen.sh'."  echo "Bootstrapping doesn't work if srcdir != builddir."  exit 1fi# This sets freetype_major, freetype_minor, and freetype_patch.eval `sed -nf version.sed include/freetype/freetype.h`# We set freetype-patch to an empty value if it is zero.if test "$freetype_patch" = ".0"; then  freetype_patch=ficd builds/unixecho "generating \`configure.ac'"sed -e "s;@VERSION@;$freetype_major$freetype_minor$freetype_patch;" \    < configure.raw > configure.ac# On MacOS X, the GNU libtool is named `glibtool'.HOSTOS=`uname`LIBTOOLIZE=libtoolizeif test "$HOSTOS"x = Darwinx; then  LIBTOOLIZE=glibtoolizefirun aclocal -I . --forcerun $LIBTOOLIZE --force --copyrun autoconf --forcechmod +x mkinstalldirschmod +x install-shcd ../..chmod +x ./configure# EOF

⌨️ 快捷键说明

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