tinydtls/autogen.sh
Olaf Bergmann 24a8c2bf37 autogen.sh: add tinydtls.pc
Change-Id: I4c41593321aa83786f66dd698d3c61865a494954
2022-01-14 18:16:10 +01:00

22 lines
603 B
Bash
Executable File

#! /bin/sh -e
srcdir=`dirname "$0"`
GENERATED_FILES="aclocal.m4 ar-lib compile depcomp src/.dirstamp
Makefile aes/Makefile doc/Makefile ecc/Makefile
platform-specific/Makefile sha2/Makefile
tests/Makefile tests/unit-tests/Makefile
config.status configure config.log tinydtls.pc"
GENERATED_DIRS="autom4te.cache src/.deps"
if test "x$1" = "x--clean"; then
rm -f $GENERATED_FILES
rm -rf $GENERATED_DIRS
exit 0
fi
# create fake ar-lib if not present
test -e ar-lib || touch ar-lib
autoreconf --force --install --verbose "$srcdir"