Code

fox sed line for unsetting header cache
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 12 May 2005 22:06:13 +0000 (22:06 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 12 May 2005 22:06:13 +0000 (22:06 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@552 a5681a0c-68f1-0310-ab6d-d61299d08faa

acinclude.m4

index 0143cb4082ff3b0eafd8148f93d9a5e81c2d6f47..955f258df48c5403a8c5ec5f4c0285333135d485 100644 (file)
@@ -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]/_/"`
+                unset ac_cv_header_`echo $3 | sed "s/[^a-z]/_/g"`
                 AC_CHECK_HEADER($3,[EX_CHECK_STATE=YES],[])
             ],[])
           else