* Removed cli callback vector functions. Set COMPAT_COMPAT_CLIV if you need to keep these functions in clixon_custom.h.
* Added --enable-debug.
This commit is contained in:
parent
c8733e5ed8
commit
ea13727e97
9 changed files with 232 additions and 129 deletions
42
configure
vendored
42
configure
vendored
|
|
@ -634,13 +634,8 @@ EXEEXT
|
|||
ac_ct_CC
|
||||
with_restconf
|
||||
RANLIB
|
||||
AR
|
||||
EXE_SUFFIX
|
||||
SH_SUFFIX
|
||||
AR_SUFFIX
|
||||
OBJ_SUFFIX
|
||||
INSTALLFLAGS
|
||||
INSTALL_LIB
|
||||
INSTALL
|
||||
INSTALL_DATA
|
||||
INSTALL_SCRIPT
|
||||
|
|
@ -710,6 +705,7 @@ SHELL'
|
|||
ac_subst_files=''
|
||||
ac_user_opts='
|
||||
enable_option_checking
|
||||
enable_debug
|
||||
with_cligen
|
||||
with_restconf
|
||||
with_configfile
|
||||
|
|
@ -1344,6 +1340,12 @@ if test -n "$ac_init_help"; then
|
|||
|
||||
cat <<\_ACEOF
|
||||
|
||||
Optional Features:
|
||||
--disable-option-checking ignore unrecognized --enable/--with options
|
||||
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
||||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||
--enable-debug Build with debug symbols, default: no
|
||||
|
||||
Optional Packages:
|
||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
||||
|
|
@ -2444,11 +2446,6 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# If yes, compile apps/restconf
|
||||
#
|
||||
ac_ext=c
|
||||
|
|
@ -3382,6 +3379,27 @@ CPPFLAGS="-DHAVE_CONFIG_H ${CPPFLAGS}"
|
|||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: compiler is $CC" >&5
|
||||
$as_echo "compiler is $CC" >&6; }
|
||||
# Debug flag
|
||||
# Check whether --enable-debug was given.
|
||||
if test "${enable_debug+set}" = set; then :
|
||||
enableval=$enable_debug;
|
||||
if test "$enableval" = no; then
|
||||
ac_enable_debug=no
|
||||
else
|
||||
ac_enable_debug=yes
|
||||
fi
|
||||
|
||||
else
|
||||
ac_enable_debug=no
|
||||
fi
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: debug is $ac_enable_debug" >&5
|
||||
$as_echo "debug is $ac_enable_debug" >&6; }
|
||||
if test "$ac_enable_debug" = "yes"; then
|
||||
CFLAGS="-g -Wall"
|
||||
INSTALLFLAGS=""
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: CPPFLAGS is $CPPFLAGS" >&5
|
||||
$as_echo "CPPFLAGS is $CPPFLAGS" >&6; }
|
||||
|
|
@ -3643,11 +3661,7 @@ _ACEOF
|
|||
|
||||
fi
|
||||
|
||||
EXE_SUFFIX=""
|
||||
OBJ_SUFFIX=".o"
|
||||
AR_SUFFIX=".a"
|
||||
SH_SUFFIX=".so"
|
||||
AR="ar"
|
||||
|
||||
# This is for cligen
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue