fix NSS / sudo warning output by configure to be more accurate (#4631)
authorChristian Grothoff <christian@grothoff.org>
Mon, 20 Feb 2017 10:30:52 +0000 (11:30 +0100)
committerChristian Grothoff <christian@grothoff.org>
Mon, 20 Feb 2017 10:30:52 +0000 (11:30 +0100)
configure.ac
po/POTFILES.in

index 7c10d07f163c7f1aaf2fbc52e421ef01afd09c93..dc9eabbc4e93f02cc1413530020d6dd00d18e0b9 100644 (file)
@@ -1788,9 +1788,11 @@ then
   AC_MSG_NOTICE([NOTICE: Mac OS X framework build enabled.])
 fi
 
-if test "x$SUDO_BINARY" = "x" -a ! -w /
+if test "x$install_nss" = "x0"
 then
   AC_MSG_NOTICE([NOTICE: --with-sudo not specified and not running as 'root', will not install GNS NSS library])
+else
+  AC_MSG_NOTICE([NOTICE: Will to install GNS NSS library to $NSS_DIR])
 fi
 
 
index 8cb80f73c3058474893e087ae593b687e16c236c..21d00efbd972bf9355483cfd16885a5f190e73ab 100644 (file)
@@ -36,6 +36,7 @@ src/block/block.c
 src/block/plugin_block_template.c
 src/block/plugin_block_test.c
 src/cadet/cadet_api.c
+src/cadet/cadet_api_new.c
 src/cadet/cadet_common.c
 src/cadet/cadet_path.c
 src/cadet/cadet_test_lib.c