note
Anonymous Monk
[href://https://metacpan.org/source/VKON/Tcl-1.05/Makefile.PL] tries to be helpful by taking non standard arguments ( not [metamod://ExtUtils::MakeMaker] )
<c>GetOptions("tclsh=s", \$tclsh, # Use this tclsh executable as a
# base to find the lib info needed
"tclconfig=s", \$tclconfig, # Use the specified Tcl config file
# instead of basing the values on
# the tclsh exe found
"buildspec", \$buildspec, # Used with --tclconfig, use the
# build (instead of install) values
# for determining lib info
"usestubs!", \$usestubs, # we want to use the Tcl stubs
# mechanism by default
"library=s", \$libpath, # Use this specific Tcl library
"include=s", \$incpath, # Use this specific include path
"define=s", \$defs, # Use this specific set of defines
)
|| _die <<EOT;
Usage: perl Makefile.PL [--tclsh <path>] [--tclconfig <path>]
[--buildspec] [--nousestubs] [<makemaker opts>...]
or for expert compilation:
perl --library=-l/path/to/tcl(stub).a --include=-I/path/to/tcl/include
--define="-DLIB_RUNTIME_DIR=... -DTCL_LIB_FILE=..."
EOT</c>
1212398
1214814
0