source: subversion/applications/utils/mod_mapnik_wms/autogen.sh @ 28748

Last change on this file since 28748 was 22432, checked in by Dane Springmeyer, 9 years ago

fixup logic around autogen support for mac osx

  • Property svn:executable set to *
File size: 509 bytes
Line 
1#! /bin/sh
2
3## jump out if one of the programs returns 'false'
4set -e
5
6## on macosx glibtoolize, others have libtool
7if test x$LIBTOOLIZE = x; then
8  if test \! x`which libtoolize` = x; then
9    LIBTOOLIZE=libtoolize
10  elif test \! x`which glibtoolize` = x; then
11    LIBTOOLIZE=glibtoolize
12  elif test \! x`which libtoolize-1.5` = x; then
13    LIBTOOLIZE=libtoolize-1.5
14  fi
15fi
16
17
18$LIBTOOLIZE -f -c && aclocal -I ./acinclude.d -I /usr/share/aclocal && autoheader && automake -ac && autoconf && ./configure "$@"
Note: See TracBrowser for help on using the repository browser.