summaryrefslogtreecommitdiff
path: root/m4/getline.m4
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:06:12 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:06:12 +0900
commit1d8b652baba3df2da0eb42560205cab2ccb360e9 (patch)
treec546e30de11fdb2d144057d59b9c0d5f0f2539d5 /m4/getline.m4
parent81f1c64e30d2ea59604a628bca9f1d04b1f82afb (diff)
downloadwget-1d8b652baba3df2da0eb42560205cab2ccb360e9.tar.gz
wget-1d8b652baba3df2da0eb42560205cab2ccb360e9.tar.bz2
wget-1d8b652baba3df2da0eb42560205cab2ccb360e9.zip
Imported Upstream version 1.14upstream/1.14
Diffstat (limited to 'm4/getline.m4')
-rw-r--r--m4/getline.m422
1 files changed, 12 insertions, 10 deletions
diff --git a/m4/getline.m4 b/m4/getline.m4
index 4c57797..72fbc9d 100644
--- a/m4/getline.m4
+++ b/m4/getline.m4
@@ -1,6 +1,6 @@
-# getline.m4 serial 25
+# getline.m4 serial 26
-dnl Copyright (C) 1998-2003, 2005-2007, 2009-2011 Free Software Foundation,
+dnl Copyright (C) 1998-2003, 2005-2007, 2009-2012 Free Software Foundation,
dnl Inc.
dnl
dnl This file is free software; the Free Software Foundation
@@ -70,8 +70,8 @@ AC_DEFUN([gl_FUNC_GETLINE],
#endif
#endif
],
- [am_cv_func_working_getline=yes],
- [am_cv_func_working_getline=no])]
+ [am_cv_func_working_getline="guessing yes"],
+ [am_cv_func_working_getline="guessing no"])]
)])
fi
@@ -79,12 +79,14 @@ AC_DEFUN([gl_FUNC_GETLINE],
HAVE_DECL_GETLINE=0
fi
- if test $am_cv_func_working_getline = no; then
- dnl Set REPLACE_GETLINE always: Even if we have not found the broken
- dnl getline function among $LIBS, it may exist in libinet and the
- dnl executable may be linked with -linet.
- REPLACE_GETLINE=1
- fi
+ case "$am_cv_func_working_getline" in
+ *no)
+ dnl Set REPLACE_GETLINE always: Even if we have not found the broken
+ dnl getline function among $LIBS, it may exist in libinet and the
+ dnl executable may be linked with -linet.
+ REPLACE_GETLINE=1
+ ;;
+ esac
])
# Prerequisites of lib/getline.c.