conditionally defined. Fixes PR automake/77 and ldflags.test.
+2000-12-17 Tom Tromey <tromey@redhat.com>
+
+ * automake.in (handle_ltlibraries): Allow _LDFLAGS to be
+ conditionally defined. Fixes PR automake/77 and ldflags.test.
+
2000-11-25 Tom Tromey <tromey@cygnus.com>
* automake.in (file_contents_with_transform): Added file name and
# Check that the library fits the standard naming convention.
$libname_rx = "^lib.*\.la";
- if (&variable_value ($xlib . '_LDFLAGS') =~ /-module/
- || &variable_value ('LDFLAGS') =~ /-module/)
+ if (grep (/-module/, &variable_value_as_list ($xlib . '_LDFLAGS',
+ 'all'))
+ || grep (/-module/, &variable_value_as_list ('LDFLAGS', 'all')))
{
# Relax name checking for libtool modules.
$libname_rx = "\.la";