X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=t%2Fyflags2.sh;h=1987cace93d1ce5ed6b0487bfffe41413acaba28;hb=a7c00e1935726a32dca6871dd0f1b7eda28d0a5b;hp=b2a8114e80deaaf2a0a1e81f2e9df16e99f5c553;hpb=fe1625a4b00b402d6333be0d7999a41ed4983204;p=platform%2Fupstream%2Fautomake.git diff --git a/t/yflags2.sh b/t/yflags2.sh old mode 100755 new mode 100644 index b2a8114..1987cac --- a/t/yflags2.sh +++ b/t/yflags2.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2010-2012 Free Software Foundation, Inc. +# Copyright (C) 2010-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 @@ -28,10 +28,6 @@ echo 'extern int dummy;' >> y.tab.c END chmod a+x fake-yacc -# Remove Yacc from the environment, so that it won't interfere -# with 'make -e' below. -unset YACC || : - cat >> configure.ac <<'END' AC_SUBST([CXX], [false]) # Simulate presence of Yacc using our fake-yacc script. @@ -59,7 +55,7 @@ grep '\$(YFLAGS).*\$(AM_YFLAGS)' Makefile.in && exit 1 $AUTOCONF ./configure -env YFLAGS=__user_flags__ $MAKE -e foo.cc bar-bar.c++ +run_make YFLAGS=__user_flags__ foo.cc bar-bar.c++ cat foo.cc cat bar-bar.c++