]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Merge branch 'master' into ng/master
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 30 Nov 2012 10:54:52 +0000 (11:54 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 30 Nov 2012 10:54:52 +0000 (11:54 +0100)
* master: (30 commits)
  news: we'll remove AM_PROG_MKDIR in 1.14, not 1.13
  tests: give few vala tests more significant names
  vala tests: don't use the 'posix' profile, it's no longer supported
  news: fixup: bug#8847 is fixed in 1.12.6, not in 1.12.5
  news: document the fix for automake bug#10227
  tests: fix a spurious testsuite failure on Solaris
  tests: give few aclocal tests more significant names
  tests: remove a redundant workaround for a testsuite weakness
  depcomp: remove 'icc' depmode, add 'tcc' one
  news: update w.r.t. recent depcomp changes
  tests: fix spurious failures with tcc
  depcomp: improve comments about tcc support
  depcomp: remove last relics of libtool 1.4 support
  depcomp: remove an unused variable
  depcomp: rewrite a sed invocation for less quoting
  depcomp: whitespace fixes
  depcomp: shell code style changes
  depcomp: make some code more self-documenting
  depcomp: less duplication between AIX and Tru64 modes
  depcomp: avoid an extra fork when possible
  ...

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
13 files changed:
1  2 
lib/depcomp
t/add-missing-multiple.sh
t/depcomp8a.sh
t/depcomp8b.sh
t/vala-libs.sh
t/vala-mix.sh
t/vala-mix2.sh
t/vala-non-recursive-setup.sh
t/vala-parallel.sh
t/vala-per-target-flags.sh
t/vala-recursive-setup.sh
t/vala-vapi.sh
t/vala-vpath.sh

diff --cc lib/depcomp
index b2d236788139d9048a0008aaef604e3d70c099a0,3f02f5d008616707958aedde54d826f8991d2e7c..f6d7ed0f0566aa1fd45e4b5f7788f79a3c8c60cd
@@@ -60,9 -109,15 +108,15 @@@ tab='     
  # A newline character.
  nl='
  '
+ # Character ranges might be problematic outside the C locale.
+ # These definitions help.
+ upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
+ lower=abcdefghijklmnopqrstuvwxyz
+ digits=0123456789
+ alpha=${upper}${lower}
  
 -if test -z "$depmode" || test -z "$source" || test -z "$object"; then
 -  echo "depcomp: Variables source, object and depmode must be set" 1>&2
 +if test -z "$depmode" || test -z "$object"; then
 +  echo "depcomp: Variables object and depmode must be set" 1>&2
    exit 1
  fi
  
Simple merge
diff --cc t/depcomp8a.sh
index bbb8e75e51c52412e595b163e6153eb2d51c2e07,3d58a3eeb341623822368f1a6d4d23be2bb54100..8ec261a7cc674731d44851897982a2cdf4e8abc1
@@@ -42,9 -42,32 +42,12 @@@ int main (void
  }
  END
  cat > sub/bar.c << 'END'
- extern int bar = 0;
+ int bar (void)
+ {
+   return 0;
+ }
  END
  
 -$ACLOCAL
 -$AUTOMAKE -a
 -grep include Makefile.in # For debugging.
 -grep 'include.*\./\$(DEPDIR)/foo\.P' Makefile.in
 -grep 'include.*\./\$(DEPDIR)/bar\.P' Makefile.in
 -grep 'include.*/\./\$(DEPDIR)' Makefile.in && exit 1
 -
 -$AUTOCONF
 -# Don't reject slower dependency extractors, for better coverage.
 -./configure --enable-dependency-tracking
 -$MAKE
 -cross_compiling || ./zardoz
 -DISTCHECK_CONFIGURE_FLAGS='--enable-dependency-tracking' $MAKE distcheck
 -
 -# Try again with subdir-objects option.
 -
 -sed 's/#x //' configure.ac >configure.int
 -mv -f configure.int configure.ac
 -echo AUTOMAKE_OPTIONS = subdir-objects >> Makefile.am
 -
  $ACLOCAL
  $AUTOMAKE -a
  grep include Makefile.in # For debugging.
diff --cc t/depcomp8b.sh
index 32aa81b48e77b8624c9b83d1f251d24f870fb461,6fed2155c329a497248b67744576eb337ccbcaf8..d25dc6be48f5226871978146afbf9428ee1e5ad9
@@@ -36,10 -36,30 +36,10 @@@ libzardoz_la_SOURCES = foo.c sub/bar.
  END
  
  mkdir sub
- echo 'extern int foo = 0;' > foo.c
- echo 'extern int bar = 0;' > sub/bar.c
+ echo 'int foo (void) { return 0; }' > foo.c
+ echo 'int bar (void) { return 0; }' > sub/bar.c
  
  libtoolize
 -
 -$ACLOCAL
 -$AUTOMAKE -a
 -grep include Makefile.in # For debugging.
 -grep 'include.*\./\$(DEPDIR)/foo\.P' Makefile.in
 -grep 'include.*\./\$(DEPDIR)/bar\.P' Makefile.in
 -grep 'include.*/\./\$(DEPDIR)' Makefile.in && exit 1
 -
 -$AUTOCONF
 -# Don't reject slower dependency extractors, for better coverage.
 -./configure --enable-dependency-tracking
 -$MAKE
 -DISTCHECK_CONFIGURE_FLAGS='--enable-dependency-tracking' $MAKE distcheck
 -
 -# Try again with subdir-objects option.
 -
 -sed 's/#x //' configure.ac >configure.int
 -mv -f configure.int configure.ac
 -echo AUTOMAKE_OPTIONS = subdir-objects >> Makefile.am
 -
  $ACLOCAL
  $AUTOMAKE -a
  grep include Makefile.in # For debugging.
diff --cc t/vala-libs.sh
Simple merge
diff --cc t/vala-mix.sh
index 274d506786cb11f08cd77630e059838fe1022eeb,44b5a3b5a37e1a8cc2f126f1c8e3ac887fc0e5c1..2aacc77748029a328d9c93b6a5745ad5c7c5548f
@@@ -16,7 -16,7 +16,7 @@@
  
  # Vala sources and C sources in the same program.  Functional test.
  
- required='valac cc'
 -required='valac cc pkg-config GNUmake'
++required='valac cc pkg-config'
  . test-init.sh
  
  cat >> configure.ac <<'END'
diff --cc t/vala-mix2.sh
index 753a5d144dbc18d73c239af2e9bcededc9b95dde,3e823e243a518bbd33d4c16586291fe56a3c4cfc..d914884e62c836e343acd990f6797dc541197152
@@@ -17,7 -17,7 +17,7 @@@
  # Vala sources, C and C++ sources and C and C++ headers in the same
  # program.  Functional test.  See automake bug#10894.
  
- required='valac cc c++'
 -required='valac cc c++ pkg-config GNUmake'
++required='valac cc c++ pkg-config'
  . test-init.sh
  
  cat >> configure.ac <<'END'
index b3712e9e18f200d0f5b32d10a707549bb8bda6f3,96135d34e04ba0b2187454b17240b585cd7f71ad..d92e83305841bf852fa9365322b8ab21fe2ca79e
@@@ -16,7 -16,7 +16,7 @@@
  
  # Test to make sure compiling Vala code really works with non-recursive make.
  
- required="pkg-config valac gcc"
 -required="pkg-config valac gcc GNUmake"
++required='valac gcc pkg-config'
  . test-init.sh
  
  mkdir src
index 19b5570a35cd0467e75c6354d588c8dc4fb1bde6,b68d76229608671478b551b20fdec3020da14521..650dc44634a3c1716940df6980e20072075d70a8
@@@ -16,7 -16,7 +16,7 @@@
  
  # Vala support with parallel make.
  
- required='valac cc'
 -required='valac cc pkg-config GNUmake'
++required='valac cc pkg-config'
  . test-init.sh
  
  cat >> configure.ac <<'END'
index 94ae7aa013a2a357229a2b9d2cd4f36fc472e4d5,5eae28185cc0b31c02a892a4eab6f40178a150a2..dbc4f09377540290eebbb18b435e22ab2ba470a7
@@@ -14,9 -14,9 +14,9 @@@
  # You should have received a copy of the GNU General Public License
  # along with this program.  If not, see <http://www.gnu.org/licenses/>.
  
- # Test per-target flags.
+ # Test per-target flags in vala support.
  
 -required="pkg-config valac gcc GNUmake"
 +required="pkg-config valac gcc"
  . test-init.sh
  
  mkdir src
Simple merge
diff --cc t/vala-vapi.sh
index 66d033ed7e2557122339293bed1b452fcb3acef4,545a0ea015bb076ec1de870a2a5f9466699d146e..5c2f9f73edf97914f24dfd4c77d007175ed52746
@@@ -16,7 -16,7 +16,7 @@@
  
  # Test and that vapi files are correctly handled by Vala support.
  
- required='valac cc'
 -required='pkg-config valac cc GNUmake'
++required='valac cc pkg-config'
  . test-init.sh
  
  cat >> configure.ac <<'END'
diff --cc t/vala-vpath.sh
index ad5acf680eaa08afecbde4fef70728961f5869ed,7e2a984a76ea82a09510bd526e9e478870ebd596..a0df38847f81fafb5bea2ebc2166e46e6146ab3f
@@@ -17,7 -17,7 +17,7 @@@
  # Test to make sure vala support handles from-scratch VPATH builds.
  # See automake bug#8753.
  
- required="cc valac"
 -required="cc valac pkg-config GNUmake"
++required='cc valac pkg-config'
  . test-init.sh
  
  cat >> configure.ac << 'END'