# HG changeset patch # User Bruno Haible # Date 1264955542 -3600 # Node ID ed6e77e08386f97cb37c6da3dec34bdc61ccc13a # Parent fff2b96bad5eba9705612dc4bcd4f8f87a29791c Avoid redundant symbol replacement. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-01-31 Bruno Haible + + Avoid redundant symbol replacement. + * m4/getline.m4 (gl_FUNC_GETLINE): Set REPLACE_GETLINE only when the + function was found. + 2010-01-31 Bruno Haible Work around getline() bug on FreeBSD 8.0. diff --git a/m4/getline.m4 b/m4/getline.m4 --- a/m4/getline.m4 +++ b/m4/getline.m4 @@ -80,7 +80,9 @@ 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