commit 947fe78cd6a2ebfbdc0d5b3ddb5d8094d178b784 from: Omar Polo via: Thomas Adam date: Fri Jan 06 09:54:09 2023 UTC portable: configure.ac: fix libpanelw detection When not using pkg-config on those systems where it isn't installed, libpanelw should be checked within ncursesw as well -- such is the case on OpenBSD for example. commit - 171ba12ab63aed9e931bbea0d93d1755d4848e1b commit + 947fe78cd6a2ebfbdc0d5b3ddb5d8094d178b784 blob - 5cbed704667c0074ac83e8335515f5a52f564c63 blob + 99e2717674315512310d566e57fa86769a213666 --- configure.ac +++ configure.ac @@ -600,8 +600,9 @@ PKG_CHECK_MODULES( found_panel=no ) if test "x$found_panel" = "xno"; then - AC_CHECK_LIB(panelw, update_panels,, - AC_MSG_ERROR([ "*** panelw not found for ncurses. ***"]) + AC_CHECK_LIB(panelw, update_panels, [], + AC_MSG_ERROR([ "*** panelw not found for ncurses. ***"]), + [-lncurses] ) LIBPANELW_LIBS="-lpanelw"