21 |
|
AC_ISC_POSIX |
22 |
|
|
23 |
|
dnl Checks for libraries. |
24 |
– |
HAVE_BEBOX=no |
25 |
– |
AC_CHECK_LIB(amiga, OpenLibrary, HAVE_AMIGA_LIB=yes, HAVE_AMIGA_LIB=no) |
24 |
|
AC_CHECK_LIB(vga, vga_setmode, HAVE_SVGA_LIB=yes, HAVE_SVGA_LIB=no) |
25 |
|
AM_PATH_SDL(1.2.0, HAVE_SDL=yes, HAVE_SDL=no) |
26 |
|
|
57 |
|
AC_ARG_ENABLE(kbd-lang-us,[ --enable-kbd-lang-us Use american keyboard layout],[KBD_LANG=0],[]) |
58 |
|
|
59 |
|
AC_MSG_CHECKING(which target to use) |
60 |
< |
if [[ x"$HAVE_BEBOX" = "xyes" ]]; then |
63 |
< |
AC_MSG_RESULT([BeBox]) |
64 |
< |
TARGET=be |
65 |
< |
elif [[ x"$HAVE_AMIGA_LIB" = "xyes" ]]; then |
66 |
< |
AC_MSG_RESULT([AmigaOS]) |
67 |
< |
TARGET=amigaos |
68 |
< |
elif [[ x"$no_x" = "xyes" ]]; then |
60 |
> |
if [[ x"$no_x" = "xyes" ]]; then |
61 |
|
if [[ x"$HAVE_SVGA_LIB" = "xyes" ]]; then |
62 |
|
AC_MSG_RESULT([SVGAlib]) |
63 |
|
TARGET=svgalib |