]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.ac: add djgpp-specific results, so we don't have to link during a cross...
authorDJ Delorie <dj@redhat.com>
Mon, 26 Feb 2007 21:31:42 +0000 (16:31 -0500)
committerDJ Delorie <dj@gcc.gnu.org>
Mon, 26 Feb 2007 21:31:42 +0000 (16:31 -0500)
* configure.ac: add djgpp-specific results, so we don't have to
link during a cross compilation.
* configure: Regenerated.

From-SVN: r122343

libiberty/ChangeLog
libiberty/configure
libiberty/configure.ac

index 8056887b2928b66ec499dbc0906735511a7c5d3a..74e49a904fe547a4a9763341c9c27182b4d160ae 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 3491102189113af0caff3fc1aa6f827f602b29b4..56d039ea0c20a4bd19c4f1cc54d2383fd1093017 100755 (executable)
@@ -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
     ;;
 
index f9713c22e26b250cda5d394666c3642e025a4530..fe4633f86973d39dce6ff4d51819273053e7ca5e 100644 (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
     ;;