iverilog/autoconf.sh

19 lines
802 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 git The configure script is not included
# in git, so it is easiest to just run this script whenever needed
# to generate the configure script.
2001-03-14 20:27:44 +01:00
#
# wget -O config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess'
# wget -O config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub'
2001-03-14 20:27:44 +01:00
echo "Autoconf in root..."
2006-09-29 01:45:20 +02:00
autoconf -f
2001-03-14 20:27:44 +01:00
echo "Precompiling lexor_keyword.gperf"
2014-11-04 20:21:12 +01:00
gperf -o -i 7 -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc
echo "Precompiling vhdlpp/lexor_keyword.gperf"
2014-11-04 20:21:12 +01:00
(cd vhdlpp ; gperf -o -i 7 --ignore-case -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc )