1
0
Fork 0

Adding license to misc files, changing comment format in configure.ac.

This commit is contained in:
bagyenda 2005-10-17 04:36:09 +00:00
parent fdd73ba3b6
commit 44a68b5e79
9 changed files with 72 additions and 59 deletions

View File

View File

@ -3,7 +3,7 @@
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@ -306,7 +306,7 @@ the "copyright" line and a pointer to where the full notice is found.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.

View File

@ -17,7 +17,7 @@ All rights reserved.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
In addition, as a special exception, Digital Solutions gives
permission to link the code of this program with the Kannel

View File

68
mbuni/configure vendored
View File

@ -1960,7 +1960,6 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
ac_config_headers="$ac_config_headers config.h"
# Checks for programs.
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@ -3770,7 +3769,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 3773 "configure"' > conftest.$ac_ext
echo '#line 3772 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@ -5342,7 +5341,7 @@ fi
# Provide some information about the compiler.
echo "$as_me:5345:" \
echo "$as_me:5344:" \
"checking for Fortran 77 compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@ -6369,11 +6368,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:6372: $lt_compile\"" >&5)
(eval echo "\"\$as_me:6371: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:6376: \$? = $ac_status" >&5
echo "$as_me:6375: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -6601,11 +6600,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:6604: $lt_compile\"" >&5)
(eval echo "\"\$as_me:6603: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:6608: \$? = $ac_status" >&5
echo "$as_me:6607: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -6668,11 +6667,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:6671: $lt_compile\"" >&5)
(eval echo "\"\$as_me:6670: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:6675: \$? = $ac_status" >&5
echo "$as_me:6674: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@ -8786,7 +8785,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 8789 "configure"
#line 8788 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -8884,7 +8883,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 8887 "configure"
#line 8886 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11036,11 +11035,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:11039: $lt_compile\"" >&5)
(eval echo "\"\$as_me:11038: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:11043: \$? = $ac_status" >&5
echo "$as_me:11042: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -11103,11 +11102,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:11106: $lt_compile\"" >&5)
(eval echo "\"\$as_me:11105: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:11110: \$? = $ac_status" >&5
echo "$as_me:11109: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@ -12432,7 +12431,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 12435 "configure"
#line 12434 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -12530,7 +12529,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 12533 "configure"
#line 12532 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -13352,11 +13351,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:13355: $lt_compile\"" >&5)
(eval echo "\"\$as_me:13354: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:13359: \$? = $ac_status" >&5
echo "$as_me:13358: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -13419,11 +13418,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:13422: $lt_compile\"" >&5)
(eval echo "\"\$as_me:13421: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:13426: \$? = $ac_status" >&5
echo "$as_me:13425: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@ -15381,11 +15380,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:15384: $lt_compile\"" >&5)
(eval echo "\"\$as_me:15383: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:15388: \$? = $ac_status" >&5
echo "$as_me:15387: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -15613,11 +15612,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:15616: $lt_compile\"" >&5)
(eval echo "\"\$as_me:15615: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:15620: \$? = $ac_status" >&5
echo "$as_me:15619: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@ -15680,11 +15679,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:15683: $lt_compile\"" >&5)
(eval echo "\"\$as_me:15682: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:15687: \$? = $ac_status" >&5
echo "$as_me:15686: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@ -17798,7 +17797,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 17801 "configure"
#line 17800 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -17896,7 +17895,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 17899 "configure"
#line 17898 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -18903,7 +18902,6 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# Checks for libraries.
echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
@ -18978,7 +18976,6 @@ _ACEOF
fi
#AC_CHECK_LIB([iconv], [libiconv], [LIBS="$LIBS -liconv"])
echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
@ -19053,10 +19050,7 @@ _ACEOF
fi
#AC_CHECK_LIB([xml2], [xmlStrcasecmp], [],
# AC_MSG_ERROR([LibXML2 is required]))
# Checks for header files.
@ -19780,7 +19774,6 @@ fi
done
# Checks for typedefs, structures, and compiler characteristics.
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
if test "${ac_cv_c_const+set}" = set; then
@ -20015,7 +20008,6 @@ _ACEOF
fi
# Checks for library functions.
echo "$as_me:$LINENO: checking whether closedir returns void" >&5
echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
if test "${ac_cv_func_closedir_void+set}" = set; then
@ -20778,7 +20770,6 @@ fi
done
# Change a few things (a la kannel config)
EXE_EXT=""
case "$host" in
*-sun-solaris*)
@ -20884,7 +20875,6 @@ if test "${with_libs+set}" = set; then
LIBS="$LIBS $withval"
fi;
# implement SSL stuff.
@ -21441,7 +21431,6 @@ fi
fi
# Need to check for kannel and also that kannel has been patched.
# Check whether --with-kannel-dir or --without-kannel-dir was given.
@ -21722,7 +21711,6 @@ fi
CFLAGS="-I$srcdir/../mmlib $CFLAGS"
LIBS="-L$srcdir/../mmlib -lmms $LIBS"
# May be we need to check for media conversion tools (imagemagick, etc)?
ac_config_files="$ac_config_files Makefile mmlib/Makefile mmsc/Makefile mmsbox/Makefile"

View File

@ -1,5 +1,5 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
dnl -*- Autoconf -*-
dnl Process this file with autoconf to produce a configure script.
dnl Mbuni - Open Source MMS Gateway
dnl
dnl conf file.
@ -18,30 +18,30 @@ AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([mmlib/mms_util.c])
AC_CONFIG_HEADER([config.h])
# Checks for programs.
dnl Checks for programs.
AC_PROG_CC
AC_PROG_RANLIB
AC_PROG_LIBTOOL
# Checks for libraries.
dnl Checks for libraries.
AC_CHECK_LIB([dl], [dlsym])
#AC_CHECK_LIB([iconv], [libiconv], [LIBS="$LIBS -liconv"])
dnl AC_CHECK_LIB([iconv], [libiconv], [LIBS="$LIBS -liconv"])
AC_CHECK_LIB([pthread], [pthread_create])
#AC_CHECK_LIB([xml2], [xmlStrcasecmp], [],
# AC_MSG_ERROR([LibXML2 is required]))
dnl AC_CHECK_LIB([xml2], [xmlStrcasecmp], [],
dnl AC_MSG_ERROR([LibXML2 is required]))
# Checks for header files.
dnl Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([float.h memory.h stdlib.h string.h sys/file.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_STRUCT_TM
AC_C_VOLATILE
# Checks for library functions.
dnl Checks for library functions.
AC_FUNC_CLOSEDIR_VOID
AC_FUNC_ERROR_AT_LINE
AC_FUNC_MALLOC
@ -50,7 +50,7 @@ AC_TYPE_SIGNAL
AC_FUNC_STAT
AC_CHECK_FUNCS([floor localtime_r memset sqrt strerror strrchr strtol])
# Change a few things (a la kannel config)
dnl Change a few things (a la kannel config)
EXE_EXT=""
case "$host" in
*-sun-solaris*)
@ -83,7 +83,7 @@ AC_ARG_WITH(libs,
[ --with-libs=FLAGS use FLAGS for extra libraries],
LIBS="$LIBS $withval")
# implement SSL stuff.
dnl implement SSL stuff.
dnl Implement the --with-ssl option.
@ -187,7 +187,7 @@ if test "x$ssllib" != "x" && test "x$sslinc" != "x"; then
])
fi
# Need to check for kannel and also that kannel has been patched.
dnl Need to check for kannel and also that kannel has been patched.
dnl Implement the --with-kannel-dir option
AC_ARG_WITH(kannel-dir,
@ -245,7 +245,7 @@ AC_CHECK_LIB([wap], [wsp_headers_pack], [], AC_MSG_ERROR([Kannel WAP lib is requ
CFLAGS="-I$srcdir/../mmlib $CFLAGS"
LIBS="-L$srcdir/../mmlib -lmms $LIBS"
# May be we need to check for media conversion tools (imagemagick, etc)?
dnl May be we need to check for media conversion tools (imagemagick, etc)?
AC_CONFIG_FILES([Makefile mmlib/Makefile mmsc/Makefile mmsbox/Makefile])

View File

@ -2,7 +2,7 @@
<!-- when on site, user #include virtual="header.html" -->
<!-- otherwise we use this: -->
<! -- begin header -->
<!-- begin header -->
<title>Mbuni: Open Source MMS Gateway - User documentation</title>
<meta name="author" content="info@mbuni.org" />
<meta name="Description" content="Open Source MMS Gateway" />
@ -29,7 +29,7 @@
marginwidth="0" marginheight="0">
<h1>Mbuni: Open Source MMS Gateway</h1>
<! -- end header -->
<!-- end header -->
<H2><!--TableOfContentsAnchor:Begin--><A NAME="Section_.1"></A><!--TableOfContentsAnchor:End-->User Guide</H2>

View File

@ -1,3 +1,16 @@
/*
* Mbuni - Open Source MMS Gateway
*
* MM7/SOAP message encoder/decoder and helper functions
*
* Copyright (C) 2003 - 2005, Digital Solutions Ltd. - http://www.dsmagic.com
*
* Paul Bagyenda <bagyenda@dsmagic.com>
*
* This program is free software, distributed under the terms of
* the GNU General Public License, with a few exceptions granted (see LICENSE)
*/
#include "mms_mm7soap.h"
/* function to traverse SOAP env:Body extracting useful headers. */

View File

@ -1,3 +1,15 @@
/*
* Mbuni - Open Source MMS Gateway
*
* MM7/SOAP message encoder/decoder and helper functions
*
* Copyright (C) 2003 - 2005, Digital Solutions Ltd. - http://www.dsmagic.com
*
* Paul Bagyenda <bagyenda@dsmagic.com>
*
* This program is free software, distributed under the terms of
* the GNU General Public License, with a few exceptions granted (see LICENSE)
*/
#ifndef __MMS_MM7SOAP_INCLUDED__
#define __MMS_MM7SOAP_INCLUDED__
#include "mms_util.h"