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
10# krb5's test suite clears LD_LIBRARY_PATH
11LDFLAGS="-L`pwd`/$BLDTOP -Wl,-rpath,`pwd`/$BLDTOP"
12CFLAGS="-I`pwd`/$BLDTOP/include -I`pwd`/$SRCTOP/include"
13
14cd $SRCTOP/krb5/src
15autoreconf
16./configure --with-ldap --with-prng-alg=os --enable-pkinit \
17            --with-crypto-impl=openssl --with-tls-impl=openssl \
18            CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
19
20# quiet make so that Travis doesn't overflow
21make -s
22
23make check
24