📄 genext2fs.patch
字号:
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl+AC_REQUIRE([AC_PROG_INSTALL])dnl+# test to see if srcdir already configured+if test "`cd $srcdir && pwd`" != "`pwd`" &&+ test -f $srcdir/config.status; then+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])+fi++# test whether we have cygpath+if test -z "$CYGPATH_W"; then+ if (cygpath --version) >/dev/null 2>/dev/null; then+ CYGPATH_W='cygpath -w'+ else+ CYGPATH_W=echo+ fi+fi+AC_SUBST([CYGPATH_W])++# Define the identity of the package.+dnl Distinguish between old-style and new-style calls.+m4_ifval([$2],+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl+ AC_SUBST([PACKAGE], [$1])dnl+ AC_SUBST([VERSION], [$2])],+[_AM_SET_OPTIONS([$1])dnl+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl++_AM_IF_OPTION([no-define],,+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl++# Some tools Automake needs.+AC_REQUIRE([AM_SANITY_CHECK])dnl+AC_REQUIRE([AC_ARG_PROGRAM])dnl+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})+AM_MISSING_PROG(AUTOCONF, autoconf)+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})+AM_MISSING_PROG(AUTOHEADER, autoheader)+AM_MISSING_PROG(MAKEINFO, makeinfo)+AM_MISSING_PROG(AMTAR, tar)+AM_PROG_INSTALL_SH+AM_PROG_INSTALL_STRIP+AC_REQUIRE([AM_PROG_MKDIR_P])dnl+# We need awk for the "check" target. The system "awk" is bad on+# some platforms.+AC_REQUIRE([AC_PROG_AWK])dnl+AC_REQUIRE([AC_PROG_MAKE_SET])dnl+AC_REQUIRE([AM_SET_LEADING_DOT])dnl++_AM_IF_OPTION([no-dependencies],,+[AC_PROVIDE_IFELSE([AC_PROG_CC],+ [_AM_DEPENDENCIES(CC)],+ [define([AC_PROG_CC],+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl+AC_PROVIDE_IFELSE([AC_PROG_CXX],+ [_AM_DEPENDENCIES(CXX)],+ [define([AC_PROG_CXX],+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl+])+])+++# When config.status generates a header, we must update the stamp-h file.+# This file resides in the same directory as the config header+# that is generated. The stamp files are numbered to have different names.++# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the+# loop where config.status creates the headers, so we can generate+# our stamp files there.+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],+[# Compute $1's index in $config_headers.+_am_stamp_count=1+for _am_header in $config_headers :; do+ case $_am_header in+ $1 | $1:* )+ break ;;+ * )+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;+ esac+done+echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])++# AM_PROG_INSTALL_SH+# ------------------+# Define $install_sh.++# Copyright (C) 2001, 2003 Free Software Foundation, Inc.++# This program is free software; you can redistribute it and/or modify+# it under the terms of the GNU General Public License as published by+# the Free Software Foundation; either version 2, or (at your option)+# any later version.++# This program is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU General Public License for more details.++# You should have received a copy of the GNU General Public License+# along with this program; if not, write to the Free Software+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA+# 02111-1307, USA.++AC_DEFUN([AM_PROG_INSTALL_SH],+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl+install_sh=${install_sh-"$am_aux_dir/install-sh"}+AC_SUBST(install_sh)])++# -*- Autoconf -*-+# Copyright (C) 2003 Free Software Foundation, Inc.++# This program is free software; you can redistribute it and/or modify+# it under the terms of the GNU General Public License as published by+# the Free Software Foundation; either version 2, or (at your option)+# any later version.++# This program is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU General Public License for more details.++# You should have received a copy of the GNU General Public License+# along with this program; if not, write to the Free Software+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA+# 02111-1307, USA.++# serial 1++# Check whether the underlying file-system supports filenames+# with a leading dot. For instance MS-DOS doesn't.+AC_DEFUN([AM_SET_LEADING_DOT],+[rm -rf .tst 2>/dev/null+mkdir .tst 2>/dev/null+if test -d .tst; then+ am__leading_dot=.+else+ am__leading_dot=_+fi+rmdir .tst 2>/dev/null+AC_SUBST([am__leading_dot])])++# Check to see how 'make' treats includes. -*- Autoconf -*-++# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.++# This program is free software; you can redistribute it and/or modify+# it under the terms of the GNU General Public License as published by+# the Free Software Foundation; either version 2, or (at your option)+# any later version.++# This program is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU General Public License for more details.++# You should have received a copy of the GNU General Public License+# along with this program; if not, write to the Free Software+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA+# 02111-1307, USA.++# serial 2++# AM_MAKE_INCLUDE()+# -----------------+# Check to see how make treats includes.+AC_DEFUN([AM_MAKE_INCLUDE],+[am_make=${MAKE-make}+cat > confinc << 'END'+am__doit:+ @echo done+.PHONY: am__doit+END+# If we don't find an include directive, just comment out the code.+AC_MSG_CHECKING([for style of include used by $am_make])+am__include="#"+am__quote=+_am_result=none+# First try GNU make style include.+echo "include confinc" > confmf+# We grep out `Entering directory' and `Leaving directory'+# messages which can occur if `w' ends up in MAKEFLAGS.+# In particular we don't look at `^make:' because GNU make might+# be invoked under some other name (usually "gmake"), in which+# case it prints its new name instead of `make'.+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then+ am__include=include+ am__quote=+ _am_result=GNU+fi+# Now try BSD make style include.+if test "$am__include" = "#"; then+ echo '.include "confinc"' > confmf+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then+ am__include=.include+ am__quote="\""+ _am_result=BSD+ fi+fi+AC_SUBST([am__include])+AC_SUBST([am__quote])+AC_MSG_RESULT([$_am_result])+rm -f confinc confmf+])++# -*- Autoconf -*-+++# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.++# This program is free software; you can redistribute it and/or modify+# it under the terms of the GNU General Public License as published by+# the Free Software Foundation; either version 2, or (at your option)+# any later version.++# This program is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU General Public License for more details.++# You should have received a copy of the GNU General Public License+# along with this program; if not, write to the Free Software+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA+# 02111-1307, USA.++# serial 3++# AM_MISSING_PROG(NAME, PROGRAM)+# ------------------------------+AC_DEFUN([AM_MISSING_PROG],+[AC_REQUIRE([AM_MISSING_HAS_RUN])+$1=${$1-"${am_missing_run}$2"}+AC_SUBST($1)])+++# AM_MISSING_HAS_RUN+# ------------------+# Define MISSING if not defined so far and test if it supports --run.+# If it does, set am_missing_run to use it, otherwise, to nothing.+AC_DEFUN([AM_MISSING_HAS_RUN],+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"+# Use eval to expand $SHELL+if eval "$MISSING --run true"; then+ am_missing_run="$MISSING --run "+else+ am_missing_run=+ AC_MSG_WARN([`missing' script is too old or missing])+fi+])++# AM_PROG_MKDIR_P+# ---------------+# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.++# Copyright (C) 2003, 2004 Free Software Foundation, Inc.++# This program is free software; you can redistribute it and/or modify+# it under the terms of the GNU General Public License as published by+# the Free Software Foundation; either version 2, or (at your option)+# any later version.++# This program is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU General Public License for more details.++# You should have received a copy of the GNU General Public License+# along with this program; if not, write to the Free Software+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA+# 02111-1307, USA.++# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories+# created by `make install' are always world readable, even if the+# installer happens to have an overly restrictive umask (e.g. 077).+# This was a mistake. There are at least two reasons why we must not+# use `-m 0755':+# - it causes special bits like SGID to be ignored,+# - it may be too restrictive (some setups expect 775 directories).+#+# Do not use -m 0755 and let people choose whatever they expect by+# setting umask.+#+# We cannot accept any implementation of `mkdir' that recognizes `-p'.+# Some implementations (such as Solaris 8's) are not thread-safe: if a+# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'+# concurrently, both version can detect that a/ is missing, but only+# one can create it and the other will error out. Consequently we+# restrict ourselves to GNU make (using the --version option ensures+# this.)+AC_DEFUN([AM_PROG_MKDIR_P],+[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then+ # Keeping the `.' argument allows $(mkdir_p) to be used without+ # argument. Indeed, we sometimes output rules like+ # $(mkdir_p) $(somedir)+ # where $(somedir) is conditionally defined.+ # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more+ # expensive solution, as it forces Make to start a sub-shell.)+ mkdir_p='mkdir -p -- .'+else+ # On NextStep and OpenStep, the `mkdir' command does not+ # recognize any option. It will interpret all options as+ # directories to create, and then abort because `.' already+ # exists.+ for d in ./-p ./--version;+ do+ test -d $d && rmdir $d+ done+ # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.+ if test -f "$ac_aux_dir/mkinstalldirs"; then+ mkdir_p='$(mkinstalldirs)'+ else+ mkdir_p='$(install_sh) -d'+ fi+fi+AC_SUBST([mkdir_p])])++# Helper functions for option handling. -*- Autoconf -*-++# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.++# This program is free software; you can redistribute it and/or modify+# it under the terms of the GNU General Public License as published by+# the Free Software Foundation; either version 2, or (at your option)+# any later version.++# This program is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU General Public License for more details.++# You should have received a copy of the GNU General Public License+# along with this program; if not, write to the Free Software+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA+# 02111-1307, USA.++# serial 2++# _AM_MANGLE_OPTION(NAME)+# -----------------------+AC_DEFUN([_AM_MANGLE_OPTION],+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])++# _AM_SET_OPTION(NAME)+# ------------------------------+# Set option NAME. Presently that only means defining a flag for this option.+AC_DEFUN([_AM_SET_OPTION],+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])++# _AM_SET_OPTIONS(OPTIONS)+# ----------------------------------+# OPTIONS is a space-separated list of Automake options.+AC_DEFUN([_AM_SET_OPTIONS],+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])++# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])+# -------------------------------------------+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.+AC_DEFUN([_AM_IF_OPTION],+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])++#+# Check to make sure that the build environment is sane.+#++# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -