* configure, config.in: Rebuild.
* opncls.c (bfd_fdopenr): Check HAVE_FDOPEN rather than VMS or
__GO32__. Reindent a bit.
+Tue Jul 22 15:09:12 1997 Ian Lance Taylor <ian@cygnus.com>
+
+ * configure.in: Check for fdopen.
+ * configure, config.in: Rebuild.
+ * opncls.c (bfd_fdopenr): Check HAVE_FDOPEN rather than VMS or
+ __GO32__. Reindent a bit.
+
Sun Jul 20 20:05:20 1997 Ian Lance Taylor <ian@cygnus.com>
* sunos.c (sunos_create_dynamic_sections): Set SEC_LINKER_CREATED
/* config.in. Generated automatically from configure.in by autoheader. */
+/* Whether strstr must be declared even if <string.h> is included. */
+#undef NEED_DECLARATION_STRSTR
+
/* Whether malloc must be declared even if <stdlib.h> is included. */
#undef NEED_DECLARATION_MALLOC
+/* Whether realloc must be declared even if <stdlib.h> is included. */
+#undef NEED_DECLARATION_REALLOC
+
/* Whether free must be declared even if <stdlib.h> is included. */
#undef NEED_DECLARATION_FREE
+/* Whether getenv must be declared even if <stdlib.h> is included. */
+#undef NEED_DECLARATION_GETENV
+
/* Define if you have a working `mmap' system call. */
#undef HAVE_MMAP
+/* Define if you need to in order for stat and other things to work. */
+#undef _POSIX_SOURCE
+
+/* Define if you can safely include both <sys/time.h> and <time.h>. */
+#undef TIME_WITH_SYS_TIME
+
/* Do we need to use the b modifier when opening binary files? */
#undef USE_BINARY_FOPEN
/* Define if you have the fcntl function. */
#undef HAVE_FCNTL
+/* Define if you have the fdopen function. */
+#undef HAVE_FDOPEN
+
/* Define if you have the getpagesize function. */
#undef HAVE_GETPAGESIZE
/* Define if you have the mprotect function. */
#undef HAVE_MPROTECT
+/* Define if you have the setitimer function. */
+#undef HAVE_SETITIMER
+
+/* Define if you have the sysconf function. */
+#undef HAVE_SYSCONF
+
/* Define if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define if you have the <sys/file.h> header file. */
#undef HAVE_SYS_FILE_H
+/* Define if you have the <sys/time.h> header file. */
+#undef HAVE_SYS_TIME_H
+
/* Define if you have the <time.h> header file. */
#undef HAVE_TIME_H
fi
-for ac_func in fcntl getpagesize setitimer sysconf
+for ac_func in fcntl getpagesize setitimer sysconf fdopen
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1334: checking for $ac_func" >&5
if test -n "$enable_targets" ; then
for targ in `echo $enable_targets | sed 's/,/ /g'`
do
- result=`$ac_config_sub $targ 2>/dev/null`
+ result=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $targ 2>/dev/null`
if test -n "$result" ; then
canon_targets="$canon_targets $result"
else
AC_CHECK_HEADERS(stddef.h string.h strings.h stdlib.h time.h unistd.h)
AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h)
AC_HEADER_TIME
-AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf)
+AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen)
BFD_BINARY_FOPEN
if test -n "$enable_targets" ; then
for targ in `echo $enable_targets | sed 's/,/ /g'`
do
- result=`$ac_config_sub $targ 2>/dev/null`
+ result=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $targ 2>/dev/null`
if test -n "$result" ; then
canon_targets="$canon_targets $result"
else