bcf1fa6bb4
Moved configure (once again) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
25 lines
667 B
Plaintext
25 lines
667 B
Plaintext
#SHELL=/bin/sh
|
|
MYGREP=$(WXBASEDIR)/setup/general/mygrep
|
|
checkneeds::
|
|
@if test "x$(NEEDED_DEFINES)" != x ; then \
|
|
RESULT=0 ; \
|
|
for each in $(NEEDED_DEFINES) xxx; do \
|
|
if test "$$each" != xxx ; then \
|
|
LINE=`cat $(SETUP_DIR)/wx_setup.h \
|
|
| sed "s/ /,/g" \
|
|
| $(MYGREP) ",$$each," \
|
|
| $(MYGREP) "#define" \
|
|
| $(MYGREP) "1" ` ; \
|
|
if test "x$$LINE" = x ; then \
|
|
(TMPVAR=`pwd`;\
|
|
TMPVAR=`dirname $$TMPVAR`;\
|
|
echo "$$each needed to compile "`basename $$TMPVAR`"...";\
|
|
);\
|
|
RESULT=1 ; \
|
|
fi; \
|
|
fi; \
|
|
done ;\
|
|
exit $$RESULT; \
|
|
fi
|
|
|