diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a185594b..6b32b324b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -340,9 +340,11 @@ if(BUILD_DOC) add_subdirectory(src/doc) endif() -if(WIN32) - if(HAVE_PARPORT) +if(HAVE_PARPORT) + if(WIN32) message(FATAL_ERROR "avrdude does not support parallel port on Windows") + elseif(APPLE) + message(FATAL_ERROR "avrdude does not support parallel port on Apple systems") endif() endif() diff --git a/src/configure.ac b/src/configure.ac index abfc08644..91f6a4459 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -454,6 +454,9 @@ AS_IF([test "x$enabled_parport" = xyes], [dnl *-*-mingw32* | *-*-cygwin* | *-*-windows*) AC_MSG_ERROR([avrdude does not support parallel port on Windows]) ;; + *-*-darwin*) + AC_MSG_ERROR([avrdude does not support parallel port on MacOS]) + ;; esac ])