diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-11-06 19:52:32 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-11-06 19:52:32 -0500 |
commit | 02abca6b9e4e21d8d89eb83eabab3be8ac10c9d8 (patch) | |
tree | 6c923510076654885f31d2328c4853c5974699a8 /SConstruct | |
parent | dd14c86ec8afb3a98d55a58eaafd8b85dd651bd6 (diff) | |
parent | bf3223d7ce681db8ca59dac49c6b44b672012e5d (diff) | |
download | gem5-02abca6b9e4e21d8d89eb83eabab3be8ac10c9d8.tar.xz |
Merge zizzer.eecs.umich.edu:/bk/newmem/
into zeep.eecs.umich.edu:/home/gblack/m5/newmemmemops
src/SConscript:
SCCS merged
--HG--
extra : convert_revision : f130c8a2d33f58d857e5d5a02bb9698c1bceb23b
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index dac4d137c..59d40d5cc 100644 --- a/SConstruct +++ b/SConstruct @@ -270,6 +270,12 @@ if not conf.CheckLib(py_version_name): print "Error: can't find Python library", py_version_name Exit(1) +# On Solaris you need to use libsocket for socket ops +if not conf.CheckLibWithHeader(None, 'sys/socket.h', 'C++', 'accept(0,0,0);'): + if not conf.CheckLibWithHeader('socket', 'sys/socket.h', 'C++', 'accept(0,0,0);'): + print "Can't find library with socket calls (e.g. accept())" + Exit(1) + # Check for zlib. If the check passes, libz will be automatically # added to the LIBS environment variable. if not conf.CheckLibWithHeader('z', 'zlib.h', 'C++'): |