X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=autogen.sh;h=4017d3291b80bd7d8f653bfe997f9a76282d9533;hb=74c193566426bdf857ced781c36decb77d9fd755;hp=a1fd048b34cbbb081a1a58dc7112f9ecb11e5993;hpb=cb9cb9b7dcdf62310c7b543aaac0a82d7f4b9319;p=hivex.git diff --git a/autogen.sh b/autogen.sh index a1fd048..4017d32 100755 --- a/autogen.sh +++ b/autogen.sh @@ -42,9 +42,16 @@ if [ ! -z "$BUILDDIR" ]; then CONFIGUREDIR=.. fi +# Rerun the generator (requires OCaml interpreter). This is *not* for +# anything that is required at configure-time when configure is run +# from a distribution tarball. From those, nothing ocaml-related is +# required. +mkdir -p perl/lib/Win +./generator/generator.ml + # If no arguments were specified and configure has run before, use the previous # arguments -if [ $# == 0 -a -x ./config.status ]; then +if test $# = 0 && test -x ./config.status; then ./config.status --recheck else $CONFIGUREDIR/configure "$@"