| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 | #! /bin/sh# Copyright (C) 2013-2017 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, see <http://www.gnu.org/licenses/>.# Verify our probe that checks that "rm -f" doesn't complain if called# without file operands works as expected.  See automake bug#10828.. test-init.shecho AC_OUTPUT >> configure.ac: > Makefile.am$ACLOCAL$AUTOCONF$AUTOMAKEmkdir bincat > bin/rm <<'END'#!/bin/shset -e; set -u;PATH=$original_PATH; export PATHrm_opts=while test $# -gt 0; do  case $1 in    -*) rm_opts="$rm_opts $1";;     *) break;;  esac  shiftdoneif test $# -eq 0; then  echo "Oops, fake rm called without arguments" >&2  exit 1else  exec rm $rm_opts "$@"fiENDchmod a+x bin/rmoriginal_PATH=$PATHPATH=$(pwd)/bin$PATH_SEPARATOR$PATHexport PATH original_PATHrm -f && exit 99 # Sanity check../configure 2>stderr && { cat stderr >&2; exit 1; }cat stderr >&2grep "'rm' program.* unable to run without file operands" stderr$FGREP "tell bug-automake@gnu.org about your system" stderr$FGREP "install GNU coreutils" stderr$EGREP "(^| |')ACCEPT_INFERIOR_RM_PROGRAM($| |')" stderrACCEPT_INFERIOR_RM_PROGRAM=yes; export ACCEPT_INFERIOR_RM_PROGRAM./configure$MAKE$MAKE distcheck# For the sake of our exit trap.PATH=$original_PATH; export PATH:
 |