+ enablestring=
+ defaultval=$wxUSE_ALL_FEATURES
+ if test -z "$defaultval"; then
+ if test x"$enablestring" = xdisable; then
+ defaultval=yes
+ else
+ defaultval=no
+ fi
+ fi
+
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
+ # Check whether --enable-headerctrl was given.
+if test "${enable_headerctrl+set}" = set; then
+ enableval=$enable_headerctrl;
+ if test "$enableval" = yes; then
+ wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
+ else
+ wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
+ fi
+
+else
+
+ wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
+
+fi
+
+
+ eval "$wx_cv_use_headerctrl"
+
+ if test x"$enablestring" = xdisable; then
+ if test $wxUSE_HEADERCTRL = yes; then
+ result=no
+ else
+ result=yes
+ fi
+ else
+ result=$wxUSE_HEADERCTRL
+ fi
+
+ { echo "$as_me:$LINENO: result: $result" >&5
+echo "${ECHO_T}$result" >&6; }
+
+