~ubuntu-branches/ubuntu/maverick/openldap/maverick-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2009-09-07 13:41:10 UTC
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: james.westby@ubuntu.com-20090907134110-jsdrvn0atu1fex4m
Tags: upstream-2.4.18
ImportĀ upstreamĀ versionĀ 2.4.18

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.631.2.24 2009/07/06 19:22:51 quanah Exp .
 
2
# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.631.2.26 2009/08/13 00:11:16 quanah Exp .
3
3
# Guess values for system-dependent variables and create Makefiles.
4
4
# Generated by GNU Autoconf 2.61.
5
5
#
918
918
BUILD_RETCODE
919
919
BUILD_RWM
920
920
BUILD_SEQMOD
 
921
BUILD_SSSVLV
921
922
BUILD_SYNCPROV
922
923
BUILD_TRANSLUCENT
923
924
BUILD_UNIQUE
1599
1600
    --enable-refint       Referential Integrity overlay no|yes|mod [no]
1600
1601
    --enable-retcode      Return Code testing overlay no|yes|mod [no]
1601
1602
    --enable-rwm          Rewrite/Remap overlay no|yes|mod [no]
1602
 
    --enable-seqmod       Sequential Modify overlay no|yes|mod [yes]
 
1603
    --enable-seqmod       Sequential Modify overlay no|yes|mod [no]
 
1604
    --enable-sssvlv       ServerSideSort/VLV overlay no|yes|mod [no]
1603
1605
    --enable-syncprov     Syncrepl Provider overlay no|yes|mod [yes]
1604
1606
    --enable-translucent  Translucent Proxy overlay no|yes|mod [no]
1605
1607
    --enable-unique       Attribute Uniqueness overlay no|yes|mod [no]
3753
3755
        retcode \
3754
3756
        rwm \
3755
3757
        seqmod \
 
3758
        sssvlv \
3756
3759
        syncprov \
3757
3760
        translucent \
3758
3761
        unique \
4140
4143
        ol_enable_seqmod="$ol_arg"
4141
4144
 
4142
4145
else
4143
 
        ol_enable_seqmod=${ol_enable_overlays:-yes}
 
4146
        ol_enable_seqmod=${ol_enable_overlays:-no}
4144
4147
fi
4145
4148
 
4146
4149
# end --enable-seqmod
4147
4150
 
 
4151
# OpenLDAP --enable-sssvlv
 
4152
 
 
4153
        # Check whether --enable-sssvlv was given.
 
4154
if test "${enable_sssvlv+set}" = set; then
 
4155
  enableval=$enable_sssvlv;
 
4156
        ol_arg=invalid
 
4157
        for ol_val in no yes mod ; do
 
4158
                if test "$enableval" = "$ol_val" ; then
 
4159
                        ol_arg="$ol_val"
 
4160
                fi
 
4161
        done
 
4162
        if test "$ol_arg" = "invalid" ; then
 
4163
                { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-sssvlv" >&5
 
4164
echo "$as_me: error: bad value $enableval for --enable-sssvlv" >&2;}
 
4165
   { (exit 1); exit 1; }; }
 
4166
        fi
 
4167
        ol_enable_sssvlv="$ol_arg"
 
4168
 
 
4169
else
 
4170
        ol_enable_sssvlv=${ol_enable_overlays:-no}
 
4171
fi
 
4172
 
 
4173
# end --enable-sssvlv
 
4174
 
4148
4175
# OpenLDAP --enable-syncprov
4149
4176
 
4150
4177
        # Check whether --enable-syncprov was given.
4464
4491
BUILD_RETCODE=no
4465
4492
BUILD_RWM=no
4466
4493
BUILD_SEQMOD=no
 
4494
BUILD_SSSVLV=no
4467
4495
BUILD_SYNCPROV=no
4468
4496
BUILD_TRANSLUCENT=no
4469
4497
BUILD_UNIQUE=no
6436
6464
  ;;
6437
6465
*-*-irix6*)
6438
6466
  # Find out which ABI we are using.
6439
 
  echo '#line 6439 "configure"' > conftest.$ac_ext
 
6467
  echo '#line 6467 "configure"' > conftest.$ac_ext
6440
6468
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6441
6469
  (eval $ac_compile) 2>&5
6442
6470
  ac_status=$?
8505
8533
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8506
8534
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8507
8535
   -e 's:$: $lt_compiler_flag:'`
8508
 
   (eval echo "\"\$as_me:8508: $lt_compile\"" >&5)
 
8536
   (eval echo "\"\$as_me:8536: $lt_compile\"" >&5)
8509
8537
   (eval "$lt_compile" 2>conftest.err)
8510
8538
   ac_status=$?
8511
8539
   cat conftest.err >&5
8512
 
   echo "$as_me:8512: \$? = $ac_status" >&5
 
8540
   echo "$as_me:8540: \$? = $ac_status" >&5
8513
8541
   if (exit $ac_status) && test -s "$ac_outfile"; then
8514
8542
     # The compiler can only warn and ignore the option if not recognized
8515
8543
     # So say no if there are warnings other than the usual output.
8767
8795
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8768
8796
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8769
8797
   -e 's:$: $lt_compiler_flag:'`
8770
 
   (eval echo "\"\$as_me:8770: $lt_compile\"" >&5)
 
8798
   (eval echo "\"\$as_me:8798: $lt_compile\"" >&5)
8771
8799
   (eval "$lt_compile" 2>conftest.err)
8772
8800
   ac_status=$?
8773
8801
   cat conftest.err >&5
8774
 
   echo "$as_me:8774: \$? = $ac_status" >&5
 
8802
   echo "$as_me:8802: \$? = $ac_status" >&5
8775
8803
   if (exit $ac_status) && test -s "$ac_outfile"; then
8776
8804
     # The compiler can only warn and ignore the option if not recognized
8777
8805
     # So say no if there are warnings other than the usual output.
8829
8857
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8830
8858
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8831
8859
   -e 's:$: $lt_compiler_flag:'`
8832
 
   (eval echo "\"\$as_me:8832: $lt_compile\"" >&5)
 
8860
   (eval echo "\"\$as_me:8860: $lt_compile\"" >&5)
8833
8861
   (eval "$lt_compile" 2>out/conftest.err)
8834
8862
   ac_status=$?
8835
8863
   cat out/conftest.err >&5
8836
 
   echo "$as_me:8836: \$? = $ac_status" >&5
 
8864
   echo "$as_me:8864: \$? = $ac_status" >&5
8837
8865
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8838
8866
   then
8839
8867
     # The compiler can only warn and ignore the option if not recognized
11040
11068
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11041
11069
  lt_status=$lt_dlunknown
11042
11070
  cat > conftest.$ac_ext <<EOF
11043
 
#line 11043 "configure"
 
11071
#line 11071 "configure"
11044
11072
#include "confdefs.h"
11045
11073
 
11046
11074
#if HAVE_DLFCN_H
11138
11166
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11139
11167
  lt_status=$lt_dlunknown
11140
11168
  cat > conftest.$ac_ext <<EOF
11141
 
#line 11141 "configure"
 
11169
#line 11169 "configure"
11142
11170
#include "confdefs.h"
11143
11171
 
11144
11172
#if HAVE_DLFCN_H
36768
36796
 
36769
36797
 
36770
36798
 
36771
 
 
36772
36799
for ac_func in \
36773
36800
        bcopy                   \
36774
36801
        closesocket             \
36782
36809
        geteuid                 \
36783
36810
        getgrgid                \
36784
36811
        gethostname             \
36785
 
        getpass                 \
36786
36812
        getpassphrase           \
36787
36813
        getpwuid                \
36788
36814
        getpwnam                \
38462
38488
 
38463
38489
fi
38464
38490
 
 
38491
if test "$ol_enable_sssvlv" != no ; then
 
38492
        BUILD_SSSVLV=$ol_enable_sssvlv
 
38493
        if test "$ol_enable_sssvlv" = mod ; then
 
38494
                MFLAG=SLAPD_MOD_DYNAMIC
 
38495
                SLAPD_DYNAMIC_OVERLAYS="$SLAPD_DYNAMIC_OVERLAYS sssvlv.la"
 
38496
        else
 
38497
                MFLAG=SLAPD_MOD_STATIC
 
38498
                SLAPD_STATIC_OVERLAYS="$SLAPD_STATIC_OVERLAYS sssvlv.o"
 
38499
        fi
 
38500
 
 
38501
cat >>confdefs.h <<_ACEOF
 
38502
#define SLAPD_OVER_SSSVLV $MFLAG
 
38503
_ACEOF
 
38504
 
 
38505
fi
 
38506
 
38465
38507
if test "$ol_enable_syncprov" != no ; then
38466
38508
        BUILD_SYNCPROV=$ol_enable_syncprov
38467
38509
        if test "$ol_enable_syncprov" = mod ; then
38642
38684
 
38643
38685
 
38644
38686
 
 
38687
 
38645
38688
# Check whether --with-xxinstall was given.
38646
38689
if test "${with_xxinstall+set}" = set; then
38647
38690
  withval=$with_xxinstall;
39466
39509
BUILD_RETCODE!$BUILD_RETCODE$ac_delim
39467
39510
BUILD_RWM!$BUILD_RWM$ac_delim
39468
39511
BUILD_SEQMOD!$BUILD_SEQMOD$ac_delim
 
39512
BUILD_SSSVLV!$BUILD_SSSVLV$ac_delim
39469
39513
BUILD_SYNCPROV!$BUILD_SYNCPROV$ac_delim
39470
39514
BUILD_TRANSLUCENT!$BUILD_TRANSLUCENT$ac_delim
39471
39515
BUILD_UNIQUE!$BUILD_UNIQUE$ac_delim
39506
39550
LTLIBOBJS!$LTLIBOBJS$ac_delim
39507
39551
_ACEOF
39508
39552
 
39509
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 90; then
 
39553
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then
39510
39554
    break
39511
39555
  elif $ac_last_try; then
39512
39556
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5