File: autogen.sh

package info (click to toggle)
supermin 5.2.2-7.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,324 kB
  • sloc: ansic: 15,089; sh: 4,913; ml: 2,599; makefile: 251; perl: 26
file content (17 lines) | stat: -rwxr-xr-x 367 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash -

set -e

# If the submodule is not initialized run bootstrap
if git submodule status .gnulib | grep -q '^-'; then
    ./bootstrap
fi

# If no arguments were specified and configure has run before, use the previous
# arguments
if test $# -eq 0 && test -x ./config.status; then
    ./config.status --recheck
else
    autoreconf -i
    ./configure "$@"
fi