|
Revision 542, 0.6 kB
(checked in by bjourne, 5 months ago)
|
Don't pass any not asked for options to configure
|
- Property svn:executable set to
*
|
| Line | |
|---|
| 1 |
#!/bin/sh |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
srcdir=`dirname $0` |
|---|
| 5 |
test -z "$srcdir" && srcdir=. |
|---|
| 6 |
|
|---|
| 7 |
PKG_NAME="gtkimageview" |
|---|
| 8 |
|
|---|
| 9 |
(test -f $srcdir/configure.in \ |
|---|
| 10 |
&& test -f $srcdir/README \ |
|---|
| 11 |
&& test -d $srcdir/src) || { |
|---|
| 12 |
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" |
|---|
| 13 |
echo " top-level $PKG_NAME directory" |
|---|
| 14 |
exit 1 |
|---|
| 15 |
} |
|---|
| 16 |
|
|---|
| 17 |
which gnome-autogen.sh || { |
|---|
| 18 |
echo "You need to install gnome-common available from GNOME svn." |
|---|
| 19 |
exit 1 |
|---|
| 20 |
} |
|---|
| 21 |
|
|---|
| 22 |
REQUIRED_AUTOMAKE_VERSION=1.9 |
|---|
| 23 |
|
|---|
| 24 |
USE_GNOME2_MACROS=1 NOCONFIGURE=1 . gnome-autogen.sh |
|---|
| 25 |
echo $srcdir/configure "$@" |
|---|
| 26 |
$srcdir/configure "$@" |
|---|