+         enablestring=
+          echo $ac_n "checking for --${enablestring:-enable}-display""... $ac_c" 1>&6
+echo "configure:6299: checking for --${enablestring:-enable}-display" >&5
+          no_cache=0
+          # Check whether --enable-display or --disable-display was given.
+if test "${enable_display+set}" = set; then
+  enableval="$enable_display"
+  
+                          if test "$enableval" = yes; then
+                            ac_cv_use_display='wxUSE_DISPLAY=yes'
+                          else
+                            ac_cv_use_display='wxUSE_DISPLAY=no'
+                          fi
+                        
+else
+  
+                          LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
+                          if test "x$LINE" != x ; then
+                            eval "DEFAULT_$LINE"
+                          else
+                            no_cache=1
+                          fi
+
+                          ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
+                        
+fi
+
+
+          eval "$ac_cv_use_display"
+          if test "$no_cache" != 1; then
+            echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
+          fi
+
+          if test "$wxUSE_DISPLAY" = yes; then
+            echo "$ac_t""yes" 1>&6
+          else
+            echo "$ac_t""no" 1>&6
+          fi
+        
+