emacs26 mac 编译报错gtk3 not used

编译失败: configure: error: xwidgets requested but gtk3 not used.

./configure --with-xwidgets --with-x-toolkit=gtk3

XQuartz gtk3也都安装了

搜了一天没找到答案! 下载的dmg安装 运行webkit,提示需要编译指xwidgetskit

mac默认不支持xwidget

用这个 brew tap irfn/emacs-plus

brew install irfn/emacs-plus/emacs-plus --HEAD --with-xwidgets