Commit 21b8a7cf authored by legoc's avatar legoc
Browse files

changed with-* m4

parent 6667754d
......@@ -4,16 +4,16 @@
#
AC_DEFUN([AC_LIBPROTOBUF],
[
AC_ARG_WITH([libprotobuf],
AS_HELP_STRING([--with-libprotobuf=PREFIX],[Specify protobuf library location]),
AC_ARG_WITH([protobuf],
AS_HELP_STRING([--with-protobuf=PREFIX],[Specify protobuf library location]),
[],
[with_libprotobuf=yes])
[with_protobuf=yes])
PROTOBUF_LIBS=
protobuf_save_LIBS="$LIBS"
if test $with_libprotobuf != no; then
if test $with_libprotobuf != yes; then
protobuf_possible_path="$with_libprotobuf"
if test $with_protobuf != no; then
if test $with_protobuf != yes; then
protobuf_possible_path="$with_protobuf"
else
protobuf_possible_path="/usr/local /usr /opt /var"
fi
......
......@@ -4,16 +4,16 @@
#
AC_DEFUN([AC_LIBZMQ],
[
AC_ARG_WITH([libzmq],
AS_HELP_STRING([--with-libzmq=PREFIX],[Specify zeromq library location]),
AC_ARG_WITH([zmq],
AS_HELP_STRING([--with-zmq=PREFIX],[Specify zeromq library location]),
[],
[with_libzmq=yes])
[with_zmq=yes])
ZEROMQ_LIBS=
zmq_save_LIBS="$LIBS"
if test $with_libzmq != no; then
if test $with_libzmq != yes; then
zeromq_possible_path="$with_libzmq"
if test $with_zmq != no; then
if test $with_zmq != yes; then
zeromq_possible_path="$with_zmq"
else
zeromq_possible_path="/usr/local /usr /opt /var"
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment