This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] sim: use


i noticed the sim code is using an old implementation of the maintainer logic. 
i cut it over to the new macro (like gdb has been doing).  in practice, it
makes no difference currently as nothing in the sim tree uses it, but i have a
follow up commit for the Blackfin tree that needs it.
-mike

sim/common/ChangeLog:
2013-06-03  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4: Replace maintainer-mode code with AM_MAINTAINER_MODE.
	* aclocal.m4, configure: Regenerate.

--- sim/common/acinclude.m4	10 May 2013 16:10:39 -0000	1.11
+++ sim/common/acinclude.m4	4 Jun 2013 03:32:51 -0000
@@ -113,18 +113,7 @@ dnl all shall eventually behave the same
 
 dnl We don't use automake, but we still want to support
 dnl --enable-maintainer-mode.
-USE_MAINTAINER_MODE=no
-AC_ARG_ENABLE(maintainer-mode,
-[  --enable-maintainer-mode		Enable developer functionality.],
-[case "${enableval}" in
-  yes)	MAINT="" USE_MAINTAINER_MODE=yes ;;
-  no)	MAINT="#" ;;
-  *)	AC_MSG_ERROR("--enable-maintainer-mode does not take a value"); MAINT="#" ;;
-esac
-if test x"$silent" != x"yes" && test x"$MAINT" = x""; then
-  echo "Setting maintainer mode" 6>&1
-fi],[MAINT="#"])dnl
-AC_SUBST(MAINT)
+AM_MAINTAINER_MODE
 
 
 dnl This is a generic option to enable special byte swapping

sim/arm/ChangeLog:
sim/avr/ChangeLog:
sim/bfin/ChangeLog:
sim/cr16/ChangeLog:
sim/cris/ChangeLog:
sim/d10v/ChangeLog:
sim/erc32/ChangeLog:
sim/frv/ChangeLog:
sim/h8300/ChangeLog:
sim/iq2000/ChangeLog:
sim/lm32/ChangeLog:
sim/m32c/ChangeLog:
sim/m32r/ChangeLog:
sim/m68hc11/ChangeLog:
sim/mcore/ChangeLog:
sim/microblaze/ChangeLog:
sim/mips/ChangeLog:
sim/mn10300/ChangeLog:
sim/moxie/ChangeLog:
sim/rl78/ChangeLog:
sim/rx/ChangeLog:
sim/sh/ChangeLog:
sim/sh64/ChangeLog:
sim/v850/ChangeLog:
2013-06-03  Mike Frysinger  <vapier@gentoo.org>

	* aclocal.m4, configure: Regenerate.

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]