]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Default configure with nss instead of cryptopp 2761/head
authorFederico Gimenez <fgimenez@coit.es>
Tue, 21 Oct 2014 06:44:43 +0000 (08:44 +0200)
committerFederico Gimenez <fgimenez@coit.es>
Tue, 21 Oct 2014 06:44:43 +0000 (08:44 +0200)
The -n option for nss has been changed to -c to give the
chance to pass cryptopp flag to configure

Signed-off-by: Federico Gimenez <fgimenez@coit.es>
do_autogen.sh

index 03b5dd2b9bf72927387e45f05f34e0e095801b95..51fb4405ba9ca2b0b039dbc0256307b6a9fa0c0b 100755 (executable)
@@ -15,7 +15,7 @@ do_autogen.sh: make a ceph build by running autogen, etc.
 -P                               profiling build
 -p                               google profiler
 -O <level>                       optimize
--n                               use libnss
+-c                               use cryptopp
 -j                               with java
 -r                               with rocksdb
 
@@ -31,14 +31,14 @@ debug_level=0
 verbose=0
 profile=0
 CONFIGURE_FLAGS="--disable-static"
-while getopts  "d:e:hHrTPjpnvO:" flag
+while getopts  "d:e:hHrTPjpcvO:" flag
 do
     case $flag in
     d) debug_level=$OPTARG;;
 
     O) CFLAGS="${CFLAGS} -O$OPTARG";;
 
-    n) CONFIGURE_FLAGS="$CONFIGURE_FLAGS --with-nss --without-cryptopp";;
+    c) CONFIGURE_FLAGS="$CONFIGURE_FLAGS --with-cryptopp --without-nss";;
 
     P) profile=1;;
     p) with_profiler="--with-profiler" ;;
@@ -126,6 +126,6 @@ export CXXFLAGS
 
 ./configure \
 --prefix=/usr --sbindir=/sbin --localstatedir=/var --sysconfdir=/etc \
---with-debug $with_profiler --with-cryptopp --with-radosgw \
+--with-debug $with_profiler --with-nss --with-radosgw \
 $CONFIGURE_FLAGS \
 || die "configure failed"