LEFT | RIGHT |
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 | 4 |
5 # Set VERSION so we only need to edit in one place (i.e., here) | 5 # Set VERSION so we only need to edit in one place (i.e., here) |
6 m4_define(PYTHON_VERSION, 3.3) | 6 m4_define(PYTHON_VERSION, 3.3) |
7 | 7 |
8 AC_PREREQ(2.65) | 8 AC_PREREQ(2.65) |
9 | 9 |
10 AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/) | 10 AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/) |
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1327 dnl AC_MSG_RESULT($cpp_type) | 1327 dnl AC_MSG_RESULT($cpp_type) |
1328 | 1328 |
1329 # checks for header files | 1329 # checks for header files |
1330 AC_HEADER_STDC | 1330 AC_HEADER_STDC |
1331 AC_CHECK_HEADERS(asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \ | 1331 AC_CHECK_HEADERS(asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \ |
1332 fcntl.h grp.h \ | 1332 fcntl.h grp.h \ |
1333 ieeefp.h io.h langinfo.h libintl.h ncurses.h process.h pthread.h \ | 1333 ieeefp.h io.h langinfo.h libintl.h ncurses.h process.h pthread.h \ |
1334 sched.h shadow.h signal.h stdint.h stropts.h termios.h \ | 1334 sched.h shadow.h signal.h stdint.h stropts.h termios.h \ |
1335 unistd.h utime.h \ | 1335 unistd.h utime.h \ |
1336 poll.h sys/devpoll.h sys/epoll.h sys/poll.h \ | 1336 poll.h sys/devpoll.h sys/epoll.h sys/poll.h \ |
1337 sys/audioio.h sys/xattr.h sys/bsdtty.h sys/event.h sys/file.h sys/loadavg.h \ | 1337 sys/audioio.h sys/xattr.h sys/bsdtty.h sys/event.h sys/file.h sys/ioctl.h \ |
1338 sys/lock.h sys/mkdev.h sys/modem.h \ | 1338 sys/kern_control.h sys/loadavg.h sys/lock.h sys/mkdev.h sys/modem.h \ |
1339 sys/param.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h \ | 1339 sys/param.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h \ |
1340 sys/stat.h sys/termio.h sys/time.h \ | 1340 sys/stat.h sys/syscall.h sys/sys_domain.h sys/termio.h sys/time.h \ |
1341 sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \ | 1341 sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \ |
1342 libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \ | 1342 libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \ |
1343 bluetooth/bluetooth.h linux/tipc.h spawn.h util.h) | 1343 bluetooth/bluetooth.h linux/tipc.h spawn.h util.h) |
1344 AC_HEADER_DIRENT | 1344 AC_HEADER_DIRENT |
1345 AC_HEADER_MAJOR | 1345 AC_HEADER_MAJOR |
1346 | 1346 |
1347 # On Darwin (OS X) net/if.h requires sys/socket.h to be imported first. | 1347 # On Darwin (OS X) net/if.h requires sys/socket.h to be imported first. |
1348 AC_CHECK_HEADERS([net/if.h], [], [], | 1348 AC_CHECK_HEADERS([net/if.h], [], [], |
1349 [#include <stdio.h> | 1349 [#include <stdio.h> |
1350 #ifdef STDC_HEADERS | 1350 #ifdef STDC_HEADERS |
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2579 setgid sethostname \ | 2579 setgid sethostname \ |
2580 setlocale setregid setreuid setresuid setresgid setsid setpgid setpgrp setprior
ity setuid setvbuf \ | 2580 setlocale setregid setreuid setresuid setresgid setsid setpgid setpgrp setprior
ity setuid setvbuf \ |
2581 sched_get_priority_max sched_setaffinity sched_setscheduler sched_setparam \ | 2581 sched_get_priority_max sched_setaffinity sched_setscheduler sched_setparam \ |
2582 sched_rr_get_interval \ | 2582 sched_rr_get_interval \ |
2583 sigaction sigaltstack siginterrupt sigpending sigrelse \ | 2583 sigaction sigaltstack siginterrupt sigpending sigrelse \ |
2584 sigtimedwait sigwait sigwaitinfo snprintf strftime strlcpy symlinkat sync \ | 2584 sigtimedwait sigwait sigwaitinfo snprintf strftime strlcpy symlinkat sync \ |
2585 sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \ | 2585 sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \ |
2586 truncate uname unlinkat unsetenv utimensat utimes waitid waitpid wait3 wait4 \ | 2586 truncate uname unlinkat unsetenv utimensat utimes waitid waitpid wait3 wait4 \ |
2587 wcscoll wcsftime wcsxfrm writev _getpty) | 2587 wcscoll wcsftime wcsxfrm writev _getpty) |
2588 | 2588 |
| 2589 AC_CHECK_DECL(dirfd, |
| 2590 AC_DEFINE(HAVE_DIRFD, 1, |
| 2591 Define if you have the 'dirfd' function or macro.), , |
| 2592 [#include <sys/types.h> |
| 2593 #include <dirent.h>]) |
| 2594 |
2589 # For some functions, having a definition is not sufficient, since | 2595 # For some functions, having a definition is not sufficient, since |
2590 # we want to take their address. | 2596 # we want to take their address. |
2591 AC_MSG_CHECKING(for chroot) | 2597 AC_MSG_CHECKING(for chroot) |
2592 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=chroot]])]
, | 2598 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=chroot]])]
, |
2593 [AC_DEFINE(HAVE_CHROOT, 1, Define if you have the 'chroot' function.) | 2599 [AC_DEFINE(HAVE_CHROOT, 1, Define if you have the 'chroot' function.) |
2594 AC_MSG_RESULT(yes)], | 2600 AC_MSG_RESULT(yes)], |
2595 [AC_MSG_RESULT(no) | 2601 [AC_MSG_RESULT(no) |
2596 ]) | 2602 ]) |
2597 AC_MSG_CHECKING(for link) | 2603 AC_MSG_CHECKING(for link) |
2598 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=link]])], | 2604 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=link]])], |
(...skipping 21 matching lines...) Expand all Loading... |
2620 ]) | 2626 ]) |
2621 AC_MSG_CHECKING(for fdatasync) | 2627 AC_MSG_CHECKING(for fdatasync) |
2622 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=fdatasync]
])], | 2628 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=fdatasync]
])], |
2623 [AC_DEFINE(HAVE_FDATASYNC, 1, Define if you have the 'fdatasync' function.) | 2629 [AC_DEFINE(HAVE_FDATASYNC, 1, Define if you have the 'fdatasync' function.) |
2624 AC_MSG_RESULT(yes)], | 2630 AC_MSG_RESULT(yes)], |
2625 [AC_MSG_RESULT(no) | 2631 [AC_MSG_RESULT(no) |
2626 ]) | 2632 ]) |
2627 AC_MSG_CHECKING(for epoll) | 2633 AC_MSG_CHECKING(for epoll) |
2628 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/epoll.h>]], [[void *x=epoll_c
reate]])], | 2634 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/epoll.h>]], [[void *x=epoll_c
reate]])], |
2629 [AC_DEFINE(HAVE_EPOLL, 1, Define if you have the 'epoll' functions.) | 2635 [AC_DEFINE(HAVE_EPOLL, 1, Define if you have the 'epoll' functions.) |
| 2636 AC_MSG_RESULT(yes)], |
| 2637 [AC_MSG_RESULT(no) |
| 2638 ]) |
| 2639 AC_MSG_CHECKING(for epoll_create1) |
| 2640 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/epoll.h>]], [[void *x=epoll_c
reate1]])], |
| 2641 [AC_DEFINE(HAVE_EPOLL_CREATE1, 1, Define if you have the 'epoll_create1' funct
ion.) |
2630 AC_MSG_RESULT(yes)], | 2642 AC_MSG_RESULT(yes)], |
2631 [AC_MSG_RESULT(no) | 2643 [AC_MSG_RESULT(no) |
2632 ]) | 2644 ]) |
2633 AC_MSG_CHECKING(for kqueue) | 2645 AC_MSG_CHECKING(for kqueue) |
2634 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ | 2646 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
2635 #include <sys/types.h> | 2647 #include <sys/types.h> |
2636 #include <sys/event.h> | 2648 #include <sys/event.h> |
2637 ]], [[int x=kqueue()]])], | 2649 ]], [[int x=kqueue()]])], |
2638 [AC_DEFINE(HAVE_KQUEUE, 1, Define if you have the 'kqueue' functions.) | 2650 [AC_DEFINE(HAVE_KQUEUE, 1, Define if you have the 'kqueue' functions.) |
2639 AC_MSG_RESULT(yes)], | 2651 AC_MSG_RESULT(yes)], |
(...skipping 1753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4393 if test ! -f Modules/Setup.local | 4405 if test ! -f Modules/Setup.local |
4394 then | 4406 then |
4395 echo "# Edit this file for local setup changes" >Modules/Setup.local | 4407 echo "# Edit this file for local setup changes" >Modules/Setup.local |
4396 fi | 4408 fi |
4397 | 4409 |
4398 echo "creating Makefile" | 4410 echo "creating Makefile" |
4399 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \ | 4411 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \ |
4400 -s Modules Modules/Setup.config \ | 4412 -s Modules Modules/Setup.config \ |
4401 Modules/Setup.local Modules/Setup | 4413 Modules/Setup.local Modules/Setup |
4402 mv config.c Modules | 4414 mv config.c Modules |
LEFT | RIGHT |