OSDN Git Service

merge from gcc
authordj <dj>
Mon, 26 Feb 2007 22:14:03 +0000 (22:14 +0000)
committerdj <dj>
Mon, 26 Feb 2007 22:14:03 +0000 (22:14 +0000)
libiberty/ChangeLog
libiberty/configure
libiberty/configure.ac

index 8056887..74e49a9 100644 (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.
index 3491102..56d039e 100755 (executable)
@@ -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
 
index f9713c2..fe4633f 100644 (file)
@@ -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