aboutsummaryrefslogtreecommitdiff
path: root/nxproxy/configure.ac
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-04-26 13:26:47 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-07-12 23:25:57 +0200
commit41ea54b0217175a4b78980671f4c6818eb66b166 (patch)
treea3c8b61e118fde6bd78a8dd8a1994d60aa08caaa /nxproxy/configure.ac
parent322e39b79729bc72bd37265949a04962e427ef0a (diff)
downloadnx-libs-41ea54b0217175a4b78980671f4c6818eb66b166.tar.gz
nx-libs-41ea54b0217175a4b78980671f4c6818eb66b166.tar.bz2
nx-libs-41ea54b0217175a4b78980671f4c6818eb66b166.zip
nxproxy: Switch to autoreconf.
This also solves the last remnant of overlinking as described in GH issue #133. Fixes ArcticaProject/nx-libs#133.
Diffstat (limited to 'nxproxy/configure.ac')
-rw-r--r--nxproxy/configure.ac32
1 files changed, 32 insertions, 0 deletions
diff --git a/nxproxy/configure.ac b/nxproxy/configure.ac
new file mode 100644
index 000000000..b233ff8e3
--- /dev/null
+++ b/nxproxy/configure.ac
@@ -0,0 +1,32 @@
+dnl ***************************************************************************
+dnl *** configure.ac for nxproxy ***
+dnl ***************************************************************************
+
+m4_define([nxproxy_version], m4_esyscmd([tr -d '\n' < VERSION]))
+
+# Initialize Autoconf
+AC_PREREQ(2.60)
+
+AC_INIT([NX Proxy], [nxproxy_version], [https://github.com/ArcticaProject/nx-libs/issues])
+AC_CONFIG_AUX_DIR([build-aux])
+AC_PROG_CC
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_MACRO_DIR([m4])
+
+AM_INIT_AUTOMAKE([foreign no-dist-gzip dist-xz])
+
+PROXY_VERSION=nxproxy_version
+AC_SUBST([PROXY_VERSION])
+
+NX_COMPILER_BRAND
+AC_LANG([C])
+NX_COMPILER_FLAGS
+
+AC_CONFIG_FILES([
+Makefile
+man/Makefile
+src/Makefile
+])
+
+AC_OUTPUT