configure.ac: add djgpp-specific results, so we don't have to link during a cross compilation.

* configure.ac: add djgpp-specific results, so we don't have to
link during a cross compilation.
* configure: Regenerated.

From-SVN: r122343
This commit is contained in:
DJ Delorie 2007-02-26 16:31:42 -05:00 committed by DJ Delorie
parent 88f206a40d
commit f86b57e49f
3 changed files with 43 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-02-26 DJ Delorie <dj@redhat.com>
* configure.ac: add djgpp-specific results, so we don't have to
link during a cross compilation.
* configure: Regenerated.
2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* hex.c: Fix typo.

20
libiberty/configure vendored
View File

@ -6039,6 +6039,26 @@ _ACEOF
_ACEOF
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'`
cat >>confdefs.h <<_ACEOF
#define $n 1
_ACEOF
done
setobjs=yes
;;

View File

@ -542,6 +542,23 @@ if test -z "${setobjs}"; then
# Of the functions in $checkfuncs, VxWorks only has strerror.
AC_DEFINE(HAVE_STRERROR)
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
;;