Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
f1c44273
Commit
f1c44273
authored
Feb 09, 2012
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a check to see whether the installed cunit requires -lncurses
parent
61dc6913
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
configure.ac
configure.ac
+11
-0
tests/Makefile.am
tests/Makefile.am
+1
-1
No files found.
configure.ac
View file @
f1c44273
...
...
@@ -65,6 +65,17 @@ if test "x${have_cunit}" = "xno"; then
AC_SUBST([CUNIT_CFLAGS])
fi
fi
if test "x${have_cunit}" = "xyes"; then
# Check whether the installed cunit requires ncurses. This is
# needed because cunit in Mac OS X requires it.
LIBS_TEMP=${LIBS}
LIBS=${CUNIT_LIBS}
AC_SEARCH_LIBS([CU_initialize_registry], [ncurses])
CUNIT_LIBS=${LIBS}
AC_SUBST([CUNIT_LIBS])
LIBS=${LIBS_TEMP}
fi
AM_CONDITIONAL([HAVE_CUNIT], [ test "x${have_cunit}" = "xyes" ])
AX_HAVE_EPOLL([have_epoll=yes], [have_epoll=no])
AM_CONDITIONAL([HAVE_EPOLL], [ test "x${have_epoll}" = "xyes" ])
...
...
tests/Makefile.am
View file @
f1c44273
...
...
@@ -36,7 +36,7 @@ HFILES = spdylay_pq_test.h spdylay_map_test.h spdylay_queue_test.h \
main_SOURCES
=
$(HFILES)
$(OBJECTS)
main_LDADD
=
${top_builddir}
/lib/libspdylay.la
main_LDFLAGS
=
-static
@CUNIT_LIBS@
-lncurses
main_LDFLAGS
=
-static
@CUNIT_LIBS@
AM_CFLAGS
=
-Wall
-g
-O2
-I
${top_srcdir}
/lib
-I
${top_srcdir}
/lib/includes
\
@CUNIT_CFLAGS@
...
...
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