Blame sysdeps/hppa/configure.ac

Packit 6c4009
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
Packit 6c4009
Packit 6c4009
dnl The standard hppa assembler uses `;' to start comments and `!'
Packit 6c4009
dnl as a line separator.
Packit 6c4009
AC_CACHE_CHECK(for assembler line separator,
Packit 6c4009
	       libc_cv_asm_line_sep, [dnl
Packit 6c4009
cat > conftest.s <
Packit 6c4009
nop ; is_old_puffin
Packit 6c4009
EOF
Packit 6c4009
if AC_TRY_COMMAND(${CC-cc} -c $ASFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then
Packit 6c4009
  libc_cv_asm_line_sep='!'
Packit 6c4009
else
Packit 6c4009
  if test -z "$enable_hacker_mode"; then
Packit 6c4009
    echo "*** You need a newer assembler to compile glibc"
Packit 6c4009
    rm -f conftest*
Packit 6c4009
    exit 1
Packit 6c4009
  fi
Packit 6c4009
  libc_cv_asm_line_sep=';'
Packit 6c4009
fi
Packit 6c4009
rm -f conftest*])
Packit 6c4009
AC_DEFINE_UNQUOTED(ASM_LINE_SEP, $libc_cv_asm_line_sep)