Re: cannot run test program while cross compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 14, 2023 at 1:13 PM 유원석 <seo0093@xxxxxxxxx> wrote:
>
> Hello
> I was trying to cross-compile apache to no avail
> How can I fix this error below?

Can you try the attached patch?

Regards;
Yann.
Index: configure.in
===================================================================
--- configure.in	(revision 1907007)
+++ configure.in	(working copy)
@@ -519,7 +519,7 @@ if test "$ac_cv_search_crypt" != "no"; then
 ]], [char *result = crypt(PASSWD_0, SALT_0);
      if (!result) return 1;
      if (strcmp(result, EXPECT_0)) return 2;
-])], [ap_cv_crypt_sha2=yes], [ap_cv_crypt_sha2=no])])
+])], [ap_cv_crypt_sha2=yes], [ap_cv_crypt_sha2=no], [ap_cv_crypt_sha2=no])])
    if test "$ap_cv_crypt_sha2" = yes; then
      AC_DEFINE([HAVE_CRYPT_SHA2], 1, [Define if crypt() supports SHA-2 hashes])
    fi
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux