|
1 | | -# aclocal.m4 generated automatically by aclocal 1.6 -*- Autoconf -*- |
| 1 | +# aclocal.m4 generated automatically by aclocal 1.6.2 -*- Autoconf -*- |
2 | 2 |
|
3 | 3 | # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
4 | 4 | # Free Software Foundation, Inc. |
@@ -800,9 +800,9 @@ _AM_IF_OPTION([no-define],, |
800 | 800 | # Some tools Automake needs. |
801 | 801 | AC_REQUIRE([AM_SANITY_CHECK])dnl |
802 | 802 | AC_REQUIRE([AC_ARG_PROGRAM])dnl |
803 | | -AM_MISSING_PROG(ACLOCAL, "aclocal-${am__api_version}") |
| 803 | +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) |
804 | 804 | AM_MISSING_PROG(AUTOCONF, autoconf) |
805 | | -AM_MISSING_PROG(AUTOMAKE, "automake-${am__api_version}") |
| 805 | +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) |
806 | 806 | AM_MISSING_PROG(AUTOHEADER, autoheader) |
807 | 807 | AM_MISSING_PROG(MAKEINFO, makeinfo) |
808 | 808 | AM_MISSING_PROG(AMTAR, tar) |
@@ -852,7 +852,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"]) |
852 | 852 | # Call AM_AUTOMAKE_VERSION so it can be traced. |
853 | 853 | # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
854 | 854 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
855 | | - [AM_AUTOMAKE_VERSION([1.6])]) |
| 855 | + [AM_AUTOMAKE_VERSION([1.6.2])]) |
856 | 856 |
|
857 | 857 | # Helper functions for option handling. -*- Autoconf -*- |
858 | 858 |
|
@@ -1184,7 +1184,7 @@ AC_REQUIRE([AM_DEP_TRACK])dnl |
1184 | 1184 |
|
1185 | 1185 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], |
1186 | 1186 | [$1], CXX, [depcc="$CXX" am_compiler_list=], |
1187 | | - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'] |
| 1187 | + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
1188 | 1188 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
1189 | 1189 | [depcc="$$1" am_compiler_list=]) |
1190 | 1190 |
|
@@ -1309,7 +1309,13 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
1309 | 1309 | [for mf in $CONFIG_FILES; do |
1310 | 1310 | # Strip MF so we end up with the name of the file. |
1311 | 1311 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
1312 | | - if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then |
| 1312 | + # Check whether this is an Automake generated Makefile or not. |
| 1313 | + # We used to match only the files named `Makefile.in', but |
| 1314 | + # some people rename them; so instead we look at the file content. |
| 1315 | + # Grep'ing the first line is not enough: some people post-process |
| 1316 | + # each Makefile.in and add a new line on top of each file to say so. |
| 1317 | + # So let's grep whole file. |
| 1318 | + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
1313 | 1319 | dirpart=`AS_DIRNAME("$mf")` |
1314 | 1320 | else |
1315 | 1321 | continue |
|
0 commit comments