From a32b8b2cccc6220dad34b0d7c963fe87f5b98a04 Mon Sep 17 00:00:00 2001 From: bernhardheld Date: Tue, 25 Apr 2006 21:35:19 +0000 Subject: [PATCH] * configure, * configure.in: replaced duplicate message about ucsim by missing sdcpp * install-sh: fix bug #1204398 by setting umask 0022 * device/lib/Makefile.in: separate build of z80 and gbz80 lib git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4128 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 4 ++++ configure | 4 ++-- configure.in | 4 ++-- device/lib/Makefile.in | 5 ++++- install-sh | 3 +++ 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2a4975eb..909da1aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,10 @@ * as/z80/Makefile, * link/z80/Makefile: removed, they have moved to Makefile.in files + * configure, + * configure.in: replaced duplicate message about ucsim by missing sdcpp + * install-sh: fix bug #1204398 by setting umask 0022 + * device/lib/Makefile: separate build of z80 and gbz80 lib 2006-04-24 Bernhard Held diff --git a/configure b/configure index 0f73bad4..997f3ba6 100755 --- a/configure +++ b/configure @@ -9535,7 +9535,7 @@ sdcc ${VERSION} is now configured for Disable packihx: ${OPT_DISABLE_PACKIHX} Disable ucsim: ${OPT_DISABLE_UCSIM} Disable device lib: ${OPT_DISABLE_DEVICE_LIB} - Disable ucsim: ${OPT_DISABLE_UCSIM} + Disable sdcpp: ${OPT_DISABLE_SDCPP} Enable documentation: ${OPT_ENABLE_DOC} Enable libgc: ${OPT_ENABLE_LIBGC} @@ -9580,7 +9580,7 @@ sdcc ${VERSION} is now configured for Disable packihx: ${OPT_DISABLE_PACKIHX} Disable ucsim: ${OPT_DISABLE_UCSIM} Disable device lib: ${OPT_DISABLE_DEVICE_LIB} - Disable ucsim: ${OPT_DISABLE_UCSIM} + Disable sdcpp: ${OPT_DISABLE_SDCPP} Enable documentation: ${OPT_ENABLE_DOC} Enable libgc: ${OPT_ENABLE_LIBGC} diff --git a/configure.in b/configure.in index eeb265dc..21fb14e8 100755 --- a/configure.in +++ b/configure.in @@ -586,7 +586,7 @@ AC_DO_PORT(xa51, xa51, XA51, [Excludes the XA51 port]) AC_DO_PORT(hc08, hc08, HC08, [Excludes the HC08 port]) AC_DO_DISABLER(ucsim, UCSIM, [Disables configuring and building of ucsim]) -AC_DO_DISABLER([device-lib], DEVICE_LIB, [Disables building device libraries]) +AC_DO_DISABLER(device-lib, DEVICE_LIB, [Disables building device libraries]) AC_DO_DISABLER(packihx, PACKIHX, [Disables building packihx]) AC_DO_DISABLER(sdcpp, SDCPP, [Disables building sdcpp]) @@ -735,7 +735,7 @@ sdcc ${VERSION} is now configured for Disable packihx: ${OPT_DISABLE_PACKIHX} Disable ucsim: ${OPT_DISABLE_UCSIM} Disable device lib: ${OPT_DISABLE_DEVICE_LIB} - Disable ucsim: ${OPT_DISABLE_UCSIM} + Disable sdcpp: ${OPT_DISABLE_SDCPP} Enable documentation: ${OPT_ENABLE_DOC} Enable libgc: ${OPT_ENABLE_LIBGC} diff --git a/device/lib/Makefile.in b/device/lib/Makefile.in index ca53e713..5afefb0b 100644 --- a/device/lib/Makefile.in +++ b/device/lib/Makefile.in @@ -213,9 +213,12 @@ TARGETS += model-pic16 endif ifeq ($(OPT_DISABLE_Z80), 0) -TARGETS += model-z80 model-gbz80 +TARGETS += model-z80 endif +ifeq ($(OPT_DISABLE_GBZ80), 0) +TARGETS += model-gbz80 +endif # Compiling entire program or any subproject # ------------------------------------------ diff --git a/install-sh b/install-sh index 89fc9b09..39ed53b7 100755 --- a/install-sh +++ b/install-sh @@ -17,6 +17,9 @@ # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" +# make sure ordinary users can access files installed by +# a restrictive root using umaks 0077 +umask 0022 # put in absolute paths if you don't have them in your path; or use env. vars. -- 2.30.2