Starting to use automake... mostly stubbed now

This commit is contained in:
Michael Jumper
2010-09-21 22:16:19 +00:00
parent 50355ab353
commit c4ff32d6a4
9 changed files with 36 additions and 38 deletions

View File

@@ -0,0 +1,28 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_INIT(client.c)
AM_INIT_AUTOMAKE(libguac, 0.0.1)
# Checks for programs.
AC_PROG_CC
AC_PROG_LIBTOOL
# Checks for libraries.
AC_CHECK_LIB([png], [png_write_png])
AC_CHECK_LIB([uuid], [uuid_generate])
# Checks for header files.
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/socket.h sys/time.h syslog.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([gettimeofday memmove memset select strdup])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT