Annotation of OpenXM_contrib/gnuplot/m4/msdos.m4, Revision 1.1.1.1
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:
9: AC_DEFUN(gp_MSDOS,
10: [AC_MSG_CHECKING(for MS-DOS/djgpp/libGRX)
11: AC_EGREP_CPP(yes,
12: [#if __DJGPP__ && __DJGPP__ == 2
13: yes
14: #endif
15: ], AC_MSG_RESULT(yes)
16: LIBS="-lpc $LIBS"
17: AC_DEFINE(MSDOS)
18: AC_DEFINE(DOS32)
19: with_linux_vga=no
20: AC_CHECK_LIB(grx20,GrLine,dnl
21: LIBS="-lgrx20 $LIBS"
22: CFLAGS="$CFLAGS -fno-inline-functions"
23: AC_DEFINE(DJSVGA)
24: AC_CHECK_LIB(grx20,GrCustomLine,AC_DEFINE(GRX21))),dnl
25: AC_MSG_RESULT(no)
26: )dnl
27: ])
28:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>