root/gtkimageview/autogen.sh

Revision 192, 0.7 kB (checked in by bjourne, 6 years ago)

autogen.sh points to SVN instead of CVS if gnome-common is missing

  • 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 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 conf_flags="--enable-maintainer-mode --enable-gtk-doc"
26 echo $srcdir/configure $conf_flags "$@"
27 $srcdir/configure $conf_flags "$@"
Note: See TracBrowser for help on using the browser.