updates.
authorPekka Riikonen <priikone@silcnet.org>
Thu, 28 Apr 2005 18:04:13 +0000 (18:04 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Thu, 28 Apr 2005 18:04:13 +0000 (18:04 +0000)
Makefile.defines_int.in
apps/silcd/Makefile.am
configure.ad
distdir/server
includes/silcincludes.h.in
lib/contrib/Makefile.am
lib/contrib/getopti.c [moved from lib/contrib/getopt.c with 100% similarity]
lib/contrib/getopti.h [moved from lib/contrib/getopt.h with 84% similarity]
lib/silc.pc.in
lib/silcclient.pc.in

index 3f82947145d85da14cd1cd305ef08bcceb3850f3..718cd7a678245bc353ba2b4ef8c621dfc0a595e8 100644 (file)
@@ -30,7 +30,7 @@ silc_install_prefix=@prefix@
 #
 # Common libraries that are linked against the created executable
 #
-SILC_COMMON_LIBS= @LIBS@ -L$(silc_top_srcdir)/lib -lsilc
+SILC_COMMON_LIBS= -L$(silc_top_srcdir)/lib -lsilc @LIBS@
 
 #
 # Common compilation flags
index d166e1fb1fd97906c0a210a2e53eb874036c00f0..8f1c112221b860d7b80d90bc6c46dd8bcd143285 100644 (file)
@@ -36,7 +36,7 @@ silcd_SOURCES = \
        serverid.c \
        server_version.c
 
-LIBS = $(SILC_COMMON_LIBS) -lsilc
+LIBS = $(SILC_COMMON_LIBS)
 LDADD =
 
 EXTRA_DIST = *.h
index 5de48896a9c628e146a33940f446d578a008f93e..5cab587371ce7f754d9b039664ea10a834bdae47 100644 (file)
@@ -315,6 +315,9 @@ else
     alpha*-dec-osf*)
       SILC_ADD_CFLAGS(-g3 -O2, SILC_ADD_CFLAGS(-g3 -O, SILC_ADD_CFLAGS(-O)))
       ;;
+    mips*-sgi-irix6.5*)
+      SILC_ADD_CFLAGS(-g3 -O2, SILC_ADD_CFLAGS(-g3 -O, SILC_ADD_CFLAGS(-O)))
+      ;;
     *)
       SILC_ADD_CFLAGS(-g)
       SILC_ADD_CFLAGS(-O2, SILC_ADD_CFLAGS(-O))
index 1ca33264dbd6af11f037c7780fd9f759a31ddae1..97f82d34e955ca1e3a8674a994a36f4c22fe758a 100644 (file)
@@ -4,7 +4,7 @@ bug-report silc-devel@lists.silcnet.org
 
 inherit common
 define SILC_DIST_SERVER
-#undef SILC_DIST_SFTP
+undef SILC_DIST_SFTP
 
 post-process-dist-hook distdir/post-process-dist
 post-dist-hook distdir/post-dist
index de9a23d2374e08b822f630992ece0b93557d566e..9f0bcf41c34b984c4eb35773c40df9f4637637fd 100644 (file)
@@ -146,7 +146,7 @@ extern "C" {
 #if defined(HAVE_GETOPT_H) && defined(HAVE_GETOPT)
 #include <getopt.h>
 #else
-#include "getopt.h"
+#include "getopti.h"
 #endif
 
 #ifdef SOCKS5
index 2ce30bfe18add4ad59eb18c7924febd0618b6f1b..1fab5f707eb1df82c12cde11a1ed36d0a19882fc 100644 (file)
@@ -28,9 +28,9 @@ endif
 STRINGPREP = nfkc.c rfc3454.c stringprep.c
 
 if SILC_WIN32
-libcontrib_la_SOURCES = getopt.c $(STRINGPREP)
+libcontrib_la_SOURCES = getopti.c $(STRINGPREP)
 else
-libcontrib_la_SOURCES = getopt.c $(STRINGPREP) $(REGEX)
+libcontrib_la_SOURCES = getopti.c $(STRINGPREP) $(REGEX)
 endif
 
 EXTRA_DIST = *.c *.h
similarity index 100%
rename from lib/contrib/getopt.c
rename to lib/contrib/getopti.c
similarity index 84%
rename from lib/contrib/getopt.h
rename to lib/contrib/getopti.h
index 2ef66b219bf0cf245fa32ccc9786608f15b5ba59..449e4b5528a005e6fe4779c4d163120457353729 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef GETOPT_H
-#define GETOPT_H
+#ifndef GETOPTI_H
+#define GETOPTI_H
 
 #ifndef SILC_EPOC
 #if !defined(HAVE_GETOPT) && !defined(HAVE_GETOPT_H)
@@ -12,4 +12,4 @@ int getopt(int argc, char * const *argv, const char *optstring);
 #endif /* !HAVE_GETOPT && !HAVE_GETOPT_H */
 #endif /* !SILC_EPOC */
 
-#endif /* GETOPT_H */
+#endif /* GETOPTI_H */
index 0a1a2bce02be1881d04adf7090e0fed0e5abdd0e..947bcbc08d5174b836f7993a808d4a3c42d01555 100644 (file)
@@ -7,6 +7,6 @@ Name: @PACKAGE@
 Description: SILC Library
 Version: @VERSION@
 Conflicts: libsilc <= 0.9.12
-Libs: @LIBS@ -L${libdir} -lsilc
+Libs: -L${libdir} -lsilc @LIBS@
 Cflags: -I${includedir}
 
index cd5854f705ee95ed9d4322dfa1ca0386d296a484..d0437b05282a87eb844188ec1314c391d11acf6a 100644 (file)
@@ -8,6 +8,6 @@ Description: SILC Client Library
 Version: @VERSION@
 Conflicts: libsilc <= 0.9.12
 Requires: silc = @VERSION@
-Libs: @LIBS@ -L${libdir} -lsilcclient
+Libs: -L${libdir} -lsilcclient @LIBS@
 Cflags: -I${includedir}