mir ist aufgefallen, dass die AC_CHECK_SIZE tests von configure falsche Ergebnisse zurückliefern, wenn ich es auf AmigaOS 4.1 FE 2 ausführe:
Code: Alles auswählen
/RAM Disk/test> ./configure
configure: creating cache /dev/null
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /SDK/Local/C/grep
checking for egrep... /SDK/Local/C/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... no
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of char... 1
checking size of short... 1
checking size of int... 1
checking size of long... 1
checking size of long long... 8
checking size of void *... 8
configure: not updating unwritable cache /dev/null
configure: creating ./config.status
/RAM Disk/test> ./configure
configure: creating cache /dev/null
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /SDK/Local/C/grep
checking for egrep... /SDK/Local/C/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... no
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of char... 1
checking size of short... 2
checking size of int... 2
checking size of long... 2
checking size of long long... 2
checking size of void *... 4
configure: not updating unwritable cache /dev/null
configure: creating ./config.status
/RAM Disk/test>
Hat jemand eine Idee, was der Fehler ist?
Anbei ist ein minimales Configure-Skript plus das C-Testprogramm: