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 # Some frequent manual intervention: # a) Some makefiles hardwire SHELL = /bin/sh ==> change to: sh # b) Some makefiles recognize that exe files terminate on .exe # You need to give this script -no-zexe option... shift, $no_zexe = 1 if @ARGV and $ARGV[0] eq '-no-zexe'; mkdir '/tmp', 0777 unless -d '/tmp'; print <) { if (/for\s+(\w+)\s+in\s*\$(PATH|ac_dummy)\s*;/) { $checking_path = 1; $varname = $1; $subst= <