diff options
Diffstat (limited to 'gl/m4/getdelim.m4')
-rw-r--r-- | gl/m4/getdelim.m4 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gl/m4/getdelim.m4 b/gl/m4/getdelim.m4 index 8bd3d3f862..a6f487217e 100644 --- a/gl/m4/getdelim.m4 +++ b/gl/m4/getdelim.m4 @@ -1,4 +1,4 @@ -# getdelim.m4 serial 9 +# getdelim.m4 serial 10 dnl Copyright (C) 2005-2007, 2009-2012 Free Software Foundation, Inc. dnl @@ -63,12 +63,14 @@ AC_DEFUN([gl_FUNC_GETDELIM], #endif #endif ], - [gl_cv_func_working_getdelim=yes], - [gl_cv_func_working_getdelim=no])] + [gl_cv_func_working_getdelim="guessing yes"], + [gl_cv_func_working_getdelim="guessing no"])] )]) - if test $gl_cv_func_working_getdelim = no; then - REPLACE_GETDELIM=1 - fi + case "$gl_cv_func_working_getdelim" in + *no) + REPLACE_GETDELIM=1 + ;; + esac else HAVE_GETDELIM=0 fi |