diff options
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/Makefile.in | 4 | ||||
-rwxr-xr-x | libiberty/configure | 6 | ||||
-rw-r--r-- | libiberty/configure.ac | 5 |
3 files changed, 14 insertions, 1 deletions
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index 884cc6c..0d41a79 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -429,8 +429,10 @@ stamp-noasandir: .PHONY: all etags tags TAGS ls clean stage1 stage2 +ETAGS = @ETAGS@ + etags tags TAGS: etags-subdir - cd $(srcdir) && etags $(CFILES) + cd $(srcdir) && $(ETAGS) $(CFILES) # The standalone demangler (c++filt) has been moved to binutils. # But make this target work anyway for demangler hacking. diff --git a/libiberty/configure b/libiberty/configure index 3c7e588..0a79725 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -659,6 +659,7 @@ HAVE_PERL PERL BUILD_INFO MAKEINFO +ETAGS NOTMAINT MAINT libiberty_topdir @@ -2558,6 +2559,11 @@ else NOTMAINT='' fi +if test -z "$ETAGS"; then + ETAGS=etags +fi + + # Do we have a single-tree copy of texinfo? Even if we do, we can't # rely on it - libiberty is built before texinfo. # Extract the first word of "makeinfo", so it can be a program name with args. diff --git a/libiberty/configure.ac b/libiberty/configure.ac index 4b78c18..84a7b37 100644 --- a/libiberty/configure.ac +++ b/libiberty/configure.ac @@ -61,6 +61,11 @@ fi AC_SUBST(MAINT)dnl AC_SUBST(NOTMAINT)dnl +if test -z "$ETAGS"; then + ETAGS=etags +fi +AC_SUBST([ETAGS]) + # Do we have a single-tree copy of texinfo? Even if we do, we can't # rely on it - libiberty is built before texinfo. AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, ) |