- Reverted removal of CLICON_RESTCONF_PATH since it was used there Misc fixes: initialized variables, docs, removed obsolete --enable-optyang
16 lines
341 B
Bash
16 lines
341 B
Bash
#!/bin/sh
|
|
# A top-level configurer for clixon
|
|
set -eux
|
|
|
|
if [ $# -ne 1 ]; then
|
|
echo "usage: $0 <restconf>"
|
|
echo " where <restconf> is fcgi or native"
|
|
exit -1
|
|
fi
|
|
restconf=$1
|
|
|
|
if [ $(uname) = "FreeBSD" ]; then
|
|
./configure --with-cligen=/usr/local --with-restconf=$restconf
|
|
else
|
|
./configure --with-restconf=$restconf
|
|
fi
|