[go: up one dir, main page]

Menu

[r55]: / trunk / configure.ac  Maximize  Restore  History

Download this file

56 lines (53 with data), 1.5 kB

#                                               -*- Autoconf -*-
AC_PREREQ(2.60)
AC_INIT([ngboard],[0.02],[kangabroo@gmail.com])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADER([config.h])

# Checks for programs.
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_CC
AC_PROG_LIBTOOL
# Checks for libraries.
AC_CHECK_FUNCS([gethostbyname gettimeofday memmove memset select socket sqrt strcasecmp strerror uname])
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h sys/socket.h sys/time.h termios.h])
AC_C_CONST
AC_C_INLINE 
AC_FUNC_MALLOC 
AC_FUNC_MEMCMP
AC_FUNC_REALLOC
AC_FUNC_SELECT_ARGTYPES
AC_FUNC_VPRINTF 
AC_HEADER_STDBOOL
AC_HEADER_TIME 
AC_TYPE_SIGNAL 
AC_TYPE_SSIZE_T 
AC_TYPE_UID_T 

# Checks for library functions.
PKG_CHECK_MODULES(NGBOARD, 
                  gtkmm-2.4 >= 2.8.3 
                  librsvg-2.0 >= 2.16.0 
                  libxml++-2.6 >= 2.14.0
                  cairomm-1.0 >= 1.2.0
                  gstreamer-0.10 >= 0.10.14)
AC_SUBST(NGBOARD_CFLAGS)
AC_SUBST(NGBOARD_LIBS)
AC_CONFIG_FILES([Makefile
                 libchess/Makefile
                 src/Makefile
                 timesealplus/Makefile
                 svg/Makefile
                 svg/squares/Makefile
                 svg/piecesets/Makefile
                 ])
#AC_OUTPUT([Makefile
#           libchess/Makefile
#           src/Makefile
#           timesealplus/Makefile
#           svg/Makefile
#           svg/squares/Makefile
#           svg/piecesets/Makefile
#                  ])
#
AC_OUTPUT