<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-base.

</pre>
<p><a href="https://github.com/macports/macports-base/commit/8e663b9d62c69d9138989f4fc022beecfed1af4b">https://github.com/macports/macports-base/commit/8e663b9d62c69d9138989f4fc022beecfed1af4b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8e663b9d62c69d9138989f4fc022beecfed1af4b
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Wed Mar 28 12:56:41 2018 +0200

<span style='display:block; white-space:pre;color:#404040;'>    configure: Add --without-startupitems option
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    This controls the value of the option startupitem_install in
</span><span style='display:block; white-space:pre;color:#404040;'>    macports.conf. It is meant to simplify a secondary installation.
</span>---
 aclocal.m4           | 20 ++++++++++++++++++++
 configure            | 26 ++++++++++++++++++++++++++
 configure.ac         |  1 +
 doc/macports.conf.in |  2 +-
 4 files changed, 48 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aclocal.m4 b/aclocal.m4
</span><span style='display:block; white-space:pre;color:#808080;'>index b3bac7f..b2ef01b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aclocal.m4
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aclocal.m4
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -766,6 +766,26 @@ AC_DEFUN([MP_PATH_FRAMEWORKS],[
</span>   prefix=$oldprefix
 ])
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# MP_CHECK_STARTUPITEMS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#-------------------------------------------------
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+AC_DEFUN([MP_CHECK_STARTUPITEMS],[
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   dnl if the user specifies --without-startupitems,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   dnl set "startupitem_install no" in macports.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   AC_ARG_WITH(startupitems, [AS_HELP_STRING([--without-startupitems],[set "startupitem_install no" in macports.conf])], [with_startupitems=$withval], [with_startupitems=yes] )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   AC_MSG_CHECKING([for startupitem_install])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   if test "x$with_startupitems" != "xno" ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           startupitem_install="#startupitem_install  yes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           startupitem_install="startupitem_install   no"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   AC_MSG_RESULT([$with_startupitems])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   AC_SUBST(startupitem_install)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # MP_UNIVERSAL_OPTIONS
 #---------------------------------------
 AC_DEFUN([MP_UNIVERSAL_OPTIONS],[
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/configure b/configure
</span><span style='display:block; white-space:pre;color:#808080;'>index 998e867..61a3bea 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/configure
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/configure
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -673,6 +673,7 @@ GREP
</span> CPP
 UNIVERSAL_ARCHFLAGS
 UNIVERSAL_ARCHS
<span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem_install
</span> MPFRAMEWORKSDIR
 MPAPPLICATIONSDIR
 DSTMODE
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -840,6 +841,7 @@ with_directory_mode
</span> with_shared_directory
 with_applications_dir
 with_frameworks_dir
<span style='display:block; white-space:pre;background:#e0ffe0;'>+with_startupitems
</span> with_universal_archs
 enable_readline
 with_curlprefix
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1517,6 +1519,7 @@ Optional Packages:
</span>   --with-shared-directory use 0775 permissions for installed directories
   --with-applications-dir applications installation directory
   --with-frameworks-dir   frameworks installation directory
<span style='display:block; white-space:pre;background:#e0ffe0;'>+  --without-startupitems  set "startupitem_install no" in macports.conf
</span>   --with-universal-archs="CPU"
                           universal CPU architectures (space separated)
   --with-curlprefix       base directory for the curl install ('/usr', '/usr/local', ...)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6693,6 +6696,29 @@ $as_echo "$MPFRAMEWORKSDIR" >&6; }
</span>   prefix=$oldprefix
 
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Check whether --with-startupitems was given.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if test "${with_startupitems+set}" = set; then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+  withval=$with_startupitems; with_startupitems=$withval
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+  with_startupitems=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for startupitem_install" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+$as_echo_n "checking for startupitem_install... " >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   if test "x$with_startupitems" != "xno" ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           startupitem_install="#startupitem_install  yes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           startupitem_install="startupitem_install   no"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_startupitems" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+$as_echo "$with_startupitems" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Check for universal options
 
 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/configure.ac b/configure.ac
</span><span style='display:block; white-space:pre;color:#808080;'>index 9ac13d7..7db12a3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/configure.ac
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/configure.ac
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -228,6 +228,7 @@ MP_SHARED_DIRECTORY
</span> # Check for default directories
 MP_PATH_APPLICATIONS
 MP_PATH_FRAMEWORKS
<span style='display:block; white-space:pre;background:#e0ffe0;'>+MP_CHECK_STARTUPITEMS
</span> 
 # Check for universal options
 MP_UNIVERSAL_OPTIONS
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/doc/macports.conf.in b/doc/macports.conf.in
</span><span style='display:block; white-space:pre;color:#808080;'>index e571fc5..04ea52e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/doc/macports.conf.in
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/doc/macports.conf.in
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -131,7 +131,7 @@ universal_archs         @UNIVERSAL_ARCHS@
</span> # "no", symlinks will not be created; otherwise, symlinks will be placed
 # in /Library/LaunchDaemons or /Library/LaunchAgents as appropriate.
 # This setting only applies when building ports from source.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#startupitem_install    yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@startupitem_install@
</span> 
 # Whether to allow ports to automatically load their StartupItems.
 # If set to "no", StartupItems will never be loaded unless the user
</pre><pre style='margin:0'>

</pre>