]> git.saurik.com Git - wxWidgets.git/commitdiff
Now works with older versions of the test command, too.
authorKarsten Ballüder <ballueder@usa.net>
Wed, 9 Jun 1999 10:02:41 +0000 (10:02 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Wed, 9 Jun 1999 10:02:41 +0000 (10:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 00f67876bbb340d0fd116ea895e7851511437ad6..01e9d34cd3a163064d753b234702f620597f443d 100644 (file)
@@ -1902,7 +1902,7 @@ if test "$wxUSE_GUI" = "yes"; then
   dnl TODO some samples are never built so far:
   dnl      mfc, nativdlg, oleauto, ownerdrw, proplist
   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
-                   forty fractal image notepad wxpoem"
+                   forty fractal image richedit wxpoem"
 fi
 
 dnl for convenience, sort the files to build in alphabetical order
@@ -2039,7 +2039,11 @@ AC_OUTPUT([
           ],
           [
             chmod +x wx-config
-            if test ! -e include/wx/${TOOLKIT_DIR}/setup.h; then
+dnl The following line is more elegant but test -e is not supported by all
+dnl test varieties.
+dnl            if test ! -e include/wx/${TOOLKIT_DIR}/setup.h; then
+            cat include/wx/${TOOLKIT_DIR}/setup.h >/dev/null 2>&1
+           if test $? != 0; then
               ${LN_S} `pwd`/setup.h include/wx/${TOOLKIT_DIR}/setup.h
             fi
           ],