From e112331433bb3d277ee851c4f70280fcaf93b656 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 8 Aug 2007 16:59:53 +0000 Subject: [PATCH] Fix compilation on bsds. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2955 --- configure.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index c77bb4b2..209c1979 100644 --- a/configure.in +++ b/configure.in @@ -406,8 +406,11 @@ case "$target" in AC_DEFINE(MACOSX, 1, [Compiling on Mac OS X]) LIBS="$LIBS -framework AudioUnit" ;; - *-*-freebsd* | *-*-linux* | *-*-dragonfly* | *-*-netbsd* | *-*-openbsd*) - AC_DEFINE(LINUX, 1, [Compiling on GNU/Linux or *BSD]) + *-*-linux*) + AC_DEFINE(LINUX, 1, [Compiling on GNU/Linux]) + AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).]) + ;; + *-*-freebsd* | *-*-dragonfly* | *-*-netbsd* | *-*-openbsd*) AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).]) ;; *-*-os2-emx*)