aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-09-06 19:49:54 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-09-06 19:49:54 +0000
commit777e8cd8ba9efb96570e323b681b520ad7e7f8b7 (patch)
treea6efa7ba33c9798a0f500822db88168348390ee7 /acinclude.m4
parentcb868d1deea61c20a20af5246214fca4b54dac46 (diff)
From Marten Svantesson: according to Tomas Anders, all versions of Heimdal
will either have "heimdal", in all lower case, in the version string in the header file, or will write out, when you run "krb5-config --version", a version string with "heimdal" in all lower case, so we don't need to do case-insensitive matching, which is good - not all versions of "sed" support the "i" flag (although you can do case-insensitive matching by using regular expressions, if necessary). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11915 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 3bb018db88..c5339c8a3b 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1001,7 +1001,7 @@ AC_DEFUN([AC_ETHEREAL_KRB5_CHECK],
KRB5_LIBS="-lkrb5 -lasn1 $SSL_LIBS -lroken -lcrypt -lresolv"
ethereal_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -L$krb5_dir/lib"
- ac_krb5_version=`grep -i heimdal $krb5_dir/include/krb5.h | head -n 1 | sed 's/^.*heimdal.*$/HEIMDAL/i'`
+ ac_krb5_version=`grep heimdal $krb5_dir/include/krb5.h | head -n 1 | sed 's/^.*heimdal.*$/HEIMDAL/'`
else
AC_PATH_PROG(KRB5_CONFIG, krb5-config)
if test -x "$KRB5_CONFIG"
@@ -1022,7 +1022,7 @@ AC_DEFUN([AC_ETHEREAL_KRB5_CHECK],
fi
#LIBS="$LIBS $KRB5_LIBS"
- ac_krb5_version=`"$KRB5_CONFIG" --version | head -n 1 | sed 's/^.*heimdal.*$/HEIMDAL/i'`
+ ac_krb5_version=`"$KRB5_CONFIG" --version | head -n 1 | sed 's/^.*heimdal.*$/HEIMDAL/'`
fi
fi