Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
78e5c6fc
Commit
78e5c6fc
authored
9 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
autoconf: readline dependency is mendatory
parent
8575bd4f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure.ac
+3
-1
3 additions, 1 deletion
configure.ac
tools/Makefile.am
+3
-3
3 additions, 3 deletions
tools/Makefile.am
with
6 additions
and
4 deletions
configure.ac
+
3
−
1
View file @
78e5c6fc
...
@@ -79,7 +79,9 @@ PKG_CHECK_MODULES([msgpack], [msgpack >= 1.1])
...
@@ -79,7 +79,9 @@ PKG_CHECK_MODULES([msgpack], [msgpack >= 1.1])
AC_ARG_ENABLE([tools], AS_HELP_STRING([--disable-tools],[Disable tools (CLI DHT node)]),,build_tools=yes)
AC_ARG_ENABLE([tools], AS_HELP_STRING([--disable-tools],[Disable tools (CLI DHT node)]),,build_tools=yes)
AM_CONDITIONAL(ENABLE_TOOLS, test x$build_tools == xyes)
AM_CONDITIONAL(ENABLE_TOOLS, test x$build_tools == xyes)
AM_COND_IF([ENABLE_TOOLS], [
AM_COND_IF([ENABLE_TOOLS], [
AC_CHECK_HEADERS([readline/readline.h readline/history.h])
AC_CHECK_HEADERS([readline/readline.h readline/history.h], [], [
AC_MSG_ERROR([unable to find readline.h])
])
])
])
AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([doc/Doxyfile doc/Makefile])])
AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([doc/Doxyfile doc/Makefile])])
...
...
This diff is collapsed.
Click to expand it.
tools/Makefile.am
+
3
−
3
View file @
78e5c6fc
...
@@ -3,10 +3,10 @@ bin_PROGRAMS = dhtnode dhtchat dhtscanner
...
@@ -3,10 +3,10 @@ bin_PROGRAMS = dhtnode dhtchat dhtscanner
AM_CPPFLAGS
=
-I
../include
AM_CPPFLAGS
=
-I
../include
dhtnode_SOURCES
=
dhtnode.cpp
dhtnode_SOURCES
=
dhtnode.cpp
dhtnode_LDFLAGS
=
-lopendht
-L
../src/.libs @GNUTLS_LIBS@
dhtnode_LDFLAGS
=
-lopendht
-lreadline
-L
../src/.libs @GNUTLS_LIBS@
dhtchat_SOURCES
=
dhtchat.cpp
dhtchat_SOURCES
=
dhtchat.cpp
dhtchat_LDFLAGS
=
-lopendht
-L
../src/.libs @GNUTLS_LIBS@
dhtchat_LDFLAGS
=
-lopendht
-lreadline
-L
../src/.libs @GNUTLS_LIBS@
dhtscanner_SOURCES
=
dhtscanner.cpp
dhtscanner_SOURCES
=
dhtscanner.cpp
dhtscanner_LDFLAGS
=
-lopendht
-L
../src/.libs @GNUTLS_LIBS@
dhtscanner_LDFLAGS
=
-lopendht
-lreadline
-L
../src/.libs @GNUTLS_LIBS@
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment