diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-05-21 11:05:58 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-05-21 11:05:58 +0000 |
commit | 24c144e5714f4291d4496ae06503a2a7431ddab9 (patch) | |
tree | 4e5672ffbb455fa5277b4398261c51cfdb26feee /m4/lib.m4 | |
parent | 44eff176727ac26a076d96ea70086bf295185983 (diff) | |
download | gamma-24c144e5714f4291d4496ae06503a2a7431ddab9.tar.gz gamma-24c144e5714f4291d4496ae06503a2a7431ddab9.tar.bz2 |
Updated
Diffstat (limited to 'm4/lib.m4')
-rw-r--r-- | m4/lib.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -5,21 +5,21 @@ dnl $3 -- Any additional libraries that might be needed dnl $4 -- Action to be taken when test succeeds dnl $5 -- Action to be taken when test fails dnl $6 -- Directories where the library may reside -AC_DEFUN(rad_CHECK_LIB, +AC_DEFUN(RA_CHECK_LIB, [ save_LIBS=$LIBS - AC_CACHE_CHECK([for -l$1], rad_cv_lib_$1, + AC_CACHE_CHECK([for -l$1], ra_cv_lib_$1, [ for path in $6 do LIBS="$save_LIBS -L$path" AC_CHECK_LIB($1, $2, - [rad_cv_lib_$1="$3 -L$path -l$1" + [ra_cv_lib_$1="$3 -L$path -l$1" break], - [rad_cv_lib_$1=no],$3) + [ra_cv_lib_$1=no],$3) done ]) - rad_RESULT_ACTIONS([rad_cv_lib_$1],[LIB$1],[$4],[$5]) + RA_RESULT_ACTIONS([ra_cv_lib_$1],[LIB$1],[$4],[$5]) LIBS=$save_LIBS ]) |