From: Andrew Deason Date: Wed, 22 Dec 2010 14:46:48 +0000 (-0500) Subject: Prefer libHcurses over libcurses X-Git-Tag: upstream/1.8.0_pre1^2~4339 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=651f66b0ffed08da82b352e3e252a03b8b13c780;p=packages%2Fo%2Fopenafs.git Prefer libHcurses over libcurses Use the HP-UX-specific libHcurses instead of libcurses, like we used to. Otherwise we fail to link some gtx programs. Change-Id: I7b8a012d5d263c611a144e05466c5435b5ff310a Reviewed-on: http://gerrit.openafs.org/3583 Tested-by: BuildBot Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear --- diff --git a/acinclude.m4 b/acinclude.m4 index 8375ed8b0..1a3cde029 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1235,7 +1235,10 @@ dnl check for curses-lib save_LIBS=$LIBS AC_CHECK_LIB( [ncurses], [setupterm], [LIB_curses=-lncurses], -[AC_CHECK_LIB([curses], [setupterm], [LIB_curses=-lcurses])]) + [AC_CHECK_LIB([Hcurses], [setupterm], [LIB_curses=-lHcurses], + [AC_CHECK_LIB([curses], [setupterm], [LIB_curses=-lcurses]) + ]) +]) LIBS=$save_LIBS AC_SUBST(LIB_curses)