Lines Matching refs:NAME
13 dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
15 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
16 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
22 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
26 ac_cv_lib[]Name[]_libs="$LIB[]NAME"
27 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
28 ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
29 ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
31 LIB[]NAME="$ac_cv_lib[]Name[]_libs"
32 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
33 INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
34 LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
35 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
36 AC_SUBST([LIB]NAME)
37 AC_SUBST([LTLIB]NAME)
38 AC_SUBST([LIB]NAME[_PREFIX])
39 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
41 HAVE_LIB[]NAME=yes
42 popdef([NAME])
51 dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME}
52 dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and
53 dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
54 dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
55 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
56 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
62 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
65 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
69 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
73 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
77 LIBS="$LIBS $LIB[]NAME"
84 HAVE_LIB[]NAME=yes
85 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.])
87 AC_MSG_RESULT([$LIB[]NAME])
89 HAVE_LIB[]NAME=no
90 dnl If $LIB[]NAME didn't lead to a usable library, we don't need
91 dnl $INC[]NAME either.
93 LIB[]NAME=
94 LTLIB[]NAME=
95 LIB[]NAME[]_PREFIX=
97 AC_SUBST([HAVE_LIB]NAME)
98 AC_SUBST([LIB]NAME)
99 AC_SUBST([LTLIB]NAME)
100 AC_SUBST([LIB]NAME[_PREFIX])
101 popdef([NAME])
150 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
152 define([acl_frompackage_]NAME, [$2])
153 popdef([NAME])
165 dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
166 dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found
167 dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
171 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
173 pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])
176 pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
209 LIB[]NAME=
210 LTLIB[]NAME=
211 INC[]NAME=
212 LIB[]NAME[]_PREFIX=
213 dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been
215 HAVE_LIB[]NAME=
240 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
242 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
306 for x in $LDFLAGS $LTLIB[]NAME; do
360 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
369 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
389 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
394 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
412 for x in $LDFLAGS $LIB[]NAME; do
420 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
426 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
435 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
443 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
447 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
456 LIB[]NAME[]_PREFIX="$basedir"
463 LIB[]NAME[]_PREFIX="$basedir"
486 for x in $CPPFLAGS $INC[]NAME; do
496 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
538 for x in $LDFLAGS $LIB[]NAME; do
548 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
552 for x in $LDFLAGS $LTLIB[]NAME; do
562 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
609 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
610 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
620 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
621 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
641 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
649 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
657 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
664 popdef([NAME])