Add -lm and the glib libs too for the dv_init check
authorWim Taymans <wim.taymans@gmail.com>
Sun, 22 Apr 2001 01:30:29 +0000 (01:30 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 22 Apr 2001 01:30:29 +0000 (01:30 +0000)
Original commit message from CVS:
Add -lm and the glib libs too for the dv_init check

configure.in

index 4757f6e..b1f3b8f 100644 (file)
@@ -447,7 +447,7 @@ AC_CHECK_LIB(raw1394, raw1394_get_handle, HAVE_RAW1394=yes, HAVE_RAW1394=no, )
 
 dnl Check for libdv
 AC_MSG_CHECKING(libdv)
-AC_CHECK_LIB(dv, dv_init, HAVE_LIBDV=yes, HAVE_LIBDV=no, )
+AC_CHECK_LIB(dv, dv_init, HAVE_LIBDV=yes, HAVE_LIBDV=no, -lm $GLIB_LIBS $GLIB_CFLAGS)
 
 
 dnl check if css-auth.c exists (FIXME)