Files
libmicrohttpd/bootstrap
Evgeny Grin (Karlson2k) 8b8c300312 bootstrap: improved shell compatibility,
removed unneeded 'aclocal' execution,
removed '-f' autoreconf argument,
added wrapper script autogen.sh
2019-04-10 14:38:34 +03:00

12 lines
254 B
Bash
Executable File

#!/bin/sh
unset bs_srcdir
if test X"`dirname / 2>/dev/null`" = X"/"; then
bs_scrdir=`dirname $0`
else
bs_scrdir="${0%/*}"
fi
test -n "$bs_scrdir" && cd "$bs_scrdir" || echo "Warning: cannot get sources directory" 1>&2
autoreconf -I m4 -i ${1+"$@"}