@alixrezax yes, you gotta install OpenSSL through homebrew. Then I ran this (slightly modified) config command:
../configure --enable-sdl --disable-cocoa --target-list=arm-softmmu --disable-capstone --disable-pie --disable-slirp --extra-cflags=-I/opt/homebrew/opt/openssl@3/include --extra-ldflags='-L/opt/homebrew/opt/openssl@3/lib -lcrypto'
@samhenrigold awesome, the modified config command was the key, although now i’m getting a different set of errors