* configure.in: (AC_CHECK_FUNCS) Added test for
canonicalize_file_name Regenerated. * config.in, configure: Regenerated. * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is defined use canonicalize_file_name.
This commit is contained in:
parent
65a6e0eee5
commit
27aac7ff48
@ -1,3 +1,13 @@
|
||||
2002-02-23 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>:
|
||||
|
||||
* configure.in: (AC_CHECK_FUNCS) Added test for
|
||||
canonicalize_file_name Regenerated.
|
||||
* config.in, configure: Regenerated.
|
||||
* utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
|
||||
defined use canonicalize_file_name.
|
||||
|
||||
2002-02-23 Michael Chastain <mec@shout.net>
|
||||
|
||||
* MAINTAINERS: Remove Michael Chastain from "paper trail" list.
|
||||
|
@ -202,6 +202,9 @@
|
||||
/* Define if you have the bzero function. */
|
||||
#undef HAVE_BZERO
|
||||
|
||||
/* Define if you have the canonicalize_file_name function. */
|
||||
#undef HAVE_CANONICALIZE_FILE_NAME
|
||||
|
||||
/* Define if you have the dcgettext function. */
|
||||
#undef HAVE_DCGETTEXT
|
||||
|
||||
|
4
gdb/configure
vendored
4
gdb/configure
vendored
@ -3582,8 +3582,8 @@ EOF
|
||||
fi
|
||||
|
||||
|
||||
for ac_func in bcopy btowc bzero isascii poll realpath sbrk setpgid setpgrp \
|
||||
sigaction sigprocmask sigsetmask
|
||||
for ac_func in bcopy btowc bzero canonicalize_file_name isascii poll \
|
||||
realpath sbrk setpgid setpgrp sigaction sigprocmask sigsetmask
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:3590: checking for $ac_func" >&5
|
||||
|
@ -131,8 +131,8 @@ AC_HEADER_STAT
|
||||
|
||||
AC_C_CONST
|
||||
|
||||
AC_CHECK_FUNCS(bcopy btowc bzero isascii poll realpath sbrk setpgid setpgrp \
|
||||
sigaction sigprocmask sigsetmask)
|
||||
AC_CHECK_FUNCS(bcopy btowc bzero canonicalize_file_name isascii poll \
|
||||
realpath sbrk setpgid setpgrp sigaction sigprocmask sigsetmask )
|
||||
AC_FUNC_ALLOCA
|
||||
AC_FUNC_VFORK
|
||||
dnl AC_FUNC_SETPGRP does not work when cross compiling
|
||||
|
@ -2526,7 +2526,9 @@ string_to_core_addr (const char *my_string)
|
||||
char *
|
||||
gdb_realpath (const char *filename)
|
||||
{
|
||||
#ifdef HAVE_REALPATH
|
||||
#ifdef HAVE_CANONICALIZE_FILE_NAME
|
||||
return canonicalize_file_name (filename);
|
||||
#elif defined (HAVE_REALPATH)
|
||||
#if defined (PATH_MAX)
|
||||
char buf[PATH_MAX];
|
||||
#elif defined (MAXPATHLEN)
|
||||
|
Loading…
Reference in New Issue
Block a user