The fix is to change
sed -i 's:<config.h>:"config.h":' lwlib/*.c
As you can see, it was pulling in the wrong config.h:
$ gcc -E -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked
-Wpointer-arith -Wunused-parameter -g -I.
-I/Users/jeremy/src/freedesktop/src/xemacs-21.5.29/lwlib/../src -DHAVE_CONFIG_H
-I/usr/X11/include lwlib.c | grep config.h
# 1 "/Users/jeremy/src/freedesktop/src/xemacs-21.5.29/lwlib/../src/config.h" 1
# 929 "/Users/jeremy/src/freedesktop/src/xemacs-21.5.29/lwlib/../src/config.h"
# 930 "/Users/jeremy/src/freedesktop/src/xemacs-21.5.29/lwlib/../src/config.h"
2
This resulted in NEED_ATHENA not being defined when it needed to be and other build
failures.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/mailman/listinfo/xemacs-beta