File: gcrypt.sh

package info (click to toggle)
aircrack-ng 1%3A1.6%2Bgit20210130.91820bc-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 19,056 kB
  • sloc: ansic: 67,045; cs: 5,392; sh: 3,773; python: 2,565; pascal: 1,074; asm: 570; makefile: 253; cpp: 46
file content (17 lines) | stat: -rwxr-xr-x 525 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash

set -e

EXTRA=
case "${CC:=}" in
    clang*|llvm*) export CXX=clang++;;
    *) export CFLAGS="-Werror -Wno-unused-result -Wno-incompatible-library-redeclaration"
	   export CXXFLAGS="-Werror -Wno-unused-result -Wno-incompatible-library-redeclaration";;
esac

# shellcheck disable=SC2086
./autogen.sh --with-experimental --with-gcrypt ${EXTRA} || { cat config.log; exit 1; }
make || { cat config.log; exit 1; }
make check || { find . -name 'test-suite.log' -exec cat {} ';' && exit 1; }
make clean
exit 0