* Also make SysLinux non-optional
This commit is contained in:
Pete Batard 2012-02-16 23:56:31 +00:00
parent ce499c95d7
commit 8e091fdc04
6 changed files with 19 additions and 58 deletions

View file

@ -21,6 +21,7 @@ AC_DEFINE([_GNU_SOURCE], [], [Use GNU extensions])
AM_CFLAGS="${AM_CFLAGS} -DWINVER=0x501 -D_WIN32_IE=0x501 -D_WIN32_WINNT=0x501"
AM_LDFLAGS="${AM_LDFLAGS} -Wl,-no-undefined"
# FreeDOS support
AC_ARG_WITH([freedos],
[AS_HELP_STRING([--with-freedos],
[embed FreeDOS support (default=yes)])],
@ -31,15 +32,6 @@ if test "x$with_freedos" != "xno" ; then
EXESUFFIX="f"
fi
AC_ARG_WITH([syslinux],
[AS_HELP_STRING([--with-syslinux],
[embed Syslinux support (default=yes)])],
[],
[with_freedos=yes])
if test "x$with_syslinux" != "xno" ; then
AM_RCFLAGS="${AM_RCFLAGS} -DWITH_SYSLINUX"
fi
# Debug symbols
AC_ARG_ENABLE([debug],
[AS_HELP_STRING([--enable-debug],
@ -81,6 +73,4 @@ AC_CONFIG_FILES([src/libcdio/udf/Makefile])
AC_CONFIG_FILES([src/libcdio/driver/Makefile])
AC_OUTPUT
AC_MSG_NOTICE([
FreeDOS Support : $(test "x$with_freedos" != "xno" && echo enabled || echo disabled)
Syslinux Support : $(test "x$with_syslinux" != "xno" && echo enabled || echo disabled)])
AC_MSG_RESULT([FreeDOS support: $(test "x$with_freedos" != "xno" && echo enabled || echo disabled)])