Lines Matching refs:lib

1 # lib-link.m4 serial 4 (gettext-0.12)
22 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
57 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
62 dnl because if the user has installed lib[]Name and not disabled its use
63 dnl via --without-lib[]Name-prefix, he wants to use it.
67 AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
76 AC_MSG_CHECKING([how to link with lib[]$1])
135 AC_LIB_ARG_WITH([lib$1-prefix],
136 [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
137 --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
149 additional_libdir="$withval/lib"
191 dnl Search the library lib$name in $additional_libdir and $LDFLAGS
198 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
200 found_so="$additional_libdir/lib$name.$shlibext"
201 if test -f "$additional_libdir/lib$name.la"; then
202 found_la="$additional_libdir/lib$name.la"
205 if test -f "$additional_libdir/lib$name.$libext"; then
207 found_a="$additional_libdir/lib$name.$libext"
208 if test -f "$additional_libdir/lib$name.la"; then
209 found_la="$additional_libdir/lib$name.la"
220 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
222 found_so="$dir/lib$name.$shlibext"
223 if test -f "$dir/lib$name.la"; then
224 found_la="$dir/lib$name.la"
227 if test -f "$dir/lib$name.$libext"; then
229 found_a="$dir/lib$name.$libext"
230 if test -f "$dir/lib$name.la"; then
231 found_la="$dir/lib$name.la"
248 dnl standard /usr/lib.
249 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
335 */lib | */lib/)
336 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
392 dnl 1. if it's the standard /usr/lib,
393 dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
397 if test "X$additional_libdir" != "X/usr/lib"; then
399 if test "X$additional_libdir" = "X/usr/local/lib"; then
475 …mes_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`