summaryrefslogtreecommitdiff
path: root/ezdop/src/host/hunter/config/hunter_wx.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ezdop/src/host/hunter/config/hunter_wx.m4')
-rw-r--r--ezdop/src/host/hunter/config/hunter_wx.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/ezdop/src/host/hunter/config/hunter_wx.m4 b/ezdop/src/host/hunter/config/hunter_wx.m4
new file mode 100644
index 000000000..5d6dd08e7
--- /dev/null
+++ b/ezdop/src/host/hunter/config/hunter_wx.m4
@@ -0,0 +1,11 @@
+AC_DEFUN([HUNTER_WX], [
+ AC_PATH_PROG([WXCONFIG],[wx-config],[no])
+ if test $WXCONFIG = no; then
+ AC_MSG_ERROR(["wxWidgets is required, not found, stop."])
+ fi
+
+ WX_FLAGS=`$WXCONFIG --cflags`
+ WX_LIBS=`$WXCONFIG --libs`
+ AC_SUBST(WX_FLAGS)
+ AC_SUBST(WX_LIBS)
+])