|
Substituting variables in installed scripts: msg#00090sysutils.autoconf.general
I have what seems to be a simple question, I want to perform a configuration-dependent substitution in an installed script. What is the autoconf way? For example, suppose I have a perl script, p.pl, with use lib "../lib"; This works nicely during development, but on installation I want to change it to use lib "@libdir@/@PACKAGE@"; for example use lib "/usr/local/lib/myprog/"; Making a p.pl.in file and having configure process it seems unattractive and doesn't allow me to easily test during development. Patching during 'make install' seems better, but I don't know the autoconf way. Any tips? Thanks, -d |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: How can I pass additional option to configure?: 00090, Peter Eisentraut |
|---|---|
| Next by Date: | Re: Substituting variables in installed scripts: 00090, Peter Eisentraut |
| Previous by Thread: | Get discount drugs without prescriptioni: 00090, Erica Dupree |
| Next by Thread: | Re: Substituting variables in installed scripts: 00090, Peter Eisentraut |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |