File: configure.ac

package info (click to toggle)
xrdp 0.9.8-2~bpo9+1
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 10,920 kB
  • sloc: ansic: 74,952; sh: 4,990; asm: 4,726; cpp: 2,040; makefile: 1,041
file content (37 lines) | stat: -rw-r--r-- 926 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Process this file with autoconf to produce a configure script

AC_PREREQ(2.59)
AC_INIT([libpainter], [0.1.1], [xrdp-devel@googlegroups.com])
AC_CONFIG_HEADERS(config_ac.h:config_ac-h.in)
AM_INIT_AUTOMAKE([1.6 foreign])
AC_CONFIG_MACRO_DIR([m4])
AC_PROG_CC
AC_SYS_LARGEFILE
AC_FUNC_FSEEKO
AC_C_CONST
AC_PROG_LIBTOOL
PKG_INSTALLDIR

# Use silent rules by default if supported by Automake
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

AX_CFLAGS_WARN_ALL
AX_APPEND_COMPILE_FLAGS([-Wwrite-strings])

AC_ARG_ENABLE(tests, AS_HELP_STRING([--enable-tests],
              [Build install tests (default: no)]),
              [], [enable_tests=no])
AM_CONDITIONAL(PT_TESTS, [test x$enable_tests = xyes])

AC_CONFIG_FILES([
  Makefile
  include/Makefile
  pkgconfig/libpainter.pc
  pkgconfig/libpainter-uninstalled.pc
  pkgconfig/Makefile
  src/Makefile
  tests/Makefile
])

CPPFLAGS="-include config_ac.h $CPPFLAGS"
AC_OUTPUT