aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2017-05-17 12:48:42 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2017-05-17 12:48:42 +0100
commit3888bf9d12164e93831d423cd739685300f8a3a2 (patch)
treea1c265c74aac0a93f497da529e1b61c6f04a3e04
parent3df4e78492b7e991bd4aed24010ec56475f7667a (diff)
downloadrtmux-3888bf9d12164e93831d423cd739685300f8a3a2.tar.gz
rtmux-3888bf9d12164e93831d423cd739685300f8a3a2.tar.bz2
rtmux-3888bf9d12164e93831d423cd739685300f8a3a2.zip
Need to check libutil for fparseln.
-rw-r--r--configure.ac9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 14a286b8..dcf62ab9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -104,7 +104,6 @@ AC_REPLACE_FUNCS([ \
closefrom \
explicit_bzero \
fgetln \
- fparseln \
freezero \
getdtablecount \
getprogname \
@@ -454,6 +453,14 @@ else
AC_LIBOBJ(getopt)
fi
+# Look for fparseln in libutil.
+AC_SEARCH_LIBS(fparseln, util, found_fparseln=yes, found_fparseln=no)
+if test "x$found_fparseln" = xyes; then
+ AC_DEFINE(HAVE_FPARSELN)
+else
+ AC_LIBOBJ(fparseln)
+fi
+
# Look for fdforkpty and forkpty in libutil.
AC_SEARCH_LIBS(fdforkpty, util, found_fdforkpty=yes, found_fdforkpty=no)
if test "x$found_fdforkpty" = xyes; then