diff options
author | Bruno Haible <bruno@clisp.org> | 2010-01-31 17:32:22 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-01-31 17:32:22 +0100 |
commit | c73180ce2386926c82f74e30a8ddfdcf0a6e0363 (patch) | |
tree | 91d1eb28f2fb73a1c8e772bcfc095285401c3ea5 | |
parent | 1150c074e8e94a4f310915f336cb01d3f196788c (diff) | |
download | gnulib-c73180ce2386926c82f74e30a8ddfdcf0a6e0363.tar.gz |
Avoid redundant symbol replacement.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | m4/getline.m4 | 4 |
2 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2010-01-31 Bruno Haible <bruno@clisp.org> + Avoid redundant symbol replacement. + * m4/getline.m4 (gl_FUNC_GETLINE): Set REPLACE_GETLINE only when the + function was found. + +2010-01-31 Bruno Haible <bruno@clisp.org> + Work around getline() bug on FreeBSD 8.0. * m4/getline.m4 (gl_FUNC_GETLINE): Also test result for a NULL buffer and a non-zero size. diff --git a/m4/getline.m4 b/m4/getline.m4 index 7fca58ecf2..996ca21655 100644 --- a/m4/getline.m4 +++ b/m4/getline.m4 @@ -80,7 +80,9 @@ AC_DEFUN([gl_FUNC_GETLINE], fi if test $am_cv_func_working_getline = no; then - REPLACE_GETLINE=1 + if test $gl_getline_needs_run_time_check = yes; then + REPLACE_GETLINE=1 + fi AC_LIBOBJ([getline]) gl_PREREQ_GETLINE |