--- libaitrpc/configure 2015/07/02 17:52:50 1.34.2.2 +++ libaitrpc/configure 2015/07/02 22:20:47 1.34.2.3 @@ -4589,7 +4589,20 @@ ONLY_CLI=no $as_echo_n "checking Build only RPC client... " >&6; } # Check whether --enable-server was given. if test "${enable_server+set}" = set; then : - enableval=$enable_server; if [ "$enableval" = "no" ]; then ONLY_CLI="yes"; fi + enableval=$enable_server; if [ "$enableval" = "no" ]; then + ONLY_CLI="yes" + +$as_echo "#define ONLY_CLI 1" >>confdefs.h + + else + +$as_echo "#define ONLY_CLI 0" >>confdefs.h + + fi +else + +$as_echo "#define ONLY_CLI 0" >>confdefs.h + fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ONLY_CLI" >&5