17 lines
628 B
Bash
17 lines
628 B
Bash
#!/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.
|
|
#
|
|
echo "Autoconf in root..."
|
|
autoconf -f
|
|
|
|
echo "Precompiling lexor_keyword.gperf"
|
|
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"
|
|
(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 )
|