diff --git a/configure b/configure index ece1e81010..1bf0d0f7d5 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: 46e5e8cc8f0216bd3fa077597f237c3dbabd3a75 . +# From configure.in Id: 9445ba0edd45670923f6436429f56c3d37bddfee . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65. # @@ -7000,7 +7000,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 7001 "configure"' > conftest.$ac_ext + echo '#line 7003 "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -8681,11 +8681,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:8682: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8684: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:8686: \$? = $ac_status" >&5 + echo "$as_me:8688: \$? = $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. @@ -8943,11 +8943,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:8944: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8946: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:8948: \$? = $ac_status" >&5 + echo "$as_me:8950: \$? = $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. @@ -9005,11 +9005,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:9006: $lt_compile\"" >&5) + (eval echo "\"\$as_me:9008: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:9010: \$? = $ac_status" >&5 + echo "$as_me:9012: \$? = $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 @@ -10877,7 +10877,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <>confdefs.h test "$ac_cv_search_uuid_to_str" = "none required" || \ - SLAPD_LIBS="$SLAPD_LIBS $ac_cv_search_uuid_to_str" + LUTIL_LIBS="$LUTIL_LIBS $ac_cv_search_uuid_to_str" fi fi @@ -15149,7 +15149,7 @@ $as_echo "#define HAVE_UUID_GENERATE 1" >>confdefs.h test "$ac_cv_search_uuid_generate" = "none required" || \ - SLAPD_LIBS="$SLAPD_LIBS $ac_cv_search_uuid_generate" + LUTIL_LIBS="$LUTIL_LIBS $ac_cv_search_uuid_generate" fi fi fi @@ -21514,7 +21514,11 @@ $as_echo "#define HAVE_BERKELEY_DB 1" >>confdefs.h BDB_LIBS="$BDB_LIBS $ol_cv_lib_db" fi - SLAPD_LIBS="$SLAPD_LIBS \$(BDB_LIBS)" + if test $ol_enable_bdb/$ol_enable_hdb != mod/mod ; then + if test $ol_enable_bdb = yes -o $ol_enable_hdb = yes ; then + SLAPD_LIBS="$SLAPD_LIBS \$(BDB_LIBS)" + fi + fi ol_link_bdb=yes fi @@ -25105,6 +25109,7 @@ fi + # Check whether --with-xxinstall was given.