/* Configure script for modbus.dll, specific for Windows with Scripting Host. * * Inspired by configure.js from libxml2 * * oldfaber < oldfaber _at_ gmail _dot_ com > * */ /* The source directory, relative to the one where this file resides. */ var srcDir = ".."; /* Base name of what we are building. */ var baseName = "modbus"; /* Configure file template and output file */ var configFile = srcDir + "\\..\\configure.ac"; /* Input and output files for the modbus-version.h include */ var newfile; /* Version strings for the binary distribution. Will be filled later in the code. */ var verMajor; var verMinor; var verMicro; /* modbus features. */ var dryRun = false; /* Win32 build options. NOT used yet */ var compiler = "msvc"; /* Local stuff */ var error = 0; /* Filename */ var newFile; /* Displays the details about how to use this script. */ function usage() { var txt; txt = "Usage:\n"; txt += " cscript " + WScript.ScriptName + " \n"; txt += " cscript " + WScript.ScriptName + " help\n\n"; txt += "Options can be specified in the form