File: autogen.sh

package info (click to toggle)
libblockdev 2.28-2%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,004 kB
  • sloc: ansic: 17,979; python: 9,476; makefile: 567; sh: 487
file content (16 lines) | stat: -rwxr-xr-x 409 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash -e
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.

pushd $srcdir

(test -f configure.ac) || {
        echo "*** ERROR: Directory "\`$srcdir\'" does not look like the top-level project directory ***"
        exit 1
}

PKG_NAME=`autoconf --trace 'AC_INIT:$1' configure.ac`

aclocal --install || exit 1
autoreconf --verbose --force --install -Wno-portability || exit 1
popd