Hi,

I've got a multiline configure.in variable like this:

  RPM_BUILDREQUIRES='BuildRequires:  package_1
  BuildRequires:  package_2'
  AC_SUBST(RPM_BUILDREQUIRES)

I'm using this in my spec.in file:

  @RPM_BUILDREQUIRES@

to produce the following spec file:

  BuildRequires:  package_1
  BuildRequires:  package_2

This unfortunately has a side effect as it creates a target in my
Makefile named "BuildRequires:" requiring the target "package_2".

Is there a way for me to get the required substitution in the spec file
without AC_SUBST()'ing so that I avoid getting the value substituted
into the Makefile as well?


Thanks,
  jules



_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to