Merge branch 'master' into verilog-ams
[sverilog.git] / autoconf.sh
blob1ace2dc34bd6f4b5ce589d8d356075eeaeeb0e5b
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-4,\$ -L ANSI-C -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc