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
cbbb1e92
Commit
cbbb1e92
authored
Dec 18, 2010
by
Mikko Koppanen
Committed by
Martin Sustrik
Dec 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix passing through CFLAGS/CPPFLAGS/CXXFLAGS when using --enable-debug
Signed-off-by:
Mikko Koppanen
<
mkoppanen@php.net
>
parent
d15e881e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
acinclude.m4
acinclude.m4
+6
-6
configure.in
configure.in
+5
-0
No files found.
acinclude.m4
View file @
cbbb1e92
...
...
@@ -302,14 +302,14 @@ AC_DEFUN([AC_ZMQ_CHECK_ENABLE_DEBUG], [{
CXXFLAGS="-g0 "
fi
if test "x$
LOCAL
_CFLAGS" != "xnone"; then
CFLAGS="${CFLAGS} ${
LOCAL
_CFLAGS}"
if test "x$
ZMQ_ORIG
_CFLAGS" != "xnone"; then
CFLAGS="${CFLAGS} ${
ZMQ_ORIG
_CFLAGS}"
fi
if test "x$
LOCAL
_CPPFLAGS" != "xnone"; then
CPPFLAGS="${CPPFLAGS} ${
LOCAL
_CPPFLAGS}"
if test "x$
ZMQ_ORIG
_CPPFLAGS" != "xnone"; then
CPPFLAGS="${CPPFLAGS} ${
ZMQ_ORIG
_CPPFLAGS}"
fi
if test "x$
LOCAL
_CXXFLAGS" != "xnone"; then
CXXFLAGS="${CXXFLAGS} ${
LOCAL
_CXXFLAGS}"
if test "x$
ZMQ_ORIG
_CXXFLAGS" != "xnone"; then
CXXFLAGS="${CXXFLAGS} ${
ZMQ_ORIG
_CXXFLAGS}"
fi
AC_MSG_RESULT(yes)
else
...
...
configure.in
View file @
cbbb1e92
...
...
@@ -31,6 +31,11 @@ AC_SUBST(PACKAGE_VERSION)
LTVER="1:0:0"
AC_SUBST(LTVER)
# Take a copy of original flags
ZMQ_ORIG_CFLAGS="${CFLAGS:-none}"
ZMQ_ORIG_CPPFLAGS="${CPPFLAGS:-none}"
ZMQ_ORIG_CXXFLAGS="${CXXFLAGS:-none}"
# Checks for programs.
AC_PROG_CC
AC_PROG_CC_C99
...
...
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