X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=acinclude.m4;h=3cff28226989e6287a97b19fe7ec74249b6a7767;hb=c8229ab47939499b92f78a8e27e9874fccb53740;hp=955f258df48c5403a8c5ec5f4c0285333135d485;hpb=312c05545b7c4beef4d9e998fb0e9ad03e1b9501;p=rrdtool.git diff --git a/acinclude.m4 b/acinclude.m4 index 955f258..3cff282 100644 --- a/acinclude.m4 +++ b/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-z]/_/g"` + unset ac_cv_header_`echo $3 | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` AC_CHECK_HEADER($3,[EX_CHECK_STATE=YES],[]) ],[]) else