From the output:
checking build system type... i686-pc-linux-gnu checking host system type... arm-unknown-none ... checking whether the arm-none-linux-gnueabi-gcc linker (/usr/local/arm/arm-2007q1/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes ... checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes
Probably libtool is confused by your host flag: --host=arm
, which to libtool is the same as --host=arm-unknown-none
. Try --host=arm-none-linux
instead. IIRC, arm-unknown-none
is used by people who want to do non-RTOS (main loop) type stuff for MCUs and other embedded boards where there's no OS and everything is statically linked into an image. Your toolchain is built for Linux: arm-none-linux
.