mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-24 12:30:10 +01:00
29 lines
516 B
Bash
29 lines
516 B
Bash
|
|
#!/bin/sh
|
||
|
|
# Run this to generate all the initial makefiles, etc.
|
||
|
|
|
||
|
|
set -e
|
||
|
|
|
||
|
|
if test -z "$*"; then
|
||
|
|
echo "$0: Note: \`./configure' will be run with no arguments."
|
||
|
|
echo " If you wish to pass any to it, please specify them on the"
|
||
|
|
echo " \`$0' command line."
|
||
|
|
echo
|
||
|
|
fi
|
||
|
|
|
||
|
|
do_cmd() {
|
||
|
|
echo "$0: running \`$@'"
|
||
|
|
$@
|
||
|
|
}
|
||
|
|
|
||
|
|
do_cmd libtoolize --force --copy
|
||
|
|
|
||
|
|
do_cmd aclocal
|
||
|
|
|
||
|
|
do_cmd autoheader
|
||
|
|
|
||
|
|
do_cmd automake --add-missing
|
||
|
|
|
||
|
|
do_cmd autoconf
|
||
|
|
|
||
|
|
do_cmd ./configure ${1+"$@"} && echo "Now type \`make' to compile" || exit 1
|