Fix --enable-parallel[=yes] being considered =no

Daniele Forsi IU5HKX 2025-05-11 09:45:22 +02:00
rodzic eb35f0fc69
commit e8af4e97f1
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -745,8 +745,11 @@ AC_MSG_CHECKING([whether to build parallel port devices])
AC_ARG_ENABLE([parallel],
[AS_HELP_STRING([--disable-parallel],
[do not build parallel devices @<:@default=yes@:>@])],
[cf_with_parallel="no"],
[cf_with_parallel="yes" AC_DEFINE([HAVE_PARALLEL],[1],[Define if parallel devices are to be built])])
[cf_with_parallel="${enable_parallel}"],
[cf_with_parallel="yes"])
AS_IF([test x"${cf_with_parallel}" = "xyes"],
[AC_DEFINE([HAVE_PARALLEL],[1],[Define if parallel devices are to be built])]
)
AC_MSG_RESULT([$cf_with_parallel])
DL_LIBS=""