From bacd15cb1fff2dee94d390e0f84c147cd82ea148 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 24 Aug 1999 01:06:48 +0000 Subject: Import unmodified (but trimmed) ncurses 5.0 prerelease 990821. This contains the full eti (panel, form, menu) extensions. bmake glue to follow. Obtained from: ftp://ftp.clark.net/pub/dickey/ncurses --- contrib/ncurses/convert_configure.pl | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 contrib/ncurses/convert_configure.pl (limited to 'contrib/ncurses/convert_configure.pl') diff --git a/contrib/ncurses/convert_configure.pl b/contrib/ncurses/convert_configure.pl new file mode 100644 index 0000000..9d1026d --- /dev/null +++ b/contrib/ncurses/convert_configure.pl @@ -0,0 +1,54 @@ +extproc perl -S -w + +# The converted script is written to stdout, so run this script as +# convert_configure configure > configure.cmd +# +# When the converted script runs, it expects that /tmp dir is +# available (so we create it). +# +# run the result like this: +# .\configure +; + +mkdir '/tmp', 0777 unless -d '/tmp'; + +print <) { + if (/for\s+(\w+)\s+in\s*\$PATH\s*;/) { + $checking_path = 1; + $varname = $1; + $subst= <