mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-29 07:02:08 +00:00
Detect Linux and BSD CD-ROM APIs.
This commit is contained in:
parent
b28fa0a244
commit
8e9d7f6b4b
2 changed files with 24 additions and 0 deletions
|
@ -16,6 +16,12 @@
|
||||||
/* Define this if C symbols are prefixed with an underscore */
|
/* Define this if C symbols are prefixed with an underscore */
|
||||||
#undef HAVE_SYM_PREFIX_UNDERSCORE
|
#undef HAVE_SYM_PREFIX_UNDERSCORE
|
||||||
|
|
||||||
|
/* Define this if you have a Linux-style CD-ROM API */
|
||||||
|
#undef USE_LINUX_CD
|
||||||
|
|
||||||
|
/* Define this if you have a BSD-style CD-ROM API */
|
||||||
|
#undef USE_BSD_CD
|
||||||
|
|
||||||
#if defined(X11)
|
#if defined(X11)
|
||||||
# define OUTPUT_STR "X11"
|
# define OUTPUT_STR "X11"
|
||||||
#elif defined(GGI)
|
#elif defined(GGI)
|
||||||
|
|
18
configure.in
18
configure.in
|
@ -496,6 +496,24 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
dnl ========================================================================
|
||||||
|
dnl Check for CD-ROM
|
||||||
|
|
||||||
|
AC_EGREP_CPP([QF_maGiC_VALUE],[
|
||||||
|
#include <linux/cdrom.h>
|
||||||
|
#ifdef CDROMREADTOCENTRY
|
||||||
|
QF_maGiC_VALUE
|
||||||
|
#endif
|
||||||
|
], AC_DEFINE(USE_LINUX_CD),
|
||||||
|
AC_EGREP_CPP([QF_maGiC_VALUE],[
|
||||||
|
#include <sys/cdio.h>
|
||||||
|
#ifdef CDIOREADTOCENTRY
|
||||||
|
QF_maGiC_VALUE
|
||||||
|
#endif
|
||||||
|
], AC_DEFINE(USE_BSD_CD))
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
dnl ========================================================================
|
dnl ========================================================================
|
||||||
dnl Check for networking
|
dnl Check for networking
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue