diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2023-10-05 13:48:32 -0700 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2023-10-06 17:29:22 -0700 |
commit | 08330ace11fb41a1d014858b9909f73aeb856da9 (patch) | |
tree | d3f9bdd492146d9128e6248d1588a178e3b78ba0 /gprofng/Makefile.in | |
parent | c09200601f33d5ed66250b196f6a8113293023c1 (diff) | |
download | gdb-08330ace11fb41a1d014858b9909f73aeb856da9.zip gdb-08330ace11fb41a1d014858b9909f73aeb856da9.tar.gz gdb-08330ace11fb41a1d014858b9909f73aeb856da9.tar.bz2 |
gprofng: 30910 cross test fail: can't read "CHECK_TARGET": no such variable
When TCL_TRY is FALSE, the wrong check-DEJAGNU is generated.
Place "if TCL_TRY / endif" in the right place.
gprofng/ChangeLog
2023-10-05 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
PR gprofng/30910
* Makefile.am: Correct "if TCL_TRY / endif".
* Makefile.in: Rebuild.
Diffstat (limited to 'gprofng/Makefile.in')
-rw-r--r-- | gprofng/Makefile.in | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/gprofng/Makefile.in b/gprofng/Makefile.in index 06b563c..7e7dbe5 100644 --- a/gprofng/Makefile.in +++ b/gprofng/Makefile.in @@ -397,9 +397,9 @@ AM_MAKEFLAGS = \ # development.sh is used to determine -Werror default. -@TCL_TRY_TRUE@CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/development.sh -@TCL_TRY_TRUE@EXTRA_DEJAGNU_SITE_CONFIG = development.exp -@TCL_TRY_TRUE@DISTCLEANFILES = site.exp development.exp +CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/development.sh +EXTRA_DEJAGNU_SITE_CONFIG = development.exp +DISTCLEANFILES = site.exp development.exp all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive @@ -567,18 +567,6 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files - -@TCL_TRY_FALSE@check-DEJAGNU: site.exp -@TCL_TRY_FALSE@ srcdir='$(srcdir)'; export srcdir; \ -@TCL_TRY_FALSE@ EXPECT=$(EXPECT); export EXPECT; \ -@TCL_TRY_FALSE@ if $(SHELL) -c "$(RUNTEST) --version" > /dev/null 2>&1; then \ -@TCL_TRY_FALSE@ exit_status=0; l='$(DEJATOOL)'; for tool in $$l; do \ -@TCL_TRY_FALSE@ if $(RUNTEST) $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \ -@TCL_TRY_FALSE@ then :; else exit_status=1; fi; \ -@TCL_TRY_FALSE@ done; \ -@TCL_TRY_FALSE@ else echo "WARNING: could not find '$(RUNTEST)'" 1>&2; :;\ -@TCL_TRY_FALSE@ fi; \ -@TCL_TRY_FALSE@ exit $$exit_status site.exp: Makefile $(EXTRA_DEJAGNU_SITE_CONFIG) @echo 'Making a new site.exp file ...' @echo '## these variables are automatically generated by make ##' >site.tmp @@ -929,11 +917,11 @@ uninstall-am: .PRECIOUS: Makefile -@TCL_TRY_TRUE@.PHONY: check-small check-extra check-install +.PHONY: check-small check-extra check-install -@TCL_TRY_TRUE@check-DEJAGNU: check-small +check-DEJAGNU: check-small -@TCL_TRY_TRUE@check-small check-extra check-install: site.exp development.exp +check-small check-extra check-install: site.exp development.exp @TCL_TRY_TRUE@ srcroot=`cd $(srcdir) && pwd`; export srcroot; \ @TCL_TRY_TRUE@ LC_ALL=C; export LC_ALL; \ @TCL_TRY_TRUE@ EXPECT=$(EXPECT); export EXPECT; \ @@ -952,9 +940,9 @@ uninstall-am: @TCL_TRY_TRUE@ else echo "WARNING: could not find \`runtest'" 1>&2; :;\ @TCL_TRY_TRUE@ fi -@TCL_TRY_TRUE@development.exp: $(BFDDIR)/development.sh -@TCL_TRY_TRUE@ $(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh \ -@TCL_TRY_TRUE@ | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@ +development.exp: $(BFDDIR)/development.sh + $(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh \ + | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. |