]> mj.ucw.cz Git - nsc-5.git/commitdiff
Fixed compatibility problems with new GNU m4.
authorMartin Mares <mj@ucw.cz>
Wed, 21 May 2008 17:31:37 +0000 (19:31 +0200)
committerMartin Mares <mj@ucw.cz>
Wed, 21 May 2008 17:31:37 +0000 (19:31 +0200)
m4/dnslib.m4

index 0c74b459102c3cf97c803f3542ba7056d5e8cc19..a3eddcd45801be33c04d3eff8110af7565c166ac 100644 (file)
@@ -37,8 +37,7 @@ define(nsc_corr_dot, `ifelse(substr($1,decr(len($1))),.,$1,$1`'ifelse(index($1,.
 
 define(nsc_if_v6, `ifelse(index($1,:),-1,`$3',`$2')')
 
-define(nsc_norm_v6, `nsc_norm_v6_z(dnl
-ifelse(regexp($1,`::.*::'),-1,`ifelse(index($1,::),-1,`nsc_norm_v6_nn($1)',`nsc_norm_v6_cc($1)')',`nsc_bad_v6($1)'))')
+define(nsc_norm_v6, `nsc_norm_v6_z(ifelse(regexp($1,`::.*::'),-1,`ifelse(index($1,::),-1,`nsc_norm_v6_nn($1)',`nsc_norm_v6_cc($1)')',`nsc_bad_v6($1)'))')
 # If there is no ::, check the number of :'s
 define(nsc_norm_v6_nn, `ifelse(nsc_extract_colons($1),:::::::,$1,`nsc_bad_v6($1)')')
 # Replace :: by the right number of :'s to get 8 (possibly empty) components