| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 | #! /bin/sh# Copyright (C) 2008-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/>.# Check that _AM_OUTPUT_DEPENDENCY_COMMANDS works with eval-style# quoting in $CONFIG_FILES, done by newer Autoconf.required=cc. test-init.shcat >>configure.ac << ENDAC_PROG_CCAC_OUTPUTENDcat > Makefile.am << ENDbin_PROGRAMS = foofoo_SOURCES = foo.c foo.hENDcat >foo.c << END#include "foo.h"END: >foo.h$ACLOCAL$AUTOMAKE$AUTOCONF./configure --enable-dependency-trackingif test -d .deps; then  depdir=.depselif test -d _deps; then  depdir=_depselse  depdir=fi# For the fun of it, we should also cope with Makefile names# that contain weird characters and newer.# Pick the first name that the file system will accept.for name in \  'weird  name with $ `#() &! characters"' \  'weird  name with $ `#()  characters"' \  'weird  name with  characters'do  cp Makefile.in "$name.in" && break || :donefor arg in Makefile \  --file=Makefile \  "--file=$name"do  rm -rf .deps _deps  ./config.status "$arg" depfiles >stdout 2>stderr ||    { cat stdout; cat stderr >&2; exit 1; }  cat stdout  cat stderr >&2  grep '[Nn]o such file' stderr && exit 1  if test -n "$depdir"; then    test -d $depdir || exit 1  fidone:
 |