X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fyaz-asncomp;h=e155e5b2e44f2a5cc4ea987a31c903a4a83d0994;hb=301bd3892284e83875d90bd7a65f48366c81213d;hp=d02bd9ddb49c74d4156ac21cbd8e9b7363c673e5;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755;p=yaz-moved-to-github.git diff --git a/util/yaz-asncomp b/util/yaz-asncomp index d02bd9d..e155e5b 100755 --- a/util/yaz-asncomp +++ b/util/yaz-asncomp @@ -1,7 +1,7 @@ #!/usr/bin/tclsh # # yaz-comp: ASN.1 Compiler for YAZ -# (c) Index Data 1996-2010 +# (c) Index Data 1996-2011 # See the file LICENSE for details. # @@ -1092,6 +1092,11 @@ proc asnModules {} { puts $file(outc) "" puts $file(outc) " ${greeting} ${yc_version}" puts $file(outc) "*/" + + puts $file(outc) "\#if HAVE_CONFIG_H" + puts $file(outc) "\#include " + puts $file(outc) "\#endif" + puts $file(outc) {} puts $file(outh) "/** \\file $inf(h-file)"