summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac14
1 files changed, 9 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 0067e234..08bae04b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,20 +7,24 @@ AC_INIT([htop],[2.0.1],[hisham@gobolinux.org])
SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +%s)}"
year=$(date -u -d "@$SOURCE_DATE_EPOCH" "+%Y" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "+%Y" 2>/dev/null || date -u "+%Y")
-# The following two lines are required by hwloc scripts
-AC_USE_SYSTEM_EXTENSIONS
-AC_CANONICAL_TARGET
-
-AM_INIT_AUTOMAKE([1.11])
AC_CONFIG_SRCDIR([htop.c])
+AC_CONFIG_AUX_DIR([.])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
+# Required by hwloc scripts
+AC_CANONICAL_TARGET
+
+AM_INIT_AUTOMAKE([1.11])
+
# Checks for programs.
# ----------------------------------------------------------------------
AC_PROG_CC
AM_PROG_CC_C_O
+# Required by hwloc scripts
+AC_USE_SYSTEM_EXTENSIONS
+
LT_INIT([disable-shared static])
# Checks for platform.