blob: b067a5f771e6ebe922250589fd82d0651c51a430 (
plain) (
tree)
|
|
dnl Process this file with autoconf to produce a configure script.
AC_INIT(cheatah.cpp)
AM_INIT_AUTOMAKE(cheatah, 0.1)
AC_PROG_CC
AM_PATH_GTK(1.2.0,
[LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS"],
AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?))
AC_PROG_CXX
AC_LANG_CPLUSPLUS
LIBS="$LIBS -L../../../lib -lsword -lz"
dnl Only use -Wall if we have gcc
if test "x$GCC" = "xyes"; then
if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
CFLAGS="$CFLAGS -Wall"
fi
fi
AC_OUTPUT(Makefile)
|