From: fanquake Date: Tue, 15 Jun 2021 05:35:58 +0000 (+0800) Subject: build: remove call to AC_PREFIX_DEFAULT X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dfae9557fcd4b88982aae983e89b1f1de15c749b;p=libevent 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. --- 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