aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-14 17:46:29 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-14 17:46:29 +0000
commit1652bfcb84a2f3975477e4ff550818af975a1526 (patch)
tree9aacce9b6f0c40db559db0e9a964e64047ec0a58 /libiberty/configure
parent886313d7309e165390f142a161fc23d259a1f28e (diff)
* configure.ac (setobjs, msdosdjgpp): Move a-priori setting of
existing and required library functions to with_target_subdir section, so that the native build does detect them at configure time. * configure: Regenerated. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@146056 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-xlibiberty/configure73
1 files changed, 53 insertions, 20 deletions
diff --git a/libiberty/configure b/libiberty/configure
index ee8fbb02a66..15ddff22caf 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -6375,6 +6375,59 @@ _ACEOF
setobjs=yes
;;
+ *-*-msdosdjgpp)
+ case $LIBOBJS in
+ "vasprintf.$ac_objext" | \
+ *" vasprintf.$ac_objext" | \
+ "vasprintf.$ac_objext "* | \
+ *" vasprintf.$ac_objext "* ) ;;
+ *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext" ;;
+esac
+
+ case $LIBOBJS in
+ "vsnprintf.$ac_objext" | \
+ *" vsnprintf.$ac_objext" | \
+ "vsnprintf.$ac_objext "* | \
+ *" vsnprintf.$ac_objext "* ) ;;
+ *) LIBOBJS="$LIBOBJS vsnprintf.$ac_objext" ;;
+esac
+
+ case $LIBOBJS in
+ "snprintf.$ac_objext" | \
+ *" snprintf.$ac_objext" | \
+ "snprintf.$ac_objext "* | \
+ *" snprintf.$ac_objext "* ) ;;
+ *) LIBOBJS="$LIBOBJS snprintf.$ac_objext" ;;
+esac
+
+ case $LIBOBJS in
+ "asprintf.$ac_objext" | \
+ *" asprintf.$ac_objext" | \
+ "asprintf.$ac_objext "* | \
+ *" asprintf.$ac_objext "* ) ;;
+ *) LIBOBJS="$LIBOBJS asprintf.$ac_objext" ;;
+esac
+
+
+ for f in atexit basename bcmp bcopy bsearch bzero calloc clock ffs \
+ getcwd getpagesize getrusage 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
# We may wish to install the target headers somewhere.
@@ -6538,26 +6591,6 @@ _ACEOF
setobjs=yes
;;
- *-*-msdosdjgpp)
- for f in atexit basename bcmp bcopy bsearch bzero calloc clock ffs \
- getcwd getpagesize getrusage 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