iverilog/autoconf.sh

20 lines
628 B
Bash
Raw Normal View History

2001-03-14 20:27:44 +01:00
#!/bin/sh
#
# This shell script exists to run autoconf on source distributions
# that are pulled from CVS. The configure scripts are not included
# in CVS, and there are several configure.in files, so it is easiest
# to just run this script to autoconf wherever needed.
#
echo "Autoconf in root..."
2006-09-29 01:45:20 +02:00
autoconf -f
2001-03-14 20:27:44 +01:00
for dir in vpi vvp tgt-vvp tgt-fpga tgt-stub tgt-vhdl libveriuser cadpli
2001-03-14 20:27:44 +01:00
do
echo "Autoconf in $dir..."
2006-09-29 01:45:20 +02:00
( cd ./$dir ; autoconf -f --include=.. )
2001-03-14 20:27:44 +01:00
done
echo "Precompiling lexor_keyword.gperf"
gperf -o -i 7 -C -k 1-4,\$ -L ANSI-C -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc