- Merged several minor fixed:
   - ssh-agent commandline parsing
   - RPM spec file now installs ssh setuid root
   - Makefile creates libdir
diff --git a/ChangeLog b/ChangeLog
index df11b66..047c5b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+19991110
+ - Merged several minor fixed:
+   - ssh-agent commandline parsing
+   - RPM spec file now installs ssh setuid root
+   - Makefile creates libdir
+
 19991109
  - Autodetection of SSL/Crypto library location via autoconf
  - Fixed location of ssh-askpass to follow autoconf
diff --git a/Makefile.in b/Makefile.in
index e76d741..0d239e8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -64,6 +64,7 @@
 	install -d $(mandir)
 	install -d $(mandir)/man1
 	install -d $(mandir)/man8
+	install -d $(libdir)
 	install -d $(libdir)/ssh
 	install -s -c ssh $(bindir)/ssh
 	ln -sf ssh $(bindir)/slogin
diff --git a/openssh.spec b/openssh.spec
index 113a90c..dc063e9 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -124,18 +124,18 @@
 %defattr(-,root,root)
 %doc COPYING.Ylonen ChangeLog ChangeLog.Ylonen OVERVIEW 
 %doc README README.Ylonen
-%attr(0755,root,root) /usr/bin/ssh
+%attr(4755,root,root) /usr/bin/ssh
 %attr(0755,root,root) /usr/bin/ssh-agent
 %attr(0755,root,root) /usr/bin/ssh-keygen
 %attr(0755,root,root) /usr/bin/ssh-add
 %attr(0755,root,root) /usr/bin/scp
-%attr(0755,root,root) /usr/bin/slogin
+%attr(-,root,root) /usr/bin/slogin
 %attr(0644,root,root) /usr/man/man1/ssh.1
 %attr(0644,root,root) /usr/man/man1/ssh-agent.1
 %attr(0644,root,root) /usr/man/man1/ssh-keygen.1
 %attr(0644,root,root) /usr/man/man1/ssh-add.1
 %attr(0644,root,root) /usr/man/man1/scp.1
-%attr(0644,root,root) /usr/man/man1/slogin.1
+%attr(-,root,root) /usr/man/man1/slogin.1
 %attr(0644,root,root) %config /etc/ssh/ssh_config
 
 %files server
diff --git a/ssh-agent.c b/ssh-agent.c
index 96bd021..7f4543e 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -531,7 +531,11 @@
     exit(1);
   }
 
+#if defined(__GNU_LIBRARY__)
+  while ((ch = getopt(ac, av, "+cks")) != -1)
+#else 
   while ((ch = getopt(ac, av, "cks")) != -1)
+#endif /* defined(__GNU_LIBRARY__) */
     {
       switch (ch)
 	{