Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
6fd403c4
Commit
6fd403c4
authored
Apr 04, 2011
by
Mikko Koppanen
Committed by
Martin Sustrik
Apr 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make pkg-config dependency conditional
Signed-off-by:
Mikko Koppanen
<
mkoppanen@php.net
>
parent
4b52cf94
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
+8
-11
autogen.sh
autogen.sh
+0
-6
configure.in
configure.in
+8
-5
No files found.
autogen.sh
View file @
6fd403c4
...
...
@@ -20,12 +20,6 @@
# Script to generate all required files from fresh git checkout.
command
-v
pkg-config
>
/dev/null 2>&1
if
[
$?
-ne
0
]
;
then
echo
"autogen.sh: error: could not find pkg-config. pkg-config is required to run autogen.sh."
1>&2
exit
1
fi
command
-v
libtool
>
/dev/null 2>&1
if
[
$?
-ne
0
]
;
then
echo
"autogen.sh: error: could not find libtool. libtool is required to run autogen.sh."
1>&2
...
...
configure.in
View file @
6fd403c4
...
...
@@ -278,7 +278,7 @@ AC_ARG_WITH([pgm], [AS_HELP_STRING([--with-pgm],
# build using system pgm
AC_ARG_WITH([system-pgm], [AS_HELP_STRING([--with-system-pgm],
[build libzmq with PGM extension [default=no]])],
[build libzmq with PGM extension
. Requires pkg-config
[default=no]])],
[with_system_pgm_ext=yes], [with_system_pgm_ext=no])
if test "x$with_pgm_ext" != "xno" -a "x$with_system_pgm_ext" != "xno"; then
...
...
@@ -333,10 +333,13 @@ fi
# Build with system openpgm
if test "x$with_system_pgm_ext" != "xno"; then
PKG_CHECK_MODULES([OpenPGM], [openpgm-5.1 >= 5.1])
AC_DEFINE(ZMQ_HAVE_OPENPGM, 1, [Have OpenPGM extension])
LIBZMQ_EXTRA_CXXFLAGS="$OpenPGM_CFLAGS $LIBZMQ_EXTRA_CXXFLAGS"
LIBS="$OpenPGM_LIBS $LIBS"
m4_ifdef([PKG_CHECK_MODULES], [
PKG_CHECK_MODULES([OpenPGM], [openpgm-5.1 >= 5.1])
AC_DEFINE(ZMQ_HAVE_OPENPGM, 1, [Have OpenPGM extension])
LIBZMQ_EXTRA_CXXFLAGS="$OpenPGM_CFLAGS $LIBZMQ_EXTRA_CXXFLAGS"
LIBS="$OpenPGM_LIBS $LIBS"
],
[AC_MSG_ERROR([--with-system-pgm requires a working pkg-config installation])])
fi
AC_SUBST(pgm_basename)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment