Hi.

The original Aurelien's patch changes also
configure.ac and src/Makefile.am.

These changes got lost, please restore them
into fix_kfreebsd.diff and after that
run "autoreconf -vfi" to create updated autoreconf.diff

Petr

--- freeglut-2.4.0.orig/configure.ac
+++ freeglut-2.4.0/configure.ac
@@ -24,9 +24,13 @@
              [$X_LIBS -lXext -lX11])
 AC_SUBST([LIBXXF86VM])

+AC_CHECK_LIB([usbhid], [hid_init],
+             [LIBUSBHID=-lusbhid], [LIBUSBHID=])
+AC_SUBST(LIBUSBHID)
+
 # Checks for header files.
 AC_HEADER_STDC
-AC_CHECK_HEADERS([GL/gl.h GL/glu.h GL/glx.h fcntl.h limits.h sys/ioctl.h 
sys/param.h sys/time.h])
+AC_CHECK_HEADERS([GL/gl.h GL/glu.h GL/glx.h fcntl.h limits.h sys/ioctl.h 
sys/param.h sys/time.h usbhid.h libusbhid.h])
 AC_HEADER_TIME

 save_CFLAGS="$CFLAGS"


--- freeglut-2.4.0.orig/src/Makefile.am
+++ freeglut-2.4.0/src/Makefile.am
@@ -41,7 +41,7 @@
 #
 # Additional linker flags
 #
-...@library@_la_LIBADD = $(LIBM) $(X_LIBS) -lGL -lGLU -lXext -lX11 
$(LIBXXF86VM)
+...@library@_la_LIBADD = $(LIBM) $(X_LIBS) -lGL -lGLU -lXext -lX11 
$(LIBXXF86VM) $(LIBUSBHID)
 l...@library@_la_LDFLAGS = -version-info 11:0:8
 l...@library@_la_CFLAGS = $(X_CFLAGS)




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to