Skip to content

Commit

Permalink
Remove excess stuff from configure.ac
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Lehtonen committed Oct 26, 2010
1 parent e2b9afc commit ec5c50d
Showing 1 changed file with 2 additions and 27 deletions.
29 changes: 2 additions & 27 deletions configure.ac
Expand Up @@ -16,10 +16,6 @@ iphb_lt_rev=0
iphb_lt_age=0
AC_SUBST([IPHB_LT_VERSION],[$iphb_lt_current:$iphb_lt_rev:$iphb_lt_age])

#
# CONFIG OPTIONS
#

#
# Compiler and linker flags
#
Expand Down Expand Up @@ -47,41 +43,20 @@ AM_PROG_CC_C_O()

# Pkgconf checks
PKG_CHECK_MODULES(GLIB, glib-2.0)
PKG_CHECK_MODULES(DBUS, dbus-1)
PKG_CHECK_MODULES(DBUSGLIB, dbus-glib-1)

# Check libs (that are not yet checked)
# Whitespaces in 'action-if-found' fields in order to not (auto)update LIBS variable
AC_CHECK_LIB([rt], [clock_nanosleep], [AC_MSG_NOTICE([got librt])], AC_MSG_FAILURE([librt required!]))
AC_CHECK_LIB([dsme], [dsmesock_init], [AC_MSG_NOTICE([got libdsme])], AC_MSG_FAILURE([libdsme required!]), [$GLIB_LIBS])

# Check headers
AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h stdint.h stdlib.h \
string.h strings.h sys/ioctl.h sys/socket.h sys/time.h \
syslog.h unistd.h utmpx.h])
AC_CHECK_HEADERS([arpa/inet.h stdlib.h string.h sys/ioctl.h sys/socket.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_TYPE_UID_T
AC_C_INLINE
AC_TYPE_INT16_T
AC_TYPE_INT32_T
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT8_T

# Check common library functions
AC_FUNC_ALLOCA
AC_FUNC_FORK
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_FUNC_STRTOD
AC_CHECK_FUNCS([atexit clock_gettime dup2 gettimeofday inet_ntoa memmove \
memset realpath select setenv socket strcasecmp strdup strerror \
strndup strpbrk strrchr strstr strtoul uname utmpxname])
AC_CHECK_FUNCS([inet_ntoa memset select socket strerror])

# Create files
AC_CONFIG_FILES([Makefile
Expand Down

0 comments on commit ec5c50d

Please sign in to comment.