qse/ase/configure.ac

41 lines
1.2 KiB
Plaintext
Raw Normal View History

2005-02-04 15:39:11 +00:00
AC_PREREQ(2.53)
2005-01-19 08:53:41 +00:00
AC_INIT([xpkit], [deb-0.1.0])
2005-02-05 05:03:05 +00:00
AC_REVISION([$Revision: 1.14 $])
2005-01-19 11:58:26 +00:00
AC_CONFIG_HEADER([xp/config.h])
2005-01-18 15:26:29 +00:00
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
2005-01-19 10:23:38 +00:00
AC_PROG_RANLIB
2005-01-18 15:26:29 +00:00
# Checks for libraries.
# Checks for header files.
2005-01-20 15:56:42 +00:00
AC_HEADER_STDC
2005-01-19 11:58:26 +00:00
AC_CHECK_HEADER([unistd.h], [AC_DEFINE([XP_HAVE_UNISTD_H],[],[unistd.h])])
AC_CHECK_HEADER([fcntl.h], [AC_DEFINE([XP_HAVE_FCNTL_H],[],[fcntl.h])])
AC_CHECK_HEADER([stdarg.h], [AC_DEFINE([XP_HAVE_STDARG_H],[],[stdarg.h])])
AC_CHECK_HEADER([stddef.h], [AC_DEFINE([XP_HAVE_STDDEF_H],[],[stddef.h])])
AC_CHECK_HEADER([limits.h], [AC_DEFINE([XP_HAVE_LIMITS_H],[],[limits.h])])
AC_CHECK_HEADER([wchar.h], [AC_DEFINE([XP_HAVE_WCHAR_H],[],[wchar.h])])
2005-01-18 15:26:29 +00:00
# Checks for typedefs, structures, and compiler characteristics.
2005-01-19 10:23:38 +00:00
AC_C_BIGENDIAN(
2005-01-19 11:58:26 +00:00
[AC_DEFINE([XP_ENDIAN_BIG],[],[Big Endian])],
[AC_DEFINE([XP_ENDIAN_LITTLE],[],[Little Endian])],
[AC_DEFINE([XP_ENDIAN_UNKNOWN],[],[Unknown Endian])])
2005-01-18 15:26:29 +00:00
# Checks for library functions.
2005-01-20 15:56:42 +00:00
#AC_FUNC_MEMCMP
#AC_FUNC_REALLOC
#AC_CHECK_FUNCS([memset])
2005-01-18 15:26:29 +00:00
2005-01-19 11:21:55 +00:00
# Checks for system files
2005-01-19 11:58:26 +00:00
AC_CHECK_FILE([/NextDeveloper],[AC_DEFINE([_POSIX_SOURCE],[],[_POSIX_SOURCE])])
2005-01-19 11:21:55 +00:00
2005-01-21 03:15:36 +00:00
AC_CONFIG_FILES([
Makefile build/Makefile xp/Makefile
2005-02-05 05:03:05 +00:00
xp/c/Makefile xp/lisp/Makefile
xp/test/c/Makefile xp/test/lisp/Makefile])
2005-01-18 15:26:29 +00:00
AC_OUTPUT