configure architecture fixes from Nigel Pearson.

This commit is contained in:
R. Bernstein
2012-04-22 20:27:38 -04:00
parent 03a660d88b
commit 53440aae9b

View File

@@ -16,7 +16,7 @@ dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
dnl 02110-1301 USA. dnl 02110-1301 USA.
define(RELEASE_NUM, 84) define(RELEASE_NUM, 90)
define(CDIO_VERSION_STR, 0.$1git) define(CDIO_VERSION_STR, 0.$1git)
AC_PREREQ(2.61) AC_PREREQ(2.61)
@@ -324,7 +324,7 @@ case $host_os in
## AC_DEFINE([HAVE_AIX_CDROM], [1], ## AC_DEFINE([HAVE_AIX_CDROM], [1],
## [Define 1 if you have AIX CD-ROM support]) ## [Define 1 if you have AIX CD-ROM support])
;; ;;
darwin[6-9]|darwin1[0-2]) darwin[[6-9]]|darwin1[[0-2]])
AC_CHECK_HEADERS(IOKit/IOKitLib.h CoreFoundation/CFBase.h, AC_CHECK_HEADERS(IOKit/IOKitLib.h CoreFoundation/CFBase.h,
[have_iokit_h="yes"]) [have_iokit_h="yes"])
if test "x$have_iokit_h" = "xyes" ; then if test "x$have_iokit_h" = "xyes" ; then
@@ -346,7 +346,7 @@ case $host_os in
fi fi
case $host_os in case $host_os in
darwin1[0-2]) darwin1[[0-2]])
AC_DEFINE([DARWIN_10_OR_GREATER], 1, AC_DEFINE([DARWIN_10_OR_GREATER], 1,
[Define 1 if you have Darwin OS X 10 or greater]) [Define 1 if you have Darwin OS X 10 or greater])
;; ;;
@@ -419,7 +419,7 @@ int has_timeout=sizeof(test.timeout);],
fi fi
enable_cdda_player="no" enable_cdda_player="no"
;; ;;
freebsd4.*|freebsd5.*|freebsd[6-9]*|dragonfly*|kfreebsd*) freebsd4.*|freebsd5.*|freebsd[[6-9]]*|dragonfly*|kfreebsd*)
AC_DEFINE([HAVE_FREEBSD_CDROM], [1], AC_DEFINE([HAVE_FREEBSD_CDROM], [1],
[Define 1 if you have FreeBSD CD-ROM support]) [Define 1 if you have FreeBSD CD-ROM support])
LIBS="$LIBS -lcam" LIBS="$LIBS -lcam"