Bug 30059 - bootstrap.sh: autoconf thinks it cross-compiles, while it doesn't
Summary: bootstrap.sh: autoconf thinks it cross-compiles, while it doesn't
Status: RESOLVED WONTFIX
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-07 01:20 UTC by Holger Schurig
Modified: 2010-09-07 04:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Holger Schurig 2010-09-07 01:20:34 UTC
On my Desktop Debian "squeeze/sid" system with systemd from today's GIT, I do this:

$ ./bootstrap.sh
[... many lines omitted]
+ autoconf -Wall
configure.ac:253: warning: cannot check for file existence when cross compiling
../../lib/autoconf/general.m4:2765: AC_CHECK_FILE is expanded from...
configure.ac:253: the top level
configure.ac:254: warning: cannot check for file existence when cross compiling
configure.ac:254: the top level
configure.ac:255: warning: cannot check for file existence when cross compiling
configure.ac:255: the top level
configure.ac:256: warning: cannot check for file existence when cross compiling
configure.ac:256: the top level
configure.ac:257: warning: cannot check for file existence when cross compiling
configure.ac:257: the top level
configure.ac:258: warning: cannot check for file existence when cross compiling
configure.ac:258: the top level
+ run_versioned autoheader 2.63



Maybe you need it:

$ autoconf --version
autoconf (GNU Autoconf) 2.67
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
Comment 1 Lennart Poettering 2010-09-07 04:30:37 UTC
Heh, that's a misunderstanding. The warning is just about the fact that some of our autoconf checks would break IF you'd cross-compile things, but only then. But since you don't do that it's not a problem.

It might make sense to file a bug against autoconf upstream asking for a clarified warning in this case.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.