diff options
author | DJ Delorie <dj@redhat.com> | 2007-02-26 16:31:42 -0500 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2007-02-26 16:31:42 -0500 |
commit | f86b57e49fe287c7f751ed7325a721d231ed6413 (patch) | |
tree | 5d1086f8756e7a1fb09c6a2bb76a42a4b1f34962 /libiberty | |
parent | 88f206a40d6c60b6fb9131db5b29eb55c61fd3e3 (diff) | |
download | gcc-f86b57e49fe287c7f751ed7325a721d231ed6413.zip gcc-f86b57e49fe287c7f751ed7325a721d231ed6413.tar.gz gcc-f86b57e49fe287c7f751ed7325a721d231ed6413.tar.bz2 |
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
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 6 | ||||
-rwxr-xr-x | libiberty/configure | 20 | ||||
-rw-r--r-- | libiberty/configure.ac | 17 |
3 files changed, 43 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 8056887..74e49a9 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -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. diff --git a/libiberty/configure b/libiberty/configure index 3491102..56d039e 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -6042,6 +6042,26 @@ _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 + ;; + esac fi 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 |