X-Git-Url: https://jxself.org/git/?p=inform.git;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=0868807e9945042c590e1267c3db1af544a1bbcc;hp=0000000000000000000000000000000000000000;hb=81ffe9a7de1db0b3a318a053b38882d1b7ab304c;hpb=d1090135a32de7b38b48c55d4e21f95da4c405bc diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..0868807 --- /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], m4_esyscmd_s([./version.sh]), [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