root/pygtkimageview/autogen.sh

Revision 360, 0.6 kB (checked in by bjourne, 6 years ago)

Fix autogen.sh. You definitely do need gnome-autogen.sh still. Who
would otherwise create the configure script? Also add the acinclude.m4
file with the PYTHON m4 macros.

  • Property svn:executable set to *
Line 
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
3
4 srcdir=`dirname $0`
5 test -z "$srcdir" && srcdir=.
6
7 (test -f $srcdir/configure.in \
8   && test -f $srcdir/README \
9   && test -d $srcdir/src) || {
10     echo -n "**Error**: Directory $srcdir does not look like the"
11     echo " top-level pygtkimageview directory"
12     exit 1
13 }
14
15 which gnome-autogen.sh || {
16     echo "You need to install gnome-common available from GNOME svn."
17     exit 1
18 }
19
20 REQUIRED_AUTOMAKE=1.9
21 USE_GNOME_MACROS=1 NOCONFIGURE=1 . gnome-autogen.sh
22 echo $srcdir/configure "$@"
23 $srcdir/configure "$@"
Note: See TracBrowser for help on using the browser.