summaryrefslogtreecommitdiffstats
path: root/libiberty/configure.ac
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-26 21:31:42 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-26 21:31:42 +0000
commit078f9c549ae44892b198f83dcbc5217fa14cd350 (patch)
tree5d1086f8756e7a1fb09c6a2bb76a42a4b1f34962 /libiberty/configure.ac
parentdd145961345693519f7f2da78d86afd27246f572 (diff)
downloadppe42-gcc-078f9c549ae44892b198f83dcbc5217fa14cd350.tar.gz
ppe42-gcc-078f9c549ae44892b198f83dcbc5217fa14cd350.zip
* configure.ac: add djgpp-specific results, so we don't have to
link during a cross compilation. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122343 138bc75d-0d04-0410-961f-82ee72b054a4
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 f9713c22e26..fe4633f8697 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
OpenPOWER on IntegriCloud