summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-03-18 16:03:28 +0100
committerDan McGee <dan@archlinux.org>2011-08-10 01:59:49 +0200
commit6b57118c15c6ba60fd84e72ab1ec32bad7f7f7de (patch)
tree82c781e3cfbda411a2759375bab5b93139aeb78a /configure.ac
parent07996bfac7cf172e656f7527794512fd596a9edf (diff)
downloadpacman-6b57118c15c6ba60fd84e72ab1ec32bad7f7f7de.tar.gz
pacman-6b57118c15c6ba60fd84e72ab1ec32bad7f7f7de.tar.xz
pacman/util: flush terminal input before reading response
Addresses FS#20538 Conflicts: src/pacman/util.c Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Dan McGee <dan@archlinux.org> (cherry picked from commit 9477abc3591905a20acbfe7b8ce7832617d72701)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index c672c66c..f6d5a2c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -171,7 +171,8 @@ AM_CONDITIONAL([HAVE_LIBFETCH], [test "x$ac_cv_lib_fetch_fetchParseURL" = "xyes"
# Checks for header files.
AC_CHECK_HEADERS([fcntl.h glob.h libintl.h locale.h mntent.h string.h \
sys/ioctl.h sys/mount.h sys/param.h sys/statvfs.h \
- sys/time.h sys/types.h sys/ucred.h syslog.h wchar.h])
+ sys/time.h sys/types.h sys/ucred.h syslog.h termios.h \
+ wchar.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
@@ -190,7 +191,7 @@ AC_FUNC_GETMNTENT
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
AC_FUNC_MKTIME
AC_CHECK_FUNCS([geteuid getmntinfo realpath regcomp strcasecmp \
- strndup strrchr strsep swprintf \
+ strndup strrchr strsep swprintf tcflush \
wcwidth uname])
# For the diskspace code
FS_STATS_TYPE