about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-25 12:13:01 +0000
committerRoland McGrath <roland@gnu.org>1996-06-25 12:13:01 +0000
commitdcea62dd4eadec79b856cf35a34081112afa17d0 (patch)
tree9ded5c6c90e92beff091b8ccd6991a65db7fff85
parent3d3ac840ea80743592252d232a62eb17d473501a (diff)
downloadglibc-dcea62dd4eadec79b856cf35a34081112afa17d0.tar.gz
glibc-dcea62dd4eadec79b856cf35a34081112afa17d0.tar.xz
glibc-dcea62dd4eadec79b856cf35a34081112afa17d0.zip
* inet/getrpcbynumber.c (BUFLEN): New macro.
	* configure.in (--no-whole-archive check): Remove backslashes in cmd.
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure4
-rw-r--r--configure.in5
-rw-r--r--inet/getrpcbynumber.c1
4 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index b162265ebd..77d7343a44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
 
+	* inet/getrpcbynumber.c (BUFLEN): New macro.
+
+	* configure.in (--no-whole-archive check): Remove backslashes in cmd.
+
 	* Makefile (headers): Add libc-lock.h.
 	* sysdeps/stub/libc-lock.h: New file.
 
diff --git a/configure b/configure
index aef8058fe1..478dc4f96f 100755
--- a/configure
+++ b/configure
@@ -1543,8 +1543,8 @@ else
   cat > conftest.c <<\EOF
 _start () {}
 EOF
-if { ac_try='${CC-cc} $CFLAGS \
-			    -nostdlib -nostartfiles -Wl,--no-whole-archive \
+if { ac_try='${CC-cc} $CFLAGS
+			    -nostdlib -nostartfiles -Wl,--no-whole-archive
 			    -o conftest conftest.c'; { (eval echo configure:1549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
   libc_cv_ld_no_whole_archive=yes
 else
diff --git a/configure.in b/configure.in
index 46d7317d4f..1d0d45c2e0 100644
--- a/configure.in
+++ b/configure.in
@@ -477,8 +477,9 @@ AC_CACHE_CHECK(for ld --no-whole-archive, libc_cv_ld_no_whole_archive, [dnl
 cat > conftest.c <<\EOF
 _start () {}
 EOF
-if AC_TRY_COMMAND([${CC-cc} $CFLAGS \
-			    -nostdlib -nostartfiles -Wl,--no-whole-archive \
+dnl No \ in command here because it ends up inside ''.
+if AC_TRY_COMMAND([${CC-cc} $CFLAGS
+			    -nostdlib -nostartfiles -Wl,--no-whole-archive
 			    -o conftest conftest.c]); then
   libc_cv_ld_no_whole_archive=yes
 else
diff --git a/inet/getrpcbynumber.c b/inet/getrpcbynumber.c
index 485632e5fb..95b4624aba 100644
--- a/inet/getrpcbynumber.c
+++ b/inet/getrpcbynumber.c
@@ -25,5 +25,6 @@ Boston, MA 02111-1307, USA.  */
 #define DATABASE_NAME	rpc
 #define ADD_PARAMS	int number
 #define ADD_VARIABLES	number
+#define BUFLEN		1024
 
 #include "../nss/getXXbyYY.c"