2007-10-07 22:20:12 +00:00
|
|
|
#!/bin/sh
|
2016-07-19 09:18:31 +00:00
|
|
|
|
|
|
|
srcdir=`dirname $0`
|
|
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
|
2016-11-03 13:05:11 +00:00
|
|
|
olddir="`pwd`"
|
|
|
|
|
|
|
|
cd "$srcdir"
|
2016-07-19 09:18:31 +00:00
|
|
|
|
2007-10-07 22:20:12 +00:00
|
|
|
libtoolize --copy --force || exit 1
|
|
|
|
aclocal || exit 1
|
|
|
|
autoheader || exit 1
|
|
|
|
autoconf || exit 1
|
|
|
|
automake -a -c || exit 1
|
2016-11-03 13:05:11 +00:00
|
|
|
cd "$olddir"
|
2016-07-19 09:18:31 +00:00
|
|
|
|
2012-11-16 18:28:15 +00:00
|
|
|
if test -z "$NOCONFIGURE"; then
|
2016-07-19 09:18:31 +00:00
|
|
|
$srcdir/configure --enable-maintainer-mode --enable-examples-build \
|
2007-11-04 19:10:23 +00:00
|
|
|
--enable-x11-examples-build --enable-debug-log $*
|
2012-11-16 18:28:15 +00:00
|
|
|
fi
|