mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 18:28:03 +02:00
Allow names of all autofoo programs to be overridden via environment variables.
This commit is contained in:
parent
928095693b
commit
97666464c0
2 changed files with 16 additions and 5 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2003-12-05 Carl Worth <cworth@east.isi.edu>
|
||||
|
||||
* autogen.sh (AUTOCONF): Allow names of all autofoo programs to be
|
||||
overridden via environment variables.
|
||||
|
||||
* configure.in: Bump version to 0.1.15 for new
|
||||
CAIRO_HAS_XLIB_SURFACE macro.
|
||||
|
||||
|
|
|
|||
18
autogen.sh
18
autogen.sh
|
|
@ -3,6 +3,14 @@
|
|||
|
||||
set -e
|
||||
|
||||
LIBTOOLIZE=${LIBTOOLIZE-libtoolize}
|
||||
LIBTOOLIZE_FLAGS="--copy --force"
|
||||
ACLOCAL=${ACLOCAL-aclocal}
|
||||
AUTOHEADER=${AUTOHEADER-autoheader}
|
||||
AUTOMAKE=${AUTOMAKE-automake}
|
||||
AUTOMAKE_FLAGS="--add-missing"
|
||||
AUTOCONF=${AUTOCONF-autoconf}
|
||||
|
||||
ARGV0=$0
|
||||
|
||||
if test -z "$ACLOCAL_FLAGS"; then
|
||||
|
|
@ -32,14 +40,14 @@ do_cmd() {
|
|||
$@
|
||||
}
|
||||
|
||||
do_cmd libtoolize --force --copy
|
||||
do_cmd $LIBTOOLIZE $LIBTOOLIZE_FLAGS
|
||||
|
||||
do_cmd aclocal ${ACLOCAL_FLAGS}
|
||||
do_cmd $ACLOCAL $ACLOCAL_FLAGS
|
||||
|
||||
do_cmd autoheader
|
||||
do_cmd $AUTOHEADER
|
||||
|
||||
do_cmd automake --add-missing
|
||||
do_cmd $AUTOMAKE $AUTOMAKE_FLAGS
|
||||
|
||||
do_cmd autoconf
|
||||
do_cmd $AUTOCONF
|
||||
|
||||
do_cmd ./configure --enable-maintainer-mode ${1+"$@"} && echo "Now type \`make' to compile" || exit 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue