Fix for assertion error when expanding macro.
[iverilog.git] / autoconf.sh
blob4bf779ebdaf15e33a68d9c8f6e24b6380ce5930a
1 #!/bin/sh
4 # This shell script exists to run autoconf on source distributions
5 # that are pulled from CVS. The configure scripts are not included
6 # in CVS, and there are several configure.in files, so it is easiest
7 # to just run this script to autoconf wherever needed.
9 echo "Autoconf in root..."
10 autoconf -f
12 for dir in vpip vpi vvp tgt-vvp tgt-fpga tgt-stub libveriuser cadpli
14 echo "Autoconf in $dir..."
15 ( cd ./$dir ; autoconf -f --include=.. )
16 done
18 echo "Precompiling lexor_keyword.gperf"
19 gperf -o -i 7 -C -k 1-3,\$ -L ANSI-C -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc