From: Karsten Ballüder Date: Wed, 9 Jun 1999 10:02:41 +0000 (+0000) Subject: Now works with older versions of the test command, too. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f7f647e0e08065b671987563907765dd7445649d Now works with older versions of the test command, too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure.in b/configure.in index 00f67876bb..01e9d34cd3 100644 --- a/configure.in +++ b/configure.in @@ -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 ],