You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2011/05/25 20:09:48 UTC

[jira] [Created] (TS-800) autoconf warnings with "recent" versions of auto tools

autoconf warnings with "recent" versions of auto tools
------------------------------------------------------

                 Key: TS-800
                 URL: https://issues.apache.org/jira/browse/TS-800
             Project: Traffic Server
          Issue Type: Bug
          Components: Build
            Reporter: Leif Hedstrom
            Assignee: Leif Hedstrom
             Fix For: 2.1.9


The builds gives warnings like this on Fedora Core 15, which has autoconf v2.68:

{code}
configure.ac:1120: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
build/common.m4:174: TS_TRY_COMPILE_NO_WARNING is expanded from...
../../lib/autoconf/lang.m4:225: AC_LANG_SOURCE is expanded from...
build/network.m4:28: TS_CHECK_GETHOSTBYNAME_R_STYLE is expanded from...
configure.ac:1120: the top level
configure.ac:1120: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
build/common.m4:174: TS_TRY_COMPILE_NO_WARNING is expanded from...
../../lib/autoconf/lang.m4:225: AC_LANG_SOURCE is expanded from...
build/network.m4:28: TS_CHECK_GETHOSTBYNAME_R_STYLE is expanded from...
configure.ac:1120: the top level
configure.ac:1120: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
build/common.m4:174: TS_TRY_COMPILE_NO_WARNING is expanded from...
../../lib/autoconf/lang.m4:225: AC_LANG_SOURCE is expanded from...
build/network.m4:28: TS_CHECK_GETHOSTBYNAME_R_STYLE is expanded from...
configure.ac:1120: the top level
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-800) autoconf warnings with "recent" versions of auto tools

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039266#comment-13039266 ] 

Leif Hedstrom commented on TS-800:
----------------------------------

Proposed patch (this still leaves a lot of redundant quotes, I think, but not sure I want to touch more than I really have to):

{code}
Index: build/common.m4
===================================================================
--- build/common.m4	(revision 1127576)
+++ build/common.m4	(working copy)
@@ -177,14 +177,16 @@
  if test "$ac_cv_prog_gcc" = "yes"; then
    CFLAGS="$CFLAGS -Werror"
  fi
- AC_COMPILE_IFELSE(
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([
   [#include "confdefs.h"
   ]
   [[$1]]
   [int main(int argc, const char *const *argv) {]
   [[$2]]
   [   return 0; }],
-  [$3], [$4])
+  [$3], [$4]])
+ ])
+
  CFLAGS=$ats_save_CFLAGS
 ])
{code}


> autoconf warnings with "recent" versions of auto tools
> ------------------------------------------------------
>
>                 Key: TS-800
>                 URL: https://issues.apache.org/jira/browse/TS-800
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.9
>
>
> The builds gives warnings like this on Fedora Core 15, which has autoconf v2.68:
> {code}
> configure.ac:1120: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
> build/common.m4:174: TS_TRY_COMPILE_NO_WARNING is expanded from...
> ../../lib/autoconf/lang.m4:225: AC_LANG_SOURCE is expanded from...
> build/network.m4:28: TS_CHECK_GETHOSTBYNAME_R_STYLE is expanded from...
> configure.ac:1120: the top level
> configure.ac:1120: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
> build/common.m4:174: TS_TRY_COMPILE_NO_WARNING is expanded from...
> ../../lib/autoconf/lang.m4:225: AC_LANG_SOURCE is expanded from...
> build/network.m4:28: TS_CHECK_GETHOSTBYNAME_R_STYLE is expanded from...
> configure.ac:1120: the top level
> configure.ac:1120: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
> build/common.m4:174: TS_TRY_COMPILE_NO_WARNING is expanded from...
> ../../lib/autoconf/lang.m4:225: AC_LANG_SOURCE is expanded from...
> build/network.m4:28: TS_CHECK_GETHOSTBYNAME_R_STYLE is expanded from...
> configure.ac:1120: the top level
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (TS-800) autoconf warnings with "recent" versions of auto tools

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom resolved TS-800.
------------------------------

    Resolution: Fixed

> autoconf warnings with "recent" versions of auto tools
> ------------------------------------------------------
>
>                 Key: TS-800
>                 URL: https://issues.apache.org/jira/browse/TS-800
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.9
>
>
> The builds gives warnings like this on Fedora Core 15, which has autoconf v2.68:
> {code}
> configure.ac:1120: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
> build/common.m4:174: TS_TRY_COMPILE_NO_WARNING is expanded from...
> ../../lib/autoconf/lang.m4:225: AC_LANG_SOURCE is expanded from...
> build/network.m4:28: TS_CHECK_GETHOSTBYNAME_R_STYLE is expanded from...
> configure.ac:1120: the top level
> configure.ac:1120: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
> build/common.m4:174: TS_TRY_COMPILE_NO_WARNING is expanded from...
> ../../lib/autoconf/lang.m4:225: AC_LANG_SOURCE is expanded from...
> build/network.m4:28: TS_CHECK_GETHOSTBYNAME_R_STYLE is expanded from...
> configure.ac:1120: the top level
> configure.ac:1120: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
> build/common.m4:174: TS_TRY_COMPILE_NO_WARNING is expanded from...
> ../../lib/autoconf/lang.m4:225: AC_LANG_SOURCE is expanded from...
> build/network.m4:28: TS_CHECK_GETHOSTBYNAME_R_STYLE is expanded from...
> configure.ac:1120: the top level
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira