Skip to content

Commit

Permalink
add swss-common-{inc,lib} to specify the prefix of swss-common library (
Browse files Browse the repository at this point in the history
#590)

Signed-off-by: Guohan Lu <lguohan@gmail.com>
  • Loading branch information
lguohan authored Apr 7, 2020
1 parent 2d68abc commit c961260
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,23 @@ esac],[debug=false])
AM_CONDITIONAL(DEBUG, test x$debug = xtrue)

AC_ARG_WITH(sai,
[ --with-sai compiling against specific SAI],
[ --with-sai=vs compiling against specific SAI],
[case "${withval}" in
vs) sai=vs ;;
*) AC_MSG_ERROR(bad value ${withval} for --with-sai) ;;
esac])
AM_CONDITIONAL(SAIVS, test x$sai = xvs)

AC_ARG_WITH(swss-common-inc,
[ --with-swss-common-inc=DIR
prefix where swss-common includes are installed],
[AC_SUBST(CPPFLAGS, "$CPPFLAGS -I${withval}")])

AC_ARG_WITH(swss-common-lib,
[ --with-swss-common-lib=DIR
prefix where swss-common libraries are installed],
[AC_SUBST(LDFLAGS, "$LDFLAGS -L${withval}")])

AC_ARG_ENABLE(rpcserver,
[ --enable-rpcserver compile with thrift rpcserver included],
[case "${enableval}" in
Expand Down

0 comments on commit c961260

Please sign in to comment.