summaryrefslogtreecommitdiff
path: root/app/smproxy/configure.ac
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2015-05-10 09:56:10 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2015-05-10 09:56:10 +0000
commit672451cb4379768761023b1060bdbb04c81cc7a1 (patch)
tree70c1093460b9dc5872345ee2697ec2a752cbb4f8 /app/smproxy/configure.ac
parentcf3b20b43560dcadadc8121d1d75d44febc09dbf (diff)
Update to smproxy 1.0.6
Diffstat (limited to 'app/smproxy/configure.ac')
-rw-r--r--app/smproxy/configure.ac18
1 files changed, 12 insertions, 6 deletions
diff --git a/app/smproxy/configure.ac b/app/smproxy/configure.ac
index c97bb04a7..77f2a9ad2 100644
--- a/app/smproxy/configure.ac
+++ b/app/smproxy/configure.ac
@@ -20,22 +20,28 @@ dnl PERFORMANCE OF THIS SOFTWARE.
dnl
dnl Process this file with autoconf to create configure.
+# Initialize Autoconf
AC_PREREQ([2.60])
-AC_INIT([smproxy], [1.0.5],
+AC_INIT([smproxy], [1.0.6],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [smproxy])
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+
+# Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-bzip2])
-AM_MAINTAINER_MODE
+
+# Set common system defines for POSIX extensions, such as _GNU_SOURCE
+# Must be called before any macros that run the compiler (like
+# AC_PROG_LIBTOOL or XORG_DEFAULT_OPTIONS) to avoid autoconf errors.
+AC_USE_SYSTEM_EXTENSIONS
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
m4_ifndef([XORG_MACROS_VERSION],
[m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
XORG_MACROS_VERSION(1.8)
-
-AC_CONFIG_HEADERS([config.h])
-
XORG_DEFAULT_OPTIONS
-AC_CHECK_FUNCS([mkstemp])
+AC_CHECK_FUNCS([asprintf mkstemp mktemp])
# Checks for pkg-config packages
PKG_CHECK_MODULES(SMPROXY, [sm ice xt xmuu])