diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-18 19:55:37 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-18 19:55:37 +0000 |
commit | 004335d118c65662e406ded71ab2842af330029e (patch) | |
tree | 7d3f7defd9df2004d14a7747358447b9b9f76587 | |
parent | 9a0956f8aad221a220b45d0dcc166a63e514302f (diff) |
updated for solaris -lsocket / -lnsl
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1429 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -383,6 +383,10 @@ sub getosflags { $config{FLAGS} = "-fPIC -frtti $OPTIMISATI -Woverloaded-virtual $config{OPTIMISATI}"; $config{MAKEPROG} = "make"; } + if ($config{OSNAME} eq "SunOS") { + # solaris/sunos needs these + $config{LDLIBS} = $config{LDLIBS} . " -lsocket -lnsl"; + } } sub is_dir { @@ -433,6 +437,9 @@ sub writefiles { #define MAXBUF 514 EOF + if ($config{OSNAME} eq "SunOS") + print FILENAME "#define IS_SOLARIS"; + } if ($config{GCCVER} > 3) { print FILEHANDLE "#define GCC3\n"; print FILEHANDLE "#define GCC34\n"; |