File: autogen.sh

package info (click to toggle)
libsm 2:1.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 2,004 kB
  • ctags: 550
  • sloc: sh: 11,332; xml: 5,160; ansic: 2,514; makefile: 55
file content (14 lines) | stat: -rw-r--r-- 209 bytes parent folder | download | duplicates (110)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

ORIGDIR=`pwd`
cd $srcdir

autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?

if test -z "$NOCONFIGURE"; then
    $srcdir/configure "$@"
fi