diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2004-10-16 18:59:31 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2004-10-16 18:59:31 +0000 |
commit | e7e8fac8576d9f5512c3c54f474507c019cc5bea (patch) | |
tree | 52ba4203ebcc854c1186af664a65a83474064cad /databases/sqlrelay/files/patch-acsite.m4 | |
parent | Add KOTH (King of the Hill), a multiplayer tank artillery game similar to (diff) |
Take maintainership;
Use autoconf to generate configure script.
Remove redundant bits which were probably needed for older versions of sqlrelay.
Notes
Notes:
svn path=/head/; revision=119618
Diffstat (limited to 'databases/sqlrelay/files/patch-acsite.m4')
-rw-r--r-- | databases/sqlrelay/files/patch-acsite.m4 | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/databases/sqlrelay/files/patch-acsite.m4 b/databases/sqlrelay/files/patch-acsite.m4 new file mode 100644 index 000000000000..6179dfbbd2a6 --- /dev/null +++ b/databases/sqlrelay/files/patch-acsite.m4 @@ -0,0 +1,37 @@ +--- acsite.m4.orig Thu Aug 5 10:04:21 2004 ++++ acsite.m4 Sat Sep 11 21:58:33 2004 +@@ -396,7 +396,7 @@ + dnl sets the substitution variable PTHREADLIBS + AC_DEFUN([FW_CHECK_PTHREAD], + [ +- ++if ( test -z "$PTHREADINCLUDES" -a -z "$PTHREADLIBS" ); then + HAVE_PTHREAD="" + PTHREADINCLUDES="" + PTHREADLIBS="" +@@ -440,7 +440,9 @@ + PTHREADLIBS="-pthread" + fi + fi +- ++else ++ HAVE_PTHREAD="yes" ++fi + FW_INCLUDES(pthreads,[$PTHREADINCLUDES]) + FW_LIBS(pthreads,[$PTHREADLIBS]) + +@@ -2149,13 +2151,7 @@ + FW_CHECK_FILE("$JAVAPATH/include/jni.h",[JAVAINCLUDES=\"-I$JAVAPATH/include\"]) + if ( test -n "$JAVAINCLUDES" ) + then +- for i in `ls -d $JAVAPATH/include/*` +- do +- if ( test -d "$i" ) +- then +- JAVAINCLUDES="$JAVAINCLUDES -I$i" +- fi +- done ++ JAVAINCLUDES="$JAVAINCLUDES -I`dirname $JAVAPATH/include/*/jni_md.h`" + fi + fi + |