summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9c1d6e9)
raw | patch | inline | side by side (parent: 9c1d6e9)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 12 May 2005 22:22:45 +0000 (22:22 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 12 May 2005 22:22:45 +0000 (22:22 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@554 a5681a0c-68f1-0310-ab6d-d61299d08faa
acinclude.m4 | patch | blob | history |
diff --git a/acinclude.m4 b/acinclude.m4
index 03382649873990904090b7242751907b068c1e0c..6243c21182726a7dc07b3aace4579bcc30288f46 100644 (file)
--- a/acinclude.m4
+++ b/acinclude.m4
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