]> git.ipfire.org Git - thirdparty/systemd.git/commit
build-sys: use 'test -f' instead of AC_CHECK_FILE 803/head
authorJohannes Nixdorf <mixi@exherbo.org>
Thu, 16 Jul 2015 10:49:53 +0000 (12:49 +0200)
committerJohannes Nixdorf <mixi@exherbo.org>
Fri, 31 Jul 2015 11:38:49 +0000 (13:38 +0200)
commit182247ea923895e6078a292c2a2754af222d1d27
tree8b5c31c81252d87cdac5fc677b55573f92904104
parent0810bc568ace619b16e440805e93256730d45541
build-sys: use 'test -f' instead of AC_CHECK_FILE

AC_CHECK_FILE fails when cross-compiling. It is intended to be used to
check for files that are used at runtime during build time (e.g.
/etc/passwd, /dev/*) [1]. For files which are only used at build time
'test -f' is sufficient.

[1]: https://lists.gnu.org/archive/html/autoconf/2000-10/msg00018.html
configure.ac