mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-13 10:55:46 +08:00
* configure, Makefile.in, aclocal.m4: Rebuild with current tools.
This commit is contained in:
@ -184,7 +184,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|||||||
$(ACLOCAL_M4): @MAINT@ configure.in
|
$(ACLOCAL_M4): @MAINT@ configure.in
|
||||||
cd $(srcdir) && $(ACLOCAL)
|
cd $(srcdir) && $(ACLOCAL)
|
||||||
|
|
||||||
config.status: $(srcdir)/configure
|
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
$(SHELL) ./config.status --recheck
|
$(SHELL) ./config.status --recheck
|
||||||
$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||||
cd $(srcdir) && $(AUTOCONF)
|
cd $(srcdir) && $(AUTOCONF)
|
||||||
@ -224,15 +224,15 @@ install-binPROGRAMS: $(bin_PROGRAMS)
|
|||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
if test -f $$p; then \
|
if test -f $$p; then \
|
||||||
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
|
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
|
||||||
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
||||||
else :; fi; \
|
else :; fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-binPROGRAMS:
|
uninstall-binPROGRAMS:
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
|
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
||||||
done
|
done
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
@ -418,10 +418,10 @@ uninstall-man1:
|
|||||||
done
|
done
|
||||||
install-man: $(MANS)
|
install-man: $(MANS)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
$(MAKE) install-man1
|
$(MAKE) $(AM_MAKEFLAGS) install-man1
|
||||||
uninstall-man:
|
uninstall-man:
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
$(MAKE) uninstall-man1
|
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
|
||||||
|
|
||||||
# This directory's subdirectories are mostly independent; you can cd
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
# into them and run `make' without going through this Makefile.
|
# into them and run `make' without going through this Makefile.
|
||||||
@ -439,7 +439,7 @@ check-recursive installcheck-recursive info-recursive dvi-recursive:
|
|||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
target=`echo $@ | sed s/-recursive//`; \
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
echo "Making $$target in $$subdir"; \
|
echo "Making $$target in $$subdir"; \
|
||||||
(cd $$subdir && $(MAKE) $$target) \
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) \
|
||||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||||
done && test -z "$$fail"
|
done && test -z "$$fail"
|
||||||
|
|
||||||
@ -452,12 +452,12 @@ maintainer-clean-recursive:
|
|||||||
for subdir in $$rev; do \
|
for subdir in $$rev; do \
|
||||||
target=`echo $@ | sed s/-recursive//`; \
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
echo "Making $$target in $$subdir"; \
|
echo "Making $$target in $$subdir"; \
|
||||||
(cd $$subdir && $(MAKE) $$target) \
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) \
|
||||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||||
done && test -z "$$fail"
|
done && test -z "$$fail"
|
||||||
tags-recursive:
|
tags-recursive:
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
(cd $$subdir && $(MAKE) tags); \
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||||
done
|
done
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
@ -502,12 +502,12 @@ distcheck: dist
|
|||||||
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
||||||
cd $(distdir)/=build \
|
cd $(distdir)/=build \
|
||||||
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
||||||
&& $(MAKE) \
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||||
&& $(MAKE) dvi \
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||||
&& $(MAKE) check \
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||||
&& $(MAKE) install \
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||||
&& $(MAKE) installcheck \
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
&& $(MAKE) dist
|
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
||||||
-rm -rf $(distdir)
|
-rm -rf $(distdir)
|
||||||
@echo "========================"; \
|
@echo "========================"; \
|
||||||
echo "$(distdir).tar.gz is ready for distribution"; \
|
echo "$(distdir).tar.gz is ready for distribution"; \
|
||||||
@ -535,18 +535,18 @@ distdir: $(DISTFILES)
|
|||||||
|| mkdir $(distdir)/$$subdir \
|
|| mkdir $(distdir)/$$subdir \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
chmod 777 $(distdir)/$$subdir; \
|
chmod 777 $(distdir)/$$subdir; \
|
||||||
(cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
done
|
done
|
||||||
$(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
|
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
|
||||||
info: $(INFO_DEPS) info-recursive
|
info: $(INFO_DEPS) info-recursive
|
||||||
dvi: $(DVIS) dvi-recursive
|
dvi: $(DVIS) dvi-recursive
|
||||||
check:
|
check:
|
||||||
$(MAKE) check-recursive
|
$(MAKE) $(AM_MAKEFLAGS) check-recursive
|
||||||
installcheck: installcheck-recursive
|
installcheck: installcheck-recursive
|
||||||
install-info: install-info-am install-info-recursive
|
install-info: install-info-am install-info-recursive
|
||||||
all-recursive-am: gconfig.h
|
all-recursive-am: gconfig.h
|
||||||
$(MAKE) all-recursive
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||||
|
|
||||||
all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
|
all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) gconfig.h
|
||||||
|
|
||||||
@ -568,7 +568,7 @@ install: install-recursive install-exec-am install-data-am
|
|||||||
uninstall: uninstall-recursive uninstall-am
|
uninstall: uninstall-recursive uninstall-am
|
||||||
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||||
installdirs: installdirs-recursive
|
installdirs: installdirs-recursive
|
||||||
$(mkinstalldirs) $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1
|
$(mkinstalldirs) $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1
|
||||||
|
|
||||||
|
24
gprof/aclocal.m4
vendored
24
gprof/aclocal.m4
vendored
@ -112,11 +112,12 @@ fi
|
|||||||
AC_SUBST($1)])
|
AC_SUBST($1)])
|
||||||
|
|
||||||
|
|
||||||
# serial 24 AM_PROG_LIBTOOL
|
# serial 25 AM_PROG_LIBTOOL
|
||||||
AC_DEFUN(AM_PROG_LIBTOOL,
|
AC_DEFUN(AM_PROG_LIBTOOL,
|
||||||
[AC_REQUIRE([AM_ENABLE_SHARED])dnl
|
[AC_REQUIRE([AM_ENABLE_SHARED])dnl
|
||||||
AC_REQUIRE([AM_ENABLE_STATIC])dnl
|
AC_REQUIRE([AM_ENABLE_STATIC])dnl
|
||||||
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||||
|
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
|
||||||
AC_REQUIRE([AC_PROG_RANLIB])dnl
|
AC_REQUIRE([AC_PROG_RANLIB])dnl
|
||||||
AC_REQUIRE([AC_PROG_CC])dnl
|
AC_REQUIRE([AC_PROG_CC])dnl
|
||||||
AC_REQUIRE([AM_PROG_LD])dnl
|
AC_REQUIRE([AM_PROG_LD])dnl
|
||||||
@ -172,9 +173,13 @@ esac
|
|||||||
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
|
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
|
||||||
LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
|
LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
|
||||||
DLLTOOL="$DLLTOOL" AS="$AS" \
|
DLLTOOL="$DLLTOOL" AS="$AS" \
|
||||||
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
|
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
|
||||||
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
|
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
|
||||||
|| AC_MSG_ERROR([libtool configure failed])
|
|| AC_MSG_ERROR([libtool configure failed])
|
||||||
|
|
||||||
|
# Redirect the config.log output again, so that the ltconfig log is not
|
||||||
|
# clobbered by the next message.
|
||||||
|
exec 5>>./config.log
|
||||||
])
|
])
|
||||||
|
|
||||||
# AM_ENABLE_SHARED - implement the --enable-shared flag
|
# AM_ENABLE_SHARED - implement the --enable-shared flag
|
||||||
@ -185,10 +190,8 @@ AC_DEFUN(AM_ENABLE_SHARED,
|
|||||||
[define([AM_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
|
[define([AM_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||||
AC_ARG_ENABLE(shared,
|
AC_ARG_ENABLE(shared,
|
||||||
changequote(<<, >>)dnl
|
changequote(<<, >>)dnl
|
||||||
<< --enable-shared build shared libraries [default=>>AM_ENABLE_SHARED_DEFAULT]
|
<< --enable-shared[=PKGS] build shared libraries [default=>>AM_ENABLE_SHARED_DEFAULT],
|
||||||
changequote([, ])dnl
|
changequote([, ])dnl
|
||||||
[ --enable-shared=PKGS only build shared libraries if the current package
|
|
||||||
appears as an element in the PKGS list],
|
|
||||||
[p=${PACKAGE-default}
|
[p=${PACKAGE-default}
|
||||||
case "$enableval" in
|
case "$enableval" in
|
||||||
yes) enable_shared=yes ;;
|
yes) enable_shared=yes ;;
|
||||||
@ -224,10 +227,8 @@ AC_DEFUN(AM_ENABLE_STATIC,
|
|||||||
[define([AM_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
|
[define([AM_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||||
AC_ARG_ENABLE(static,
|
AC_ARG_ENABLE(static,
|
||||||
changequote(<<, >>)dnl
|
changequote(<<, >>)dnl
|
||||||
<< --enable-static build static libraries [default=>>AM_ENABLE_STATIC_DEFAULT]
|
<< --enable-static[=PKGS] build static libraries [default=>>AM_ENABLE_STATIC_DEFAULT],
|
||||||
changequote([, ])dnl
|
changequote([, ])dnl
|
||||||
[ --enable-static=PKGS only build shared libraries if the current package
|
|
||||||
appears as an element in the PKGS list],
|
|
||||||
[p=${PACKAGE-default}
|
[p=${PACKAGE-default}
|
||||||
case "$enableval" in
|
case "$enableval" in
|
||||||
yes) enable_static=yes ;;
|
yes) enable_static=yes ;;
|
||||||
@ -326,7 +327,10 @@ fi])
|
|||||||
AC_DEFUN(AM_PROG_NM,
|
AC_DEFUN(AM_PROG_NM,
|
||||||
[AC_MSG_CHECKING([for BSD-compatible nm])
|
[AC_MSG_CHECKING([for BSD-compatible nm])
|
||||||
AC_CACHE_VAL(ac_cv_path_NM,
|
AC_CACHE_VAL(ac_cv_path_NM,
|
||||||
[if test -z "$NM"; then
|
[if test -n "$NM"; then
|
||||||
|
# Let the user override the test.
|
||||||
|
ac_cv_path_NM="$NM"
|
||||||
|
else
|
||||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
||||||
for ac_dir in /usr/ucb /usr/ccs/bin $PATH /bin; do
|
for ac_dir in /usr/ucb /usr/ccs/bin $PATH /bin; do
|
||||||
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
||||||
@ -346,8 +350,6 @@ AC_CACHE_VAL(ac_cv_path_NM,
|
|||||||
done
|
done
|
||||||
IFS="$ac_save_ifs"
|
IFS="$ac_save_ifs"
|
||||||
test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
|
test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
|
||||||
else
|
|
||||||
ac_cv_path_NM="$NM" # Let the user override the test with a path.
|
|
||||||
fi])
|
fi])
|
||||||
NM="$ac_cv_path_NM"
|
NM="$ac_cv_path_NM"
|
||||||
AC_MSG_RESULT([$NM])
|
AC_MSG_RESULT([$NM])
|
||||||
|
491
gprof/configure
vendored
491
gprof/configure
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user