From 05a661c43b02799fdb886551d61e82ba3ef8d363 Mon Sep 17 00:00:00 2001 From: oetiker Date: Thu, 12 May 2005 22:22:45 +0000 Subject: [PATCH] [ must be quoted by [ ... git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@554 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/acinclude.m4 b/program/acinclude.m4 index 03382649..6243c211 100644 --- a/program/acinclude.m4 +++ b/program/acinclude.m4 @@ -38,7 +38,7 @@ AC_DEFUN([EX_CHECK_ALL], dnl remove the cached value and test again unset ac_cv_lib_$1_$2 AC_CHECK_LIB($1,$2,[ - unset ac_cv_header_`echo $3 | sed "s/[^A-Za-z]/_/g"` + unset ac_cv_header_`echo $3 | sed sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` AC_CHECK_HEADER($3,[EX_CHECK_STATE=YES],[]) ],[]) else -- 2.30.2