gtkmeat 0.5.4

This commit is contained in:
troyengel 2014-11-26 12:23:48 -06:00
parent 78c70ba76c
commit bba52b0f18
21 changed files with 4355 additions and 0 deletions

81
configure.in Normal file
View file

@ -0,0 +1,81 @@
dnl ---------------------------------------------------------------------------
dnl Process this file with autoconf to produce a configure script.
dnl $Id$
dnl ---------------------------------------------------------------------------
AC_INIT(gtkmeat.c)
GTKMEAT_VERSION=0.5.4
dnl ---------------------------------------------------------------------------
dnl for automake:
dnl ---------------------------------------------------------------------------
AUTOMAKE_OPTIONS=no-dependencies
VERSION=$GTKMEAT_VERSION
PACKAGE=gtkmeat
dnl ---------------------------------------------------------------------------
dnl Initialize automake now
dnl ---------------------------------------------------------------------------
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
AC_SUBST(GTKMEAT_VERSION)
dnl ---------------------------------------------------------------------------
dnl checks for needed compilers
dnl ---------------------------------------------------------------------------
dnl CFLAGS=""
dnl if test x${CFLAGS+set} = xset ; then
dnl :
dnl else
dnl CFLAGS="-O2 -g"
dnl fi
AC_PROG_CC
dnl AC_PROG_CXX
dnl AC_PROG_RANLIB
dnl ---------------------------------------------------------------------------
dnl clean compiles
dnl ---------------------------------------------------------------------------
compiler_warnings=yes
AC_ARG_ENABLE(
warnings,
[ --disable-warnings turn OFF gcc compiler warnings (not recommended)],
[if test $enableval = no; then
compiler_warnings=no
fi]
)
dnl ---------------------------------------------------------------------------
dnl now some other stuff
dnl AC_CANONICAL_HOST ... needs config.guess
dnl ---------------------------------------------------------------------------
AM_SANITY_CHECK
dnl ---------------------------------------------------------------------------
dnl check for GTK
dnl ---------------------------------------------------------------------------
AM_PATH_GTK(1.1.2,
[LIBS="$LIBS $GTK_LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"],
AC_MSG_ERROR(Cannot find GTK+: Is gtk-config in executable path?))
dnl ---------------------------------------------------------------------------
dnl enable GUI/console type checking
dnl ---------------------------------------------------------------------------
dnl ---------------------------------------------------------------------------
dnl checks for correctly defined types
dnl ---------------------------------------------------------------------------
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
dnl ---------------------------------------------------------------------------
dnl checks for header files & functions
dnl ---------------------------------------------------------------------------
AC_CHECK_HEADERS(unistd.h)
dnl ---------------------------------------------------------------------------
dnl Makefiles to create:
dnl ---------------------------------------------------------------------------
AC_OUTPUT(Makefile)