<h1>Project "FreeSWITCH Source" received a push.</h1>
<h2>branch: master updated</h2>
<pre>
via: f20ba4d1f6f145118362d3c5246f27d647fbb6d2 (commit)
from: a3b18e5b7cf33bf9de36cb12c953a5b527549a9f (commit)
</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Stefan Knoblich
comments:
Add --with-pkglibdir option to set the installation directory of freeswitch.pc.
Default behaviour is unchanged.
Packagers should use this option to install freeswitch.pc into
the system's main pkg-config directory (e.g. /usr/lib/pkgconfig).
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
Tested-by: Stefan Knoblich <s.knoblich@axsentis.de>
<span style="color: #000080; font-weight: bold">diff --git a/Makefile.am b/Makefile.am</span>
<span style="color: #000080; font-weight: bold">index 37a01d2..5b6b989 100644</span>
<span style="color: #A00000">--- a/Makefile.am</span>
<span style="color: #00A000">+++ b/Makefile.am</span>
<span style="color: #800080; font-weight: bold">@@ -356,7 +356,7 @@ scripts/fsxs: scripts/fsxs.in</span>
## misc
##
<span style="color: #A00000">-pkgconfigdir = $(libdir)/pkgconfig</span>
<span style="color: #00A000">+pkgconfigdir = @pkgconfigdir@</span>
pkgconfig_DATA = build/freeswitch.pc
$(switch_builddir)/modules.conf:
<span style="color: #000080; font-weight: bold">diff --git a/configure.in b/configure.in</span>
<span style="color: #000080; font-weight: bold">index a0c9418..0e45e06 100644</span>
<span style="color: #A00000">--- a/configure.in</span>
<span style="color: #00A000">+++ b/configure.in</span>
<span style="color: #800080; font-weight: bold">@@ -93,6 +93,17 @@ AC_SUBST(libdir)</span>
AC_SUBST(bindir)
AC_SUBST(includedir)
<span style="color: #00A000">+AC_ARG_WITH([pkgconfigdir],</span>
<span style="color: #00A000">+        [AS_HELP_STRING([--with-pkgconfigdir=DIR], [Installation directory for pkgconfig file (default: \${libdir}/pkgconfig)])],</span>
<span style="color: #00A000">+        [case "${withval}" in</span>
<span style="color: #00A000">+         yes|no) AC_MSG_ERROR([Invalid value ${withval} for option --with-pkgconfigdir]) ;;</span>
<span style="color: #00A000">+         *) pkgconfigdir="${withval}" ;;</span>
<span style="color: #00A000">+         esac</span>
<span style="color: #00A000">+        ],</span>
<span style="color: #00A000">+        [pkgconfigdir="${libdir}/pkgconfig"]</span>
<span style="color: #00A000">+)</span>
<span style="color: #00A000">+AC_SUBST([pkgconfigdir])</span>
<span style="color: #00A000">+</span>
#Set default language
AC_LANG_C
# Checks for programs.
</pre></div>
========================================================================<pre>
Summary of changes:
Makefile.am | 2 +-
configure.in | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletions(-)
</pre>
<p>this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email<br />
For more info, see <a href="http://blog.chomperstomp.com/?p=630">http://blog.chomperstomp.com/?p=630</a>
-- <br />
FreeSWITCH Source</p>