#!/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+"$@"}
