Hi Jörg,

Would it be possible to make the file name of the default files, the
ones that normally reside in /etc/default/<prog>, be configurable?
I need this for my installations, partly to support a networked
environment where many machines share the same binaries and partly to
have private default files for each cdrtools version.

I suggest that the something like the following macro names can be
used to overwrite the default file location:

        CDRECORD_DEFAULT_FILE
        RSCSI_DEFAULT_FILE

In addition the `DEFLT' macro in `include/deflts.h' should also be
configurable.

The default values are used if the macros are undefined, that is good old

        #ifndef CDRECORD_DEFAULT_FILE
        #define CDRECORD_DEFAULT_FILE "/etc/default/cdrecord"
        #endif

as we all know.

These macros can then be specified in the DEFAULTS/Defaults.<sys> file
using -D<var>=<value> in a make variable.

While it would be nice if the location of the default file is also
represented in the installed version of the man pages, it is by no
means a requirement (for me, at least).

Thanks in advance,
Klaus


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to