6 AC_DEFUN([AC_ELF_OBJECT_FORMAT],[
7 AC_CACHE_CHECK([for ELF object format], ac_cv_sys_elf_object_format,[
8 ac_cv_sys_elf_object_format=no
9 echo 'int foo;' > conftest.$ac_ext
10 if AC_TRY_EVAL(ac_compile); then
11 case `file conftest.o 2> /dev/null` in
12 *ELF*) ac_cv_sys_elf_object_format=yes ;;