>>>>> "Rusty" == Rusty Ballinger <[EMAIL PROTECTED]> writes:

Rusty> Is there a simpler way to do this?  It seems like you'd wind up
Rusty> doing a lot of work which automake already does.

Another method is to use a macro (available at the macro archive) to
expand $prefix or whatever at configure time into a separate variable
which you AC_SUBST, and then just go ahead and use AC_OUTPUT.

In some ways this isn't as friendly.

Automake itself takes the cheapo hack route:

  my $prefix = "@prefix@";
  my $perllibdir = $ENV{'perllibdir'} || "@datadir@/@PACKAGE@";

This is ugly, but it has worked for years.

Tom

Reply via email to