pike.git / src / aclocal.m4

version» Context lines:

pike.git/src/aclocal.m4:1640:    if type elffile 2>/dev/null >/dev/null; then    # Solaris 11 or later.    # Typical output:    # i386: "current ar archive, 32-bit symbol table, ELF 32-bit LSB relocatable 80386 Version 1"    # amd64: "current ar archive, 32-bit symbol table, ELF 64-bit LSB relocatable AMD64 Version 1"    filetype="`POSIXLY_CORRECT=yes elffile $f 2>/dev/null`"    elif type elfdump 2>/dev/null >/dev/null; then    # Solaris 10 or earlier.    # Typical output:    # i386: "ei_class: ELFCLASS32 ei_data: ELFDATA2LSB" (repeated) +  # sparcv7: "ei_class: ELFCLASS32 ei_data: ELFDATA2MSB"    # amd64: "ei_class: ELFCLASS64 ei_data: ELFDATA2LSB" (repeated) -  +  # sparc64: "ei_class: ELFCLASS64 ei_data: ELFDATA2MSB"    filetype="`POSIXLY_CORRECT=yes elfdump -e $f 2>/dev/null | grep ELFCLASS`"    elif type readelf 2>/dev/null >/dev/null; then    # GNU binutils.    # Typical output:    # x86: "Class: ELF32"    # x86_64: "Class: ELF64"    filetype="`readelf -h $f 2>/dev/null | grep -i class`"    fi    # NB: Avoid matching "32-bit symbol table".    filetype="`echo $filetype | sed -e 's/...bit symbol table//'`"