]> git.sur5r.net Git - openldap/blobdiff - configure
handle ordered values as appropriate (ITS#6516)
[openldap] / configure
index 1c2f20f0694f262a75e1c20c371dcebd2a1c63bd..c1530aacee019563022ce71ee94208bd840b64fa 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.699 2009/07/04 23:42:26 hyc Exp .
+# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.704 2009/09/29 21:53:43 hyc Exp .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61.
 #
@@ -908,6 +908,7 @@ BUILD_COLLECT
 BUILD_CONSTRAINT
 BUILD_DDS
 BUILD_DENYOP
+BUILD_DEREF
 BUILD_DYNGROUP
 BUILD_DYNLIST
 BUILD_LASTMOD
@@ -918,6 +919,7 @@ BUILD_REFINT
 BUILD_RETCODE
 BUILD_RWM
 BUILD_SEQMOD
+BUILD_SSSVLV
 BUILD_SYNCPROV
 BUILD_TRANSLUCENT
 BUILD_UNIQUE
@@ -1599,7 +1601,8 @@ SLAPD Overlay Options:
     --enable-refint      Referential Integrity overlay no|yes|mod [no]
     --enable-retcode     Return Code testing overlay no|yes|mod [no]
     --enable-rwm                 Rewrite/Remap overlay no|yes|mod [no]
-    --enable-seqmod      Sequential Modify overlay no|yes|mod [yes]
+    --enable-seqmod      Sequential Modify overlay no|yes|mod [no]
+    --enable-sssvlv      ServerSideSort/VLV overlay no|yes|mod [no]
     --enable-syncprov    Syncrepl Provider overlay no|yes|mod [yes]
     --enable-translucent  Translucent Proxy overlay no|yes|mod [no]
     --enable-unique       Attribute Uniqueness overlay no|yes|mod [no]
@@ -3753,6 +3756,7 @@ Overlays="accesslog \
        retcode \
        rwm \
        seqmod \
+       sssvlv \
        syncprov \
        translucent \
        unique \
@@ -4140,11 +4144,35 @@ echo "$as_me: error: bad value $enableval for --enable-seqmod" >&2;}
        ol_enable_seqmod="$ol_arg"
 
 else
-       ol_enable_seqmod=${ol_enable_overlays:-yes}
+       ol_enable_seqmod=${ol_enable_overlays:-no}
 fi
 
 # end --enable-seqmod
 
+# OpenLDAP --enable-sssvlv
+
+       # Check whether --enable-sssvlv was given.
+if test "${enable_sssvlv+set}" = set; then
+  enableval=$enable_sssvlv;
+       ol_arg=invalid
+       for ol_val in no yes mod ; do
+               if test "$enableval" = "$ol_val" ; then
+                       ol_arg="$ol_val"
+               fi
+       done
+       if test "$ol_arg" = "invalid" ; then
+               { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-sssvlv" >&5
+echo "$as_me: error: bad value $enableval for --enable-sssvlv" >&2;}
+   { (exit 1); exit 1; }; }
+       fi
+       ol_enable_sssvlv="$ol_arg"
+
+else
+       ol_enable_sssvlv=${ol_enable_overlays:-no}
+fi
+
+# end --enable-sssvlv
+
 # OpenLDAP --enable-syncprov
 
        # Check whether --enable-syncprov was given.
@@ -4454,6 +4482,7 @@ BUILD_AUDITLOG=no
 BUILD_CONSTRAINT=no
 BUILD_DDS=no
 BUILD_DENYOP=no
+BUILD_DEREF=no
 BUILD_DYNGROUP=no
 BUILD_DYNLIST=no
 BUILD_LASTMOD=no
@@ -4464,6 +4493,7 @@ BUILD_REFINT=no
 BUILD_RETCODE=no
 BUILD_RWM=no
 BUILD_SEQMOD=no
+BUILD_SSSVLV=no
 BUILD_SYNCPROV=no
 BUILD_TRANSLUCENT=no
 BUILD_UNIQUE=no
@@ -6436,7 +6466,7 @@ ia64-*-hpux*)
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 6439 "configure"' > conftest.$ac_ext
+  echo '#line 6469 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -8505,11 +8535,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8508: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:8538: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:8512: \$? = $ac_status" >&5
+   echo "$as_me:8542: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -8767,11 +8797,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8770: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:8800: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:8774: \$? = $ac_status" >&5
+   echo "$as_me:8804: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -8829,11 +8859,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8832: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:8862: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:8836: \$? = $ac_status" >&5
+   echo "$as_me:8866: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -11040,7 +11070,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 11043 "configure"
+#line 11073 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11138,7 +11168,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 11141 "configure"
+#line 11171 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
 
 
 
+
+
 for ac_func in \
        ctime_r                 \
+       gmtime_r localtime_r \
        gethostbyname_r gethostbyaddr_r \
 
 do
@@ -37001,7 +37034,6 @@ fi
 
 
 
-
 
 
 for ac_func in \
@@ -37017,7 +37049,6 @@ for ac_func in \
        geteuid                 \
        getgrgid                \
        gethostname             \
-       getpass                 \
        getpassphrase           \
        getpwuid                \
        getpwnam                \
@@ -38537,7 +38568,7 @@ _ACEOF
 fi
 
 if test "$ol_enable_deref" != no ; then
-       BUILD_DDS=$ol_enable_deref
+       BUILD_DEREF=$ol_enable_deref
        if test "$ol_enable_deref" = mod ; then
                MFLAG=SLAPD_MOD_DYNAMIC
                SLAPD_DYNAMIC_OVERLAYS="$SLAPD_DYNAMIC_OVERLAYS deref.la"
@@ -38697,6 +38728,22 @@ _ACEOF
 
 fi
 
+if test "$ol_enable_sssvlv" != no ; then
+       BUILD_SSSVLV=$ol_enable_sssvlv
+       if test "$ol_enable_sssvlv" = mod ; then
+               MFLAG=SLAPD_MOD_DYNAMIC
+               SLAPD_DYNAMIC_OVERLAYS="$SLAPD_DYNAMIC_OVERLAYS sssvlv.la"
+       else
+               MFLAG=SLAPD_MOD_STATIC
+               SLAPD_STATIC_OVERLAYS="$SLAPD_STATIC_OVERLAYS sssvlv.o"
+       fi
+
+cat >>confdefs.h <<_ACEOF
+#define SLAPD_OVER_SSSVLV $MFLAG
+_ACEOF
+
+fi
+
 if test "$ol_enable_syncprov" != no ; then
        BUILD_SYNCPROV=$ol_enable_syncprov
        if test "$ol_enable_syncprov" = mod ; then
@@ -38874,6 +38921,8 @@ fi
 
 
 
+
+
 
 
 
@@ -39691,6 +39740,7 @@ BUILD_COLLECT!$BUILD_COLLECT$ac_delim
 BUILD_CONSTRAINT!$BUILD_CONSTRAINT$ac_delim
 BUILD_DDS!$BUILD_DDS$ac_delim
 BUILD_DENYOP!$BUILD_DENYOP$ac_delim
+BUILD_DEREF!$BUILD_DEREF$ac_delim
 BUILD_DYNGROUP!$BUILD_DYNGROUP$ac_delim
 BUILD_DYNLIST!$BUILD_DYNLIST$ac_delim
 BUILD_LASTMOD!$BUILD_LASTMOD$ac_delim
@@ -39701,6 +39751,7 @@ BUILD_REFINT!$BUILD_REFINT$ac_delim
 BUILD_RETCODE!$BUILD_RETCODE$ac_delim
 BUILD_RWM!$BUILD_RWM$ac_delim
 BUILD_SEQMOD!$BUILD_SEQMOD$ac_delim
+BUILD_SSSVLV!$BUILD_SSSVLV$ac_delim
 BUILD_SYNCPROV!$BUILD_SYNCPROV$ac_delim
 BUILD_TRANSLUCENT!$BUILD_TRANSLUCENT$ac_delim
 BUILD_UNIQUE!$BUILD_UNIQUE$ac_delim
@@ -39741,7 +39792,7 @@ SLAPD_SQL_INCLUDES!$SLAPD_SQL_INCLUDES$ac_delim
 LTLIBOBJS!$LTLIBOBJS$ac_delim
 _ACEOF
 
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 90; then
+  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then
     break
   elif $ac_last_try; then
     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5