Revert "fix --with-cligen build option"
This reverts commit ea14b4fa24.
This commit is contained in:
parent
f5a2c0b182
commit
30fbb82fc6
2 changed files with 4 additions and 10 deletions
|
|
@ -194,9 +194,6 @@ LIBDIR=`eval echo \`eval echo $libdir\``
|
|||
LIBEXECDIR=`eval echo $libexecdir`
|
||||
LOCALSTATEDIR=`eval echo $localstatedir`
|
||||
|
||||
CPPFLAGS="-I${INCLUDEDIR} ${CPPFLAGS}"
|
||||
LDFLAGS="-L${LIBDIR} ${LDFLAGS}"
|
||||
|
||||
# This is for cligen
|
||||
AC_ARG_WITH([cligen], [AS_HELP_STRING([--with-cligen=dir], [Use CLIGEN installation in this dir])], [
|
||||
CLIGEN_DIR="$withval"
|
||||
|
|
@ -204,8 +201,8 @@ AC_ARG_WITH([cligen], [AS_HELP_STRING([--with-cligen=dir], [Use CLIGEN installat
|
|||
AC_SUBST(CLIGEN_DIR)
|
||||
if test -n "${CLIGEN_DIR}" -a -d "${CLIGEN_DIR}"; then
|
||||
echo "Using CLIGEN here: ${CLIGEN_DIR}"
|
||||
CPPFLAGS="-I${CLIGEN_DIR}${INCLUDEDIR} ${CPPFLAGS}"
|
||||
LDFLAGS="-L${CLIGEN_DIR}${LIBDIR} ${LDFLAGS}"
|
||||
CPPFLAGS="-I${CLIGEN_DIR}/include ${CPPFLAGS}"
|
||||
LDFLAGS="-L${CLIGEN_DIR}/lib ${LDFLAGS}"
|
||||
fi
|
||||
|
||||
# Disable/enable yang patch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue