diff options
author | Xiaoshuang LU <luxiaoshuang@qiyi.com> | 2017-07-25 19:28:30 +0800 |
---|---|---|
committer | Xiaoshuang LU <luxiaoshuang@qiyi.com> | 2017-11-23 10:53:31 +0800 |
commit | 8ff22844568f5e093ed33edadb8bc0bf4c0dbc2c (patch) | |
tree | b56ec822baca47010891507866ea650717210d8f | |
parent | f08e4dd9845c5ba121b402f8768f3d2617191bbe (diff) |
[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)])], |