From dfae9557fcd4b88982aae983e89b1f1de15c749b Mon Sep 17 00:00:00 2001 From: fanquake Date: Tue, 15 Jun 2021 13:35:58 +0800 Subject: [PATCH] build: remove call to AC_PREFIX_DEFAULT > By default, configure sets the prefix for files it installs to /usr/local. A call to AC_PREFIX_DEFAULT, just to set the value the same as the default, would seem unnecessary. Note that the "initialize prefix" comment dates back to aa6567fe6475d3230c7c745a7ca208735af0c331, prior to when an autoconf macro was actually being used. See: https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.67/autoconf.html#Default-Prefix. --- configure.ac | 3 --- 1 file changed, 3 deletions(-) diff --git a/configure.ac b/configure.ac index 5cb02147..f7b5b5b5 100644 --- a/configure.ac +++ b/configure.ac @@ -22,9 +22,6 @@ AM_SILENT_RULES([yes]) AC_CONFIG_HEADERS(config.h evconfig-private.h:evconfig-private.h.in) AC_DEFINE(NUMERIC_VERSION, 0x02020001, [Numeric representation of the version]) -dnl Initialize prefix. -AC_PREFIX_DEFAULT([/usr/local]) - dnl Try and get a full POSIX environment on obscure systems AC_USE_SYSTEM_EXTENSIONS