mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Add configure option to control gdomap port
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33264 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7e505e6a0f
commit
c058c30391
7 changed files with 57 additions and 1 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2011-06-09 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* configure: Regenerate
|
||||||
|
* config.mak.in:
|
||||||
|
* configure.ac:
|
||||||
|
* Source/Makefile.preamble:
|
||||||
|
* Tools/Makefile.postamble:
|
||||||
|
* Tools/Makefile.preamble:
|
||||||
|
Add --with-gdomap-port= to specify an alternative port
|
||||||
|
|
||||||
2011-06-07 Richard Frith-Macdonald <rfm@gnu.org>
|
2011-06-07 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/Additions/GSLock.m:
|
* Source/Additions/GSLock.m:
|
||||||
|
|
|
@ -56,11 +56,15 @@ ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) $(WARN_FLAGS) \
|
||||||
|
|
||||||
|
|
||||||
# Additional flags to pass to the Objective-C compiler
|
# Additional flags to pass to the Objective-C compiler
|
||||||
#£ADDITIONAL_OBJCFLAGS+=
|
#ADDITIONAL_OBJCFLAGS+=
|
||||||
|
|
||||||
# Additional flags to pass to the C compiler
|
# Additional flags to pass to the C compiler
|
||||||
#ADDITIONAL_CFLAGS+=
|
#ADDITIONAL_CFLAGS+=
|
||||||
|
|
||||||
|
ifneq ($(GNUSTEP_GDOMAP_PORT_OVERRIDE),no)
|
||||||
|
ADDITIONAL_CPPFLAGS += -DGDOMAP_PORT_OVERRIDE=$(GNUSTEP_GDOMAP_PORT_OVERRIDE)
|
||||||
|
endif
|
||||||
|
|
||||||
# Additional include directories the compiler should search
|
# Additional include directories the compiler should search
|
||||||
ADDITIONAL_INCLUDE_DIRS = \
|
ADDITIONAL_INCLUDE_DIRS = \
|
||||||
-I../Headers \
|
-I../Headers \
|
||||||
|
|
|
@ -62,6 +62,7 @@ after-install::
|
||||||
which gzip && rm -f $(GNUSTEP_DOC_MAN)/man8/$$file.gz \
|
which gzip && rm -f $(GNUSTEP_DOC_MAN)/man8/$$file.gz \
|
||||||
&& gzip -9 $(GNUSTEP_DOC_MAN)/man8/$$file; \
|
&& gzip -9 $(GNUSTEP_DOC_MAN)/man8/$$file; \
|
||||||
done$(END_ECHO)
|
done$(END_ECHO)
|
||||||
|
ifeq ($(GNUSTEP_GDOMAP_PORT_OVERRIDE),no)
|
||||||
ifeq ($(GNUSTEP_INSTALL_GDOMAP_AS_SETUID),no)
|
ifeq ($(GNUSTEP_INSTALL_GDOMAP_AS_SETUID),no)
|
||||||
$(ECHO_NOTHING)echo ""; \
|
$(ECHO_NOTHING)echo ""; \
|
||||||
echo "Note: gdomap has not been made setuid to root, so you must"; \
|
echo "Note: gdomap has not been made setuid to root, so you must"; \
|
||||||
|
@ -98,6 +99,7 @@ else
|
||||||
echo "************************************************************"; \
|
echo "************************************************************"; \
|
||||||
$(END_ECHO)
|
$(END_ECHO)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# Things to do before uninstalling
|
# Things to do before uninstalling
|
||||||
before-uninstall::
|
before-uninstall::
|
||||||
|
|
|
@ -38,6 +38,9 @@
|
||||||
|
|
||||||
# Additional flags to pass to the preprocessor
|
# Additional flags to pass to the preprocessor
|
||||||
ADDITIONAL_CPPFLAGS += $(WARN_FLAGS)
|
ADDITIONAL_CPPFLAGS += $(WARN_FLAGS)
|
||||||
|
ifneq ($(GNUSTEP_GDOMAP_PORT_OVERRIDE),no)
|
||||||
|
ADDITIONAL_CPPFLAGS += -DGDOMAP_PORT_OVERRIDE=$(GNUSTEP_GDOMAP_PORT_OVERRIDE)
|
||||||
|
endif
|
||||||
|
|
||||||
# Additional flags to pass to the Objective-C compiler
|
# Additional flags to pass to the Objective-C compiler
|
||||||
#ADDITIONAL_OBJCFLAGS +=
|
#ADDITIONAL_OBJCFLAGS +=
|
||||||
|
|
|
@ -33,6 +33,7 @@ ifeq ($(shared),yes)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
GNUSTEP_INSTALL_GDOMAP_AS_SETUID=@GNUSTEP_INSTALL_GDOMAP_AS_SETUID@
|
GNUSTEP_INSTALL_GDOMAP_AS_SETUID=@GNUSTEP_INSTALL_GDOMAP_AS_SETUID@
|
||||||
|
GNUSTEP_GDOMAP_PORT_OVERRIDE=@GNUSTEP_GDOMAP_PORT_OVERRIDE@
|
||||||
|
|
||||||
GNUSTEP_BASE_HAVE_LIBXML=@HAVE_LIBXML@
|
GNUSTEP_BASE_HAVE_LIBXML=@HAVE_LIBXML@
|
||||||
GNUSTEP_BASE_HAVE_GNUTLS=@HAVE_GNUTLS@
|
GNUSTEP_BASE_HAVE_GNUTLS=@HAVE_GNUTLS@
|
||||||
|
|
22
configure
vendored
22
configure
vendored
|
@ -645,6 +645,7 @@ MAJOR_VERSION
|
||||||
VERSION
|
VERSION
|
||||||
subdirs
|
subdirs
|
||||||
GNUSTEP_INSTALL_GDOMAP_AS_SETUID
|
GNUSTEP_INSTALL_GDOMAP_AS_SETUID
|
||||||
|
GNUSTEP_GDOMAP_PORT_OVERRIDE
|
||||||
WARN_FLAGS
|
WARN_FLAGS
|
||||||
LDIR_FLAGS
|
LDIR_FLAGS
|
||||||
INCLUDE_FLAGS
|
INCLUDE_FLAGS
|
||||||
|
@ -824,6 +825,7 @@ with_zeroconf_api
|
||||||
enable_icu
|
enable_icu
|
||||||
with_gmp_include
|
with_gmp_include
|
||||||
with_gmp_library
|
with_gmp_library
|
||||||
|
with_gdomap_port
|
||||||
enable_setuid_gdomap
|
enable_setuid_gdomap
|
||||||
enable_openssl
|
enable_openssl
|
||||||
with_openssl_include
|
with_openssl_include
|
||||||
|
@ -1575,6 +1577,7 @@ Optional Packages:
|
||||||
--with-zeroconf-api=API force use of a specific zeroconf API (mdns or avahi)
|
--with-zeroconf-api=API force use of a specific zeroconf API (mdns or avahi)
|
||||||
--with-gmp-include=PATH include path for gmp headers
|
--with-gmp-include=PATH include path for gmp headers
|
||||||
--with-gmp-library=PATH library path for gmp libraries
|
--with-gmp-library=PATH library path for gmp libraries
|
||||||
|
--with-gdomap-port=PORT alternative port for gdomap
|
||||||
--with-openssl-include=PATH include path for openssl headers
|
--with-openssl-include=PATH include path for openssl headers
|
||||||
--with-openssl-library=PATH library path for openssl libraries
|
--with-openssl-library=PATH library path for openssl libraries
|
||||||
|
|
||||||
|
@ -25087,6 +25090,25 @@ fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#--------------------------------------------------------------------
|
||||||
|
# Check if we should use an alternative gdomap port
|
||||||
|
#--------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Check whether --with-gdomap-port was given.
|
||||||
|
if test "${with_gdomap_port+set}" = set; then
|
||||||
|
withval=$with_gdomap_port; gdomap_port="$withval"
|
||||||
|
else
|
||||||
|
gdomap_port="no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if test "$gdomap_port" = "no"; then
|
||||||
|
GNUSTEP_GDOMAP_PORT_OVERRIDE="$gdomap_port"
|
||||||
|
else
|
||||||
|
GNUSTEP_GDOMAP_PORT_OVERRIDE="$gdomap_port"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# Check if we should install gdomap as setuid
|
# Check if we should install gdomap as setuid
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
|
14
configure.ac
14
configure.ac
|
@ -2917,6 +2917,20 @@ fi
|
||||||
|
|
||||||
AC_SUBST(WARN_FLAGS)
|
AC_SUBST(WARN_FLAGS)
|
||||||
|
|
||||||
|
#--------------------------------------------------------------------
|
||||||
|
# Check if we should use an alternative gdomap port
|
||||||
|
#--------------------------------------------------------------------
|
||||||
|
AC_ARG_WITH(gdomap-port,
|
||||||
|
[ --with-gdomap-port=PORT alternative port for gdomap],
|
||||||
|
gdomap_port="$withval", gdomap_port="no")
|
||||||
|
|
||||||
|
if test "$gdomap_port" = "no"; then
|
||||||
|
GNUSTEP_GDOMAP_PORT_OVERRIDE="$gdomap_port"
|
||||||
|
else
|
||||||
|
GNUSTEP_GDOMAP_PORT_OVERRIDE="$gdomap_port"
|
||||||
|
fi
|
||||||
|
AC_SUBST(GNUSTEP_GDOMAP_PORT_OVERRIDE)
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# Check if we should install gdomap as setuid
|
# Check if we should install gdomap as setuid
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue