X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=mkauto.sh;h=9759438f878072e20e7f0457344a5515293fab35;hb=737cb2d24ea61d49f258b2d5f596f43e5e91ba93;hp=cdee6221ff459f1791d18e439c0f56b8cbd6ebc4;hpb=265950a800b7ab777c91d37606a0f7c970eb7f05;p=PuTTY.git diff --git a/mkauto.sh b/mkauto.sh index cdee6221..9759438f 100755 --- a/mkauto.sh +++ b/mkauto.sh @@ -3,6 +3,9 @@ # It's separate from mkfiles.pl because it won't work (and isn't needed) # on a non-Unix system. -# Track down automake's copy of install-sh -cp `aclocal --print-ac-dir | sed 's/aclocal$/automake/'`/install-sh unix/. -(cd unix && autoreconf && rm -rf aclocal.m4 autom4te.cache) +# It's nice to be able to run this from inside the unix subdir as +# well as from outside. +test -f unix.h && cd .. + +# Run autoconf on our real configure.in. +autoreconf -i && rm -rf autom4te.cache