Skip to content
Snippets Groups Projects
Commit 207376af authored by deuce's avatar deuce
Browse files

Eliminated spurious "wx-config not found" messages.

parent f2fb7e02
No related branches found
No related tags found
No related merge requests found
ifndef WX_CONFIG
ifeq ($(shell wx-config --cflags > /dev/null 2>&1 && echo YES),YES)
ifeq ($(shell sh -c 'wx-config --cflags' > /dev/null 2>&1 && echo YES),YES)
WX_CONFIG := wx-config
WITH_WX := 1
else
ifeq ($(shell wxgtk2u-2.8-config --cflags > /dev/null 2>&1 && echo YES),YES)
WX_CONFIG := wx13-config
ifeq ($(shell sh -c 'wxgtk2u-2.8-config --cflags' > /dev/null 2>&1 && echo YES),YES)
WX_CONFIG := wxgtk2u-2.8-config
WITH_WX := 1
endif
endif
endif
ifdef WX_CONFIG
ifeq ($(shell $(WX_CONFIG) --version=2.8 --query-version),2.8)
ifeq ($(shell $(WX_CONFIG) --version=2.8 --query-version 2>&1),2.8)
WITH_WX := 1
endif
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment