Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94509 - autoconf: interesting patches from debian autoconf-2.59a-3
Summary: autoconf: interesting patches from debian autoconf-2.59a-3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Other
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-30 08:17 UTC by Michael Haubenwallner (RETIRED)
Modified: 2005-05-30 19:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Haubenwallner (RETIRED) gentoo-dev 2005-05-30 08:17:18 UTC
Debian has some interesting patch for autoconf-2.59:
http://ftp.debian.org/debian/pool/main/a/autoconf/autoconf_2.59a-3.diff.gz

especially two hunks (starting at line 267 in patch-file) for
lib/autoconf/general.m4 definitely fix shell-syntax errors:
 AS_IF([_AC_EVAL_STDERR($ac_compile) &&
-    AC_TRY_COMMAND([test -z "$ac_[]_AC_LANG_ABBREV[]_werror_flag"
+    AC_TRY_COMMAND([test -z "$ac_[]_AC_LANG_ABBREV[]_werror_flag"[]dnl
             || test ! -s conftest.err]) &&

The problem is the newline before "|| test ! -s ..."
Comment 1 SpanKY gentoo-dev 2005-05-30 19:44:15 UTC
i dont know why they use that patch but it appears to be pointless

the code is used like this:
ac_try='test -z "$ac_c_werror_flag"
        || test ! -s conftest.err'
eval $ac_try

the whitespace isnt expanded such that it will cause an error