<h1>Project "FreeSWITCH Source" received a push.</h1>
<h2>branch: master updated</h2>
<pre>
via: c8065499adc3bfdd97d3c51e44465865f9417efb (commit)
from: f20ba4d1f6f145118362d3c5246f27d647fbb6d2 (commit)
</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Stefan Knoblich
comments:
[FreeTDM] Add --with-pkgconfigdir option to FreeTDM.
Default behaviour is unchanged.
Packagers should use this option to install freetdm.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/libs/freetdm/Makefile.am b/libs/freetdm/Makefile.am</span>
<span style="color: #000080; font-weight: bold">index b3353f3..63e04b6 100644</span>
<span style="color: #A00000">--- a/libs/freetdm/Makefile.am</span>
<span style="color: #00A000">+++ b/libs/freetdm/Makefile.am</span>
<span style="color: #800080; font-weight: bold">@@ -62,7 +62,7 @@ LINK = $(LIBTOOL) --mode=link --tag=CC $(CC) $(FTDM_CFLAGS) $(LDFLAGS) -o $</span>
#
EXTRA_DIST = freetdm.pc.in
<span style="color: #A00000">-pkgconfigdir = $(libdir)/pkgconfig</span>
<span style="color: #00A000">+pkgconfigdir = @pkgconfigdir@</span>
pkgconfig_DATA = freetdm.pc
<span style="color: #000080; font-weight: bold">diff --git a/libs/freetdm/configure.ac b/libs/freetdm/configure.ac</span>
<span style="color: #000080; font-weight: bold">index 1f4fc9c..29661c1 100644</span>
<span style="color: #A00000">--- a/libs/freetdm/configure.ac</span>
<span style="color: #00A000">+++ b/libs/freetdm/configure.ac</span>
<span style="color: #800080; font-weight: bold">@@ -65,6 +65,18 @@ AC_ARG_WITH([modinstdir],</span>
)
AC_SUBST([modinstdir])
<span style="color: #00A000">+# freetdm.pc pkgconfig file</span>
<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>
AC_ARG_ENABLE([enable_64],
        [AS_HELP_STRING([--enable-64], [Enable 64bit compilation])],
        [enable_64="${enableval}"],
</pre></div>
========================================================================<pre>
Summary of changes:
libs/freetdm/Makefile.am | 2 +-
libs/freetdm/configure.ac | 12 ++++++++++++
2 files changed, 13 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>