File: autoconf.sh

package info (click to toggle)
verilog 0.8-4.2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 7,212 kB
  • ctags: 7,045
  • sloc: cpp: 42,254; ansic: 26,293; yacc: 3,452; sh: 2,773; makefile: 1,113
file content (19 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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..."
autoconf

for dir in vpip vpi vvp tgt-vvp tgt-fpga libveriuser cadpli
do
    echo "Autoconf in $dir..."
    ( cd ./$dir ; autoconf --include=.. )
done

echo "Precompiling lexor_keyword.gperf"
gperf -o -i 7 -C -k 1-3,\$ -L ANSI-C -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc