[go: up one dir, main page]

File: autogen.sh

package info (click to toggle)
libggigcp 1.0.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,580 kB
  • ctags: 497
  • sloc: sh: 9,172; ansic: 2,396; makefile: 176
file content (35 lines) | stat: -rwxr-xr-x 690 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/sh

version_check=yes

for opt in $@; do
  case "$opt" in
  --force)
    version_check=no
    ;;
  esac
done

if test $version_check = yes; then
  AC_VERSION="2.59"
  AM_VERSION="1.9.6"

  printf "Checking for required autoconf ${AC_VERSION}..."
  ./checkversion.sh autoconf $AC_VERSION
  test $? -eq 0 || exit $? && printf "ok\n"
  printf "Checking for required automake ${AM_VERSION}..."
  ./checkversion.sh automake $AM_VERSION
  test $? -eq 0 || exit $? && printf "ok\n"
fi

touch ChangeLog

cat m4/*.m4 > acinclude.m4
echo "Running aclocal..."
aclocal
echo "Running autoheader..."
autoheader
echo "Running automake..."
automake --add-missing
echo "Running autoconf..."
autoconf