OLD | NEW |
1 dnl *********************************************** | 1 dnl *********************************************** |
2 dnl * Please run autoreconf to test your changes! * | 2 dnl * Please run autoreconf to test your changes! * |
3 dnl *********************************************** | 3 dnl *********************************************** |
4 dnl NOTE: autoconf 2.64 doesn't seem to work (use 2.61). | 4 dnl NOTE: autoconf 2.64 doesn't seem to work (use 2.61). |
5 | 5 |
6 # Set VERSION so we only need to edit in one place (i.e., here) | 6 # Set VERSION so we only need to edit in one place (i.e., here) |
7 m4_define(PYTHON_VERSION, 3.1) | 7 m4_define(PYTHON_VERSION, 3.1) |
8 | 8 |
9 AC_REVISION($Revision: 68440 $) | 9 AC_REVISION($Revision: 68440 $) |
10 AC_PREREQ(2.61) | 10 AC_PREREQ(2.61) |
(...skipping 3642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3653 ac_cv_broken_mbstowcs=yes, | 3653 ac_cv_broken_mbstowcs=yes, |
3654 ac_cv_broken_mbstowcs=no) | 3654 ac_cv_broken_mbstowcs=no) |
3655 AC_MSG_RESULT($ac_cv_broken_mbstowcs) | 3655 AC_MSG_RESULT($ac_cv_broken_mbstowcs) |
3656 if test "$ac_cv_broken_mbstowcs" = yes | 3656 if test "$ac_cv_broken_mbstowcs" = yes |
3657 then | 3657 then |
3658 AC_DEFINE(HAVE_BROKEN_MBSTOWCS, 1, | 3658 AC_DEFINE(HAVE_BROKEN_MBSTOWCS, 1, |
3659 [Define if mbstowcs(NULL, "text", 0) does not return the number of· | 3659 [Define if mbstowcs(NULL, "text", 0) does not return the number of· |
3660 wide chars that would be converted.]) | 3660 wide chars that would be converted.]) |
3661 fi | 3661 fi |
3662 | 3662 |
| 3663 # Check for --with-computed-gotos |
| 3664 AC_MSG_CHECKING(for --with-computed-gotos) |
| 3665 AC_ARG_WITH(computed-gotos, |
| 3666 AC_HELP_STRING(--with-computed-gotos, |
| 3667 Use computed gotos / threaded dispatch in evaluation
loop (not available on all compilers)), |
| 3668 [ |
| 3669 if test "$withval" != no |
| 3670 then· |
| 3671 AC_DEFINE(USE_COMPUTED_GOTOS, 1, |
| 3672 [Define if you want to use computed gotos in ceval.c.])· |
| 3673 AC_MSG_RESULT(yes) |
| 3674 else AC_MSG_RESULT(no) |
| 3675 fi], |
| 3676 [AC_MSG_RESULT(no)]) |
| 3677 |
| 3678 |
3663 AC_SUBST(THREADHEADERS) | 3679 AC_SUBST(THREADHEADERS) |
3664 | 3680 |
3665 for h in `(cd $srcdir;echo Python/thread_*.h)` | 3681 for h in `(cd $srcdir;echo Python/thread_*.h)` |
3666 do | 3682 do |
3667 THREADHEADERS="$THREADHEADERS \$(srcdir)/$h" | 3683 THREADHEADERS="$THREADHEADERS \$(srcdir)/$h" |
3668 done | 3684 done |
3669 | 3685 |
3670 AC_SUBST(SRCDIRS) | 3686 AC_SUBST(SRCDIRS) |
3671 SRCDIRS="Parser Grammar Objects Python Modules Mac" | 3687 SRCDIRS="Parser Grammar Objects Python Modules Mac" |
3672 AC_MSG_CHECKING(for build directories) | 3688 AC_MSG_CHECKING(for build directories) |
(...skipping 18 matching lines...) Expand all Loading... |
3691 if test ! -f Modules/Setup.local | 3707 if test ! -f Modules/Setup.local |
3692 then | 3708 then |
3693 echo "# Edit this file for local setup changes" >Modules/Setup.local | 3709 echo "# Edit this file for local setup changes" >Modules/Setup.local |
3694 fi | 3710 fi |
3695 | 3711 |
3696 echo "creating Makefile" | 3712 echo "creating Makefile" |
3697 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \ | 3713 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \ |
3698 -s Modules Modules/Setup.config \ | 3714 -s Modules Modules/Setup.config \ |
3699 Modules/Setup.local Modules/Setup | 3715 Modules/Setup.local Modules/Setup |
3700 mv config.c Modules | 3716 mv config.c Modules |
OLD | NEW |