projects
/
external
/
popt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
upload tizen1.0 source
[external/popt.git]
/
autogen.sh
1
#!/bin/sh
2
3
srcdir="`dirname $0`"
4
test -z "$srcdir" && srcdir=.
5
6
THEDIR="`pwd`"
7
8
cd "$srcdir"
9
libtoolize --copy --force
10
aclocal
11
autoheader
12
automake -a -c
13
autoconf
14
15
if [ "$1" = "--noconfigure" ]; then
16
exit 0;
17
fi
18
19
cd "$THEDIR"
20
21
if [ X"$@" = X -a "X`uname -s`" = "XLinux" ]; then
22
$srcdir/configure --prefix=/usr "$@"
23
else
24
$srcdir/configure "$@"
25
fi