X-Git-Url: https://jxself.org/git/?p=inform.git;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=0ff8cedcadd4356575eb4139840bcd978e964c48;hp=0000000000000000000000000000000000000000;hb=99330473407e30340c77cd03cf74dd6ed24a5d15;hpb=ee3b3a0cb830792c0569230872a0af20eab8bb7b diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..0ff8ced --- /dev/null +++ b/configure.ac @@ -0,0 +1,40 @@ +# Process this file with autoconf to produce a configure script. +# +# This file is part of Inform. +# +# Inform is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# theFree Software Foundation, either version 3 of the License, or +#(at your option) any later version. +# +# Inform is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Inform. If not, see https://gnu.org/licenses/ + +AC_INIT([inform], [6.41], [j@jxself.org]) +AM_INIT_AUTOMAKE([foreign]) +AC_OUTPUT(Makefile src/Makefile) + +# Checks for programs. +AC_PROG_CC + +# Checks for libraries. + +# Checks for header files. +AC_CHECK_HEADERS([limits.h stdlib.h string.h unistd.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_CHECK_HEADER_STDBOOL +AC_TYPE_SIZE_T + +# Checks for library functions. +AC_FUNC_ERROR_AT_LINE +AC_FUNC_MALLOC +AC_FUNC_REALLOC +AC_CHECK_FUNCS([memmove memset realpath strchr strtol]) + +AC_OUTPUT