Autoconf/configure options

--enable-shared Attempt to build a shared object (library) by default
--with-python=dir Specify an alternate prefix to find Python interpreter and libraries.
--with-expect=dir Specify an alternate prefix to find Expect interpreter and libraries.
--with-setup[=dir] Use Python's makesetup utility to build the module and possibly a new interpreter. If a directory is given, place in that location.
--with-tcl[=dir] Build TclRE support into the module If a directory is specified, use that as a prefix for finding the Tcl libraries, the default is /usr/local.
--without-pcre Do not compile PCRE support. If "--with-tcl" is not given, then no regular expression support will be compiled.
--disable-pymalloc ExpectPy uses Python's memory allocation functions by default. This option forces builds with the standard malloc functions.
--forcea Attempt to build with static libraries (lib*.a) from Expect and Tcl, instead of linking to shared objects (lib*.so).