-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jjako
committed
Dec 30, 2004
1 parent
c49cb30
commit 3544abf
Showing
9 changed files
with
153 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
2004-12-30: Jens Jakobsen <[email protected]> | ||
Initial MAC OS X support | ||
|
||
Quality assurance and improved error logging | ||
|
||
QoS length bug fix. | ||
|
||
2004-09-11: Jens Jakobsen <[email protected]> | ||
Added selection mode option to sgsnemu. | ||
Added charging characteristics option to sgsnemu. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#! /bin/sh | ||
# Guess values for system-dependent variables and create Makefiles. | ||
# Generated by GNU Autoconf 2.57 for openggsn 0.83. | ||
# Generated by GNU Autoconf 2.57 for openggsn 0.84. | ||
# | ||
# Report bugs to <[email protected]>. | ||
# | ||
|
@@ -427,8 +427,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} | |
# Identity of this package. | ||
PACKAGE_NAME='openggsn' | ||
PACKAGE_TARNAME='openggsn' | ||
PACKAGE_VERSION='0.83' | ||
PACKAGE_STRING='openggsn 0.83' | ||
PACKAGE_VERSION='0.84' | ||
PACKAGE_STRING='openggsn 0.84' | ||
PACKAGE_BUGREPORT='[email protected]' | ||
|
||
ac_unique_file="gtp/gtp.c" | ||
|
@@ -946,7 +946,7 @@ if test "$ac_init_help" = "long"; then | |
# Omit some internal or obsolete options to make the list less imposing. | ||
# This message is too long to be a string in the A/UX 3.1 sh. | ||
cat <<_ACEOF | ||
\`configure' configures openggsn 0.83 to adapt to many kinds of systems. | ||
\`configure' configures openggsn 0.84 to adapt to many kinds of systems. | ||
Usage: $0 [OPTION]... [VAR=VALUE]... | ||
|
@@ -1013,7 +1013,7 @@ fi | |
|
||
if test -n "$ac_init_help"; then | ||
case $ac_init_help in | ||
short | recursive ) echo "Configuration of openggsn 0.83:";; | ||
short | recursive ) echo "Configuration of openggsn 0.84:";; | ||
esac | ||
cat <<\_ACEOF | ||
|
@@ -1111,7 +1111,7 @@ fi | |
test -n "$ac_init_help" && exit 0 | ||
if $ac_init_version; then | ||
cat <<\_ACEOF | ||
openggsn configure 0.83 | ||
openggsn configure 0.84 | ||
generated by GNU Autoconf 2.57 | ||
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | ||
|
@@ -1126,7 +1126,7 @@ cat >&5 <<_ACEOF | |
This file contains any messages produced by compilers while | ||
running configure, to aid debugging if configure makes a mistake. | ||
It was created by openggsn $as_me 0.83, which was | ||
It was created by openggsn $as_me 0.84, which was | ||
generated by GNU Autoconf 2.57. Invocation command line was | ||
$ $0 $@ | ||
|
@@ -8675,6 +8675,107 @@ done | |
# Check for sockaddr.sa_len | ||
echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5 | ||
echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6 | ||
if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then | ||
echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
else | ||
cat >conftest.$ac_ext <<_ACEOF | ||
#line $LINENO "configure" | ||
/* confdefs.h. */ | ||
_ACEOF | ||
cat confdefs.h >>conftest.$ac_ext | ||
cat >>conftest.$ac_ext <<_ACEOF | ||
/* end confdefs.h. */ | ||
#include <sys/types.h> | ||
#include <sys/socket.h> | ||
int | ||
main () | ||
{ | ||
static struct sockaddr ac_aggr; | ||
if (ac_aggr.sa_len) | ||
return 0; | ||
; | ||
return 0; | ||
} | ||
_ACEOF | ||
rm -f conftest.$ac_objext | ||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
(eval $ac_compile) 2>&5 | ||
ac_status=$? | ||
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
(exit $ac_status); } && | ||
{ ac_try='test -s conftest.$ac_objext' | ||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
(eval $ac_try) 2>&5 | ||
ac_status=$? | ||
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
(exit $ac_status); }; }; then | ||
ac_cv_member_struct_sockaddr_sa_len=yes | ||
else | ||
echo "$as_me: failed program was:" >&5 | ||
sed 's/^/| /' conftest.$ac_ext >&5 | ||
cat >conftest.$ac_ext <<_ACEOF | ||
#line $LINENO "configure" | ||
/* confdefs.h. */ | ||
_ACEOF | ||
cat confdefs.h >>conftest.$ac_ext | ||
cat >>conftest.$ac_ext <<_ACEOF | ||
/* end confdefs.h. */ | ||
#include <sys/types.h> | ||
#include <sys/socket.h> | ||
int | ||
main () | ||
{ | ||
static struct sockaddr ac_aggr; | ||
if (sizeof ac_aggr.sa_len) | ||
return 0; | ||
; | ||
return 0; | ||
} | ||
_ACEOF | ||
rm -f conftest.$ac_objext | ||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
(eval $ac_compile) 2>&5 | ||
ac_status=$? | ||
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
(exit $ac_status); } && | ||
{ ac_try='test -s conftest.$ac_objext' | ||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
(eval $ac_try) 2>&5 | ||
ac_status=$? | ||
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
(exit $ac_status); }; }; then | ||
ac_cv_member_struct_sockaddr_sa_len=yes | ||
else | ||
echo "$as_me: failed program was:" >&5 | ||
sed 's/^/| /' conftest.$ac_ext >&5 | ||
ac_cv_member_struct_sockaddr_sa_len=no | ||
fi | ||
rm -f conftest.$ac_objext conftest.$ac_ext | ||
fi | ||
rm -f conftest.$ac_objext conftest.$ac_ext | ||
fi | ||
echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5 | ||
echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6 | ||
if test $ac_cv_member_struct_sockaddr_sa_len = yes; then | ||
cat >>confdefs.h <<\_ACEOF | ||
#define HAVE_SOCKADDR_SA_LEN 1 | ||
_ACEOF | ||
fi | ||
# 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 | ||
|
@@ -9972,7 +10073,7 @@ fi | |
# Define the identity of the package. | ||
PACKAGE=openggsn | ||
VERSION=0.83 | ||
VERSION=0.84 | ||
cat >>confdefs.h <<_ACEOF | ||
|
@@ -10606,7 +10707,7 @@ _ASBOX | |
} >&5 | ||
cat >&5 <<_CSEOF | ||
This file was extended by openggsn $as_me 0.83, which was | ||
This file was extended by openggsn $as_me 0.84, which was | ||
generated by GNU Autoconf 2.57. Invocation command line was | ||
CONFIG_FILES = $CONFIG_FILES | ||
|
@@ -10672,7 +10773,7 @@ _ACEOF | |
cat >>$CONFIG_STATUS <<_ACEOF | ||
ac_cs_version="\\ | ||
openggsn config.status 0.83 | ||
openggsn config.status 0.84 | ||
configured by $0, generated by GNU Autoconf 2.57, | ||
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Process this file with autoconf to produce a configure script. | ||
AC_INIT(openggsn, 0.83, [email protected]) | ||
AC_INIT(openggsn, 0.84, [email protected]) | ||
AC_CONFIG_SRCDIR([gtp/gtp.c]) | ||
AM_CONFIG_HEADER([config.h]) | ||
#AC_CONFIG_HEADER([config.h]) | ||
|
@@ -62,6 +62,15 @@ AC_CHECK_HEADERS([linux/if_tun.h net/if_tun.h]) | |
AC_CHECK_HEADERS([linux/netlink.h linux/rtnetlink.h]) | ||
|
||
|
||
# Check for sockaddr.sa_len | ||
AC_CHECK_MEMBER([struct sockaddr.sa_len], | ||
[AC_DEFINE(HAVE_SOCKADDR_SA_LEN, 1, [Do we have sockaddr.sa_len?])], | ||
[], | ||
[ | ||
#include <sys/types.h> | ||
#include <sys/socket.h> | ||
]) | ||
|
||
# Checks for typedefs, structures, and compiler characteristics. | ||
AC_C_CONST | ||
AC_TYPE_MODE_T | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
bin_PROGRAMS = ggsn | ||
|
||
LDFLAGS = -lgtp -L../gtp @EXEC_LDFLAGS@ | ||
LDFLAGS = @EXEC_LDFLAGS@ | ||
|
||
CFLAGS = -O2 -D_GNU_SOURCE -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb | ||
|
||
ggsn_LDADD = @LIBOBJS@ | ||
ggsn_LDADD = @LIBOBJS@ -lgtp -L../gtp | ||
|
||
ggsn_DEPENDENCIES = ../gtp/libgtp.la | ||
|
||
ggsn_SOURCES = ggsn.c tun.c tun.h cmdline.c cmdline.h ippool.h ippool.c syserr.h syserr.c lookup.c | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
bin_PROGRAMS = sgsnemu | ||
|
||
LDFLAGS = -lgtp -L../gtp @EXEC_LDFLAGS@ | ||
LDFLAGS = @EXEC_LDFLAGS@ | ||
|
||
CFLAGS = -O2 -D_GNU_SOURCE -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb | ||
|
||
sgsnemu_LDADD = @LIBOBJS@ | ||
sgsnemu_LDADD = @LIBOBJS@ -lgtp -L../gtp | ||
|
||
sgsnemu_DEPENDENCIES = ../gtp/libgtp.la | ||
|
||
sgsnemu_SOURCES = sgsnemu.c tun.c tun.h cmdline.c cmdline.h ippool.h ippool.c syserr.h syserr.c lookup.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters