|
|
|
@ -23,8 +23,10 @@ dnl Process this file with autoconf to create configure.
|
|
|
|
|
|
|
|
|
|
AC_PREREQ(2.57)
|
|
|
|
|
AC_INIT([tinyx], 1.3)
|
|
|
|
|
AC_PREREQ([2.60])
|
|
|
|
|
AC_CONFIG_SRCDIR([Makefile.am])
|
|
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
|
|
|
AC_USE_SYSTEM_EXTENSIONS
|
|
|
|
|
AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip foreign -Wall])
|
|
|
|
|
|
|
|
|
|
dnl this gets generated by autoheader, and thus contains all the defines. we
|
|
|
|
@ -574,14 +576,6 @@ AM_CONDITIONAL(KDRIVEFBDEV, [test x"$ac_cv_header_linux_fb_h" = xyes])
|
|
|
|
|
dnl and the rest of these are generic, so they're in config.h
|
|
|
|
|
AC_DEFINE(XResExtension, 1, [Build XRes extension])
|
|
|
|
|
|
|
|
|
|
AC_TRY_COMPILE([
|
|
|
|
|
#include <features.h>
|
|
|
|
|
#ifndef __GLIBC__
|
|
|
|
|
#error not glibc
|
|
|
|
|
#endif
|
|
|
|
|
], [], [AC_DEFINE(_GNU_SOURCE, 1,
|
|
|
|
|
[ Enable GNU and other extensions to the C environment for glibc])])
|
|
|
|
|
|
|
|
|
|
dnl ---------- Compiler arguments
|
|
|
|
|
|
|
|
|
|
AX_CHECK_COMPILE_FLAG([-flto],
|
|
|
|
|