]> Savannah Git Hosting - gnulib.git/commit
Don’t use AC_EGREP_CPP if affected by CFLAGS
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Nov 2017 04:04:11 +0000 (20:04 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Nov 2017 04:04:57 +0000 (20:04 -0800)
commit4b0ea422d8a400375f957c0dee6faaf92802c625
tree6286271b2b90c297e266d92161a61f20b9d76ac8
parent1d74e2dc33cdac166bd8f59b3b59e7ec885d1f83
Don’t use AC_EGREP_CPP if affected by CFLAGS

* m4/float_h.m4 (gl_FLOAT_H):
* m4/host-cpu-c-abi.m4 (gl_HOST_CPU_C_ABI):
* m4/lib-ld.m4 (AC_LIB_PROG_LD):
* m4/lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB):
* m4/year2038.m4 (gl_YEAR2038):
Prefer AC_COMPILE_IFELSE to AC_EGREP_CPP when testing conditions
likely to be affected by the choice of CFLAGS, since CFLAGS are
not used by AC_EGREP_CPP.  Without this patch, ‘./configure
CFLAGS="-m32"’ fails on gzip with GNU/Linux x86-64.
ChangeLog
m4/float_h.m4
m4/host-cpu-c-abi.m4
m4/lib-ld.m4
m4/lib-prefix.m4
m4/year2038.m4