| xf.li | bdd93d5 | 2023-05-12 07:10:14 -0700 | [diff] [blame] | 1 | GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. | 
|  | 2 |  | 
|  | 3 | dnl The standard hppa assembler uses `;' to start comments and `!' | 
|  | 4 | dnl as a line separator. | 
|  | 5 | AC_CACHE_CHECK(for assembler line separator, | 
|  | 6 | libc_cv_asm_line_sep, [dnl | 
|  | 7 | cat > conftest.s <<EOF | 
|  | 8 | nop ; is_old_puffin | 
|  | 9 | EOF | 
|  | 10 | if AC_TRY_COMMAND(${CC-cc} -c $ASFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then | 
|  | 11 | libc_cv_asm_line_sep='!' | 
|  | 12 | else | 
|  | 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=';' | 
|  | 19 | fi | 
|  | 20 | rm -f conftest*]) | 
|  | 21 | AC_DEFINE_UNQUOTED(ASM_LINE_SEP, $libc_cv_asm_line_sep) |