File: bootstrap

package info (click to toggle)
ocaml-samplerate 0.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 480 kB
  • ctags: 63
  • sloc: sh: 3,234; ansic: 177; makefile: 74; ml: 28
file content (17 lines) | stat: -rwxr-xr-x 399 bytes parent folder | download | duplicates (31)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

if [ -d m4 ]; then
  OPTIONS="-I m4"
  aclocal -I m4
fi
autoreconf -f -i $OPTIONS $1
# autoconf maintainers have not yet implemented
# a function to install missing files from autoconf
# itself, so we need to fake a call to automake here..
automake -a -c -f 2>/dev/null || true
if [ -d examples ]; then
  if [ -f examples/configure.ac ]; then
    cd examples
    autoreconf -f -i
  fi
fi