]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* inet/getrpcbynumber.c (BUFLEN): New macro.
authorRoland McGrath <roland@gnu.org>
Tue, 25 Jun 1996 12:13:01 +0000 (12:13 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 25 Jun 1996 12:13:01 +0000 (12:13 +0000)
* configure.in (--no-whole-archive check): Remove backslashes in cmd.

ChangeLog
configure
configure.in
inet/getrpcbynumber.c

index b162265ebdc394c107a9048f3c4139d2e6d8cc35..77d7343a4472b53a7e591a2201f7545c52b47537 100644 (file)
--- 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.
 
index aef8058fe1ae35edfbf3c26a3730b383a67f3745..478dc4f96f7196b57e584c80f609d2283f05dd46 100755 (executable)
--- 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
index 46d7317d4fbc00f140cf0bb67be44827946bb4c6..1d0d45c2e05fd7ff0b22ee1f558cbaf04182ca44 100644 (file)
@@ -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
index 485632e5fbbaf4969c85bf09123c59e4e21bc0ca..95b4624aba2dbfa454c6f29a3dc78ae85185574c 100644 (file)
@@ -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"