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
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf