From 1c0c292728c6bb5987b418c7ecbaf998a26c066d Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 15 Oct 2012 15:06:14 -0400 Subject: pactree: autodetect and use unicode line drawing characters Add a compile time check for langinfo.h so that we can possibly use unicode line drawing characters if the current locale is supportive of them. This can be explicitly disabled at runtime with the use of a new switch: -a, --ascii. Signed-off-by: Dave Reisner Signed-off-by: Allan McRae --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b823fab3..1a90906e 100644 --- a/configure.ac +++ b/configure.ac @@ -247,8 +247,8 @@ AS_IF([test "x$have_gpgme" = xno -a "x$with_gpgme" = xyes], AM_CONDITIONAL([HAVE_LIBGPGME], [test "x$have_gpgme" = "xyes"]) # Checks for header files. -AC_CHECK_HEADERS([fcntl.h float.h glob.h libintl.h limits.h locale.h \ - mntent.h netinet/in.h netinet/tcp.h \ +AC_CHECK_HEADERS([fcntl.h float.h glob.h langinfo.h libintl.h limits.h \ + locale.h mntent.h netinet/in.h netinet/tcp.h \ stddef.h string.h sys/ioctl.h \ sys/mnttab.h sys/mount.h \ sys/param.h sys/statvfs.h sys/time.h sys/types.h \ -- cgit v1.2.3-24-g4f1b