File: autogen.sh

package info (click to toggle)
odyssey 0.4-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 852 kB
  • ctags: 354
  • sloc: cpp: 3,581; sh: 3,430; makefile: 98
file content (24 lines) | stat: -rwxr-xr-x 656 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

ACLOCAL_FLAGS="-I scripts"
AUTOMAKE_FLAGS="--foreign --add-missing --copy"

echo "Generating build information using autoheader, automake, and autoconf"
echo "This may take a while ..."

# Touch the timestamps on all the files since CVS messes them up
touch configure.ac

# Regenerate configuration files
#rm -f acinclude.m4
#for FILE in scripts/*.m4; do
#	cat $FILE >> acinclude.m4
#done
aclocal ${ACLOCAL_FLAGS} && autoheader ${AUTOHEADER_FLAGS} && automake ${AUTOMAKE_FLAGS} && autoconf ${AUTOCONF_FLAGS}

rm -f config.cache
rm -rf autom4te.cache

# Run configure for this platform
#./configure $*
echo "Now you are ready to run ./configure"