12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #! /bin/sh
- am_create_testdir=empty
- required=python
- . test-init.sh
- cat > configure.ac <<END
- AC_INIT([$me], [1.0])
- m4_include([mypy.m4])
- AC_OUTPUT
- END
- cat > mypy.m4 << 'END'
- AM_PATH_PYTHON(, [$PYTHON -V >py-version 2>&1])
- END
- $ACLOCAL
- $AUTOCONF
- ./configure
- grep '^Python [0-9]\.[0-9][0-9]*\.[0-9]' py-version
- rm -rf autom4te*.cache
- cat > mypy.m4 << 'END'
- AM_PATH_PYTHON([0.0], [$PYTHON -c 'print("%u:%u" % (1-1, 2**0))' > py.out])
- END
- $ACLOCAL --force
- $AUTOCONF --force
- ./configure
- test x"$(cat py.out)" = x0:1
- :
|