]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10214 - Regenerate configure
authorQuanah Gibson-Mount <quanah@openldap.org>
Thu, 9 May 2024 17:08:12 +0000 (17:08 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 9 May 2024 17:08:12 +0000 (17:08 +0000)
configure

index 31736ac29534e25de1264490b2e7193d193c5c79..ab8858b4cb006f8d60f79afd7b319b9cda15dd96 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Id: 1474b45525096400dfe04a380b8784f1d6744466 .
+# From configure.ac Id: 713e57eb20821ddb450048065b44405afaf1dc47 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.71.
 #
@@ -669,7 +669,6 @@ SLAPD_SQL_LIBS
 SLAPD_SQL_LDFLAGS
 SLAPD_GMP_LIBS
 SLAPD_SLP_LIBS
-SYSTEMD_LIBS
 ARGON2_LIBS
 AUTH_LIBS
 LIBSLAPI
@@ -708,7 +707,6 @@ DO_VERSIONED_SYMBOLS
 OL_VERSIONED_SYMBOLS
 BUILD_LIBS_DYNAMIC
 BUILD_THREAD
-WITH_SYSTEMD
 WITH_ACI_ENABLED
 WITH_MODULES_ENABLED
 WITH_TLS
@@ -5249,7 +5247,6 @@ MODULES_LIBS=
 SLAPI_LIBS=
 LIBSLAPI=
 AUTH_LIBS=
-SYSTEMD_LIBS=
 
 SLAPD_SLP_LIBS=
 SLAPD_GMP_LIBS=
@@ -23863,9 +23860,7 @@ printf "%s\n" "$as_me: WARNING: Strong authentication not supported!" >&2;}
        fi
 fi
 
-WITH_SYSTEMD=no
 systemdsystemunitdir=
-ol_link_systemd=no
 if test $ol_enable_slapd = no && test $ol_enable_balancer != yes ; then
        if test $ol_with_systemd != no ; then
                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: servers disabled, ignoring --with-systemd=$ol_with_systemd argument" >&5
@@ -23873,7 +23868,8 @@ printf "%s\n" "$as_me: WARNING: servers disabled, ignoring --with-systemd=$ol_wi
                ol_with_systemd=no
        fi
 fi
-if test $ol_with_systemd != no ; then
+
+if test $ol_with_systemd = auto; then
        ac_fn_c_check_header_compile "$LINENO" "systemd/sd-daemon.h" "ac_cv_header_systemd_sd_daemon_h" "$ac_includes_default"
 if test "x$ac_cv_header_systemd_sd_daemon_h" = xyes
 then :
@@ -23881,66 +23877,15 @@ then :
 
 fi
 
-
        if test $ac_cv_header_systemd_sd_daemon_h = yes; then
-               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sd_notify in -lsystemd" >&5
-printf %s "checking for sd_notify in -lsystemd... " >&6; }
-if test ${ac_cv_lib_systemd_sd_notify+y}
-then :
-  printf %s "(cached) " >&6
-else $as_nop
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lsystemd  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-char sd_notify ();
-int
-main (void)
-{
-return sd_notify ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"
-then :
-  ac_cv_lib_systemd_sd_notify=yes
-else $as_nop
-  ac_cv_lib_systemd_sd_notify=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_systemd_sd_notify" >&5
-printf "%s\n" "$ac_cv_lib_systemd_sd_notify" >&6; }
-if test "x$ac_cv_lib_systemd_sd_notify" = xyes
-then :
-  ol_link_systemd="-lsystemd"
-fi
-
+               ol_with_systemd=yes
        fi
+fi
 
-       if test $ol_link_systemd = no ; then
-               if test $ol_with_systemd != auto ; then
-                       as_fn_error $? "Could not locate systemd" "$LINENO" 5
-               else
-                       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Could not locate systemd" >&5
-printf "%s\n" "$as_me: WARNING: Could not locate systemd" >&2;}
-                       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: systemd service notification not supported!" >&5
-printf "%s\n" "$as_me: WARNING: systemd service notification not supported!" >&2;}
-               fi
-       else
+if test $ol_with_systemd = yes ; then
 
 printf "%s\n" "#define HAVE_SYSTEMD 1" >>confdefs.h
 
-               SYSTEMD_LIBS="$ol_link_systemd"
-               WITH_SYSTEMD=yes
-
 
 if test -n "$systemdsystemunitdir"; then
     pkg_cv_systemdsystemunitdir="$systemdsystemunitdir"
@@ -23965,12 +23910,11 @@ if test "x$systemdsystemunitdir" = x""
 then :
 
 fi
-               if test -z "$systemdsystemunitdir"; then
-                       if test -d /usr/lib/systemd/system; then
-                               systemdsystemunitdir=/usr/lib/systemd/system
-                       else
-                               systemdsystemunitdir=/lib/systemd/system
-                       fi
+       if test -z "$systemdsystemunitdir"; then
+               if test -d /usr/lib/systemd/system; then
+                       systemdsystemunitdir=/usr/lib/systemd/system
+               else
+                       systemdsystemunitdir=/lib/systemd/system
                fi
        fi
 fi
@@ -26645,8 +26589,6 @@ done
 
 
 
-
-