version 1.1.1.1, 2000/01/09 17:01:10 |
version 1.1.1.2, 2000/01/22 14:16:17 |
|
|
|
|
# serial 1 |
# serial 1 |
|
|
AC_DEFUN(gp_MSDOS, |
AC_DEFUN(GP_MSDOS, |
[AC_MSG_CHECKING(for MS-DOS/djgpp/libGRX) |
[AC_MSG_CHECKING(for MS-DOS/djgpp/libGRX) |
AC_EGREP_CPP(yes, |
AC_EGREP_CPP(yes, |
[#if __DJGPP__ && __DJGPP__ == 2 |
[#if __DJGPP__ && __DJGPP__ == 2 |
yes |
yes |
#endif |
#endif |
], AC_MSG_RESULT(yes) |
],AC_MSG_RESULT(yes) |
LIBS="-lpc $LIBS" |
LIBS="-lpc $LIBS" |
AC_DEFINE(MSDOS) |
AC_DEFINE(MSDOS, 1, |
AC_DEFINE(DOS32) |
[ Define if this is an MSDOS system. ]) |
with_linux_vga=no |
AC_DEFINE(DOS32, 1, |
AC_CHECK_LIB(grx20,GrLine,dnl |
[ Define if this system uses a 32-bit DOS extender (djgpp/emx). ]) |
LIBS="-lgrx20 $LIBS" |
with_linux_vga=no |
CFLAGS="$CFLAGS -fno-inline-functions" |
AC_CHECK_LIB(grx20,GrLine,dnl |
AC_DEFINE(DJSVGA) |
LIBS="-lgrx20 $LIBS" |
AC_CHECK_LIB(grx20,GrCustomLine,AC_DEFINE(GRX21))),dnl |
CFLAGS="$CFLAGS -fno-inline-functions" |
AC_MSG_RESULT(no) |
AC_DEFINE(DJSVGA, 1, |
)dnl |
[ Define if you want to use libgrx20 with MSDOS/djgpp. ]) |
|
AC_CHECK_LIB(grx20,GrCustomLine,dnl |
|
AC_DEFINE(GRX21, 1, |
|
[ Define if you want to use a newer version of libgrx under MSDOS/djgpp. ])dnl |
|
)dnl |
|
),dnl |
|
AC_MSG_RESULT(no) |
|
)dnl |
]) |
]) |
|
|