Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
f021bd3d
Commit
f021bd3d
authored
Oct 02, 2012
by
Pedro Gonnet
Browse files
straight-forward check for zlib.
Former-commit-id: 15e275663d2e1d341bbc7d61529099cfd6e2ebbf
parent
eac2666f
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
f021bd3d
...
...
@@ -58,7 +58,10 @@ ACX_PTHREAD([LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
non-standard location.]))
# check for zlib
AX_CHECK_ZLIB()
AC_CHECK_LIB(z,gzopen,[
AC_DEFINE([HAVE_LIBZ],[1],[Set to 1 if zlib is installed.])
LDFLAGS="$LDFLAGS -lz"
],[])
# check for memalign
AX_FUNC_POSIX_MEMALIGN
...
...
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