Annotation of OpenXM_contrib/gnuplot/m4/msdos.m4, Revision 1.1.1.2
1.1 maekawa 1: ## ------------------------------- ##
2: ## Check for MS-DOS/djgpp. ##
3: ## From Lars Hecking and ##
4: ## Hans-Bernhard Broeker ##
5: ## ------------------------------- ##
6:
7: # serial 1
8:
1.1.1.2 ! maekawa 9: AC_DEFUN(GP_MSDOS,
1.1 maekawa 10: [AC_MSG_CHECKING(for MS-DOS/djgpp/libGRX)
11: AC_EGREP_CPP(yes,
12: [#if __DJGPP__ && __DJGPP__ == 2
13: yes
14: #endif
1.1.1.2 ! maekawa 15: ],AC_MSG_RESULT(yes)
! 16: LIBS="-lpc $LIBS"
! 17: AC_DEFINE(MSDOS, 1,
! 18: [ Define if this is an MSDOS system. ])
! 19: AC_DEFINE(DOS32, 1,
! 20: [ Define if this system uses a 32-bit DOS extender (djgpp/emx). ])
! 21: with_linux_vga=no
! 22: AC_CHECK_LIB(grx20,GrLine,dnl
! 23: LIBS="-lgrx20 $LIBS"
! 24: CFLAGS="$CFLAGS -fno-inline-functions"
! 25: AC_DEFINE(DJSVGA, 1,
! 26: [ Define if you want to use libgrx20 with MSDOS/djgpp. ])
! 27: AC_CHECK_LIB(grx20,GrCustomLine,dnl
! 28: AC_DEFINE(GRX21, 1,
! 29: [ Define if you want to use a newer version of libgrx under MSDOS/djgpp. ])dnl
! 30: )dnl
! 31: ),dnl
! 32: AC_MSG_RESULT(no)
! 33: )dnl
1.1 maekawa 34: ])
35:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>