Lines Matching refs:NAME
13 dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
20 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], macro
24 ac_cv_lib[]Name[]_libs="$LIB[]NAME"
25 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
26 ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
28 LIB[]NAME="$ac_cv_lib[]Name[]_libs"
29 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
30 INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
31 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
32 AC_SUBST([LIB]NAME)
33 AC_SUBST([LTLIB]NAME)
34 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
36 HAVE_LIB[]NAME=yes
38 undefine([NAME])
45 dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
46 dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
47 dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
48 dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
54 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], macro
57 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
61 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
65 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
69 LIBS="$LIBS $LIB[]NAME"
74 HAVE_LIB[]NAME=yes
75 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
77 AC_MSG_RESULT([$LIB[]NAME])
79 HAVE_LIB[]NAME=no
80 dnl If $LIB[]NAME didn't lead to a usable library, we don't need
81 dnl $INC[]NAME either.
83 LIB[]NAME=
84 LTLIB[]NAME=
86 AC_SUBST([HAVE_LIB]NAME)
87 AC_SUBST([LIB]NAME)
88 AC_SUBST([LTLIB]NAME)
90 undefine([NAME])
124 dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
127 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], macro
155 LIB[]NAME=
156 LTLIB[]NAME=
157 INC[]NAME=
182 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
184 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
215 for x in $LDFLAGS $LTLIB[]NAME; do
244 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
251 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
271 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
276 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
294 for x in $LDFLAGS $LIB[]NAME; do
302 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
308 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
317 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
325 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
329 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
358 for x in $CPPFLAGS $INC[]NAME; do
368 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
408 for x in $LDFLAGS $LIB[]NAME; do
418 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
422 for x in $LDFLAGS $LTLIB[]NAME; do
432 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
479 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
480 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
490 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
491 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
511 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
519 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
527 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"