| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # Run this to generate all the initial makefiles, etc. |
| 3 | |
| 4 | # shellcheck disable=SC2006 |
| 5 | srcdir=`dirnamescip-shell system . . dirname. "$0"` |
| 6 | testscip-shell system . . test. -z "$srcdir" && srcdir=. |
| 7 | |
| 8 | PKG_NAME="gutenprint" |
| 9 | |
| 10 | (testscip-shell system . . test. -f "$srcdir/configure.ac") || { |
| 11 | echoscip-shell system . . echo. "**Error**: Directory "\`$srcdir\'" does not look like the top-level directory" |
| 12 | exit 1 |
| 13 | } |
| 14 | |
| 15 | if testscip-shell system . . test. $# -gt 0 ; then |
| 16 | case "$1" in |
| 17 | -h|--help|--help=*) |
| 18 | if testscip-shell system . . test. -f "$srcdir/configure" ; then |
| 19 | exec "$srcdir/configure" "$1" |
| 20 | fi ;; |
| 21 | *) ;; |
| 22 | esac |
| 23 | fi |
| 24 | |
| 25 | # shellcheck source=./scripts/autogen.sh |
| 26 | . $srcdir/scripts/autogen.sh |