sim: build: change AC_CHECK_LIB to AC_SEARCH_LIBS
authorMike Frysinger <vapier@gentoo.org>
Thu, 3 Nov 2022 08:21:12 +0000 (15:21 +0700)
committerMike Frysinger <vapier@gentoo.org>
Fri, 4 Nov 2022 00:42:31 +0000 (07:42 +0700)
commit051081585e40a3145028cda8e2a16c010a33ebe9
treeef84660e5f90d87488111b75ced092cdd45ee52a
parent49ea4303bf1248e422b2858a22e085e25ac34a9d
sim: build: change AC_CHECK_LIB to AC_SEARCH_LIBS

With more C libraries moving functions entirely into the main -lc,
change the AC_CHECK_LIB calls to AC_SEARCH_LIBS so we look in there
first and avoid extra linkage when possible.
sim/config.h.in
sim/configure
sim/m4/sim_ac_platform.m4