Add -lm in libcdio_cdda where it's needed.

This commit is contained in:
rocky
2005-09-21 01:09:08 +00:00
parent 6290f7396b
commit 2a03988a3a
3 changed files with 8 additions and 8 deletions

9
NEWS
View File

@@ -1,8 +1,8 @@
$Id: NEWS,v 1.82 2005/09/20 00:42:14 rocky Exp $ $Id: NEWS,v 1.83 2005/09/21 01:09:08 rocky Exp $
version 0.76 version 0.76
===================================== =====================================
2005-09-19 2005-09-2?
- Better compatibility with C++ - Better compatibility with C++
@@ -15,8 +15,7 @@ version 0.76
- Allow building cd-paranoia if Perl is not installed. - Allow building cd-paranoia if Perl is not installed.
- Bugfix for cd-read and cd-info on archtectures where char is unsigned by - Miscellaneous minor bug fixes.
default.
version 0.75 version 0.75
===================================== =====================================
@@ -282,4 +281,4 @@ version 0.1
Routines split off from VCDImager. Routines split off from VCDImager.
$Id: NEWS,v 1.82 2005/09/20 00:42:14 rocky Exp $ $Id: NEWS,v 1.83 2005/09/21 01:09:08 rocky Exp $

View File

@@ -19,7 +19,7 @@ define(RELEASE_NUM, 76)
define(CDIO_VERSION_STR, 0.$1cvs) define(CDIO_VERSION_STR, 0.$1cvs)
AC_PREREQ(2.52) AC_PREREQ(2.52)
AC_REVISION([$Id: configure.ac,v 1.168 2005/09/18 20:30:33 rocky Exp $])dnl AC_REVISION([$Id: configure.ac,v 1.169 2005/09/21 01:09:09 rocky Exp $])dnl
AC_INIT(libcdio, CDIO_VERSION_STR(RELEASE_NUM)) AC_INIT(libcdio, CDIO_VERSION_STR(RELEASE_NUM))
AC_CONFIG_SRCDIR(src/cd-info.c) AC_CONFIG_SRCDIR(src/cd-info.c)
@@ -319,8 +319,9 @@ dnl system
# FIXME: # FIXME:
# I believe some OS's require -lm, but I don't recall for what function # I believe some OS's require -lm, but I don't recall for what function
# When we find it, put it in below instead of "cos". # When we find it, put it in below instead of "cos".
AC_CHECK_LIB(m, cos, [LIBS="$LIBS -lm"]) AC_CHECK_LIB(m, cos, [LIBS="$LIBS -lm"; COS_LIB="-lm"])
CFLAGS="$CFLAGS $WARN_CFLAGS" CFLAGS="$CFLAGS $WARN_CFLAGS"
AC_SUBST(COS_LIB)
# Do we have GNU ld? If we don't, we can't build versioned symbols. # Do we have GNU ld? If we don't, we can't build versioned symbols.
if test "$with_gnu_ld" != yes; then if test "$with_gnu_ld" != yes; then

View File

@@ -7,5 +7,5 @@ Name: libcdio_cdda
Description: CD paranoia CD-DA library from libcdio Description: CD paranoia CD-DA library from libcdio
Version: @PACKAGE_VERSION@ Version: @PACKAGE_VERSION@
#Requires: glib-2.0 #Requires: glib-2.0
Libs: -L${libdir} -lcdio_cdda Libs: -L${libdir} -lcdio_cdda @COS_LIB@
Cflags: -I${includedir} Cflags: -I${includedir}