Check for OS/2, in case anyone ever gets autoconf, etc working on their box.
This commit is contained in:
parent
bd584d5985
commit
04578a0ce9
14
configure.in
14
configure.in
|
@ -382,6 +382,20 @@ if test x$we_have_sed = xyes; then
|
||||||
AC_MSG_RESULT([$this_is_atheos])
|
AC_MSG_RESULT([$this_is_atheos])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
this_is_os2=no
|
||||||
|
if test x$we_have_sed = xyes; then
|
||||||
|
AC_MSG_CHECKING([if this is OS/2])
|
||||||
|
x=`echo $build_os |tr A-Z a-z |sed "s/.*os2.*/os2/"`
|
||||||
|
if test x$x = xos2; then
|
||||||
|
this_is_os2=yes
|
||||||
|
CFLAGS="$CFLAGS -DOS2"
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_RESULT([$this_is_os2])
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dnl Some platform might disable this, so check this down here...
|
dnl Some platform might disable this, so check this down here...
|
||||||
if test x$enable_cdrom != xyes; then
|
if test x$enable_cdrom != xyes; then
|
||||||
AC_DEFINE([PHYSFS_NO_CDROM_SUPPORT], 1, [define if we have no CD support])
|
AC_DEFINE([PHYSFS_NO_CDROM_SUPPORT], 1, [define if we have no CD support])
|
||||||
|
|
Loading…
Reference in New Issue