use autoconf to define system extensions for us.
SVN revision: 72299
This commit is contained in:
parent
f7d8b9627d
commit
98a197c4b2
|
@ -4,7 +4,7 @@ dnl Process this file with autoconf to produce a configure script.
|
|||
rm -f config.cache
|
||||
|
||||
AC_INIT([terminology], [0.1.0], [enlightenment-devel@lists.sourceforge.net])
|
||||
AC_PREREQ([2.52])
|
||||
AC_PREREQ([2.60])
|
||||
AC_CONFIG_SRCDIR([configure.ac])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
|
@ -13,6 +13,7 @@ AC_CONFIG_HEADERS([terminology_config.h])
|
|||
AM_INIT_AUTOMAKE([1.6 dist-bzip2])
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
AM_PROG_CC_STDC
|
||||
AM_PROG_CC_C_O
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ terminology_CPPFLAGS = -I. \
|
|||
terminology_LDADD = @TERMINOLOGY_LIBS@
|
||||
|
||||
terminology_SOURCES = \
|
||||
private.h \
|
||||
col.c col.h \
|
||||
config.c config.h \
|
||||
keyin.c keyin.h \
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
#include "terminology_config.h"
|
||||
#endif
|
|
@ -1,4 +1,5 @@
|
|||
#define _XOPEN_SOURCE 600
|
||||
#include "private.h"
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "termpty.h"
|
||||
#include <sys/types.h>
|
||||
|
|
Loading…
Reference in New Issue