PHP_ARG_ENABLE(study, whether to enable study support, Make sure that the comment is aligned: [ --enable-study Enable study support]) # AC_CANONICAL_HOST
if test "$PHP_STUDY" != "no"; then PHP_ADD_LIBRARY(pthread) STUDY_ASM_DIR="thirdparty/boost/asm/" CFLAGS="-Wall -pthread $CFLAGS"
if test "$STUDY_CPU" = "x86_64"; then if test "$STUDY_OS" = "LINUX"; then STUDY_CONTEXT_ASM_FILE="x86_64_sysv_elf_gas.S" fi elif test "$STUDY_CPU" = "x86"; then if test "$STUDY_OS" = "LINUX"; then STUDY_CONTEXT_ASM_FILE="i386_sysv_elf_gas.S" fi elif test "$STUDY_CPU" = "arm"; then if test "$STUDY_OS" = "LINUX"; then STUDY_CONTEXT_ASM_FILE="arm_aapcs_elf_gas.S" fi elif test "$STUDY_CPU" = "arm64"; then if test "$STUDY_OS" = "LINUX"; then STUDY_CONTEXT_ASM_FILE="arm64_aapcs_elf_gas.S" fi elif test "$STUDY_CPU" = "mips32"; then if test "$STUDY_OS" = "LINUX"; then STUDY_CONTEXT_ASM_FILE="mips32_o32_elf_gas.S" fi fi
if test "$STUDY_CPU" = "x86_64"; then if test "$STUDY_OS" = "LINUX"; then STUDY_CONTEXT_ASM_FILE="x86_64_sysv_elf_gas.S" fi elif test "$STUDY_CPU" = "x86"; then if test "$STUDY_OS" = "LINUX"; then STUDY_CONTEXT_ASM_FILE="i386_sysv_elf_gas.S" fi elif test "$STUDY_CPU" = "arm"; then if test "$STUDY_OS" = "LINUX"; then STUDY_CONTEXT_ASM_FILE="arm_aapcs_elf_gas.S" fi elif test "$STUDY_CPU" = "arm64"; then if test "$STUDY_OS" = "LINUX"; then STUDY_CONTEXT_ASM_FILE="arm64_aapcs_elf_gas.S" fi elif test "$STUDY_CPU" = "mips32"; then if test "$STUDY_OS" = "LINUX"; then STUDY_CONTEXT_ASM_FILE="mips32_o32_elf_gas.S" fi fi