Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
96013151
Commit
96013151
authored
Oct 08, 1997
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add checks for setlocale() and <locale.h>
parent
1f14ccf6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
config.h.in
config.h.in
+6
-0
configure
configure
+3
-3
configure.in
configure.in
+2
-2
No files found.
config.h.in
View file @
96013151
...
...
@@ -244,6 +244,9 @@
/* Define if you have the setgid function. */
#undef HAVE_SETGID
/* Define if you have the setlocale function. */
#undef HAVE_SETLOCALE
/* Define if you have the setpgid function. */
#undef HAVE_SETPGID
...
...
@@ -310,6 +313,9 @@
/* Define if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
/* Define if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H
/* Define if you have the <ncurses.h> header file. */
#undef HAVE_NCURSES_H
...
...
configure
View file @
96013151
#! /bin/sh
# From configure.in Revision: 1.6
6
# From configure.in Revision: 1.6
7
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.12
...
...
@@ -1234,7 +1234,7 @@ EOF
fi
for
ac_hdr
in
dlfcn.h fcntl.h limits.h ncurses.h pthread.h
\
for
ac_hdr
in
dlfcn.h fcntl.h limits.h
locale.h
ncurses.h pthread.h
\
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h
\
sys/audioio.h sys/file.h sys/lock.h
\
sys/param.h sys/select.h sys/time.h sys/times.h
\
...
...
@@ -2483,7 +2483,7 @@ fi
for
ac_func
in
alarm
chown
clock dlopen execv flock fork ftime ftruncate
\
gethostname_r getpeername getpgrp getpid getpwent gettimeofday getwd
\
kill link
lstat
mkfifo nice
pause plock putenv
readlink
\
select
setgid setuid setsid setpgid setpgrp setvbuf
\
select
setgid set
locale set
uid setsid setpgid setpgrp setvbuf
\
sigaction siginterrupt sigrelse strftime symlink
\
tcgetpgrp tcsetpgrp
times truncate uname
waitpid
do
...
...
configure.in
View file @
96013151
...
...
@@ -167,7 +167,7 @@ AC_MSG_RESULT($cpp_type)
# checks for header files
AC_HEADER_STDC
AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h ncurses.h pthread.h \
AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h
locale.h
ncurses.h pthread.h \
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h \
sys/audioio.h sys/file.h sys/lock.h \
sys/param.h sys/select.h sys/time.h sys/times.h \
...
...
@@ -382,7 +382,7 @@ LIBS="$LIBS -ldl -ldld"], AC_MSG_RESULT(no))
AC_CHECK_FUNCS(alarm chown clock dlopen execv flock fork ftime ftruncate \
gethostname_r getpeername getpgrp getpid getpwent gettimeofday getwd \
kill link lstat mkfifo nice pause plock putenv readlink \
select setgid setuid setsid setpgid setpgrp setvbuf \
select setgid set
locale set
uid setsid setpgid setpgrp setvbuf \
sigaction siginterrupt sigrelse strftime symlink \
tcgetpgrp tcsetpgrp times truncate uname waitpid)
AC_REPLACE_FUNCS(dup2 getcwd strdup strerror memmove)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment