Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dmitry Baryshkov
nettle
Commits
7f3dec63
Commit
7f3dec63
authored
Oct 02, 2002
by
Niels Möller
Browse files
Fixed the enable-shared option.
Rev: src/nettle/configure.ac:1.12
parent
637bd6d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
7f3dec63
...
...
@@ -40,7 +40,7 @@ AC_ARG_ENABLE(assembler,
[enable_assembler=yes])
AC_ARG_ENABLE(shared,
AC_HELP_STRING([--enable-shared], [Build a shared library]),
AC_HELP_STRING([--enable-shared], [Build a shared library]),
,
[enable_shared=no])
LSH_RPATH_INIT([`echo $with_lib_path | sed 's/:/ /g'` \
...
...
@@ -96,15 +96,24 @@ SHLIBSONAME='$(SHLIBFORLINK).$(MAJOR)'
SHLIBFILE='$(SHLIBSONAME).$(MINOR)'
SHLIBLINK='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME)'
echo "enable_shared: $enable_shared"
if test "x$enable_shared" = xyes ; then
SHLIBTARGET='$(SHLIBFORLINK)'
SHLIBINSTALL=install-shared
else
SHLIBTARGET=''
SHLIBINSTALL=''
fi
AC_SUBST(SHLIBCFLAGS)
AC_SUBST(SHLIBFORLINK)
AC_SUBST(SHLIBSONAME)
AC_SUBST(SHLIBFILE)
AC_SUBST(SHLIBLINK)
AC_SUBST(SHLIBTARGET)
AC_SUBST(SHLIBINSTALL)
AC_PATH_PROG(M4, m4, m4)
# Checks for typedefs, structures, and compiler characteristics.
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment