]>
Commit | Line | Data |
---|---|---|
1 | --- acinclude.m4~ 2008-07-16 20:41:56.892069130 +0200 | |
2 | +++ acinclude.m4 2008-07-16 20:42:33.158731990 +0200 | |
3 | @@ -725,19 +725,7 @@ | |
4 | # Check for a fully functional sed program that truncates | |
5 | # as few characters as possible. Prefer GNU sed if found. | |
6 | AC_DEFUN([AST_PROG_SED], | |
7 | -[AC_CACHE_CHECK([for a sed that does not truncate output], ac_cv_path_SED, | |
8 | - [dnl ac_script should not contain more than 99 commands (for HP-UX sed), | |
9 | - dnl but more than about 7000 bytes, to catch a limit in Solaris 8 /usr/ucb/sed. | |
10 | - ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ | |
11 | - for ac_i in 1 2 3 4 5 6 7; do | |
12 | - ac_script="$ac_script$as_nl$ac_script" | |
13 | - done | |
14 | - echo "$ac_script" | sed 99q >conftest.sed | |
15 | - $as_unset ac_script || ac_script= | |
16 | - _AC_PATH_PROG_FEATURE_CHECK(SED, [sed gsed], | |
17 | - [_AC_FEATURE_CHECK_LENGTH([ac_path_SED], [ac_cv_path_SED], | |
18 | - ["$ac_path_SED" -f conftest.sed])])]) | |
19 | - SED="$ac_cv_path_SED" | |
20 | + [ SED="sed" | |
21 | AC_SUBST([SED])dnl | |
22 | rm -f conftest.sed | |
23 | ])# AST_PROG_SED | |
24 | --- acinclude.m4~ 2008-07-16 21:00:37.112374194 +0200 | |
25 | +++ acinclude.m4 2008-07-16 21:02:12.078198664 +0200 | |
26 | @@ -423,7 +423,7 @@ | |
27 | AC_DEFUN( | |
28 | [AST_CHECK_PWLIB_VERSION], [ | |
29 | if test "${HAS_$2:-unset}" != "unset"; then | |
30 | - $2_VERSION=`grep "$2_VERSION" ${$2_INCDIR}/$3 | cut -f2 -d ' ' | sed -e 's/"//g'` | |
31 | + $2_VERSION=`grep "$2_VERSION" ${$2_INCDIR}/$3 | cut -f3 -d ' ' | sed -e 's/"//g'` | |
32 | $2_MAJOR_VERSION=`echo ${$2_VERSION} | cut -f1 -d.` | |
33 | $2_MINOR_VERSION=`echo ${$2_VERSION} | cut -f2 -d.` | |
34 | $2_BUILD_NUMBER=`echo ${$2_VERSION} | cut -f3 -d.` |