summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-01-30 15:48:08 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-01-30 15:48:08 -0800
commitbbb0bf1533d3fe9de479d06954d7ffc1a07c27a0 (patch)
tree986acb45f1fc5dfdd160fe3116cc159b7a086acc /configure.ac
downloadvyatta-op-qos-bbb0bf1533d3fe9de479d06954d7ffc1a07c27a0.tar.gz
vyatta-op-qos-bbb0bf1533d3fe9de479d06954d7ffc1a07c27a0.zip
Initial versiondebian/0.1
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac32
1 files changed, 32 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..b60b8c0
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,32 @@
+# Process this file with autoconf to produce a configure script.
+AC_PREREQ(2.59)
+
+m4_define([VERSION_ID], [m4_esyscmd([
+ if test -f .version ; then
+ head -n 1 .version | tr -d \\n
+ else
+ echo -n 2.4
+ fi])])
+AC_INIT([vyatta-op-qos], VERSION_ID, [vyatta-support@vyatta.com])
+
+test -n "$VYATTA_VERSION" || VYATTA_VERSION=$PACKAGE_VERSION
+
+AC_CONFIG_AUX_DIR([config])
+AM_INIT_AUTOMAKE([gnu no-dist-gzip dist-bzip2 subdir-objects])
+AC_PREFIX_DEFAULT([/opt/vyatta])
+
+XSLDIR=/opt/vyatta/share/xsl/
+
+AC_ARG_ENABLE([nostrip],
+ AC_HELP_STRING([--enable-nostrip],
+ [include -nostrip option during packaging]),
+ [NOSTRIP=-nostrip], [NOSTRIP=])
+
+AC_CONFIG_FILES(
+ [Makefile])
+
+AC_SUBST(NOSTRIP)
+AC_SUBST(XSLDIR)
+
+AC_OUTPUT
+