X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fpr401c.sh;h=22e58762990a2b8f164512baaf3b5c9315f16c3e;hb=6febcd41b3dcf99a89aaf21329c00fdadcd68771;hp=96561c5e22877f7a9d899cedb593e45853520985;hpb=1efb88cadad61a031d1c297310bc2634562f2e87;p=platform%2Fupstream%2Fautomake.git diff --git a/t/pr401c.sh b/t/pr401c.sh old mode 100755 new mode 100644 index 96561c5..22e5876 --- a/t/pr401c.sh +++ b/t/pr401c.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2005-2012 Free Software Foundation, Inc. +# Copyright (C) 2005-2013 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 @@ -47,7 +47,6 @@ cat >>configure.ac << 'EOF' ## These lines are activated for later tests. #: AC_CONFIG_LIBOBJ_DIR([lib]) AC_PROG_CC -#x AM_PROG_CC_C_O AM_PROG_AR AC_PROG_RANLIB AC_FUNC_ALLOCA @@ -95,8 +94,8 @@ $MAKE distcheck # Invocation of AC_CONFIG_LIBOBJ_DIR may be necessary for reasons # unrelated to Automake or Makefile.am layout. -sed 's/#: //' configure.ac >configure.int -mv -f configure.int configure.ac +sed 's/#: //' configure.ac >configure.tmp +mv -f configure.tmp configure.ac $ACLOCAL $AUTOCONF @@ -120,8 +119,8 @@ mv -f src/t src/Makefile.am ## Test using ALLOCA from a sibling directory. ## ## ------------------------------------------- ## -sed 's/#x //; s/lib\/Makefile //' configure.ac >configure.int -mv -f configure.int configure.ac +sed 's/lib\/Makefile //' configure.ac >configure.tmp +mv -f configure.tmp configure.ac cat >Makefile.am <<'EOF' SUBDIRS = src @@ -157,8 +156,8 @@ $MAKE distclean ## Test using ALLOCA from parent directory. ## ## ---------------------------------------- ## -sed 's/^.*src\/Makefile.*$//' configure.ac >configure.int -mv -f configure.int configure.ac +sed 's/^.*src\/Makefile.*$//' configure.ac >configure.tmp +mv -f configure.tmp configure.ac cat >Makefile.am <<'EOF' AUTOMAKE_OPTIONS = subdir-objects