Two unrelated changes:
- add test for strptime (not used by the core but needed by Marc Lemburg's Date object). - Test for GNU ld on Solaris; need to add an extra linker option to export symbols in that case.
This commit is contained in:
parent
0e680b7608
commit
8f4ceb168c
|
@ -280,6 +280,9 @@
|
|||
/* Define if you have the strftime function. */
|
||||
#undef HAVE_STRFTIME
|
||||
|
||||
/* Define if you have the strptime function. */
|
||||
#undef HAVE_STRPTIME
|
||||
|
||||
/* Define if you have the symlink function. */
|
||||
#undef HAVE_SYMLINK
|
||||
|
||||
|
|
|
@ -315,6 +315,13 @@ then
|
|||
next/*) LINKFORSHARED="-u libsys_s";;
|
||||
SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";;
|
||||
IRIX*/6*) LINKFORSHARED="-all";;
|
||||
SunOS/5*) if test "$CC" = "gcc"
|
||||
then
|
||||
if gcc -Xlinker -V 2>/dev/null | grep BFD >/dev/null
|
||||
then
|
||||
LINKFORSHARED="-Xlinker --export-dynamic"
|
||||
fi
|
||||
fi;;
|
||||
esac
|
||||
fi
|
||||
AC_MSG_RESULT($LINKFORSHARED)
|
||||
|
@ -441,7 +448,7 @@ 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 setlocale setuid setsid setpgid setpgrp setvbuf \
|
||||
sigaction siginterrupt sigrelse strftime symlink \
|
||||
sigaction siginterrupt sigrelse strftime strptime symlink \
|
||||
tcgetpgrp tcsetpgrp times truncate uname waitpid)
|
||||
AC_REPLACE_FUNCS(dup2 getcwd strdup strerror memmove)
|
||||
AC_CHECK_FUNC(getpgrp, AC_TRY_COMPILE([#include <unistd.h>], [getpgrp(0);], AC_DEFINE(GETPGRP_HAVE_ARG)))
|
||||
|
|
Loading…
Reference in New Issue