]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
regenerate configure, config.h.in
authorDamien Miller <djm@mindrot.org>
Mon, 3 Mar 2025 03:21:12 +0000 (14:21 +1100)
committerDamien Miller <djm@mindrot.org>
Mon, 3 Mar 2025 03:21:12 +0000 (14:21 +1100)
config.h.in
configure

index c841417f444a40ac3406a358e5825a3372af1388..57f63355b0ef461ed709764d51a246634697d0bd 100644 (file)
 /* Set this to your mail directory if you do not have _PATH_MAILDIR */
 #undef MAIL_DIRECTORY
 
+/* Define if your compiler lacks __builtin_popcount */
+#undef MISSING_BUILTIN_POPCOUNT
+
 /* Need setpgrp to for controlling tty */
 #undef NEED_SETPGRP
 
index ec1de26c2958d786392b3e99d9f26f4124d75737..a18079da2dedf84d7c77e81cdee4d05096060a63 100755 (executable)
--- a/configure
+++ b/configure
@@ -16785,6 +16785,40 @@ then :
 fi
 
 
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiler supports __builtin_popcount" >&5
+printf %s "checking whether compiler supports __builtin_popcount... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+               #include <stdlib.h>
+
+int
+main (void)
+{
+ int x = 123, y;
+          y = __builtin_popcount(123);
+          exit(y == 6 ? 0 : -1);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"
+then :
+   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+printf "%s\n" "yes" >&6; }
+else $as_nop
+
+               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+printf "%s\n" "no" >&6; }
+
+printf "%s\n" "#define MISSING_BUILTIN_POPCOUNT 1" >>confdefs.h
+
+
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.beam \
+    conftest$ac_exeext conftest.$ac_ext
+
 ac_fn_check_decl "$LINENO" "bzero" "ac_cv_have_decl_bzero" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
 if test "x$ac_cv_have_decl_bzero" = xyes
 then :
@@ -27769,4 +27803,3 @@ if test "$AUDIT_MODULE" = "bsm" ; then
        echo "WARNING: BSM audit support is currently considered EXPERIMENTAL."
        echo "See the Solaris section in README.platform for details."
 fi
-