[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile-time generation of SHM key
From: |
Peter Eisentraut |
Subject: |
Re: Compile-time generation of SHM key |
Date: |
Thu, 13 Mar 2003 02:22:28 +0100 (CET) |
Leslie Polzer writes:
> I wonder whether and, if yes, how it might be possible to get a SHM key
> via the integration of a small ftok() program in configure.ac and then
> define it in config.h.
> AC_TRY_RUN throws away any output so that's no solution...
You can make AC_TRY_RUN write into a temporary file. But overall this
sounds like a bad idea. Instead, make the shmen key a run-time
configuration parameter of your program.
--
Peter Eisentraut address@hidden