mtimeout.1: Use correct dash for number ranges.
[misc] / configure.ac
index f0fa614..4724381 100644 (file)
@@ -1,6 +1,6 @@
 dnl -*-autoconf-*-
 dnl
-dnl Configuration script for nsict-utils
+dnl Configuration script for distorted-utils
 dnl
 dnl (c) 2008 Mark Wooding
 dnl
@@ -25,7 +25,7 @@ dnl--------------------------------------------------------------------------
 dnl Initialization.
 
 mdw_AUTO_VERSION
-AC_INIT([nsict-utils], AUTO_VERSION, [mdw@distorted.org.uk])
+AC_INIT([distorted-utils], AUTO_VERSION, [mdw@distorted.org.uk])
 AC_CONFIG_SRCDIR([shadowfix.in])
 AC_CONFIG_AUX_DIR([config])
 AM_INIT_AUTOMAKE([foreign])
@@ -49,6 +49,8 @@ dnl C programming environment.
 ## Compiler.
 AC_PROG_CC
 AX_CFLAGS_WARN_ALL
+AC_PROG_CXX
+AX_CXXFLAGS_WARN_ALL
 
 ## Libraries.
 OLIBS=$LIBS
@@ -72,7 +74,7 @@ AC_CHECK_FUNC([prlimit], [have_prlimit=yes], [have_prlimit=no])
 AM_CONDITIONAL([HAVE_PRLIMIT], [test $have_prlimit = yes])
 
 ## Processor type.
-case "$host_cpu" in i?86) x86=yes;; *) x86=no;; esac
+case "$host_cpu" in i?86 | x86_64) x86=yes;; *) x86=no;; esac
 AM_CONDITIONAL([X86], [test $x86 = yes -a $GCC = yes])
 
 dnl--------------------------------------------------------------------------