Re: compiling 1.3.2 on FreeBSD 5.2.1
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | The Kannel Group |
| Message-ID | <[email protected]> |
sorry, the patch has been stripped and there was something missing.
Please use the attached one.
Stipe
mailto:stolj_{at}_wapme.de
-------------------------------------------------------------------
Wapme Systems AG
Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany
phone: +49.211.74845.0
fax: +49.211.74845.299
mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
-------------------------------------------------------------------
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.2 (Cygwin)
mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS
OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2
nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT
dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv
bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID
AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl
OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ
K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H
g2HyLAEKQIp30Q==
=aYCI
-----END PGP PUBLIC KEY BLOCK-----
bsd-pthread.diff
(text/plain, 3.9 KB)
Index: gateway/configure.in =================================================================== RCS file: /home/cvs/gateway/configure.in,v retrieving revision 1.142 diff -u -r1.142 configure.in --- gateway/configure.in 16 Jun 2004 09:47:45 -0000 1.142 +++ gateway/configure.in 21 Aug 2004 01:01:22 -0000 @@ -1,7 +1,64 @@ +dnl /* ==================================================================== +dnl * The Kannel Software License, Version 1.0 +dnl * +dnl * Copyright (c) 2001-2004 Kannel Group +dnl * Copyright (c) 1998-2001 WapIT Ltd. +dnl * All rights reserved. +dnl * +dnl * Redistribution and use in source and binary forms, with or without +dnl * modification, are permitted provided that the following conditions +dnl * are met: +dnl * +dnl * 1. Redistributions of source code must retain the above copyright +dnl * notice, this list of conditions and the following disclaimer. +dnl * +dnl * 2. Redistributions in binary form must reproduce the above copyright +dnl * notice, this list of conditions and the following disclaimer in +dnl * the documentation and/or other materials provided with the +dnl * distribution. +dnl * +dnl * 3. The end-user documentation included with the redistribution, +dnl * if any, must include the following acknowledgment: +dnl * "This product includes software developed by the +dnl * Kannel Group (http://www.kannel.org/)." +dnl * Alternately, this acknowledgment may appear in the software itself, +dnl * if and wherever such third-party acknowledgments normally appear. +dnl * +dnl * 4. The names "Kannel" and "Kannel Group" must not be used to +dnl * endorse or promote products derived from this software without +dnl * prior written permission. For written permission, please +dnl * contact [email protected]. +dnl * +dnl * 5. Products derived from this software may not be called "Kannel", +dnl * nor may "Kannel" appear in their name, without prior written +dnl * permission of the Kannel Group. +dnl * +dnl * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +dnl * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +dnl * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +dnl * DISCLAIMED. IN NO EVENT SHALL THE KANNEL GROUP OR ITS CONTRIBUTORS +dnl * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +dnl * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +dnl * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +dnl * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +dnl * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +dnl * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +dnl * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +dnl * ==================================================================== +dnl * +dnl * This software consists of voluntary contributions made by many +dnl * individuals on behalf of the Kannel Group. For more information on +dnl * the Kannel Group, please see <http://www.kannel.org/>. +dnl * +dnl * Portions of this software are based upon software originally written at +dnl * WapIT Ltd., Helsinki, Finland for the Kannel project. +dnl */ + +dnl dnl configure.in -- main autoconf macro definition file dnl dnl Process this file with autoconf to produce a configure script. -dnl This file is part of the Kannel WAP and SMS gateway project. +dnl dnl initialization @@ -60,10 +117,15 @@ CFLAGS="$CFLAGS -DDARWIN=1" LIBTOOL="libtool -static -o" ;; - *-linux-*) + *-linux-*) CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -D_BSD_SOURCE" LDFLAGS="$LDFLAGS -rdynamic" ;; + *-*-openbsd* | *-*-freebsd*) + # Do not include libc_r directly, use -pthread flag. + CFLAGS="$CFLAGS -pthread" + LIBS="$LIBS -pthread" + ;; esac AC_SUBST(EXE_EXT) AC_SUBST(LIBTOOL)