This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: question about running autoconf in newlib directory


A long while back, we got around a problem in autoconf AC_PROG_CC which tries and build an executable to verify that the compiler is valid. Since we are building the library, this doesn't work. The following is documented in our acinclude.m4:

# FIXME: We temporarily define our own version of AC_PROG_CC. This is
# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
# are probably using a cross compiler, which will not be able to fully
# link an executable.  This should really be fixed in autoconf
# itself.

It is likely that some new check added in the current autoconf is noting we haven't called the base AC_PROG_CC macro and what it subsequently calls. Although I have seen such warnings, I haven't seen any build issues so I have just left it alone for the time-being.

-- Jeff J.

On 07/26/2013 05:59 PM, Steve Ellcey wrote:
While trying some things out in newlib and libgloss I was trying to
run autoconf on those directories and I get this error when using
autoconf 2.68 on the ToT newlib directory.  Has anyone else seen these
messages?  The configure script that is in there now says it was built
with autoconf 2.68.

Steve Ellcey
sellcey@mips.com


% autoconf
configure.in:207: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
/home/sellcey/tools/tmp/autoconf-2.68/lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
/home/sellcey/tools/tmp/autoconf-2.68/lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
/home/sellcey/tools/tmp/autoconf-2.68/lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../libtool.m4:1080: _LT_SYS_MODULE_PATH_AIX is expanded from...
../libtool.m4:4207: _LT_LINKER_SHLIBS is expanded from...
../libtool.m4:5335: _LT_LANG_C_CONFIG is expanded from...
../libtool.m4:141: _LT_SETUP is expanded from...
../libtool.m4:67: LT_INIT is expanded from...
../libtool.m4:106: AM_PROG_LIBTOOL is expanded from...
configure.in:207: the top level
configure.in:207: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
/home/sellcey/tools/tmp/autoconf-2.68/lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
/home/sellcey/tools/tmp/autoconf-2.68/lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
/home/sellcey/tools/tmp/autoconf-2.68/lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../libtool.m4:4207: _LT_LINKER_SHLIBS is expanded from...
../libtool.m4:5335: _LT_LANG_C_CONFIG is expanded from...
../libtool.m4:141: _LT_SETUP is expanded from...
../libtool.m4:67: LT_INIT is expanded from...
../libtool.m4:106: AM_PROG_LIBTOOL is expanded from...
configure.in:207: the top level



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]