Should AM_PROG_CC call AM_PROG_CPP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

libSDL2 configures fine with autoconf 2.69 but fails with git master:


| checking for stdio.h... yes
| checking for stdlib.h... yes
| checking for stddef.h... yes
| checking for stdarg.h... yes
| checking for malloc.h... yes
| checking for memory.h... yes
| checking for string.h... yes
| checking for strings.h... (cached) yes
| checking for wchar.h... yes
| checking for inttypes.h... (cached) yes
| checking for stdint.h... (cached) yes
| checking for limits.h... yes
| checking for ctype.h... yes
| checking for math.h... yes
| checking for float.h... yes
| checking for iconv.h... yes
| checking for signal.h... yes
| checking for size_t... yes
| checking for M_PI in math.h... ../SDL2-2.0.10/configure: line 13143: CPP: command not found | checking how to run the C preprocessor... x86_64-poky-linux-gcc -E --sysroot=/scratch/poky/work/corei7-64-poky-linux/libsdl2/2.0.10-r0/recipe-sysroot -m64 -march=nehalem -mtune=generic -mfpmath=sse -msse4.2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
| ../SDL2-2.0.10/configure: line 13269: ac_fn_c_try_cpp: command not found
| ../SDL2-2.0.10/configure: line 13269: ac_fn_c_try_cpp: command not found
| configure: error: in `/scratch/poky/work/corei7-64-poky-linux/libsdl2/2.0.10-r0/build':

I note that the configure.ac doesn't explictly call AM_PROG_CPP and adding that fixes it, but I'm guessing from the undeclared ac_fn_c_try_cpp that this should have been done automatically?

Ross




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux