9
0
Fork 0
This repository has been archived on 2022-06-17. You can view files and clone it, but cannot push or open issues or pull requests.
openggsn/configure.in

64 lines
1.6 KiB
Plaintext
Raw Normal View History

2003-01-28 21:58:05 +00:00
# Process this file with autoconf to produce a configure script.
2004-01-15 17:53:27 +00:00
AC_INIT(openggsn, 0.80, jj@openggsn.org)
2003-01-28 21:58:05 +00:00
AC_CONFIG_SRCDIR([gtp/gtp.c])
AM_CONFIG_HEADER([config.h])
#AC_CONFIG_HEADER([config.h])
2002-12-16 13:33:51 +00:00
2003-01-28 21:58:05 +00:00
# Checks for programs.
2002-12-16 13:33:51 +00:00
AC_PROG_CC
AC_PROG_INSTALL
2003-01-28 21:58:05 +00:00
AC_PROG_AWK
AC_PROG_CPP
AC_PROG_CXX
AC_PROG_RANLIB
2002-12-16 13:33:51 +00:00
2003-01-28 21:58:05 +00:00
#JJAKO Check for libtool
2002-12-16 13:33:51 +00:00
AC_PROG_LIBTOOL
AM_PROG_LIBTOOL
AC_ARG_ENABLE(static-exec,
[ --enable-static-exec Enable static linking of executables],
[ EXEC_LDFLAGS="-all-static"])
AC_SUBST(EXEC_LDFLAGS)
2002-12-16 13:33:51 +00:00
2003-01-28 21:58:05 +00:00
# Checks for libraries.
# FIXME: Replace `main' with a function in `-le':
#AC_CHECK_LIB([e], [main])
2003-01-28 21:58:05 +00:00
# FIXME: Replace `main' with a function in `-lgtp':
#AC_CHECK_LIB([gtp], [main])
2003-01-28 21:58:05 +00:00
# FIXME: Replace `main' with a function in `-links':
#AC_CHECK_LIB([inks], [main])
2003-01-28 21:58:05 +00:00
# Checks for header files.
2002-12-16 13:33:51 +00:00
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
2003-01-28 21:58:05 +00:00
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h syslog.h unistd.h])
2002-12-16 13:33:51 +00:00
2003-01-28 21:58:05 +00:00
# Checks for typedefs, structures, and compiler characteristics.
2002-12-16 13:33:51 +00:00
AC_C_CONST
2003-01-28 21:58:05 +00:00
AC_TYPE_MODE_T
2002-12-16 13:33:51 +00:00
AC_TYPE_SIZE_T
AC_HEADER_TIME
2003-01-28 21:58:05 +00:00
# Checks for library functions.
2002-12-16 13:33:51 +00:00
AC_PROG_GCC_TRADITIONAL
2003-01-28 21:58:05 +00:00
AC_FUNC_MALLOC
AC_FUNC_MEMCMP
AC_CHECK_FUNCS([gethostbyname inet_ntoa memset select socket strdup strerror strtol])
AM_INIT_AUTOMAKE()
AC_CONFIG_FILES([Makefile
doc/Makefile
ggsn/Makefile
gtp/Makefile
intl/Makefile
po/Makefile
sgsnemu/Makefile
src/Makefile
tests/Makefile
openggsn.spec])
2003-01-28 21:58:05 +00:00
AC_OUTPUT