File: configure

package info (click to toggle)
lde 2.6.0-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,508 kB
  • ctags: 1,197
  • sloc: ansic: 7,780; yacc: 477; makefile: 227; sh: 205
file content (32 lines) | stat: -rwxr-xr-x 632 bytes parent folder | download | duplicates (3)
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
#!/bin/sh
# Running configure in another directory

DIE=0

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

echo "Changing to macros/ and running  \"./configure $*\" ..."
cd $srcdir/macros


(./configure --version) < /dev/null > /dev/null 2>&1 || {
        echo
        echo "Please run autogen.sh with the same options as you"
        echo "would pass to configure."
		echo
		echo "autogen.sh will generate the initial configure script."
		echo "You can then re-run ./configure to change any options."
        DIE=1
}

if test "$DIE" -eq 1; then
        exit 1
fi


./configure "$@"

echo
echo "Now type 'make' to compile lde."