From 44fe0f6d35751a9b6ce98a83c21cfe09189a0d67 Mon Sep 17 00:00:00 2001 From: David Levine Date: Tue, 24 Dec 2013 09:02:15 -0600 Subject: [PATCH] Have configure print out what it detects for the program to detect the MIME type string for a file. --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 3cefd662..6d140bc2 100644 --- a/configure.ac +++ b/configure.ac @@ -328,14 +328,14 @@ dnl --------------------------------------------- dnl CHECK FOR PROGRAM TO PROVIDE MIME TYPE STRING dnl --------------------------------------------- AS_IF([file --mime "${srcdir}"/configure >/dev/null 2>&1], - [nmh_mimetypeproc='"file --mime"']) -if test -n "$nmh_mimetypeproc"; then - AS_IF([file --brief --mime "${srcdir}"/configure >/dev/null 2>&1], - [nmh_mimetypeproc='"file --brief --mime"']) -fi + [AS_IF([file --brief --mime "${srcdir}"/configure >/dev/null 2>&1], + [nmh_mimetypeproc='"file --brief --mime"'], + [nmh_mimetypeproc='"file --mime"'])]) AS_CASE([$nmh_mimetypeproc], [?*], [AC_DEFINE_UNQUOTED([MIMETYPEPROC], [$nmh_mimetypeproc], [Program, with arguments, that provides MIME type string.])]) +AS_ECHO_N(["AS_ESCAPE([checking program to provide MIME type string ... ])"]) +AS_ECHO(["AS_ESCAPE([$nmh_mimetypeproc], [""])"]) dnl ------------------ dnl CHECK HEADER FILES -- 2.56.0