blob: 1ec417b9474c33821c54a4ec3806a1928235934f [file] [log] [blame]
xf.libdd93d52023-05-12 07:10:14 -07001GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
2
3dnl The standard hppa assembler uses `;' to start comments and `!'
4dnl as a line separator.
5AC_CACHE_CHECK(for assembler line separator,
6 libc_cv_asm_line_sep, [dnl
7cat > conftest.s <<EOF
8nop ; is_old_puffin
9EOF
10if AC_TRY_COMMAND(${CC-cc} -c $ASFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then
11 libc_cv_asm_line_sep='!'
12else
13 if test -z "$enable_hacker_mode"; then
14 echo "*** You need a newer assembler to compile glibc"
15 rm -f conftest*
16 exit 1
17 fi
18 libc_cv_asm_line_sep=';'
19fi
20rm -f conftest*])
21AC_DEFINE_UNQUOTED(ASM_LINE_SEP, $libc_cv_asm_line_sep)