diff options
author | Jisi Liu <liujisi@google.com> | 2017-11-27 09:45:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-27 09:45:36 -0800 |
commit | f2127b667efd6d43d33d6d2d2be387991e394a30 (patch) | |
tree | b56ec822baca47010891507866ea650717210d8f | |
parent | f08e4dd9845c5ba121b402f8768f3d2617191bbe (diff) | |
parent | 8ff22844568f5e093ed33edadb8bc0bf4c0dbc2c (diff) | |
download | protobuf-f2127b667efd6d43d33d6d2d2be387991e394a30.tar.gz protobuf-f2127b667efd6d43d33d6d2d2be387991e394a30.tar.bz2 protobuf-f2127b667efd6d43d33d6d2d2be387991e394a30.zip |
Merge pull request #3416 from xiaoshuang-lu/PROTOBUF-3404
[PROTOBUF-3404] add --with-zlib=PATH to configure.ac script
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0d3e5fb3..ae15f5f8 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,16 @@ AC_ARG_WITH([zlib], [include classes for streaming compressed data in and out @<:@default=check@:>@])], [],[with_zlib=check]) +AC_ARG_WITH([zlib-include], + [AS_HELP_STRING([--with-zlib-include=PATH], + [zlib include directory])], + [CPPFLAGS="-I$withval $CPPFLAGS"]) + +AC_ARG_WITH([zlib-lib], + [AS_HELP_STRING([--with-zlib-lib=PATH], + [zlib lib directory])], + [LDFLAGS="-L$withval $LDFLAGS"]) + AC_ARG_WITH([protoc], [AS_HELP_STRING([--with-protoc=COMMAND], [use the given protoc command instead of building a new one when building tests (useful for cross-compiling)])], |