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