*** empty log message ***
parent
92563ae701
commit
bf5c6e2c6c
|
@ -1,3 +1,5 @@
|
|||
2010-09-21 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||
* Patch to allow compilation under FreeBSD 8.1 (thanks to Piotr Isajew <pki at ex.com.pl>)
|
||||
2010-08-09 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||
* mmsbox-mm1 change: sleep after each run, so that under high load, we are not
|
||||
hanging up too soon on modem
|
||||
|
|
|
@ -85,10 +85,15 @@ case "$host" in
|
|||
CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -O4 -Wall"
|
||||
LDFLAGS="$LDFLAGS -rdynamic"
|
||||
;;
|
||||
*-*-openbsd* | *-*-freebsd*)
|
||||
*-*-openbsd*)
|
||||
CFLAGS="$CFLAGS -pthread"
|
||||
AC_CHECK_LIB(c_r, pthread_exit, [LIBS="$LIBS -lc_r -lpthread"; pthread="yes"])
|
||||
;;
|
||||
*-*-freebsd*)
|
||||
LDFLAGS="$LDFLAGS -export-dynamic"
|
||||
CFLAGS="$CFLAGS -DFREEBSD=1 -pthread"
|
||||
AC_CHECK_LIB(c_r, pthread_exit, [LIBS="$LIBS -lc_r -lpthread"; pthread="yes"])
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_ARG_WITH(cflags,
|
||||
|
|
|
@ -13,8 +13,10 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#ifndef DARWIN
|
||||
#ifndef FREEBSD
|
||||
#include <wait.h>
|
||||
#endif
|
||||
#endif
|
||||
#include <sys/wait.h>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue