Add option to disable Rock-Ridge support --disable-rock

Add IS_ISSOCK() or S_ISLNK() macros for Rock-Ridge when environment
doesn't have it, e.g. MSYS 1.0.10 with MinGW 3.4.2.

Go over --enable settings. --disable-cpp-progs now works.

Require libcddb 1.0.1 or better
This commit is contained in:
rocky
2005-09-15 06:36:01 +00:00
parent 109df884e5
commit b4b1c4ec6f
11 changed files with 145 additions and 64 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: cddb.c,v 1.4 2005/07/09 15:22:44 rocky Exp $
$Id: cddb.c,v 1.5 2005/09/15 06:36:01 rocky Exp $
Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
@@ -113,6 +113,7 @@ init_cddb(CdIo_t *p_cdio, cddb_conn_t **pp_conn, cddb_disc_t **pp_cddb_disc,
*pp_cddb_disc = cddb_disc_new();
if (!*pp_cddb_disc) {
errmsg("unable to create CDDB disc structure");
cddb_destroy(*pp_conn);
return false;
}
for(i = 0; i < i_tracks; i++) {
@@ -128,6 +129,7 @@ init_cddb(CdIo_t *p_cdio, cddb_conn_t **pp_conn, cddb_disc_t **pp_cddb_disc,
if (!cddb_disc_calc_discid(*pp_cddb_disc)) {
errmsg("libcddb calc discid failed.");
cddb_destroy(*pp_conn);
return false;
}