Changeset 5940 for trunk/Ohana/configure
- Timestamp:
- Jan 6, 2006, 6:43:36 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/configure (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/configure
r5899 r5940 76 76 # sun (at least) seems to need the socket library 77 77 # linux does not 78 set sockets= ""78 set archlib = "" 79 79 80 80 # check the hardware architecture: … … 91 91 set arch="sun4"; 92 92 endif 93 set sockets = "libsocket.a libnsl.a" 93 # XXX old solaris needed termcap for readline 94 set archlib = "libsocket libnsl libtermcap" 94 95 breaksw; 95 96 case Linux: … … 112 113 113 114 # set up the basic directory names: 115 # XXX : this should be set based on the rules for libdir below 114 116 set root = `pwd` 115 117 if ($prefix == "") set prefix = $root … … 119 121 # check for basic libraries 120 122 set fail = 0 121 foreach f ( libpng .a libz.a libjpeg.a libreadline.a libtermcap.a $sockets)123 foreach f ( libpng libz libjpeg libreadline $archlib ) 122 124 foreach g ( /usr/lib $lib ) 123 set name = "$g/$f "125 set name = "$g/$f.a" 124 126 if (-e $name) then 125 echo "found $g/$f" 127 echo "found $name" 128 goto next_lib; 129 endif 130 set name = "$g/$f.so" 131 if (-e $name) then 132 echo "found $name" 126 133 goto next_lib; 127 134 endif
Note:
See TracChangeset
for help on using the changeset viewer.
