cp $(SAMPDIR)/ipc/*.h $(DISTDIR)/samples/ipc
cp $(SAMPDIR)/ipc/*.xpm $(DISTDIR)/samples/ipc
+ mkdir $(DISTDIR)/samples/joytest
+ cp $(SAMPDIR)/joytest/Makefile.in $(DISTDIR)/samples/joytest
+ cp $(SAMPDIR)/joytest/makefile.unx $(DISTDIR)/samples/joytest
+ cp $(SAMPDIR)/joytest/*.cpp $(DISTDIR)/samples/joytest
+ cp $(SAMPDIR)/joytest/*.h $(DISTDIR)/samples/joytest
+ cp $(SAMPDIR)/joytest/*.wav $(DISTDIR)/samples/joytest
+
mkdir $(DISTDIR)/samples/layout
cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
int main() {
/* Ultrix mips cc rejects this. */
-typedef int charset[2]; const charset x;
+typedef int charset[2]; const charset x = {0,0};
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;
#include "confdefs.h"
int main() {
-} $ac_kw foo() {
+} int $ac_kw foo() {
; return 0; }
EOF
if { (eval echo configure:9363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if test "$TOOLKIT" != "MSW"; then
-if test "$wxUSE_JOYSTICK" = 1; then
+if test "$wxUSE_JOYSTICK" = "yes"; then
for ac_hdr in linux/joystick.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
done
if test "$ac_cv_header_linux_joystick_h" != "yes"; then
- wxUSE_JOYSTICK=0
+ wxUSE_JOYSTICK=no
echo "configure: warning: Joystick not supported yb this system" 1>&2
fi
fi
fi
-if test "$wxUSE_JOYSTICK" = 1; then
+if test "$wxUSE_JOYSTICK" = "yes"; then
cat >> confdefs.h <<\EOF
#define wxUSE_JOYSTICK 1
EOF
dnl under MSW we always have joystick support
if test "$TOOLKIT" != "MSW"; then
-if test "$wxUSE_JOYSTICK" = 1; then
+if test "$wxUSE_JOYSTICK" = "yes"; then
dnl joystick support is only for Linux 2.1.x or greater
AC_CHECK_HEADERS(linux/joystick.h)
if test "$ac_cv_header_linux_joystick_h" != "yes"; then
- wxUSE_JOYSTICK=0
+ wxUSE_JOYSTICK=no
AC_MSG_WARN(Joystick not supported yb this system, disabled)
fi
fi
fi
dnl if !MSW
-if test "$wxUSE_JOYSTICK" = 1; then
+if test "$wxUSE_JOYSTICK" = "yes"; then
AC_DEFINE(wxUSE_JOYSTICK)
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
fi
image/Makefile
internat/Makefile
ipc/Makefile
+ joytest/Makefile
layout/Makefile
listctrl/Makefile
mdi/Makefile
image/Makefile
internat/Makefile
ipc/Makefile
+ joytest/Makefile
layout/Makefile
listctrl/Makefile
mdi/Makefile
image/Makefile
internat/Makefile
ipc/Makefile
+ joytest/Makefile
layout/Makefile
listctrl/Makefile
mdi/Makefile