pike.git / src / aclocal.m4

version» Context lines:

pike.git/src/aclocal.m4:1630:    abi_64=yes    ;;    *386*)    abi_32=yes    ;;    *ppc*)    abi_32=yes    ;;    *archive*)    # Try looking deeper into the archive. -  if type elffile >/dev/null; then +  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 >/dev/null; then +  elif type elfdump 2>/dev/null >/dev/null; then    # Solaris 10 or earlier.    # Typical output:    # i386: "ei_class: ELFCLASS32 ei_data: ELFDATA2LSB" (repeated)    # amd64: "ei_class: ELFCLASS64 ei_data: ELFDATA2LSB" (repeated)    filetype="`POSIXLY_CORRECT=yes elfdump -e $f 2>/dev/null | grep ELFCLASS`" -  elif type readelf >/dev/null; then +  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//'`"    case "$filetype" in    *ELFCLASS64*)