123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #!/bin/sh
- if [ -n "$WSL_DISTRO_NAME" ]; then
-
- current_path="$(pwd)"
- pattern="/mnt/?"
- if [ "$(echo "$current_path" | grep -E "^$pattern")" ]; then
-
- no_links=true
- else
- no_links=
- fi
- fi
- for dir in \
- ./wolfssl/wolfcrypt/port/intel \
- ./wolfssl/wolfcrypt/port/cavium
- do
- if [ ! -e "$dir" ]; then
- mkdir "$dir" || exit $?
- fi
- done
- for file in \
- ./wolfssl/options.h \
- ./wolfcrypt/src/fips.c \
- ./wolfcrypt/src/fips_test.c \
- ./wolfcrypt/src/wolfcrypt_first.c \
- ./wolfcrypt/src/wolfcrypt_last.c \
- ./wolfssl/wolfcrypt/fips.h \
- ./wolfcrypt/src/selftest.c \
- ./wolfcrypt/src/async.c \
- ./wolfssl/wolfcrypt/async.h \
- ./wolfcrypt/src/port/intel/quickassist.c \
- ./wolfcrypt/src/port/intel/quickassist_mem.c \
- ./wolfcrypt/src/port/cavium/cavium_nitrox.c \
- ./wolfssl/wolfcrypt/port/intel/quickassist.h \
- ./wolfssl/wolfcrypt/port/intel/quickassist_mem.h \
- ./wolfssl/wolfcrypt/port/cavium/cavium_nitrox.h
- do
- if [ ! -e "$file" ]; then
- > "$file" || exit $?
- fi
- done
- if [ -e .git ]; then
- export WARNINGS="all,error"
- else
- export WARNINGS="all"
- fi
- autoreconf --install --force
|