2011-06-14 08:16:26 -04:00
|
|
|
dnl *********************************************************************
|
|
|
|
dnl * *
|
|
|
|
dnl * Star Traders: A Game of Interstellar Trading *
|
2012-03-14 11:36:23 -04:00
|
|
|
dnl * Copyright (C) 1990-2012, John Zaitseff *
|
2011-06-14 08:16:26 -04:00
|
|
|
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
|
|
|
|
2012-04-14 00:05:49 -04:00
|
|
|
AC_INIT([Star Traders], [7.4-pre2], [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-07-26 07:13:12 -04:00
|
|
|
AC_PROG_CC_C99
|
|
|
|
|
2011-07-28 07:19:33 -04:00
|
|
|
AS_IF([test "x$ac_cv_prog_cc_c99" = xno], [
|
|
|
|
AC_MSG_ERROR([requires an ISO/IEC 9899:1999 (C99) compiler])
|
|
|
|
])
|
2011-07-26 07:13:12 -04:00
|
|
|
|
2011-07-23 03:19:07 -04:00
|
|
|
gl_EARLY
|
|
|
|
|
2011-06-23 08:43:31 -04:00
|
|
|
AX_CFLAGS_WARN_ALL
|
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-08-07 21:15:44 -04:00
|
|
|
AM_GNU_GETTEXT([external])
|
|
|
|
AM_GNU_GETTEXT_VERSION([0.18.1])
|
|
|
|
|
2011-07-23 03:19:07 -04:00
|
|
|
gl_INIT
|
|
|
|
|
2011-06-30 06:31:19 -04:00
|
|
|
AX_WITH_CURSES
|
2011-07-28 07:19:33 -04:00
|
|
|
AS_IF([test "x$ax_cv_curses" != xyes || test "x$ax_cv_curses_color" != xyes], [
|
|
|
|
AC_MSG_ERROR([requires an X/Open-compatible Curses library with colour])
|
|
|
|
])
|
2012-03-27 20:08:38 -04:00
|
|
|
AS_IF([test "x$ax_cv_curses_enhanced" != xyes], [
|
|
|
|
AC_MSG_WARN([no X/Open-compatible Enhanced Curses library found
|
|
|
|
|
|
|
|
***************** Locales with multibyte character sequences (such as
|
|
|
|
*** WARNING *** UTF-8) require a wide-character version of Curses,
|
|
|
|
***************** such as NcursesW, to work correctly.
|
|
|
|
])
|
|
|
|
])
|
2011-06-30 06:31:19 -04:00
|
|
|
|
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-08-01 04:17:02 -04:00
|
|
|
po/Makefile.in
|
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
|