X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fyaz-asncomp;h=e155e5b2e44f2a5cc4ea987a31c903a4a83d0994;hb=8cd8912e4ff99fd53ff78a028f7d84418e494b0d;hp=721551e1b8a9998d93d2de2c8b0f2e9dcdc7485b;hpb=070438f9027bec2411d0d3ec4491a6aa6651093a;p=yaz-moved-to-github.git diff --git a/util/yaz-asncomp b/util/yaz-asncomp index 721551e..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-2007 +# (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)"