]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
do_autogen.sh: -n for nss
authorSage Weil <sage@inktank.com>
Thu, 16 Aug 2012 18:39:22 +0000 (11:39 -0700)
committerSage Weil <sage@inktank.com>
Thu, 16 Aug 2012 18:39:22 +0000 (11:39 -0700)
Cryptopp (at least my installed version) doesn't build on gcc 4.7.

Signed-off-by: Sage Weil <sage@inktank.com>
do_autogen.sh

index e79db08681131fd1ffeec65678e6fa57900c40c8..204c8e2f6376d68f1dab242fe8b9d943df4cf0c3 100755 (executable)
@@ -16,6 +16,7 @@ do_autogen.sh: make a ceph build by running autogen, etc.
 -P                               profiling build
 -p                               google profiler
 -O <level>                       optimize
+-n                               use libnss
 
 EOF
 }
@@ -29,13 +30,15 @@ debug_level=0
 verbose=0
 profile=0
 CONFIGURE_FLAGS=""
-while getopts  "d:e:hHTPpvO:" flag
+while getopts  "d:e:hHTPpnvO:" flag
 do
     case $flag in
     d) debug_level=$OPTARG;;
 
     O) CFLAGS="${CFLAGS} -O$OPTARG";;
 
+    n) CONFIGURE_FLAGS="$CONFIGURE_FLAGS --with-nss --without-cryptopp";;
+
     P) profile=1;;
     p) with_profiler="--with-profiler" ;;