Code

one sed is quite enough
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 12 May 2005 22:27:06 +0000 (22:27 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 12 May 2005 22:27:06 +0000 (22:27 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@555 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/acinclude.m4

index 6243c21182726a7dc07b3aace4579bcc30288f46..3cff28226989e6287a97b19fe7ec74249b6a7767 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  sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
+                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