aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure.ac
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2007-02-26 22:14:03 +0000
committerDJ Delorie <dj@redhat.com>2007-02-26 22:14:03 +0000
commit1f92e180878e2bc7439516a38d437d647e11ca8a (patch)
tree15a230ec83aef023c5587dbc2c9965146b215578 /libiberty/configure.ac
parentb6d373df1e5729606ff51f3947dd636eab6738b6 (diff)
downloadgdb-1f92e180878e2bc7439516a38d437d647e11ca8a.zip
gdb-1f92e180878e2bc7439516a38d437d647e11ca8a.tar.gz
gdb-1f92e180878e2bc7439516a38d437d647e11ca8a.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/configure.ac')
-rw-r--r--libiberty/configure.ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index f9713c2..fe4633f 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -545,6 +545,23 @@ if test -z "${setobjs}"; then
setobjs=yes
;;
+ *-*-msdosdjgpp)
+ for f in atexit basename bcmp bcopy bsearch bzero calloc clock ffs \
+ getcwd getpagesize getrusage gettimeofday gettimeofday \
+ index insque memchr memcmp memcpy memmove memset psignal \
+ putenv random rename rindex sbrk setenv stpcpy strcasecmp \
+ strchr strdup strerror strncasecmp strrchr strstr strtod \
+ strtol strtoul sysconf times tmpnam vfprintf vprintf \
+ vsprintf waitpid
+ do
+ n=HAVE_`echo $f | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ AC_DEFINE_UNQUOTED($n)
+ done
+
+
+ setobjs=yes
+ ;;
+
esac
fi