CRLFs. This circumvents a bug in Cygwin bash.
* automake.in (generate_makefile): Don't write Makefile.in
files with CRLFs, as it causes problems for the dependency-file
extraction in AM_OUTPUT_DEPENDENCY_COMMANDS.
+2000-10-23 Morten Eriksen <mortene@sim.no>
+
+ * aclocal.in (write_aclocal): Don't write aclocal.m4 with
+ CRLFs. This circumvents a bug in Cygwin bash.
+
+ * automake.in (generate_makefile): Don't write Makefile.in
+ files with CRLFs, as it causes problems for the dependency-file
+ extraction in AM_OUTPUT_DEPENDENCY_COMMANDS.
+
2000-10-19 Alex Hornby <alex@anvil.co.uk>
* automake.in (handle_merge_targets): Allow parallel install
print STDERR "Writing $output_file\n" if $verbosity;
+
+ # In case we're running under MSWindows, don't write with CRLF.
+ # (This circumvents a bug in at least Cygwin bash where the shell
+ # parsing fails on lines ending with the continuation character '\'
+ # and CRLF.)
+ binmode ACLOCAL;
+
open (ACLOCAL, "> " . $output_file)
|| die "aclocal: couldn't open \`$output_file' for writing: $!\n";
print ACLOCAL "# $output_file generated automatically by aclocal $VERSION\n";
}
print "automake: creating ", $makefile, ".in\n" if $verbose;
+ # In case we're running under MSWindows, don't write with CRLF
+ # (as it causes problems for the dependency-file extraction in
+ # AM_OUTPUT_DEPENDENCY_COMMANDS).
+ binmode GM_FILE;
+
print GM_FILE $output_vars;
# We make sure that `all:' is the first target.
print GM_FILE $output_all;