33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
|
$OpenBSD: patch-configure_in,v 1.1 2001/02/02 16:59:06 todd Exp $
|
||
|
--- configure.in.orig Thu Oct 19 18:30:05 2000
|
||
|
+++ configure.in Thu Oct 19 18:38:13 2000
|
||
|
@@ -539,12 +539,17 @@ AC_ARG_WITH(nogui,
|
||
|
[ --with-nogui no native GUI, just use blank stubs],
|
||
|
)
|
||
|
|
||
|
+AC_ARG_WITH(term,
|
||
|
+ [ --with-term textmode terminal environment],
|
||
|
+ )
|
||
|
+
|
||
|
dnl // make sure X Windows is default if no other chosen
|
||
|
if (test "$with_x11" != yes) && \
|
||
|
(test "$with_beos" != yes) && \
|
||
|
(test "$with_win32" != yes) && \
|
||
|
(test "$with_nogui" != yes) && \
|
||
|
(test "$with_win32_vcpp" != yes) && \
|
||
|
+ (test "$with_term" != yes) && \
|
||
|
(test "$with_macos" != yes); then
|
||
|
with_x11=yes
|
||
|
fi
|
||
|
@@ -609,6 +614,10 @@ elif test "$with_macos" = yes; then
|
||
|
AC_DEFINE(BX_WITH_MACOS, 1)
|
||
|
GUI_OBJS='$(GUI_OBJS_MACOS)'
|
||
|
GUI_LINK_OPTS='$(GUI_LINK_OPTS_MACOS)'
|
||
|
+elif test "$with_term" = yes; then
|
||
|
+ AC_DEFINE(BX_WITH_TERM, 1)
|
||
|
+ GUI_OBJS='$(GUI_OBJS_TERM)'
|
||
|
+ GUI_LINK_OPTS='$(GUI_LINK_OPTS_TERM)'
|
||
|
else
|
||
|
AC_DEFINE(BX_WITH_NOGUI, 1)
|
||
|
GUI_OBJS='$(GUI_OBJS_NOGUI)'
|