OSDN Git Service

* configure.in, configure.ac: added AM_C_PROTOTYPES, AC_C_CONST.
[lha/lha.git] / configure.ac
index 65509b0..0b8bd9c 100644 (file)
@@ -1,18 +1,20 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(lha, 1.14i)
+AC_CANONICAL_TARGET
 AM_INIT_AUTOMAKE
 AM_CONFIG_HEADER(config.h)
 
-AC_CANONICAL_HOST
+AC_DEFINE_UNQUOTED(PLATFORM, "$ac_cv_host",
+                  [the type of system on which the package will run.])
 
 dnl Checks for programs.
 AC_PROG_CC
 AC_PROG_GCC_TRADITIONAL
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
-
-dnl on MINIX, define _MINIX and _POSIX_SOURCE
 AC_MINIX
+AM_C_PROTOTYPES
+AC_C_CONST
 
 dnl Checks for libraries.