| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | if [scip-shell system . . `[`. "x$(unamescip-shell system . . uname. -s)" = "xOpenBSD" ]; then |
| 4 | # On OpenBSD, you need to go searching for the autoconf version. |
| 5 | # Sigh. |
| 6 | export AUTOCONF_VERSION="$(lsscip-shell system . . ls. /usr/local/bin/autoconf-* 2>/dev/nullscip-shell filesystem . . `/dev/null`. \ |
| 7 | | sed 's/.*autoconf-//' \ |
| 8 | | sort -V \ |
| 9 | | tail -1)" |
| 10 | export AUTOMAKE_VERSION="$(lsscip-shell system . . ls. /usr/local/bin/automake-* 2>/dev/nullscip-shell filesystem . . `/dev/null`. \ |
| 11 | | sed 's/.*automake-//' \ |
| 12 | | sort -V \ |
| 13 | | tail -1)" |
| 14 | echoscip-shell system . . echo. "Autoconf version: ${AUTOCONF_VERSION}" |
| 15 | echoscip-shell system . . echo. "Automake version: ${AUTOMAKE_VERSION}" |
| 16 | fi |
| 17 | |
| 18 | exec autoreconf -i |