Name

-E

Synopsis

The -E switch is used to specify environment variables that should be passed to Build and make(1). This switch is useful on Irix systems, for example, which can store pointers in either 32- or 64-bit sizes. To build a 32-bit sendmail, for example, you might run Build in the sendmail directory like this:

% ./Build -E ABI=-n32

and use the subsystem compiler compiler_dev.sw32.lib.

Inside the Build script are a few environment variables that can be used to tune how Build runs. But before using any, be aware that their use might not be recorded in the resulting Makefile. If that is the case, reconstruction of the command line used will not be possible.

M4=

The -E switch can be used with M4= to select your preferred version of m4(1). If, for example, you prefer GNU’s version over the vendor’s version, you can run Build like this:

% ./Build -E M4=/usr/local/gnu/bin/m4
...
Using M4=/usr/local/gnu/bin/m4

MAKE=

The -E switch can be used with MAKE to select a different version of make(1) than the one that is currently first in your path. If, for example, you prefer your home-grown make(1), you could run Build like this:

% ./Build -E MAKE=/usr/local/newbin/make

DESTDIR=

The -E switch can be used with DESTDIR to install sendmail, its symbolic links (such as newaliases), its manual pages, and its support programs (such as praliases) under a whole new directory. One reason for using another directory might be to install sendmail for use by diskless machines. Consider this ordinary install: ...

Get Sendmail, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.