krb5.sh 764 B

1234567891011121314151617181920212223
  1. #!/bin/sh -ex
  2. #
  3. # Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved.
  4. #
  5. # Licensed under the Apache License 2.0 (the "License"). You may not use
  6. # this file except in compliance with the License. You can obtain a copy
  7. # in the file LICENSE in the source distribution or at
  8. # https://www.openssl.org/source/license.html
  9. # krb5's test suite clears LD_LIBRARY_PATH
  10. LDFLAGS="-L`pwd`/$BLDTOP -Wl,-rpath,`pwd`/$BLDTOP"
  11. CFLAGS="-I`pwd`/$BLDTOP/include -I`pwd`/$SRCTOP/include"
  12. cd $SRCTOP/krb5/src
  13. autoreconf
  14. ./configure --with-ldap --with-prng-alg=os --disable-pkinit \
  15. --with-crypto-impl=openssl --with-tls-impl=openssl \
  16. CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
  17. # quiet make so that Travis doesn't overflow
  18. make -s
  19. make check