2011-06-14 08:16:26 -04:00
|
|
|
dnl *********************************************************************
|
|
|
|
dnl * *
|
|
|
|
dnl * Star Traders: A Game of Interstellar Trading *
|
|
|
|
dnl * Copyright (C) 1990-2011, John Zaitseff *
|
|
|
|
dnl * *
|
|
|
|
dnl *********************************************************************
|
|
|
|
dnl
|
2011-06-14 09:01:15 -04:00
|
|
|
dnl Author: John Zaitseff <J.Zaitseff@zap.org.au>
|
2011-06-14 08:16:26 -04:00
|
|
|
dnl $Id$
|
|
|
|
dnl
|
|
|
|
dnl This file, configure.ac, contains information required by autoconf to
|
|
|
|
dnl generate the corresponding configure script.
|
|
|
|
dnl
|
|
|
|
dnl
|
|
|
|
dnl This program is free software: you can redistribute it and/or modify
|
|
|
|
dnl it under the terms of the GNU General Public License as published by
|
|
|
|
dnl the Free Software Foundation, either version 3 of the License, or (at
|
|
|
|
dnl your option) any later version.
|
|
|
|
dnl
|
|
|
|
dnl This program is distributed in the hope that it will be useful,
|
|
|
|
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
dnl General Public License for more details.
|
|
|
|
dnl
|
|
|
|
dnl You should have received a copy of the GNU General Public License
|
|
|
|
dnl along with this program. If not, see http://www.gnu.org/licenses/.
|
|
|
|
|
2011-06-14 08:55:48 -04:00
|
|
|
|
2011-06-15 20:49:55 -04:00
|
|
|
AC_INIT([Star Traders], [7.0], [J.Zaitseff@zap.org.au], [trader], [http://www.zap.org.au/software/trader/])
|
2011-06-23 08:43:31 -04:00
|
|
|
AC_DEFINE([PACKAGE_AUTHOR], ["John Zaitseff"], [Package author])
|
2011-06-14 08:55:48 -04:00
|
|
|
|
2011-06-23 08:43:31 -04:00
|
|
|
AC_PREREQ([2.67])
|
|
|
|
AC_CONFIG_SRCDIR([src/trader.c])
|
2011-06-14 08:55:48 -04:00
|
|
|
AC_CONFIG_AUX_DIR([build-aux])
|
2011-07-26 05:57:13 -04:00
|
|
|
AC_CONFIG_HEADERS([config.h])
|
2011-06-23 08:43:31 -04:00
|
|
|
AM_INIT_AUTOMAKE([1.11 -Wall -Werror foreign dist-bzip2])
|
|
|
|
AC_CONFIG_LIBOBJ_DIR([lib])
|
2011-06-14 08:55:48 -04:00
|
|
|
|
|
|
|
AC_PROG_CC
|
2011-06-23 08:43:31 -04:00
|
|
|
AC_PROG_CC_STDC
|
2011-07-23 03:19:07 -04:00
|
|
|
gl_EARLY
|
|
|
|
|
2011-06-23 08:43:31 -04:00
|
|
|
AX_CFLAGS_WARN_ALL
|
2011-07-22 00:19:05 -04:00
|
|
|
AC_C_RESTRICT
|
|
|
|
AC_C_VOLATILE
|
2011-06-30 02:09:13 -04:00
|
|
|
AX_C___ATTRIBUTE__
|
2011-07-22 00:19:05 -04:00
|
|
|
AC_TYPE_SIZE_T
|
|
|
|
AC_TYPE_SSIZE_T
|
|
|
|
|
2011-07-23 03:19:07 -04:00
|
|
|
gl_INIT
|
|
|
|
|
2011-06-30 06:31:19 -04:00
|
|
|
AX_WITH_CURSES
|
|
|
|
AS_IF([test "x$ax_cv_curses" != "xyes"],
|
2011-07-19 22:01:03 -04:00
|
|
|
AC_MSG_ERROR([requires an X/Open-compatible Curses library.]),
|
2011-06-30 06:31:19 -04:00
|
|
|
AC_SUBST([CURSES_LIB]))
|
|
|
|
|
2011-06-14 08:55:48 -04:00
|
|
|
AC_CONFIG_FILES([
|
|
|
|
Makefile
|
|
|
|
lib/Makefile
|
2011-06-23 08:43:31 -04:00
|
|
|
src/Makefile
|
2011-06-14 08:55:48 -04:00
|
|
|
doc/Makefile
|
2011-06-15 20:49:55 -04:00
|
|
|
m4/Makefile
|
2011-06-14 08:55:48 -04:00
|
|
|
])
|
2011-06-14 08:16:26 -04:00
|
|
|
AC_OUTPUT
|