Ken Hirsch says he basicly needs all 'mv' to be 'mv -f' for configure to
authorDaniel Stenberg <daniel@haxx.se>
Thu, 29 Jan 2004 15:28:53 +0000 (15:28 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 29 Jan 2004 15:28:53 +0000 (15:28 +0000)
run in a sane manner on his MPE/iX operating system.

buildconf

index d96ae96..7b8292d 100755 (executable)
--- a/buildconf
+++ b/buildconf
@@ -129,6 +129,8 @@ echo "buildconf: running libtoolize"
 ${LIBTOOLIZE:-libtoolize} --copy --automake || die "The command '${LIBTOOLIZE:-libtoolize}  --copy --automake' failed"
 echo "buildconf: running aclocal"
 ${ACLOCAL:-aclocal}       || die "The command '${AUTOHEADER:-aclocal}' failed"
+echo "buildconf: running aclocal hack to convert all mv to mv -f"
+perl -i.bak -pe 's/\bmv +([^-\s])/mv -f $1/g' aclocal.m4
 echo "buildconf: running autoheader"
 ${AUTOHEADER:-autoheader} || die "The command '${AUTOHEADER:-autoheader}' failed"
 echo "buildconf: running autoconf"