[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: generated configure script doesn't work when "diff" isn't available
From: |
Eric Blake |
Subject: |
Re: generated configure script doesn't work when "diff" isn't available |
Date: |
Fri, 28 Mar 2008 22:54:41 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Ralf Wildenhues on 3/20/2008 6:41 PM:
|
| Because there is no fix. cmp is working on binary files and diff
| is working on text files, as designed.
|
| FWIW, to make this discussion constructive, here's a quick and
| incomplete patch to cope without diff in Autoconf (missing a NEWS
| entry, documentation, and maybe a wrapper macro around $as_diff).
| Vincent, it'd be nice if you could run the git Autoconf testsuite
| on Maemo with this, to see if it stands a chance of working.
| Also, I guess, instead of diffing the huge configure (or testsuite)
| script ...
|
|> +m4_defun([_AS_DIFF_PREPARE],
|> +[if (diff $as_myself $as_myself) >/dev/null 2>&1; then
|
| ... this should probably generate an empty file and diff that to itself
| (and clean up afterwards).
I think the patch was a nice proof of concept, but at this point, I'm
reluctant to include it in autoconf 2.62. Maybe after the release we can
revisit this...
|
| The larger question is whether these systems are general enough to
| warrant that Autoconf works on them. AIUI since the Zaurus doesn't
| have awk, the current git Autoconf won't work on it anyway.
but I think this paragraph was the biggest argument for not making the
change now. I would have more incentive to include it if we first
modified the GNU Coding Standards to require support for such a
minimalistic system.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkfty5EACgkQ84KuGfSFAYD34wCaAw+3ODGsyYEhzAksnKrwYDhp
8hoAnR9T/QbDzQN9/2PI27+Ld6vn+UMk
=fsVp
-----END PGP SIGNATURE-----
Re: generated configure script doesn't work when "diff" isn't available,
Eric Blake <=