1
0
Fork 0

*** empty log message ***

This commit is contained in:
bagyenda 2010-09-12 16:54:08 +00:00
parent 92563ae701
commit bf5c6e2c6c
3 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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,

View File

@ -13,8 +13,10 @@
#include <stdio.h>
#include <stdlib.h>
#ifndef DARWIN
#ifndef FREEBSD
#include <wait.h>
#endif
#endif
#include <sys/wait.h>