Re: how to something from the configure script into one of the test programs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ed Hartnett wrote:
> To accommodate this on machines with disk quotas, I want to allow the
> user to specify to configure a directory in which large files can be
> created during testing. 

You might look into just having the user set TMPDIR (or through your
configure option) to the directory for holding large files.  Example:

  TMPDIR=/var/tmp mktemp -t myprog.XXXXXXXX
  /var/tmp/myprog.XXGWXbMk

By setting TMPDIR a lot of programs will already automatically use it
for temporary files.  It may allow you to avoid a lot of pervasive
changes through your code.

Bob


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux