test/configure

changeset 6
d4363f69fd97
parent 5
895bf81d3b6e
child 7
686991ae6e2f
equal deleted inserted replaced
5:895bf81d3b6e 6:d4363f69fd97
294 while true 294 while true
295 do 295 do
296 296
297 CFLAGS+="-DLINUX" 297 CFLAGS+="-DLINUX"
298 LDFLAGS+="-lpthread -ldl -lm -lldap" 298 LDFLAGS+="-lpthread -ldl -lm -lldap"
299 cat >> $TEMP_DIR/make.mk << __EOF__
300 # platform dependend source files
301 PLATFORM_DAEMONOBJ = event_linux.o
302
303 # platform dependend vars
304 OBJ_EXT = .o
305 LIB_EXT = .so
306 APP_EXT =
307
308 __EOF__
299 309
300 break 310 break
301 done 311 done
302 312
303 break 313 break
313 while true 323 while true
314 do 324 do
315 325
316 CFLAGS+="-DBSD" 326 CFLAGS+="-DBSD"
317 LDFLAGS+="-lpthread -lm -lldap" 327 LDFLAGS+="-lpthread -lm -lldap"
328 cat >> $TEMP_DIR/make.mk << __EOF__
329 # platform dependend source files
330 PLATFORM_DAEMONOBJ = event_bsd.o
331
332 # platform dependend vars
333 OBJ_EXT = .o
334 LIB_EXT = .so
335 APP_EXT =
336
337 __EOF__
318 338
319 break 339 break
320 done 340 done
321 341
322 break 342 break
329 while true 349 while true
330 do 350 do
331 351
332 CFLAGS+="-DSOLARIS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" 352 CFLAGS+="-DSOLARIS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS"
333 LDFLAGS+="-lsocket -lnsl -lsendfile -lposix4 -lpthread -ldl -lm -lmd -lldap" 353 LDFLAGS+="-lsocket -lnsl -lsendfile -lposix4 -lpthread -ldl -lm -lmd -lldap"
354 cat >> $TEMP_DIR/make.mk << __EOF__
355 # platform dependend source files
356 PLATFORM_DAEMONOBJ = event_solaris.o
357
358 # platform dependend vars
359 OBJ_EXT = .o
360 LIB_EXT = .so
361 APP_EXT =
362
363 __EOF__
334 364
335 break 365 break
336 done 366 done
337 367
338 break 368 break

mercurial