Changeset 11748
- Timestamp:
- Feb 12, 2007, 11:02:03 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/configure.tcsh (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/configure.tcsh
r11745 r11748 117 117 if ($#args != 1) goto usage 118 118 119 set needlibs = "png z jpeg readline X11 pthread m"120 119 set syslibpath = "/lib /usr/lib /usr/X11R6/lib /usr/openwin/lib" 121 122 set needincs = "math.h fcntl.h malloc.h errno.h time.h memory.h stdlib.h string.h X11/X.h" 120 set needlibs = "png z jpeg readline X11 pthread m" 121 123 122 set sysincpath = "/usr/include /usr/X11R6/include /usr/openwin/include" 123 124 set needincs = "" 125 set needincs = "$needincs X11/Xatom.h" 126 set needincs = "$needincs X11/Xlib.h" 127 set needincs = "$needincs X11/Xresource.h" 128 set needincs = "$needincs X11/Xutil.h" 129 set needincs = "$needincs X11/cursorfont.h" 130 set needincs = "$needincs X11/keysym.h" 131 set needincs = "$needincs X11/keysymdef.h" 132 set needincs = "$needincs arpa/inet.h" 133 set needincs = "$needincs ctype.h" 134 set needincs = "$needincs errno.h" 135 set needincs = "$needincs fcntl.h" 136 set needincs = "$needincs glob.h" 137 set needincs = "$needincs jpeglib.h" 138 set needincs = "$needincs malloc.h" 139 set needincs = "$needincs math.h" 140 set needincs = "$needincs memory.h" 141 set needincs = "$needincs netdb.h" 142 set needincs = "$needincs netinet/ip.h" 143 set needincs = "$needincs png.h" 144 set needincs = "$needincs pthread.h" 145 set needincs = "$needincs readline/history.h" 146 set needincs = "$needincs readline/readline.h" 147 set needincs = "$needincs signal.h" 148 set needincs = "$needincs stdio.h" 149 set needincs = "$needincs stdlib.h" 150 set needincs = "$needincs string.h" 151 set needincs = "$needincs sys/ipc.h" 152 set needincs = "$needincs sys/resource.h" 153 set needincs = "$needincs sys/sem.h" 154 set needincs = "$needincs sys/socket.h" 155 set needincs = "$needincs sys/stat.h" 156 set needincs = "$needincs sys/time.h" 157 set needincs = "$needincs sys/types.h" 158 set needincs = "$needincs sys/uio.h" 159 set needincs = "$needincs sys/un.h" 160 set needincs = "$needincs sys/wait.h" 161 set needincs = "$needincs time.h" 162 set needincs = "$needincs unistd.h" 163 set needincs = "$needincs values.h" 164 set needincs = "$needincs zlib.h" 165 166 # need to have options for non-ANSI includes? (ie, varargs.h) 167 # set needincs = "$needincs cfuncs.h" - from non-ANSI option in ohana.h 168 # set needincs = "$needincs float.h" - is from missing_proto (CFHT) 169 # set needincs = "$needincs floatingpoint.h" - is from missing_proto (CFHT) 170 # set needincs = "$needincs stdarg.h" - from std includes (in gcc path) 171 # set needincs = "$needincs varargs.h" - from std includes (in gcc path) 124 172 125 173 # check the hardware architecture: … … 176 224 177 225 # check for basic libraries 226 echo "" 227 echo "searching for needed external libraries..." 178 228 set faillibs = "" 179 229 set libflags = "" … … 191 241 continue 192 242 got_lib: 193 echo "found lib$f ($name )"243 echo "found lib$f ($name[$#name])" 194 244 echo "$libdirs" | grep -- "-L$g " > /dev/null 195 245 if ($status) then … … 206 256 foreach f ( ncurses curses termcap ) 207 257 foreach g ( $syslibpath $lib $libpath ) 208 set name = "$g/lib$f.a"209 if (-e $name ) goto got_curses;210 set name = "$g/lib$f.so"211 if (-e $name ) goto got_curses;258 set name = $g/lib$f.a 259 if (-e $name[1]) goto got_curses; 260 set name = $g/lib$f.so* 261 if (-e $name[1]) goto got_curses; 212 262 end 213 263 end … … 215 265 echo "missing a valid curses library" 216 266 echo "missing: $faillibs" 217 echo "please find them and install them in $lib"267 echo "please find one of them and install them in $lib" 218 268 exit 1 219 269 220 270 got_curses: 221 echo "found $f ($name )"271 echo "found $f ($name[$#name])" 222 272 echo "$libdirs" | grep -- "-L$g " > /dev/null 223 273 if ($status) then … … 237 287 238 288 # check for headers 289 echo "" 290 echo "searching for needed external header files..." 239 291 set failincs = "" 240 292 set incdirs = "" … … 261 313 endif 262 314 315 echo "" 263 316 echo INCDIRS: $incdirs 264 317 echo LIBDIRS: $libdirs
Note:
See TracChangeset
for help on using the changeset viewer.
