Commits

Anonymous committed 9416375

Add checks for setlocale() and <locale.h>

  • Participants
  • Parent commits c142eb5
  • Branches legacy-trunk

Comments (0)

Files changed (3)

 /* 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
 
 /* 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
 
 #! /bin/sh
 
-# From configure.in Revision: 1.66 
+# From configure.in Revision: 1.67 
 
 # Guess values for system-dependent variables and create Makefiles.
 # Generated automatically using autoconf version 2.12 
 
 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 \
 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 setlocale setuid setsid setpgid setpgrp setvbuf \
  sigaction siginterrupt sigrelse strftime symlink \
  tcgetpgrp tcsetpgrp times truncate uname waitpid
 do

File configure.in

 
 # 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 \
 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 setlocale setuid setsid setpgid setpgrp setvbuf \
  sigaction siginterrupt sigrelse strftime symlink \
  tcgetpgrp tcsetpgrp times truncate uname waitpid)
 AC_REPLACE_FUNCS(dup2 getcwd strdup strerror memmove)